mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 08:27:31 +09:00
Update libaom to rev b25610052a1398032320008d69b51d2da94f5928
This commit is contained in:
parent
8493557d20
commit
3d109dd4fc
240 changed files with 16977 additions and 6139 deletions
12
third_party/aom/test/av1_ext_tile_test.cc
vendored
12
third_party/aom/test/av1_ext_tile_test.cc
vendored
|
|
@ -47,6 +47,7 @@ class AV1ExtTileTest
|
|||
|
||||
decoder_ = codec_->CreateDecoder(cfg, 0);
|
||||
decoder_->Control(AV1_SET_TILE_MODE, 1);
|
||||
decoder_->Control(AV1D_EXT_TILE_DEBUG, 1);
|
||||
decoder_->Control(AV1_SET_DECODE_TILE_ROW, -1);
|
||||
decoder_->Control(AV1_SET_DECODE_TILE_COL, -1);
|
||||
|
||||
|
|
@ -82,13 +83,14 @@ class AV1ExtTileTest
|
|||
encoder->Control(AOME_SET_ENABLEAUTOALTREF, 0);
|
||||
encoder->Control(AV1E_SET_FRAME_PARALLEL_DECODING, 1);
|
||||
|
||||
// The tile size is 64x64.
|
||||
encoder->Control(AV1E_SET_TILE_COLUMNS, kTileSize);
|
||||
encoder->Control(AV1E_SET_TILE_ROWS, kTileSize);
|
||||
// TODO(yunqingwang): test single_tile_decoding = 0.
|
||||
encoder->Control(AV1E_SET_SINGLE_TILE_DECODING, 1);
|
||||
// Always use 64x64 max partition.
|
||||
encoder->Control(AV1E_SET_SUPERBLOCK_SIZE, AOM_SUPERBLOCK_SIZE_64X64);
|
||||
// Set tile_columns and tile_rows to MAX values, which guarantees the tile
|
||||
// size of 64 x 64 pixels(i.e. 1 SB) for <= 4k resolution.
|
||||
encoder->Control(AV1E_SET_TILE_COLUMNS, 6);
|
||||
encoder->Control(AV1E_SET_TILE_ROWS, 6);
|
||||
}
|
||||
|
||||
if (video->frame() == 1) {
|
||||
|
|
@ -195,7 +197,7 @@ class AV1ExtTileTest
|
|||
std::vector<std::string> tile_md5_;
|
||||
};
|
||||
|
||||
TEST_P(AV1ExtTileTest, DISABLED_DecoderResultTest) { TestRoundTrip(); }
|
||||
TEST_P(AV1ExtTileTest, DecoderResultTest) { TestRoundTrip(); }
|
||||
|
||||
AV1_INSTANTIATE_TEST_CASE(
|
||||
// Now only test 2-pass mode.
|
||||
|
|
@ -204,7 +206,7 @@ AV1_INSTANTIATE_TEST_CASE(
|
|||
|
||||
class AV1ExtTileTestLarge : public AV1ExtTileTest {};
|
||||
|
||||
TEST_P(AV1ExtTileTestLarge, DISABLED_DecoderResultTest) { TestRoundTrip(); }
|
||||
TEST_P(AV1ExtTileTestLarge, DecoderResultTest) { TestRoundTrip(); }
|
||||
|
||||
AV1_INSTANTIATE_TEST_CASE(
|
||||
// Now only test 2-pass mode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue