/* * Copyright (c) 2018, 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.
*/
class TestVectorTest : public ::libaom_test::DecoderTest, public ::libaom_test::CodecTestWithParam<DecodeParam> { protected:
TestVectorTest() : DecoderTest(GET_PARAM(0)), md5_file_(nullptr) {}
~TestVectorTest() override { if (md5_file_) fclose(md5_file_);
}
// This test runs through the whole set of test vectors, and decodes them. // The md5 checksums are computed for each frame in the video file. If md5 // checksums match the correct md5 data, then the test is passed. Otherwise, // the test failed.
TEST_P(TestVectorTest, MD5Match) { const DecodeParam input = GET_PARAM(1); const std::string filename = std::get<kFileName>(input);
aom_codec_flags_t flags = 0;
aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t(); char str[256];
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.