[FFmpeg-devel] [PATCH v7 05/12] swscale: eliminate redundant SwsInternal accesses

Michael Niedermayer michael at niedermayer.cc
Thu Nov 21 02:18:20 EET 2024


On Sat, Nov 16, 2024 at 12:25:00PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> This is a purely cosmetic commit aimed at replacing accesses to
> SwsInternal.opts by direct access to SwsContext wherever convenient.
> 
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Niklas Haas <git at haasn.dev>
> ---
>  libswscale/options.c              |   2 +-
>  libswscale/swscale.c              |  93 ++++++------
>  libswscale/utils.c                | 233 +++++++++++++++---------------
>  tests/checkasm/sw_gbrp.c          |  16 +-
>  tests/checkasm/sw_range_convert.c |  16 +-
>  tests/checkasm/sw_rgb.c           |  29 ++--
>  tests/checkasm/sw_scale.c         |  22 +--
>  7 files changed, 203 insertions(+), 208 deletions(-)

LGTM

thx

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

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/20241121/78ed7748/attachment.sig>


More information about the ffmpeg-devel mailing list