vdpaumpegdec: parse PICTURE_CODING_EXTENSION alternate_scan bit

This commit is contained in:
Carl-Anton Ingmarsson 2009-04-15 23:38:53 +02:00 committed by Jan Schmidt
parent 375935d9c4
commit 000db36020
3 changed files with 3 additions and 0 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -90,6 +90,7 @@ struct MPEGPictureExt
guint8 concealment_motion_vectors;
guint8 q_scale_type;
guint8 intra_vlc_format;
guint8 alternate_scan;
};
struct MPEGPictureGOP