aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/lossless_audiodsp_init.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2024-08-22 01:24:54 +0200
committerRamiro Polla <ramiro.polla@gmail.com>2024-09-03 17:14:24 +0200
commit4f7aeffd8c3607aea6464a20eba4cc9106173c52 (patch)
tree57c1d3b3b54a371bbfe2b46cb19b214ddb2549b2 /libavcodec/x86/lossless_audiodsp_init.c
parentb6f7271fa914e425142023a7cedff682183a6bf8 (diff)
downloadffmpeg-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 'libavcodec/x86/lossless_audiodsp_init.c')
0 files changed, 0 insertions, 0 deletions