Lines Matching refs:VideoFrame
39 class VideoFrame {
41 VideoFrame() {}
42 virtual ~VideoFrame() {}
112 // Both the current and new VideoFrame will share a single reference-counted
114 virtual VideoFrame *Copy() const = 0;
116 // Since VideoFrame supports shallow copy and the internal frame buffer might
120 // In case VideoFrame needs exclusive access of the frame buffer, user can
143 // Writes the frame into the target VideoFrame.
144 virtual void CopyToFrame(VideoFrame* target) const;
148 virtual const VideoFrame* GetCopyWithRotationApplied() const = 0;
181 // Writes the frame into the target VideoFrame, stretched to the size of that
185 virtual void StretchToFrame(VideoFrame *target, bool interpolate,
188 // Stretches the frame to the given size, creating a new VideoFrame object to
192 virtual VideoFrame *Stretch(size_t w, size_t h, bool interpolate,
212 virtual VideoFrame *CreateEmptyFrame(int w, int h, size_t pixel_width,