decoder: rework the internal VA objects API.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 26 Jan 2012 08:48:11 +0000 (09:48 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 27 Jan 2012 12:28:11 +0000 (13:28 +0100)
commite5d12e885315fc2a5db806ec5a8d92f9ab3ea809
treeec48e4f0c199c0fec24beb179e5eb2b80089394f
parentdbba1f6107daaf716f15675e26bfd20ce8e91122
decoder: rework the internal VA objects API.

The new API simplifies a lot reference counting and makes it more
flexible for future additions/changes. The GstVaapiCodecInfo is
also gone. Rather, new helper macros are provided to allocate
picture, slice and quantization matrix parameter buffers.
gst-libs/gst/vaapi/Makefile.am
gst-libs/gst/vaapi/gstvaapicodec_objects.c [new file with mode: 0644]
gst-libs/gst/vaapi/gstvaapicodec_objects.h [new file with mode: 0644]
gst-libs/gst/vaapi/gstvaapidecoder.c
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c
gst-libs/gst/vaapi/gstvaapidecoder_objects.c [new file with mode: 0644]
gst-libs/gst/vaapi/gstvaapidecoder_objects.h [new file with mode: 0644]
gst-libs/gst/vaapi/gstvaapidecoder_priv.h
gst-libs/gst/vaapi/gstvaapidecoder_vc1.c