avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Classes | Namespaces | Macros | Functions
frame.h File Reference
#include <vector>
#include <memory>
#include <stdexcept>
#include "ffmpeg.h"
#include "rational.h"
#include "timestamp.h"
#include "pixelformat.h"
#include "sampleformat.h"
#include "avutils.h"
#include <libavutil/imgutils.h>
#include <libavutil/attributes.h>
Include dependency graph for frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  av::Frame< T >
 
class  av::VideoFrame
 
class  av::AudioSamples
 

Namespaces

 av
 
 av::frame
 
 av::frame::priv
 

Macros

#define FRAME_SWAP(x)   swap(x, other.x)
 

Functions

void av::frame::priv::channel_layout_copy (AVFrame &dst, const AVFrame &src)
 
static int64_t av::frame::get_best_effort_timestamp (const AVFrame *frame)
 
static uint64_t av::frame::get_channel_layout (const AVFrame *frame)
 
static void av::frame::set_channel_layout (AVFrame *frame, uint64_t layout)
 
static int av::frame::get_channels (const AVFrame *frame)
 
static bool av::frame::is_valid_channel_layout (const AVFrame *frame)
 
static int av::frame::get_sample_rate (const AVFrame *frame)
 
static void av::frame::set_sample_rate (AVFrame *frame, int sampleRate)
 

Macro Definition Documentation

◆ FRAME_SWAP

#define FRAME_SWAP (   x)    swap(x, other.x)