diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-12 23:51:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:38 +0200 |
commit | 10e7633cd7d4b727c6cc0c907f1150e0359d7087 (patch) | |
tree | c8b2ea925d4f3ed0f6070cef2c05c7e52099fddb /libavcodec/motion_est.h | |
parent | d163eefd4756111d188c40b3ee4b6cd91e8b9d64 (diff) | |
download | ffmpeg-10e7633cd7d4b727c6cc0c907f1150e0359d7087.tar.gz |
avcodec/motion_est: Store remaining required me_cmp_funcs
This avoids using MpegEncContext.mecc; it already allows
to avoid touching the latter for snowenc and svq1enc.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/motion_est.h')
-rw-r--r-- | libavcodec/motion_est.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h index 243b73ff4e..12f7cd43ab 100644 --- a/libavcodec/motion_est.h +++ b/libavcodec/motion_est.h @@ -89,6 +89,9 @@ typedef struct MotionEstContext { me_cmp_func me_sub_cmp[6]; me_cmp_func mb_cmp[6]; + me_cmp_func pix_abs[2][4]; + me_cmp_func sse; + op_pixels_func(*hpel_put)[4]; op_pixels_func(*hpel_avg)[4]; qpel_mc_func(*qpel_put)[16]; |