From 57ce1bc0f7ecbef8565b1a1fc5c6317186e207c2 Mon Sep 17 00:00:00 2001 From: Vincent Rabaud Date: Wed, 20 Nov 2024 14:51:11 +0100 Subject: [PATCH] Add comments --- src/codec_avm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/codec_avm.c b/src/codec_avm.c index 698b062cca..2c67aeab08 100644 --- a/src/codec_avm.c +++ b/src/codec_avm.c @@ -145,7 +145,8 @@ static avifBool avmCodecGetNextImage(struct avifCodec * codec, return AVIF_FALSE; } if (codec->internal->image->monochrome) { - // avm does not handle monochrome as of research-v8.0.0. + // avm does not handle monochrome as of research-v8.1.0. + // https://gitlab.com/AOMediaCodec/avm/-/issues/522 // This should not happen. yuvFormat = AVIF_PIXEL_FORMAT_YUV400; } @@ -658,7 +659,8 @@ static avifResult avmCodecEncodeImage(avifCodec * codec, cfg->g_threads = AVIF_MIN(encoder->maxThreads, 64); } - // avm does not handle monochrome as of research-v8.0.0. + // avm does not handle monochrome as of research-v8.1.0. + // https://gitlab.com/AOMediaCodec/avm/-/issues/522 // TODO(yguyon): Enable when fixed upstream codec->internal->monochromeEnabled = AVIF_FALSE;