[FFmpeg-devel] [PATCH v2 2/2] libavcodec/motion_est: fix penalty_factor for b frames
Ramiro Polla
ramiro.polla at gmail.com
Sat May 11 10:42:54 EEST 2024
On Wed, May 8, 2024 at 11:47 PM Michael Niedermayer
<michael at niedermayer.cc> wrote:
> On Wed, May 08, 2024 at 05:19:50PM +0200, Ramiro Polla wrote:
> > In direct_search() and ff_estimate_b_frame_motion(), penalty_factor
> > would be used before being initialized in estimate_motion_b(). Also,
> > the initialization would happen more than once unnecessarily.
> > ---
> > libavcodec/motion_est.c | 15 ++++++++-------
> > tests/ref/vsynth/vsynth1-mpeg4-thread | 6 +++---
> > tests/ref/vsynth/vsynth2-mpeg2-ivlc-qprd | 6 +++---
> > tests/ref/vsynth/vsynth2-mpeg4-adap | 8 ++++----
> > tests/ref/vsynth/vsynth2-mpeg4-qprd | 6 +++---
> > tests/ref/vsynth/vsynth2-mpeg4-thread | 6 +++---
> > tests/ref/vsynth/vsynth_lena-mpeg4-rc | 4 ++--
> > 7 files changed, 26 insertions(+), 25 deletions(-)
>
> probably ok
Thanks. Pushed.
More information about the ffmpeg-devel
mailing list