aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/arm
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-11-08 23:50:04 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-11-09 02:10:56 +0000
commita94cb36ab2ad99d3a1331c9f91831ef593d94f74 (patch)
treecb826de5a13c0222ae17a1f1462557082aa759ff /libswresample/arm
parent587fadaef1e8163b3e56043e500a3724e7fc5379 (diff)
downloadffmpeg-a94cb36ab2ad99d3a1331c9f91831ef593d94f74.tar.gz
vc2enc_dwt: pad the temporary buffer by the slice size
Since non-Haar wavelets need to look into pixels outside the frame, we need to pad the buffer. The old factor of two seemed to be a workaround that fact and only padded to the left and bottom. This correctly pads by the slice size and as such reduces memory usage and potential exploits. Reported by Liu Bingchang. Ideally, there should be no temporary buffer but the encoder is designed to deinterleave the coefficients into the classical wavelet structure with the lower frequency values in the top left corner. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com> (cherry picked from commit 3228ac730c11eca49d5680d5550128e397061c85)
Diffstat (limited to 'libswresample/arm')
0 files changed, 0 insertions, 0 deletions