vp8: fix per-segment deblocking filter level in relative mode.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 22 Apr 2014 17:53:50 +0000 (19:53 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 22 Apr 2014 17:57:04 +0000 (19:57 +0200)
commitf2b0d02168e73feaae0023ccf864cea4805a0b88
tree742605aed495da3b794ae68ed150cea34e3bc3fc
parent01c78c4b20a0d00034dc7e5c976ee87fa1226d7e
vp8: fix per-segment deblocking filter level in relative mode.

Fix possible bug when a per-segment deblocking filter level value
needs to be set in non-absolute mode, i.e. when the loop filter update
value is negative in delta mode.

Also clamp the resulting filter level value to 0..63 range.
gst-libs/gst/vaapi/gstvaapidecoder_vp8.c