h264: optimize initialization process of decoder units.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Dec 2012 13:57:36 +0000 (14:57 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Dec 2012 14:31:51 +0000 (15:31 +0100)
commit098eb2624ec6c32d9afa5a5054ca84fce90bf2e8
treef472317a02e5cfe0aca4f3eb937e2342cb4d3713
parent0b2e399235e82f11a47f17629bc4b05f471959f4
h264: optimize initialization process of decoder units.

Decoder units were zero-initialized, including the SPS/PPS/slice headers.
The latter don't require zero-initialization since the codecparsers/ lib
will do so for key variables already. This is not a great value per se but
at least it makes it possible to check whether the default initialization
decisions made in the codecparsers/ lib were right or not.

This can be reverted if this exposes too many issues.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c