Change #264276
| Category | ffmpeg |
| Changed by | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
| Changed at | Mon 13 Apr 2026 12:46:24 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | eed0830a0cc33e9e7537983210fe71f0ac90f498 |
Comments
avcodec/snowdata: Don't use 8 bits for six bits data This has been done in 561a18d3ba07382dffdf583dda13f6954109b116 in order to avoid shifts, yet this rationale no longer applies since d593e329832a432777218eb92469bad10594a3c5. So shift them back; this is in preparation for using these coefficients together with pmaddubsw. Hint: 561a18d3ba07382dffdf583dda13f6954109b116 also added a block guarded by "if(LOG2_OBMC_MAX == 8". I changed the condition to remove this check (i.e. kept the block) which should not change the output at all. Yet all FATE tests pass if the block is completely removed. I don't know if this block is necessary at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Changed files
- libavcodec/snow.c
- libavcodec/snow.h
- libavcodec/snowdata.h
- libavcodec/snowenc.c
- libavcodec/x86/snowdsp.c