24 #include <vdpau/vdpau.h>
36 VdpPictureInfoMPEG4Part2 *info = &pic_ctx->info.mpeg4;
41 info->forward_reference = VDP_INVALID_HANDLE;
42 info->backward_reference = VDP_INVALID_HANDLE;
43 info->vop_coding_type = 0;
48 assert(ref != VDP_INVALID_HANDLE);
49 info->backward_reference = ref;
50 info->vop_coding_type = 2;
54 assert(ref != VDP_INVALID_HANDLE);
55 info->forward_reference = ref;
63 info->vop_fcode_forward = s->
f_code;
64 info->vop_fcode_backward = s->
b_code;
73 for (i = 0; i < 64; ++i) {
75 info->non_intra_quantizer_matrix[i] = s->
inter_matrix[i];
89 #if CONFIG_H263_VDPAU_HWACCEL
98 .priv_data_size =
sizeof(
struct vdpau_picture_context),
102 #if CONFIG_MPEG4_VDPAU_HWACCEL
104 .
name =
"mpeg4_vdpau",
111 .priv_data_size =
sizeof(
struct vdpau_picture_context),