mpeg2: add codec specific decoder unit.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 27 Dec 2012 13:41:04 +0000 (14:41 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 3 Jan 2013 08:08:19 +0000 (09:08 +0100)
commit549b5a93890908df37201c7d5038e5d6f87b9e0b
treee64395582993b1bf72dbfd8d965e3cd7b223c97a
parent63a7e424847d55a0531f106777c528385ed8131e
mpeg2: add codec specific decoder unit.

Introduce new GstVaapiDecoderUnitMpeg2 object, which holds the standard
GstMpegVideoPacket and additional parsed header info. Besides, we now
parse as early as in the _parse() function so that to avoid un-necessary
creation of sub-buffers in _decode() for video packets that are not slices.
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c