Re: [FFmpeg-devel] [PATCH] avcodec/libjxlenc: support negative linesizes

2024-01-30 Thread Andreas Rheinhardt
Leo Izen: > 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 imag

Re: [FFmpeg-devel] [PATCH] avcodec/libjxlenc: support negative linesizes

2024-01-30 Thread Tomas Härdin
mån 2024-01-29 klockan 19:37 -0500 skrev Leo Izen: > 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-sid

[FFmpeg-devel] [PATCH] avcodec/libjxlenc: support negative linesizes

2024-01-29 Thread Leo Izen
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-f