24 #include <vdpau/vdpau.h>
38 VdpPictureInfoVC1 *info = &pic_ctx->info.vc1;
42 info->forward_reference = VDP_INVALID_HANDLE;
43 info->backward_reference = VDP_INVALID_HANDLE;
49 assert(ref != VDP_INVALID_HANDLE);
50 info->backward_reference = ref;
56 assert(ref != VDP_INVALID_HANDLE);
57 info->forward_reference = ref;
61 info->slice_count = 0;
63 info->picture_type = 4;
67 info->frame_coding_mode = v->
fcm ? (v->
fcm + 1) : 0;
112 pic_ctx->info.vc1.slice_count++;
122 profile = VDP_DECODER_PROFILE_VC1_SIMPLE;
125 profile = VDP_DECODER_PROFILE_VC1_MAIN;
128 profile = VDP_DECODER_PROFILE_VC1_ADVANCED;
137 #if CONFIG_WMV3_VDPAU_HWACCEL
146 .frame_priv_data_size =
sizeof(
struct vdpau_picture_context),
161 .frame_priv_data_size =
sizeof(
struct vdpau_picture_context),