[FFmpeg-devel] [PATCH v2 2/2] libavcodec/motion_est: fix penalty_factor for b frames

Michael Niedermayer michael at niedermayer.cc
Thu May 9 00:47:33 EEST 2024


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

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240508/2f462631/attachment.sig>


More information about the ffmpeg-devel mailing list