Gazebo Common

API Reference

4.7.0
gz/common/ffmpeg_inc.hh File Reference
#include <string>
#include <gz/common/config.hh>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include <libavutil/mathematics.h>
#include <libavutil/opt.h>
#include <libavutil/error.h>
#include <libavutil/imgutils.h>
#include <libavutil/hwcontext.h>
#include <gz/common/av/Export.hh>

Go to the source code of this file.

Namespaces

 ignition
 Forward declarations for the common classes.
 
 ignition::common
 

Macros

#define AV_ERROR_MAX_STRING_SIZE   64
 
#define INT64_C(c)   (c ## LL)
 
#define UINT64_C(c)   (c ## ULL)
 

Functions

std::string av_err2str_cpp (int errnum)
 
IGNITION_COMMON_AV_VISIBLE int AVCodecDecode (AVCodecContext *_codecCtx, AVFrame *_frame, int *_gotFrame, AVPacket *_packet)
 Helper function to avoid deprecation warnings from av_codec_decode_video2. More...
 
IGNITION_COMMON_AV_VISIBLE AVFrame * AVFrameAlloc (void)
 Helper function to avoid deprecation warnings. More...
 
IGNITION_COMMON_AV_VISIBLE void AVFrameUnref (AVFrame *_frame)
 Helper function to avoid deprecation warnings. More...
 
IGNITION_COMMON_AV_VISIBLE void AVPacketUnref (AVPacket *_packet)
 Helper function to avoid deprecation warnings. More...
 

Macro Definition Documentation

◆ AV_ERROR_MAX_STRING_SIZE

#define AV_ERROR_MAX_STRING_SIZE   64

◆ INT64_C

#define INT64_C (   c)    (c ## LL)

◆ UINT64_C

#define UINT64_C (   c)    (c ## ULL)