24 #include <vdpau/vdpau.h>
38 VdpPictureInfoMPEG4Part2 *info = &pic_ctx->info.mpeg4;
43 info->forward_reference = VDP_INVALID_HANDLE;
44 info->backward_reference = VDP_INVALID_HANDLE;
45 info->vop_coding_type = 0;
50 assert(ref != VDP_INVALID_HANDLE);
51 info->backward_reference = ref;
52 info->vop_coding_type = 2;
56 assert(ref != VDP_INVALID_HANDLE);
57 info->forward_reference = ref;
65 info->vop_fcode_forward = s->
f_code;
66 info->vop_fcode_backward = s->
b_code;
75 for (i = 0; i < 64; ++i) {
77 info->non_intra_quantizer_matrix[i] = s->
inter_matrix[i];
91 #if CONFIG_H263_VDPAU_HWACCEL
100 .frame_priv_data_size =
sizeof(
struct vdpau_picture_context),
104 #if CONFIG_MPEG4_VDPAU_HWACCEL
106 .
name =
"mpeg4_vdpau",
113 .frame_priv_data_size =
sizeof(
struct vdpau_picture_context),