18 #ifndef _GAZEBO_FFMPEG_INC_HH_
19 #define _GAZEBO_FFMPEG_INC_HH_
21 #include <gazebo/gazebo_config.h>
23 #pragma GCC system_header
27 #define INT64_C(c) (c ## LL)
28 #define UINT64_C(c) (c ## ULL)
32 #include <libavcodec/avcodec.h>
33 #include <libavformat/avformat.h>
34 #include <libavutil/imgutils.h>
35 #include <libavutil/opt.h>
36 #include <libswscale/swscale.h>
38 #if defined(__linux__) && defined(HAVE_AVDEVICE)
39 #include <libavdevice/avdevice.h>
AVFrame * AVFrameAlloc(void)
Helper function to avoid deprecation warnings.
void AVFrameUnref(AVFrame *_frame)
Helper function to avoid deprecation warnings.
void AVPacketUnref(AVPacket *_packet)
Helper function to avoid deprecation warnings.