[FFmpeg-devel] [PATCH v2] avcodec/libjxlenc: support negative linesizes
Leo Izen
leo.izen at gmail.com
Tue Jan 30 16:46:58 EET 2024
On 1/30/24 09:46, Leo Izen wrote:
> libjxl doesn't support negative strides, but JPEG XL has an orientation
> flag inside the codestream. We can use this to work around the library
> limitation, by taking the absolute value of the negative row stride,
> sending the image up-side-down, and telling the library that the image
> has a vertical-flip orientation.
>
> Signed-off-by: Leo Izen <leo.izen at gmail.com>
> ---
Changes from v1:
- constify uint8_t *data, per Andreas's request
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240130/2284cb6c/attachment.sig>
More information about the ffmpeg-devel
mailing list