diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2024-08-22 01:24:54 +0200 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2024-09-03 17:14:24 +0200 |
commit | 4f7aeffd8c3607aea6464a20eba4cc9106173c52 (patch) | |
tree | 57c1d3b3b54a371bbfe2b46cb19b214ddb2549b2 /ffbuild | |
parent | b6f7271fa914e425142023a7cedff682183a6bf8 (diff) | |
download | ffmpeg-4f7aeffd8c3607aea6464a20eba4cc9106173c52.tar.gz |
avcodec/mpegvideo: remove redundant workaround to recalculate last nonzero coefficient
The x86 optimized dct_quantize only calculates the last nonzero
coefficient correctly if the zigzag scan order is used. For the
alternate scan order, this value is incorrect.
To work around this, the dct_unquantize functions process the entire
block if the alternate scan order is used.
But a second workaround (bb198e198ab) was added that recalculates the
last nonzero coefficient after dct_quantize is called if the alternate
scan order is used.
This commit removes the first workaround, which became redundant.
Diffstat (limited to 'ffbuild')
0 files changed, 0 insertions, 0 deletions