~thopiekar/arm-mali/libvdpau-sunxi

« back to all changes in this revision

Viewing changes to sunxi_disp1_5.c

  • Committer: Jens Kuske
  • Date: 2016-02-16 13:12:22 UTC
  • Revision ID: git-v1:685769372a8281bf67046a958883323aaf14d232
Use libcedrus

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
                break;
158
158
        }
159
159
 
160
 
        disp->video_info.fb.addr[0] = surface->yuv->data->phys + 0x40000000;
161
 
        disp->video_info.fb.addr[1] = surface->yuv->data->phys + surface->vs->luma_size + 0x40000000;
162
 
        disp->video_info.fb.addr[2] = surface->yuv->data->phys + surface->vs->luma_size + surface->vs->chroma_size / 2 + 0x40000000;
 
160
        disp->video_info.fb.addr[0] = cedrus_mem_get_phys_addr(surface->yuv->data);
 
161
        disp->video_info.fb.addr[1] = cedrus_mem_get_phys_addr(surface->yuv->data) + surface->vs->luma_size;
 
162
        disp->video_info.fb.addr[2] = cedrus_mem_get_phys_addr(surface->yuv->data) + surface->vs->luma_size + surface->vs->chroma_size / 2;
163
163
 
164
164
        disp->video_info.fb.size.width = surface->vs->width;
165
165
        disp->video_info.fb.size.height = surface->vs->height;