mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 14:57:32 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
14
third_party/aom/test/borders_test.cc
vendored
14
third_party/aom/test/borders_test.cc
vendored
|
|
@ -7,7 +7,7 @@
|
|||
* 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.
|
||||
*/
|
||||
*/
|
||||
|
||||
#include <climits>
|
||||
#include <vector>
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
|
||||
namespace {
|
||||
|
||||
class BordersTest
|
||||
class BordersTestLarge
|
||||
: public ::libaom_test::CodecTestWithParam<libaom_test::TestMode>,
|
||||
public ::libaom_test::EncoderTest {
|
||||
protected:
|
||||
BordersTest() : EncoderTest(GET_PARAM(0)) {}
|
||||
virtual ~BordersTest() {}
|
||||
BordersTestLarge() : EncoderTest(GET_PARAM(0)) {}
|
||||
virtual ~BordersTestLarge() {}
|
||||
|
||||
virtual void SetUp() {
|
||||
InitializeConfig();
|
||||
|
|
@ -47,7 +47,7 @@ class BordersTest
|
|||
}
|
||||
};
|
||||
|
||||
TEST_P(BordersTest, TestEncodeHighBitrate) {
|
||||
TEST_P(BordersTestLarge, TestEncodeHighBitrate) {
|
||||
// Validate that this non multiple of 64 wide clip encodes and decodes
|
||||
// without a mismatch when passing in a very low max q. This pushes
|
||||
// the encoder to producing lots of big partitions which will likely
|
||||
|
|
@ -63,7 +63,7 @@ TEST_P(BordersTest, TestEncodeHighBitrate) {
|
|||
|
||||
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
|
||||
}
|
||||
TEST_P(BordersTest, TestLowBitrate) {
|
||||
TEST_P(BordersTestLarge, TestLowBitrate) {
|
||||
// Validate that this clip encodes and decodes without a mismatch
|
||||
// when passing in a very high min q. This pushes the encoder to producing
|
||||
// lots of small partitions which might will test the other condition.
|
||||
|
|
@ -80,6 +80,6 @@ TEST_P(BordersTest, TestLowBitrate) {
|
|||
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
|
||||
}
|
||||
|
||||
AV1_INSTANTIATE_TEST_CASE(BordersTest,
|
||||
AV1_INSTANTIATE_TEST_CASE(BordersTestLarge,
|
||||
::testing::Values(::libaom_test::kTwoPassGood));
|
||||
} // namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue