Skip to content

Commit

Permalink
Add quality 90
Browse files Browse the repository at this point in the history
  • Loading branch information
y-guyon committed May 5, 2023
1 parent 7488955 commit 5660623
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/gtest/avifcodectest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ TEST_P(CodecTest, EncodeDecode) {
testutil::AvifEncoderPtr encoder(avifEncoderCreate(), avifEncoderDestroy);
ASSERT_NE(encoder, nullptr);
encoder->codecChoice = encoding_codec;
encoder->quality = encoder->qualityAlpha = 90; // Small loss.
testutil::AvifRwData encoded;
ASSERT_EQ(avifEncoderWrite(encoder.get(), image.get(), &encoded),
AVIF_RESULT_OK);
Expand Down

0 comments on commit 5660623

Please sign in to comment.