Go to the documentation of this file.
17 #ifndef IGNITION_COMMON_VIDEO_HH_
18 #define IGNITION_COMMON_VIDEO_HH_
23 #include <ignition/common/av/Export.hh>
26 struct AVFormatContext;
27 struct AVCodecContext;
40 class IGNITION_COMMON_AV_VISIBLE
Video
46 public:
virtual ~
Video();
55 public:
int Width()
const;
59 public:
int Height()
const;
68 public:
Length Duration()
const;
74 public:
bool NextFrame(
unsigned char **_buffer);
77 private:
void Cleanup();
Forward declarations for the common classes.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: SuppressWarning.hh:64
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: SuppressWarning.hh:67
Handle video encoding and decoding using libavcodec.
Definition: Video.hh:40