aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9mvs.c
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2023-01-27 06:47:15 -0500
committerLeo Izen <leo.izen@gmail.com>2023-01-31 10:39:48 -0500
commitfb823161a8e3dfc864a7bd83a9b968f4912c5b1d (patch)
tree4e60a1e32dee117f35e84f3e3d63a9e56881e07c /libavcodec/vp9mvs.c
parent669ff26bc283c39334e7df3a81fd0db0088a7442 (diff)
downloadffmpeg-fb823161a8e3dfc864a7bd83a9b968f4912c5b1d.tar.gz
avcodec/libjxl: respect AVCodecContext->bits_per_raw_sample
libjxl only accepts 16-bit buffers with its API, but it can accept 9-bit to 15-bit input via a 16-bit buffer, provided the flag is set declaring the buffer to be of the respective significant depth. Likewise, it can only provide pixel data on decode as a 16-bit buffer (if higher than 8) but does provide the metadata tagging the actual bit depth. This commit causes libjxlenc.c and libjxldec.c to respect this metadata and tag/read it accordingly from AVCodecContext->bits_per_raw_sample. Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'libavcodec/vp9mvs.c')
0 files changed, 0 insertions, 0 deletions