Audacity 3.2.0
Public Member Functions | Protected Attributes | List of all members
AVFifoBufferWrapper Class Reference

#include <AVFifoBufferWrapper.h>

Collaboration diagram for AVFifoBufferWrapper:
[legend]

Public Member Functions

 AVFifoBufferWrapper (const AVFifoBufferWrapper &)=delete
 
AVFifoBufferWrapperoperator= (AVFifoBufferWrapper &)=delete
 
 AVFifoBufferWrapper (AVFifoBufferWrapper &&)=delete
 
AVFifoBufferWrapperoperator= (AVFifoBufferWrapper &&)=delete
 
 AVFifoBufferWrapper (const FFmpegFunctions &ffmpeg, int size) noexcept
 
AVFifoBufferGetWrappedValue () noexcept
 
const AVFifoBufferGetWrappedValue () const noexcept
 
virtual ~AVFifoBufferWrapper ()
 

Protected Attributes

const FFmpegFunctionsmFFmpeg
 
AVFifoBuffermAVFifoBuffer { nullptr }
 

Detailed Description

Definition at line 16 of file AVFifoBufferWrapper.h.

Constructor & Destructor Documentation

◆ AVFifoBufferWrapper() [1/3]

AVFifoBufferWrapper::AVFifoBufferWrapper ( const AVFifoBufferWrapper )
delete

◆ AVFifoBufferWrapper() [2/3]

AVFifoBufferWrapper::AVFifoBufferWrapper ( AVFifoBufferWrapper &&  )
delete

◆ AVFifoBufferWrapper() [3/3]

AVFifoBufferWrapper::AVFifoBufferWrapper ( const FFmpegFunctions ffmpeg,
int  size 
)
noexcept

Definition at line 16 of file AVFifoBufferWrapper.cpp.

18 : mFFmpeg(ffmpeg)
19{
21}
const FFmpegFunctions & mFFmpeg
AVFifoBuffer * mAVFifoBuffer
AVFifoBuffer *(* av_fifo_alloc)(unsigned int size)

References size.

◆ ~AVFifoBufferWrapper()

AVFifoBufferWrapper::~AVFifoBufferWrapper ( )
virtual

Definition at line 33 of file AVFifoBufferWrapper.cpp.

34{
36}
void(* av_fifo_free)(AVFifoBuffer *f)

References AVUtilFunctions::av_fifo_free, mAVFifoBuffer, and mFFmpeg.

Member Function Documentation

◆ GetWrappedValue() [1/2]

const AVFifoBuffer * AVFifoBufferWrapper::GetWrappedValue ( ) const
noexcept

Definition at line 28 of file AVFifoBufferWrapper.cpp.

29{
30 return mAVFifoBuffer;
31}

References mAVFifoBuffer.

◆ GetWrappedValue() [2/2]

AVFifoBuffer * AVFifoBufferWrapper::GetWrappedValue ( )
noexcept

Definition at line 23 of file AVFifoBufferWrapper.cpp.

24{
25 return mAVFifoBuffer;
26}

References mAVFifoBuffer.

◆ operator=() [1/2]

AVFifoBufferWrapper & AVFifoBufferWrapper::operator= ( AVFifoBufferWrapper &&  )
delete

◆ operator=() [2/2]

AVFifoBufferWrapper & AVFifoBufferWrapper::operator= ( AVFifoBufferWrapper )
delete

Member Data Documentation

◆ mAVFifoBuffer

AVFifoBuffer* AVFifoBufferWrapper::mAVFifoBuffer { nullptr }
protected

Definition at line 35 of file AVFifoBufferWrapper.h.

Referenced by GetWrappedValue(), and ~AVFifoBufferWrapper().

◆ mFFmpeg

const FFmpegFunctions& AVFifoBufferWrapper::mFFmpeg
protected

Definition at line 34 of file AVFifoBufferWrapper.h.

Referenced by ~AVFifoBufferWrapper().


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