chromium/third_party/libvpx/source/libvpx/test/encode_test_driver.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 <memory>
#include <string>

#include "gtest/gtest.h"

#include "./vpx_config.h"
#include "test/codec_factory.h"
#include "test/decode_test_driver.h"
#include "test/encode_test_driver.h"
#include "test/register_state_check.h"
#include "test/video_source.h"

namespace libvpx_test {
void Encoder::InitEncoder(VideoSource *video) {}

void Encoder::EncodeFrame(VideoSource *video,
                          const vpx_enc_frame_flags_t frame_flags) {}

void Encoder::EncodeFrameInternal(const VideoSource &video,
                                  const vpx_enc_frame_flags_t frame_flags) {}

void Encoder::Flush() {}

void EncoderTest::InitializeConfig() {}

void EncoderTest::SetMode(TestMode mode) {}
// The function should return "true" most of the time, therefore no early
// break-out is implemented within the match checking process.
static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) {}

void EncoderTest::MismatchHook(const vpx_image_t * /*img1*/,
                               const vpx_image_t * /*img2*/) {}

void EncoderTest::RunLoop(VideoSource *video) {}

}  // namespace libvpx_test