Lines Matching defs:VideoFrame
20 class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
60 // on the class is destroyed. The VideoFrame holds a reference to the mailbox
97 static scoped_refptr<VideoFrame> CreateFrame(
115 // Wraps a native texture of the given parameters with a VideoFrame. When the
125 static scoped_refptr<VideoFrame> WrapNativeTexture(
141 // VideoFrame. The image data resides in |data| and is assumed to be packed
145 static scoped_refptr<VideoFrame> WrapExternalSharedMemory(
155 // Wraps external YUV data of the given parameters with a VideoFrame.
156 // The returned VideoFrame does not own the data passed in. When the frame
160 static scoped_refptr<VideoFrame> WrapExternalYuvData(
174 // Creates a frame with format equals to VideoFrame::EMPTY, width, height,
176 static scoped_refptr<VideoFrame> CreateEmptyFrame();
179 static scoped_refptr<VideoFrame> CreateColorFrame(
186 static scoped_refptr<VideoFrame> CreateBlackFrame(const gfx::Size& size);
190 static scoped_refptr<VideoFrame> CreateHoleFrame(const gfx::Size& size);
211 // VideoFrame object and must not be freed by the caller.
225 // Returns true if this VideoFrame represents the end of the stream.
240 friend class base::RefCountedThreadSafe<VideoFrame>;
242 VideoFrame(Format format,
247 virtual ~VideoFrame();
289 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame);