// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "media/cast/encoding/external_video_encoder.h" #include <stdint.h> #include "build/build_config.h" #include "media/base/video_frame.h" #include "testing/gtest/include/gtest/gtest.h" namespace media::cast { namespace { scoped_refptr<VideoFrame> CreateFrame(const uint8_t* y_plane_data, const gfx::Size& size) { … } } // namespace TEST(QuantizerEstimatorTest, EstimatesForTrivialFrames) { … } } // namespace media::cast