diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-12 18:47:25 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:38 +0200 |
commit | 182e647a64bc85f74a03da9f1c96c9111e7b27d4 (patch) | |
tree | 4d61523943fae244c3189c9a5314993d2fe8346c /tests | |
parent | 1367ef198a83b08253a7f872cd0b1508dbeb2441 (diff) | |
download | ffmpeg-182e647a64bc85f74a03da9f1c96c9111e7b27d4.tar.gz |
avcodec/me_cmp, motion_est: Move me_(pre_)?_cmp etc. to MotionEstContext
MECmpContext has several arrays of function pointers that
are not set by ff_me_cmp_init(), but that are set by users
to one of the other arrays via ff_set_cmp().
One of these other users is the motion estimation API.
It uses MECmpContext.(me_pre|me|me_sub|mb)_cmp. It is
basically the only user of these arrays.
This commit therefore moves these arrays to MotionEstContext;
this has the additional advantage of making motion_est.c
more independent from MpegEncContext.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/motion.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/checkasm/motion.c b/tests/checkasm/motion.c index e7a36bbbda..2bf49afc77 100644 --- a/tests/checkasm/motion.c +++ b/tests/checkasm/motion.c @@ -94,10 +94,6 @@ static void test_motion(const char *name, me_cmp_func test_func) XX(vsad) \ XX(vsse) \ XX(nsse) \ - XX(me_pre_cmp) \ - XX(me_cmp) \ - XX(me_sub_cmp) \ - XX(mb_cmp) \ XX(ildct_cmp) \ XX(frame_skip_cmp) \ XX(median_sad) |