/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved. * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at www.aomedia.org/license/software. If the Alliance for Open * Media Patent License 1.0 was not distributed with this source code in the * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
*/
private: int n_tile_cols_; int n_tile_rows_; int n_tile_groups_;
};
// run an encode with 2 or 4 tiles, and do the decode both in normal and // inverted tile ordering. Ensure that the MD5 of the output in both cases // is identical. If so, tiles are considered independent and the test passes.
TEST_P(TileIndependenceTest, MD5Match) {
cfg_.large_scale_tile = 0;
fw_dec_->Control(AV1_SET_TILE_MODE, 0);
inv_dec_->Control(AV1_SET_TILE_MODE, 0);
DoTest();
}
class TileIndependenceTestLarge : public TileIndependenceTest { void SetCpuUsed(libaom_test::Encoder *encoder) override { staticconstint kCpuUsed = 0;
encoder->Control(AOME_SET_CPUUSED, kCpuUsed);
}
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.