Skip to content

Commit

Permalink
No need to set AV1E_SET_ROW_MT to 1
Browse files Browse the repository at this point in the history
The default value of AV1E_SET_ROW_MT was changed to 1 in
https://aomedia-review.googlesource.com/c/aom/+/77983. The default value
of AV1E_SET_ROW_MT is 1 in any libaom release that has AV1E_SET_ROW_MT,
starting from v1.0.0-errata1-avif. So it is not necessary to set
AV1E_SET_ROW_MT to 1.
  • Loading branch information
wantehchang committed Jul 19, 2023
1 parent 5d67144 commit 1488373
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/codec_aom.c
Original file line number Diff line number Diff line change
Expand Up @@ -817,9 +817,6 @@ static avifResult aomCodecEncodeImage(avifCodec * codec,
if (lossless) {
aom_codec_control(&codec->internal->encoder, AV1E_SET_LOSSLESS, 1);
}
if (encoder->maxThreads > 1) {
aom_codec_control(&codec->internal->encoder, AV1E_SET_ROW_MT, 1);
}
if (tileRowsLog2 != 0) {
aom_codec_control(&codec->internal->encoder, AV1E_SET_TILE_ROWS, tileRowsLog2);
}
Expand Down

0 comments on commit 1488373

Please sign in to comment.