mirror of https://github.com/FFmpeg/FFmpeg.git
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@gmail.com>release/7.0
parent
789109ab21
commit
c0de7ac520
1 changed files with 10 additions and 2 deletions
Loading…
Reference in new issue