[FFmpeg-devel] [PATCH v2 3/5] swscale/rgb2xyz: follow convention on image pointers and strides

Michael Niedermayer michael at niedermayer.cc
Mon Oct 7 21:37:23 EEST 2024


On Mon, Oct 07, 2024 at 07:53:01PM +0200, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> Instead of taking an int16_t pointer and a stride in halfwords, follow the
> usual convention of treating all planes and strides as byte-addressed.
> 
> This does not have any immediate effect but makes these functions more
> reusable without unintended "gotchas".
> 
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Niklas Haas <git at haasn.dev>
> ---
>  libswscale/swscale.c | 83 ++++++++++++++++++++++++--------------------
>  1 file changed, 45 insertions(+), 38 deletions(-)

ok

thx

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

The day soldiers stop bringing you their problems is the day you have stopped 
leading them. They have either lost confidence that you can help or concluded 
you do not care. Either case is a failure of leadership. - Colin Powell
-------------- 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/20241007/692668a2/attachment.sig>


More information about the ffmpeg-devel mailing list