aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/qsv_decode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-11 09:23:02 +0100
committerJames Almer <jamrial@gmail.com>2024-02-13 20:25:49 -0300
commit6106fb2b4c5ebd88a75fadfbbe7cf7e7fb944d18 (patch)
tree8720401a7d2d2127eba4519c17cbd2943cc70f0a /doc/examples/qsv_decode.c
parent40c5c19eac21025d1538250926761e8e960e6c81 (diff)
downloadffmpeg-6106fb2b4c5ebd88a75fadfbbe7cf7e7fb944d18.tar.gz
avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing
Besides simplifying address computations (it saves 432B of .text in hevcdsp.o alone here) it also fixes undefined behaviour that occurs if mx or my are 0 (happens when the filters are unused) because they lead to an array index of -1 in the old code. This happens in the checkasm-hevc_pel FATE-test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Reviewed-by: Nuo Mi <nuomi2021@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'doc/examples/qsv_decode.c')
0 files changed, 0 insertions, 0 deletions