codecparsers: vc1: add API to parse slice headers.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Jan 2013 13:47:58 +0000 (14:47 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Jan 2013 16:22:07 +0000 (17:22 +0100)
commit07a51b16eb92e998a831e65a4a54466da29ea469
tree461076bc2c5427f0a3ec631c3b16879493a5adea
parent82200d75ae1542922ec7f52f6ab7ba7746eebe67
codecparsers: vc1: add API to parse slice headers.

Add gst_vc1_parse_slice_header() function to parse slice headers as
described in 7.1.2. Slice layers are optional and allowed in advanced
profile mode only. Picture header, if available (PIC_HEADER_FLAG),
is parsed but not recorded because it shall be the same as that was
previously parsed with gst_vc1_parse_frame_header().

This fixes SA00049.vc1 conformance test.

https://bugzilla.gnome.org/show_bug.cgi?id=692388

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gstvc1parser.c
gst-libs/gst/codecparsers/gstvc1parser.h