aboutsummaryrefslogtreecommitdiffstats
path: root/doc
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:46 +0000
commit519a54cc195b92fe6ba71fd156e31e944d862d7e (patch)
treea3f6b623f26afbdaf50312060e18aca7a8378c71 /doc
parent4b1e87dc32b7d20a61b3faac38cd18bc40029096 (diff)
downloadffmpeg-519a54cc195b92fe6ba71fd156e31e944d862d7e.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 'doc')
0 files changed, 0 insertions, 0 deletions