Lines Matching defs:VideoFrame
45 class VideoFrame {
47 VideoFrame() {}
48 virtual ~VideoFrame() {}
100 // Both the current and new VideoFrame will share a single reference-counted
102 virtual VideoFrame *Copy() const = 0;
104 // Since VideoFrame supports shallow copy and the internal frame buffer might
105 // be shared, in case VideoFrame needs exclusive access of the frame buffer,
125 // Writes the frame into the target VideoFrame.
126 virtual void CopyToFrame(VideoFrame* target) const;
160 // Writes the frame into the target VideoFrame, stretched to the size of that
164 virtual void StretchToFrame(VideoFrame *target, bool interpolate,
167 // Stretches the frame to the given size, creating a new VideoFrame object to
171 virtual VideoFrame *Stretch(size_t w, size_t h, bool interpolate,
188 virtual VideoFrame *CreateEmptyFrame(int w, int h, size_t pixel_width,