Searched refs:surface_data (Results 1 – 6 of 6) sorted by relevance
/hardware/intel/img/psb_video/src/ |
D | pnw_rotate.c | 311 unsigned char * surface_data; in psb_RecalcAlternativeOutput() local 356 if (psb_buffer_map(&obj_surface->out_loop_surface->buf, &surface_data)) { in psb_RecalcAlternativeOutput() 361 memset(surface_data, 0, size); in psb_RecalcAlternativeOutput() 362 memset(surface_data + size, 0x80, obj_surface->out_loop_surface->size - size); in psb_RecalcAlternativeOutput() 592 unsigned char * surface_data; in psb_CreateRotateSurface() local 686 if (psb_buffer_map(&rotate_surface->buf, &surface_data)) { in psb_CreateRotateSurface() 690 memset(surface_data, 0, rotate_surface->chroma_offset); in psb_CreateRotateSurface() 691 memset(surface_data + rotate_surface->chroma_offset, 0x80, in psb_CreateRotateSurface()
|
D | psb_output.c | 887 unsigned char *surface_data; in psb_GetImage() local 888 ret = psb_buffer_map(&psb_surface->buf, &surface_data); in psb_GetImage() 920 src_y = surface_data + y * psb_surface->stride + x; in psb_GetImage() 921 src_uv = surface_data + ((height + 0x1f) & (~0x1f)) * width; in psb_GetImage() 935 src_y = surface_data + y * psb_surface->stride + x; in psb_GetImage() 936 src_uv = surface_data + ((height + 2*32 + 63)/64*64) * ((width + 2*32 + 63)/64*64); in psb_GetImage() 950 src_y = surface_data + y * psb_surface->stride + x; in psb_GetImage() 959 …src_uv = surface_data + psb_surface->stride * obj_surface->height + (y / 2) * psb_surface->stride … in psb_GetImage() 980 source_y = surface_data + dest_y * psb_surface->stride + dest_x; in psb_GetImage() 981 source_uv = surface_data + obj_surface->height * psb_surface->stride in psb_GetImage() [all …]
|
D | psb_surface.c | 322 unsigned char *surface_data; in psb_surface_set_chroma() local 323 int ret = psb_buffer_map(&psb_surface->buf, &surface_data); in psb_surface_set_chroma() 327 …memset(surface_data + psb_surface->chroma_offset, chroma, psb_surface->size - psb_surface->chroma_… in psb_surface_set_chroma()
|
D | psb_drv_video.c | 2787 unsigned char *surface_data; local 2800 ret = psb_buffer_map(&psb_surface->buf, &surface_data); 2808 *buffer = surface_data + srf_buf_ofs;
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_x11.c | 127 void *surface_data = NULL; in psb_putsurface_x11() local 172 ret = psb_buffer_map(&psb_surface->buf, &surface_data); in psb_putsurface_x11() 224 uint8_t *src_y = surface_data + psb_surface->stride * srcy; in psb_putsurface_x11() 225 uint8_t *src_uv = surface_data + psb_surface->stride * (obj_surface->height + srcy / 2); in psb_putsurface_x11() 258 if (NULL != surface_data) in psb_putsurface_x11()
|
/hardware/intel/img/psb_video/src/mrst/ |
D | psb_MPEG2MC.c | 1360 unsigned char *surface_data = NULL; in psb_MPEG2MC_BeginPicture() 1366 int ret = psb_buffer_map(&target_surface->buf, &surface_data); in psb_MPEG2MC_BeginPicture() 1370 memset(surface_data, 0x33, target_surface->size); in psb_MPEG2MC_BeginPicture()
|