#include "third_party/blink/renderer/platform/testing/video_frame_utils.h"
#include "base/functional/callback_helpers.h"
#include "media/base/format_utils.h"
#include "media/video/fake_gpu_memory_buffer.h"
namespace blink {
scoped_refptr<media::VideoFrame> CreateTestFrame(
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
const gfx::Size& natural_size,
media::VideoFrame::StorageType storage_type) { … }
scoped_refptr<media::VideoFrame> CreateTestFrame(
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
const gfx::Size& natural_size,
media::VideoFrame::StorageType storage_type,
media::VideoPixelFormat pixel_format,
base::TimeDelta timestamp) { … }
}