Lines Matching refs:va_surface_id

35 VASurfaceID     va_surface_id[SURFACE_NUM];  variable
172 if (va_surface_id[0] != VA_INVALID_ID) { in h264_cleanup_decoder()
173 va_status = vaDestroySurfaces(va_dpy, &va_surface_id[0], SURFACE_NUM); in h264_cleanup_decoder()
247 va_surface_id[i] = VA_INVALID_ID; in h264_init_decoder()
253 …tus = vaCreateSurfaces(va_dpy, width, height, VA_RT_FORMAT_YUV420, SURFACE_NUM, &va_surface_id[0]); in h264_init_decoder()
256 DebugLog(("%s: va_surface_id[%d] = %p\n", __FUNCTION__, i, va_surface_id[i])); in h264_init_decoder()
260 …teContext(va_dpy, va_config_id, width, height, 0/*VA_PROGRESSIVE*/, &va_surface_id[0], SURFACE_NU… in h264_init_decoder()
266 va_status = vaBeginPicture(va_dpy, va_context_id, va_surface_id[0]); in h264_init_decoder()
301 …ace_id[%d]=0x%x field_order_count=%d\n", __FUNCTION__, frame_id, sid, va_surface_id[sid], field_or… in h264_decode_frame()
303 va_picture_h264.picture_id = va_surface_id[sid]; in h264_decode_frame()
314 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
341 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
382 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
391 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
411 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
425 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
432 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
442 va_status = vaBeginPicture(va_dpy, va_context_id, va_surface_id[sid_new]); in h264_decode_frame()
446 va_status = vaSyncSurface(va_dpy, va_surface_id[sid]); in h264_decode_frame()
448 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame()
450 curr_surface = va_surface_id[sid]; in h264_decode_frame()
639 CHECK_SURF(va_surface_id[sid]); in nv12_to_rgba()