Changeset 3228ac73 in ffmpeg
- Timestamp:
-
Nov 9, 2017, 12:05:48 AM
(7 years ago)
- Author:
- Rostislav Pehlivanov <atomnuker@gmail.com>
- Branches:
- master
- Children:
- 723b6baa
- Parents:
- 69218b41
- git-author:
- Rostislav Pehlivanov <atomnuker@gmail.com> (11/08/17 23:50:04)
- git-committer:
- Rostislav Pehlivanov <atomnuker@gmail.com> (11/09/17 00:05:48)
- Message:
-
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>
-
(No files)
-