#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/cast/encoding/vpx_quantizer_parser.h"
#include <stdint.h>
#include <cstdlib>
#include <memory>
#include "base/time/time.h"
#include "media/base/mock_filters.h"
#include "media/base/video_codecs.h"
#include "media/cast/cast_config.h"
#include "media/cast/common/sender_encoded_frame.h"
#include "media/cast/encoding/vpx_encoder.h"
#include "media/cast/test/receiver/video_decoder.h"
#include "media/cast/test/utility/default_config.h"
#include "media/cast/test/utility/video_utility.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/openscreen/src/cast/streaming/encoded_frame.h"
namespace media {
namespace cast {
namespace {
const int kWidth = …;
const int kHeight = …;
const int kFrameRate = …;
const int kQp = …;
FrameSenderConfig GetVideoConfigForTest() { … }
}
class VpxQuantizerParserTest : public ::testing::Test { … };
TEST_F(VpxQuantizerParserTest, InsufficientData) { … }
TEST_F(VpxQuantizerParserTest, VariedQuantizer) { … }
}
}