Lines Matching refs:surface_p
235 void *surface_p=NULL, *U_start = NULL,*V_start = NULL; in upload_surface() local
242 vaMapBuffer(va_dpy,surface_image.buf,&surface_p); in upload_surface()
248 U_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface()
254 U_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface()
255 V_start = (char *)surface_p + surface_image.offsets[2]; in upload_surface()
260 U_start = (char *)surface_p + surface_image.offsets[2]; in upload_surface()
261 V_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface()
266 U_start = (char *)surface_p + 1; in upload_surface()
267 V_start = (char *)surface_p + 3; in upload_surface()
277 (unsigned char *)surface_p, pitches[0], in upload_surface()
300 unsigned char *surface_p=NULL, *Y_start=NULL, *U_start=NULL, *V_start=NULL; in upload_surface_yuv() local
307 vaMapBuffer(va_dpy,surface_image.buf,(void **)&surface_p); in upload_surface_yuv()
310 Y_start = surface_p; in upload_surface_yuv()
314 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; in upload_surface_yuv()
320 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; in upload_surface_yuv()
321 V_start = (unsigned char *)surface_p + surface_image.offsets[2]; in upload_surface_yuv()
326 U_start = (unsigned char *)surface_p + surface_image.offsets[2]; in upload_surface_yuv()
327 V_start = (unsigned char *)surface_p + surface_image.offsets[1]; in upload_surface_yuv()
332 U_start = surface_p + 1; in upload_surface_yuv()
333 V_start = surface_p + 3; in upload_surface_yuv()
398 unsigned char *surface_p=NULL, *Y_start=NULL, *U_start=NULL,*V_start=NULL; in download_surface_yuv() local
405 vaMapBuffer(va_dpy,surface_image.buf,(void **)&surface_p); in download_surface_yuv()
408 Y_start = surface_p; in download_surface_yuv()
412 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; in download_surface_yuv()
418 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; in download_surface_yuv()
419 V_start = (unsigned char *)surface_p + surface_image.offsets[2]; in download_surface_yuv()
424 U_start = (unsigned char *)surface_p + surface_image.offsets[2]; in download_surface_yuv()
425 V_start = (unsigned char *)surface_p + surface_image.offsets[1]; in download_surface_yuv()
430 U_start = surface_p + 1; in download_surface_yuv()
431 V_start = surface_p + 3; in download_surface_yuv()