diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-15 23:38:53 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:29 +0100 |
commit | 000db36020bd6d31160bd0eb38ad27bb9687400a (patch) | |
tree | 5554d7f3a66db06a2ae8a84a198035c98b89bb6c /sys | |
parent | 375935d9c419b90d6b82686c5ddd9be7b5637382 (diff) | |
download | gst-plugins-bad-000db36020bd6d31160bd0eb38ad27bb9687400a.tar.gz gst-plugins-bad-000db36020bd6d31160bd0eb38ad27bb9687400a.tar.bz2 gst-plugins-bad-000db36020bd6d31160bd0eb38ad27bb9687400a.zip |
vdpaumpegdec: parse PICTURE_CODING_EXTENSION alternate_scan bit
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vdpau/gstvdpmpegdecoder.c | 1 | ||||
-rw-r--r-- | sys/vdpau/mpegutil.c | 1 | ||||
-rw-r--r-- | sys/vdpau/mpegutil.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c index be432281..053cf1c0 100644 --- a/sys/vdpau/gstvdpmpegdecoder.c +++ b/sys/vdpau/gstvdpmpegdecoder.c @@ -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; } diff --git a/sys/vdpau/mpegutil.c b/sys/vdpau/mpegutil.c index 7ef46fb2..929df4ab 100644 --- a/sys/vdpau/mpegutil.c +++ b/sys/vdpau/mpegutil.c @@ -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; } diff --git a/sys/vdpau/mpegutil.h b/sys/vdpau/mpegutil.h index 5fb47290..24a29a35 100644 --- a/sys/vdpau/mpegutil.h +++ b/sys/vdpau/mpegutil.h @@ -90,6 +90,7 @@ struct MPEGPictureExt guint8 concealment_motion_vectors; guint8 q_scale_type; guint8 intra_vlc_format; + guint8 alternate_scan; }; struct MPEGPictureGOP |