#ifndef MEDIA_RENDERERS_SHARED_IMAGE_VIDEO_FRAME_TEST_UTILS_H_
#define MEDIA_RENDERERS_SHARED_IMAGE_VIDEO_FRAME_TEST_UTILS_H_
#include <GLES3/gl3.h>
#include <stdint.h>
#include "base/functional/bind.h"
#include "components/viz/common/gpu/raster_context_provider.h"
#include "media/base/video_frame.h"
namespace media {
scoped_refptr<VideoFrame> CreateSharedImageRGBAFrame(
scoped_refptr<viz::RasterContextProvider> context_provider,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
base::OnceClosure destroyed_callback);
scoped_refptr<VideoFrame> CreateSharedImageI420Frame(
scoped_refptr<viz::RasterContextProvider> context_provider,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
base::OnceClosure destroyed_callback);
scoped_refptr<VideoFrame> CreateSharedImageNV12Frame(
scoped_refptr<viz::RasterContextProvider> context_provider,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
base::OnceClosure destroyed_callback);
}
#endif