diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-30 15:59:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-30 15:59:26 +0100 |
| commit | 8889cf7126810fb9b754643a45dcc94ad578125f (patch) | |
| tree | 682b1d0db6b3c158b5329eedddd423d46ea51ddc /src/lib/image.h | |
| parent | 326bf1a5409b2520464ff5df17051d4377955495 (diff) | |
Update filter graph to new API.
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index ad2aa79bd..00768ee02 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -98,14 +98,14 @@ private: AVPixelFormat _pixel_format; ///< FFmpeg's way of describing the pixel format of this Image }; -/** @class FilterBufferImage - * @brief An Image that is held in an AVFilterBufferRef. +/** @class FrameImage + * @brief An Image that is held in an AVFrame. */ -class FilterBufferImage : public Image +class FrameImage : public Image { public: - FilterBufferImage (AVPixelFormat, AVFilterBufferRef *); - ~FilterBufferImage (); + FrameImage (AVFrame *); + ~FrameImage (); uint8_t ** data () const; int * line_size () const; @@ -115,10 +115,10 @@ public: private: /* Not allowed */ - FilterBufferImage (FilterBufferImage const &); - FilterBufferImage& operator= (FilterBufferImage const &); + FrameImage (FrameImage const &); + FrameImage& operator= (FrameImage const &); - AVFilterBufferRef* _buffer; + AVFrame* _frame; int* _line_size; }; |
