~thopiekar/arm-mali/libvdpau-sunxi

« back to all changes in this revision

Viewing changes to sunxi_disp2.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:
151
151
                break;
152
152
        }
153
153
 
154
 
        disp->video_config.info.fb.addr[0] = surface->yuv->data->phys + 0x40000000;
155
 
        disp->video_config.info.fb.addr[1] = surface->yuv->data->phys + surface->vs->luma_size + 0x40000000;
156
 
        disp->video_config.info.fb.addr[2] = surface->yuv->data->phys + surface->vs->luma_size + surface->vs->chroma_size / 2 + 0x40000000;
 
154
        disp->video_config.info.fb.addr[0] = cedrus_mem_get_phys_addr(surface->yuv->data);
 
155
        disp->video_config.info.fb.addr[1] = cedrus_mem_get_phys_addr(surface->yuv->data) + surface->vs->luma_size;
 
156
        disp->video_config.info.fb.addr[2] = cedrus_mem_get_phys_addr(surface->yuv->data) + surface->vs->luma_size + surface->vs->chroma_size / 2;
157
157
 
158
158
        disp->video_config.info.fb.size[0].width = surface->vs->width;
159
159
        disp->video_config.info.fb.size[0].height = surface->vs->height;