This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 46e67ad9459679ee043808c38e5b9a3d0ed7fa5a Author: Lynne <[email protected]> AuthorDate: Tue Nov 4 19:02:02 2025 +0100 Commit: Lynne <[email protected]> CommitDate: Tue May 19 17:43:53 2026 +0900 apv_decode: expose decode_lut This makes it usable outside of apv_decode.c --- libavcodec/apv_decode.c | 6 +++--- libavcodec/apv_decode.h | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c index a9dcd4ce7d..43628d2815 100644 --- a/libavcodec/apv_decode.c +++ b/libavcodec/apv_decode.c @@ -45,7 +45,7 @@ static const enum AVPixelFormat apv_format_table[5][4] = { { AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_NONE, AV_PIX_FMT_YUVA444P16 }, }; -static APVVLCLUT decode_lut; +APVVLCLUT ff_apv_decode_lut; static enum AVPixelFormat get_pixel_format(AVCodecContext *avctx, enum AVPixelFormat pix_fmt) @@ -129,7 +129,7 @@ static AVOnce apv_entropy_once = AV_ONCE_INIT; static av_cold void apv_entropy_build_decode_lut(void) { - ff_apv_entropy_build_decode_lut(&decode_lut); + ff_apv_entropy_build_decode_lut(&ff_apv_decode_lut); } static av_cold int apv_decode_init(AVCodecContext *avctx) @@ -248,7 +248,7 @@ static int apv_decode_tile_component(AVCodecContext *avctx, void *data, APVEntropyState entropy_state = { .log_ctx = avctx, - .decode_lut = &decode_lut, + .decode_lut = &ff_apv_decode_lut, .prev_dc = 0, .prev_k_dc = 5, .prev_k_level = 0, diff --git a/libavcodec/apv_decode.h b/libavcodec/apv_decode.h index 60259e1b5e..dee908eebb 100644 --- a/libavcodec/apv_decode.h +++ b/libavcodec/apv_decode.h @@ -113,6 +113,8 @@ typedef struct APVDecodeContext { uint8_t warned_unknown_pbu_types; } APVDecodeContext; +extern APVVLCLUT ff_apv_decode_lut; + /** * Build the decoder VLC look-up tables. */ _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
