24 #include <vdpau/vdpau.h>
35 VdpPictureInfoMPEG1Or2 *info = &hwctx->
info.
mpeg;
40 info->forward_reference = VDP_INVALID_HANDLE;
41 info->backward_reference = VDP_INVALID_HANDLE;
46 assert(ref != VDP_INVALID_HANDLE);
47 hwctx->
info.
mpeg.backward_reference = ref;
51 hwctx->
info.
mpeg.forward_reference = ref;
54 info->slice_count = 0;
65 info->full_pel_forward_vector = s->
full_pel[0];
66 info->full_pel_backward_vector = s->
full_pel[1];
72 for (i = 0; i < 64; ++i) {
74 info->non_intra_quantizer_matrix[i] = s->
inter_matrix[i];
94 #if CONFIG_MPEG1_VDPAU_HWACCEL
96 .
name =
"mpeg1_vdpau",
106 #if CONFIG_MPEG2_VDPAU_HWACCEL
108 .
name =
"mpeg2_vdpau",