decoder: refactor decoder unit API.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 7 Jan 2013 10:13:07 +0000 (11:13 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 7 Jan 2013 13:10:13 +0000 (14:10 +0100)
commit2c449e42cae859e823718d020ca4a3a009d7c0ee
treed25248c6964cd172c92df829efa5ba1c57b0f132
parent78e9a78de8d62e98c05c7cf988a79fc81016bcc0
decoder: refactor decoder unit API.

Allocate decoder unit earlier in the main parse() function and don't
delegate this task to derived classes. The ultimate purpose is to get
rid of dynamic allocation of decoder units.
gst-libs/gst/vaapi/gstvaapidecoder.c
gst-libs/gst/vaapi/gstvaapidecoder.h
gst-libs/gst/vaapi/gstvaapidecoder_h264.c
gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c
gst-libs/gst/vaapi/gstvaapidecoder_unit.c
gst-libs/gst/vaapi/gstvaapidecoder_unit.h
gst-libs/gst/vaapi/gstvaapidecoder_vc1.c