Change #264618
| Category | ffmpeg |
| Changed by | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
| Changed at | Thu 16 Apr 2026 07:36:01 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 53a26f7d41ca7543776590345acd86b41a7856ba |
Comments
avcodec/mpegvideo_dec: Use C version of h264chroma mc2 functions H.264 only uses these functions with height 2 or 4 and the aarch64, arm and mips versions of them optimize based on this. Yet this is not true when these functions are used by the lowres code in mpegvideo_dec.c. So revert back to the C versions of these functions for mpegvideo_dec so that the H.264 decoder can still use fully optimized functions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Changed files
- libavcodec/h264chroma.c
- libavcodec/h264chroma.h
- libavcodec/h264chroma_template.c
- libavcodec/mpegvideo_dec.c