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
95 VDP_DECODER_LEVEL_MPEG4_PART2_ASP_L5);
106 .frame_priv_data_size =
sizeof(
struct vdpau_picture_context),
107 .
init = vdpau_h263_init,
113 #if CONFIG_MPEG4_VDPAU_HWACCEL
120 profile = VDP_DECODER_PROFILE_MPEG4_PART2_SP;
126 profile = VDP_DECODER_PROFILE_MPEG4_PART2_ASP;
136 .
name =
"mpeg4_vdpau",
143 .frame_priv_data_size =
sizeof(
struct vdpau_picture_context),
144 .init = vdpau_mpeg4_init,