h264: optimize handling of scaling lists.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 23 Oct 2012 12:50:14 +0000 (14:50 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 24 Oct 2012 16:01:14 +0000 (18:01 +0200)
commitefaab79e89e6d039a916f6fd817efa6eae4c4e61
treee1ee7791afb6b5d5e480e2930f39b075996a69f1
parent97979ee6de1ba834bc05a2a675e93dec1815a5eb
h264: optimize handling of scaling lists.

Don't copy scaling lists twice to an intermediate state. Rather, directly
use the scaling lists from GstH264PPS since they would match those provided
by SPS header, if necessary. i.e. if PPS-specific scaling lists are not
available in the bitstream.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c