Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Nov 20, 2024
1 parent 8e6338f commit 57ce1bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/codec_avm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 57ce1bc

Please sign in to comment.