decoder: use an array of units instead of a single-linked list.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 7 Jan 2013 12:41:59 +0000 (13:41 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 7 Jan 2013 13:10:13 +0000 (14:10 +0100)
commit4fd99cc989acf8ee43a709a2c10cd41448ce3d38
tree48cbfff9c9dfd0914c6dccded9616ff901b59743
parent2c449e42cae859e823718d020ca4a3a009d7c0ee
decoder: use an array of units instead of a single-linked list.

Use a GArray to hold decoder units in a frame, instead of a single-linked
list. This makes 'append' calls faster, but not that much. At least, this
makes things clearer.
gst-libs/gst/vaapi/gstvaapidecoder.c
gst-libs/gst/vaapi/gstvaapidecoder_frame.c
gst-libs/gst/vaapi/gstvaapidecoder_frame.h
gst-libs/gst/vaapi/gstvaapidecoder_priv.h
gst-libs/gst/vaapi/gstvaapidecoder_unit.c