mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
vdpaumpegdec: parse PICTURE_CODING_EXTENSION alternate_scan bit
This commit is contained in:
parent
375935d9c4
commit
000db36020
3 changed files with 3 additions and 0 deletions
|
@ -216,6 +216,7 @@ gst_vdp_mpeg_decoder_parse_picture_coding (GstVdpMpegDecoder * mpeg_dec,
|
|||
info->concealment_motion_vectors = pic_ext.concealment_motion_vectors;
|
||||
info->q_scale_type = pic_ext.q_scale_type;
|
||||
info->intra_vlc_format = pic_ext.intra_vlc_format;
|
||||
info->alternate_scan = pic_ext.alternate_scan;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -337,6 +337,7 @@ mpeg_util_parse_picture_coding_extension (MPEGPictureExt * ext, guint8 * data,
|
|||
ext->concealment_motion_vectors = read_bits (data + 3, 2, 1);
|
||||
ext->q_scale_type = read_bits (data + 3, 3, 1);
|
||||
ext->intra_vlc_format = read_bits (data + 3, 4, 1);
|
||||
ext->alternate_scan = read_bits (data + 3, 5, 1);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -90,6 +90,7 @@ struct MPEGPictureExt
|
|||
guint8 concealment_motion_vectors;
|
||||
guint8 q_scale_type;
|
||||
guint8 intra_vlc_format;
|
||||
guint8 alternate_scan;
|
||||
};
|
||||
|
||||
struct MPEGPictureGOP
|
||||
|
|
Loading…
Reference in a new issue