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>
Fri, 16 Nov 2012 15:50:30 +0000 (16:50 +0100)
commit2475e56bdca5ec191ff9a23d1f56a0fc3322f70f
tree2c81c524960fb39bd85836ebe43f2967c9ef3ae3
parent9f75916766947b30a0319813376d6282db03ea79
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