Switch Controller
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
FFmpegFrameSink Class Referenceabstract

#include <FFmpegFrameSink.h>

Inheritance diagram for FFmpegFrameSink:
Inheritance graph
Collaboration diagram for FFmpegFrameSink:
Collaboration graph

Public Member Functions

virtual ~FFmpegFrameSink ()
 
void init (AVCodecContext *decoderContext)
 
void waitForInit ()
 
void outputFrame (AVFrame *frame)
 
long long getData (std::vector< uint8_t > &data)
 
long long getNextData (std::vector< uint8_t > &data, long long lastFrameSeen)
 
virtual AVMediaType getType () const =0
 

Protected Member Functions

virtual void virtualInit (AVCodecContext *decoderContext)=0
 
virtual void virtualOutputFrame (AVFrame *frame)=0
 
virtual void getDataWithoutLock (std::vector< uint8_t > &data)=0
 

Constructor & Destructor Documentation

◆ ~FFmpegFrameSink()

virtual FFmpegFrameSink::~FFmpegFrameSink ( )
inlinevirtual

Member Function Documentation

◆ getData()

long long FFmpegFrameSink::getData ( std::vector< uint8_t > &  data)
inline

◆ getDataWithoutLock()

virtual void FFmpegFrameSink::getDataWithoutLock ( std::vector< uint8_t > &  data)
protectedpure virtual

◆ getNextData()

long long FFmpegFrameSink::getNextData ( std::vector< uint8_t > &  data,
long long  lastFrameSeen 
)
inline

◆ getType()

virtual AVMediaType FFmpegFrameSink::getType ( ) const
pure virtual

Implemented in AudioFrameSink, and VideoFrameSink.

◆ init()

void FFmpegFrameSink::init ( AVCodecContext *  decoderContext)
inline

◆ outputFrame()

void FFmpegFrameSink::outputFrame ( AVFrame *  frame)
inline

◆ virtualInit()

virtual void FFmpegFrameSink::virtualInit ( AVCodecContext *  decoderContext)
protectedpure virtual

◆ virtualOutputFrame()

virtual void FFmpegFrameSink::virtualOutputFrame ( AVFrame *  frame)
protectedpure virtual

◆ waitForInit()

void FFmpegFrameSink::waitForInit ( )
inline

The documentation for this class was generated from the following file: