#include "third_party/blink/renderer/platform/webrtc/webrtc_video_frame_adapter.h"
#include "base/memory/scoped_refptr.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/testing/video_frame_utils.h"
#include "third_party/blink/renderer/platform/webrtc/testing/mock_webrtc_video_frame_adapter_shared_resources.h"
#include "third_party/webrtc/api/scoped_refptr.h"
#include "third_party/webrtc/rtc_base/ref_counted_object.h"
namespace blink {
ElementsAre;
IsEmpty;
TEST(ScaledBufferSizeTest, CroppingIsRelative) { … }
TEST(ScaledBufferSizeTest, ScalingIsRelative) { … }
TEST(ScaledBufferSizeTest, CroppingAndScalingIsRelative) { … }
TEST(WebRtcVideoFrameAdapterTest, MapFullFrameIsZeroCopy) { … }
TEST(WebRtcVideoFrameAdapterTest, MapScaledFrameCreatesNewFrame) { … }
TEST(WebRtcVideoFrameAdapterTest,
MapScaledFrameScalesFromClosestPreviouslyScaledFrameWithoutCropping) { … }
TEST(WebRtcVideoFrameAdapterTest,
MapScaledFrameScalesFromClosestPreviouslyScaledFrameWithCropping) { … }
TEST(WebRtcVideoFrameAdapterTest,
MapScaledFrameDoesNotScaleFromPreviouslyScaledFrameWithOtherCrop) { … }
TEST(WebRtcVideoFrameAdapterTest, FrameFeedbackSetsRequireMappedFrame) { … }
}