AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VideoTransform.hpp
Go to the documentation of this file.
1 #ifndef _AV_TRANSCODER_ESSENCE_TRANSFORM_VIDEO_ESSENCE_TRANSFORM_HPP
2 #define _AV_TRANSCODER_ESSENCE_TRANSFORM_VIDEO_ESSENCE_TRANSFORM_HPP
3 
4 #include <vector>
5 
6 #include "ITransform.hpp"
7 
9 
10 class SwsContext;
11 
12 namespace avtranscoder
13 {
14 
15 class AvExport VideoTransform : public ITransform
16 {
17 private:
18  VideoTransform(const VideoTransform& videoTransform);
19  VideoTransform& operator=(const VideoTransform& videoTransform);
20 
21 public:
23  ~VideoTransform();
24 
25  void convert(const Frame& srcFrame, Frame& dstFrame);
26 
27 private:
28  bool init(const Frame& srcFrame, const Frame& dstFrame);
29 
30  SwsContext* _imageConvertContext;
31  bool _isInit;
32 };
33 }
34 
35 #endif
This class describes decoded (raw) audio or video data.
Definition: Frame.hpp:16