chromium/third_party/libvpx/source/libvpx/test/keyframe_test.cc

/*
 *  Copyright (c) 2012 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */
#include <climits>
#include <cstring>
#include <vector>
#include "gtest/gtest.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/i420_video_source.h"
#include "test/util.h"
#include "./vpx_config.h"
#include "vpx/vp8cx.h"
#include "vpx/vpx_codec.h"
#include "vpx/vpx_encoder.h"
#include "vpx/vpx_image.h"

namespace {

class KeyframeTest
    : public ::libvpx_test::EncoderTest,
      public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {};

TEST_P(KeyframeTest, TestRandomVideoSource) {}

TEST_P(KeyframeTest, TestDisableKeyframes) {}

TEST_P(KeyframeTest, TestForceKeyframe) {}

TEST_P(KeyframeTest, TestKeyframeMaxDistance) {}

TEST_P(KeyframeTest, TestAutoKeyframe) {}

VP8_INSTANTIATE_TEST_SUITE();

bool IsVP9(vpx_codec_iface_t *iface) {}

vpx_image_t *CreateGrayImage(vpx_img_fmt_t fmt, unsigned int w,
                             unsigned int h) {}

// Tests kf_max_dist in one-pass encoding with zero lag.
void TestKeyframeMaximumInterval(vpx_codec_iface_t *iface,
                                 vpx_enc_deadline_t deadline,
                                 unsigned int kf_max_dist) {}

TEST(KeyframeIntervalTest, KeyframeMaximumInterval) {}

}  // namespace