Skip to content

Commit

Permalink
Document DimensionChangeLargeImageMultiThread test
Browse files Browse the repository at this point in the history
Document the purpose of the
AVIFProgressiveTest.DimensionChangeLargeImageMultiThread test and give
hints on how the test was constructed.

Bug: aomedia:3382
Change-Id: I37e891ef9960deb6259716ad81fbb69378ee3103
  • Loading branch information
wantehchang committed Mar 15, 2023
1 parent 6f1f28d commit e70761b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/avif_progressive_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ TEST(AVIFProgressiveTest, DimensionChange) {
EXPECT_EQ(AOM_CODEC_OK, aom_codec_destroy(&enc));
}

// This test reproduces bug aomedia:3382. Certain parameters such as width,
// height, g_threads, usage, etc. were carefully chosen based on the
// complicated logic of av1_select_sb_size() to cause an inconsistent sb_size.
TEST(AVIFProgressiveTest, DimensionChangeLargeImageMultiThread) {
constexpr int kWidth = 1920;
constexpr int kHeight = 1080;
Expand Down

0 comments on commit e70761b

Please sign in to comment.