The blo Library
Loading...
Searching...
No Matches
Public Member Functions | Related Functions | List of all members
blo::AVFileOut Class Reference

Audio/Video file output using FFmpeg. More...

#include <AVFileOut.h>

Public Member Functions

 AVFileOut ()
 Default constructor.
 
 AVFileOut (const char *filename)
 Constructs AV file output.
 
 AVFileOut (const AVOutputFormat *pOutputFormat, const char *formatName, const char *filename)
 Constructs AV file output.
 
 AVFileOut (const AVFileOut &rhs)=delete
 
virtual ~AVFileOut ()
 Destructor.
 
AVFileOut & operator= (const AVFileOut &rhs)=delete
 
void open (const char *filename)
 Opens output file.
 
void open (const AVOutputFormat *pOutputFormat, const char *formatName, const char *filename)
 Opens output file.
 
bool isOpen () const
 Tests if the file is open.
 
void close ()
 Closes file.
 
int addAudioStream (AVCodecID codecID, AVSampleFormat sampleFormat, uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance=-1)
 Adds an audio stream to the file.
 
int addAudioStream (AVSampleFormat sampleFormat, uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance=-1)
 Adds an audio stream to the file using the default audio codec of the file format.
 
template<typename T >
int addAudioStream (uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance=-1)
 Adds an audio stream to the file using the default audio codec of the file format.
 
template<typename T >
int addAudioStream_Mono (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance=-1)
 Adds an audio stream to the file using the default audio codec of the file format, mono.
 
template<typename T >
int addAudioStream_Stereo (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance=-1)
 Adds an audio stream to the file using the default audio codec of the file format, stereo.
 
template<typename T >
void writeAudioFrame (int streamNumber, uint64_t srcChannelLayout, const T *pSrc, int len)
 Writes an audio frame to the stream.
 
template<typename T >
void writeAudioFrame_Mono (int streamNumber, const T *pSrc, int len)
 Writes an audio frame to the stream, mono.
 
template<typename T >
void writeAudioFrame_Stereo (int streamNumber, const T *pSrc, int len)
 Writes an audio frame to the stream, stereo.
 
int addVideoStream (AVCodecID codecID, AVPixelFormat pixelFormat, int width, int height, double frameRate, int bitrate, int bitrateTolerance=-1, double pixelAspectRatio=1)
 Adds a video stream to the file.
 
int addVideoStream (AVPixelFormat pixelFormat, int width, int height, double frameRate, int bitrate, int bitrateTolerance=-1, double pixelAspectRatio=1)
 Adds a video stream to the file using the default video codec of the file format.
 
int addVideoStream_YUV420P (int width, int height, double frameRate, int bitrate, int bitrateTolerance=-1, double pixelAspectRatio=1)
 Adds a video stream to the file using the default video codec of the file format, YUV420P.
 
void writeVideoFrame (int streamNumber, double pts, AVPixelFormat srcPixelFormat, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream.
 
void writeVideoFrame_Y_C1 (int streamNumber, double pts, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream, Y.
 
void writeVideoFrame_RGB_C3 (int streamNumber, double pts, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream, RGB.
 
void writeVideoFrame_BGR_C3 (int streamNumber, double pts, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream, BGR.
 
void writeVideoFrame_RGBA_C4 (int streamNumber, double pts, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream, RGBA.
 
void writeVideoFrame_BGRA_C4 (int streamNumber, double pts, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream, BGRA.
 
void writeVideoFrame_ARGB_C4 (int streamNumber, double pts, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream, ARGB.
 
void writeVideoFrame_ABGR_C4 (int streamNumber, double pts, const uint8_t *pSrc, int srcStep, int roiWidth, int roiHeight, InterlacedFrame interlacedFrame=InterlacedFrame::noninterlaced)
 Writes a frame to the stream, ABGR.
 

Related Functions

(Note that these are not member functions.)

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream (uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream (uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream (uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream (uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream (uint64_t channelLayout, int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo (int sampleRate, int bitrate, int &frameSize, int bitrateTolerance)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame (int streamNumber, uint64_t srcChannelLayout, const uint8_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame (int streamNumber, uint64_t srcChannelLayout, const int16_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame (int streamNumber, uint64_t srcChannelLayout, const int32_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame (int streamNumber, uint64_t srcChannelLayout, const float *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame (int streamNumber, uint64_t srcChannelLayout, const double *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono (int streamNumber, const uint8_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono (int streamNumber, const int16_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono (int streamNumber, const int32_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono (int streamNumber, const float *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono (int streamNumber, const double *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo (int streamNumber, const uint8_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo (int streamNumber, const int16_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo (int streamNumber, const int32_t *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo (int streamNumber, const float *pSrc, int len)
 
BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo (int streamNumber, const double *pSrc, int len)
 

Detailed Description

Audio/Video file output using FFmpeg.

Constructor & Destructor Documentation

◆ AVFileOut() [1/4]

blo::AVFileOut::AVFileOut ( )

Default constructor.

◆ AVFileOut() [2/4]

blo::AVFileOut::AVFileOut ( const char *  filename)
explicit

Constructs AV file output.

Parameters
filenameFilename string.

◆ AVFileOut() [3/4]

blo::AVFileOut::AVFileOut ( const AVOutputFormat *  pOutputFormat,
const char *  formatName,
const char *  filename 
)

Constructs AV file output.

This function constructs the AV file output. If pOutputFormat is nullptr, then formatName is used. If formatName is nullptr, then filename is used.

Parameters
pOutputFormatPointer to output format to use (force).
formatNameFormat name string.
filenameFilename string.

◆ AVFileOut() [4/4]

blo::AVFileOut::AVFileOut ( const AVFileOut &  rhs)
delete

◆ ~AVFileOut()

virtual blo::AVFileOut::~AVFileOut ( )
virtual

Destructor.

Member Function Documentation

◆ addAudioStream() [1/3]

int blo::AVFileOut::addAudioStream ( AVCodecID  codecID,
AVSampleFormat  sampleFormat,
uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance = -1 
)

Adds an audio stream to the file.

Parameters
codecIDThe codec ID of the stream.
sampleFormatThe sample format of the stream.
channelLayoutThe channel layout of the stream.
sampleRateThe sample rate of the stream.
bitrateThe bitrate of the stream.
frameSizeThe frame size in samples/channel.
bitrateToleranceThe bitrate tolerance.
Returns
The number of the added stream.

◆ addAudioStream() [2/3]

int blo::AVFileOut::addAudioStream ( AVSampleFormat  sampleFormat,
uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance = -1 
)

Adds an audio stream to the file using the default audio codec of the file format.

Parameters
sampleFormatThe sample format of the stream.
channelLayoutThe channel layout of the stream.
sampleRateThe sample rate of the stream.
bitrateThe bitrate of the stream.
frameSizeThe frame size in samples/channel.
bitrateToleranceThe bitrate tolerance.
Returns
The number of the added stream.

◆ addAudioStream() [3/3]

template<typename T >
int blo::AVFileOut::addAudioStream ( uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance = -1 
)

Adds an audio stream to the file using the default audio codec of the file format.

Template Parameters
TData type (sample format) of the stream.
Parameters
channelLayoutThe channel layout of the stream.
sampleRateThe sample rate of the stream.
bitrateThe bitrate of the stream.
frameSizeThe frame size in samples/channel.
bitrateToleranceThe bitrate tolerance.
Returns
The number of the added stream.

◆ addAudioStream_Mono()

template<typename T >
int blo::AVFileOut::addAudioStream_Mono ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance = -1 
)

Adds an audio stream to the file using the default audio codec of the file format, mono.

Template Parameters
TData type (sample format) of the stream.
Parameters
sampleRateThe sample rate of the stream.
bitrateThe bitrate of the stream.
frameSizeThe frame size in samples.
bitrateToleranceThe bitrate tolerance.
Returns
The number of the added stream.

◆ addAudioStream_Stereo()

template<typename T >
int blo::AVFileOut::addAudioStream_Stereo ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance = -1 
)

Adds an audio stream to the file using the default audio codec of the file format, stereo.

Template Parameters
TData type (sample format) of the stream.
Parameters
sampleRateThe sample rate of the stream.
bitrateThe bitrate of the stream.
frameSizeThe frame size in samples/channel.
bitrateToleranceThe bitrate tolerance.
Returns
The number of the added stream.

◆ addVideoStream() [1/2]

int blo::AVFileOut::addVideoStream ( AVCodecID  codecID,
AVPixelFormat  pixelFormat,
int  width,
int  height,
double  frameRate,
int  bitrate,
int  bitrateTolerance = -1,
double  pixelAspectRatio = 1 
)

Adds a video stream to the file.

Parameters
codecIDThe codec ID of the stream.
pixelFormatThe pixel format of the stream.
widthThe width of the frames in the stream.
heightThe height of the frames in the stream.
frameRateThe frame rate of the stream in frames/s.
bitrateThe bitrate of the stream.
bitrateToleranceThe bitrate tolerance.
pixelAspectRatioThe pixel aspect ratio.
Returns
The number of the added stream.

◆ addVideoStream() [2/2]

int blo::AVFileOut::addVideoStream ( AVPixelFormat  pixelFormat,
int  width,
int  height,
double  frameRate,
int  bitrate,
int  bitrateTolerance = -1,
double  pixelAspectRatio = 1 
)

Adds a video stream to the file using the default video codec of the file format.

Parameters
pixelFormatThe pixel format of the stream.
widthThe width of the frames in the stream.
heightThe height of the frames in the stream.
frameRateThe frame rate of the stream in frames/s.
bitrateThe bitrate of the stream.
bitrateToleranceThe bitrate tolerance.
pixelAspectRatioThe pixel aspect ratio.
Returns
The number of the added stream.

◆ addVideoStream_YUV420P()

int blo::AVFileOut::addVideoStream_YUV420P ( int  width,
int  height,
double  frameRate,
int  bitrate,
int  bitrateTolerance = -1,
double  pixelAspectRatio = 1 
)

Adds a video stream to the file using the default video codec of the file format, YUV420P.

Note
FFmpeg YUV420P is actually YCbCr 4:2:0 planar.
Parameters
widthThe width of the frames in the stream.
heightThe height of the frames in the stream.
frameRateThe frame rate of the stream in frames/s.
bitrateThe bitrate of the stream.
bitrateToleranceThe bitrate tolerance.
pixelAspectRatioThe pixel aspect ratio.
Returns
The number of the added stream.

◆ close()

void blo::AVFileOut::close ( )

Closes file.

◆ isOpen()

bool blo::AVFileOut::isOpen ( ) const

Tests if the file is open.

Returns
true if file is open, false otherwise.

◆ open() [1/2]

void blo::AVFileOut::open ( const AVOutputFormat *  pOutputFormat,
const char *  formatName,
const char *  filename 
)

Opens output file.

This function opens the output file. If pOutputFormat is nullptr, then formatName is used. If formatName is nullptr, then filename is used.

Parameters
pOutputFormatPointer to output format to use (force).
formatNameFormat name string.
filenameFilename string.

◆ open() [2/2]

void blo::AVFileOut::open ( const char *  filename)

Opens output file.

Parameters
filenameFilename string.

◆ operator=()

AVFileOut & blo::AVFileOut::operator= ( const AVFileOut &  rhs)
delete

◆ writeAudioFrame()

template<typename T >
void blo::AVFileOut::writeAudioFrame ( int  streamNumber,
uint64_t  srcChannelLayout,
const T *  pSrc,
int  len 
)

Writes an audio frame to the stream.

Note
Channels in the audio frame are interleaved.
Template Parameters
TData type.
Parameters
streamNumberThe stream number to write the frame to.
srcChannelLayoutThe channel layout of the source audio frame.
pSrcPointer to the source audio frame.
lenLength of the source audio frame in samples (all channels).

◆ writeAudioFrame_Mono()

template<typename T >
void blo::AVFileOut::writeAudioFrame_Mono ( int  streamNumber,
const T *  pSrc,
int  len 
)

Writes an audio frame to the stream, mono.

Template Parameters
TData type.
Parameters
streamNumberThe stream number to write the frame to.
pSrcPointer to the source audio frame.
lenLength of the source audio frame in samples.

◆ writeAudioFrame_Stereo()

template<typename T >
void blo::AVFileOut::writeAudioFrame_Stereo ( int  streamNumber,
const T *  pSrc,
int  len 
)

Writes an audio frame to the stream, stereo.

Note
Channels in the audio frame are interleaved.
Template Parameters
TData type.
Parameters
streamNumberThe stream number to write the frame to.
pSrcPointer to the source audio frame.
lenLength of the source audio frame in samples (all channels).

◆ writeVideoFrame()

void blo::AVFileOut::writeVideoFrame ( int  streamNumber,
double  pts,
AVPixelFormat  srcPixelFormat,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
srcPixelFormatThe pixel format of the source image.
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

◆ writeVideoFrame_ABGR_C4()

void blo::AVFileOut::writeVideoFrame_ABGR_C4 ( int  streamNumber,
double  pts,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream, ABGR.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

◆ writeVideoFrame_ARGB_C4()

void blo::AVFileOut::writeVideoFrame_ARGB_C4 ( int  streamNumber,
double  pts,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream, ARGB.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

◆ writeVideoFrame_BGR_C3()

void blo::AVFileOut::writeVideoFrame_BGR_C3 ( int  streamNumber,
double  pts,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream, BGR.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

◆ writeVideoFrame_BGRA_C4()

void blo::AVFileOut::writeVideoFrame_BGRA_C4 ( int  streamNumber,
double  pts,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream, BGRA.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

◆ writeVideoFrame_RGB_C3()

void blo::AVFileOut::writeVideoFrame_RGB_C3 ( int  streamNumber,
double  pts,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream, RGB.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

◆ writeVideoFrame_RGBA_C4()

void blo::AVFileOut::writeVideoFrame_RGBA_C4 ( int  streamNumber,
double  pts,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream, RGBA.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

◆ writeVideoFrame_Y_C1()

void blo::AVFileOut::writeVideoFrame_Y_C1 ( int  streamNumber,
double  pts,
const uint8_t *  pSrc,
int  srcStep,
int  roiWidth,
int  roiHeight,
InterlacedFrame  interlacedFrame = InterlacedFrame::noninterlaced 
)

Writes a frame to the stream, Y.

Parameters
streamNumberThe stream number to write the frame to.
ptsThe presentation time stamp (PTS).
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
roiWidthWidth of the source image ROI in pixels.
roiHeightHeight of the source image ROI in pixels.
interlacedFrameType of interlacing.

Friends And Related Function Documentation

◆ addAudioStream() [1/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream< uint8_t > ( uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream() [2/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream< int16_t > ( uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream() [3/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream< int32_t > ( uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream() [4/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream< float > ( uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream() [5/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream< double > ( uint64_t  channelLayout,
int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Mono() [1/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono< uint8_t > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Mono() [2/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono< int16_t > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Mono() [3/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono< int32_t > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Mono() [4/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono< float > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Mono() [5/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Mono< double > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Stereo() [1/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo< uint8_t > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Stereo() [2/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo< int16_t > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Stereo() [3/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo< int32_t > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Stereo() [4/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo< float > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ addAudioStream_Stereo() [5/5]

BLO_EXPIMP_TEMPLATE template BLO_API int addAudioStream_Stereo< double > ( int  sampleRate,
int  bitrate,
int &  frameSize,
int  bitrateTolerance 
)
related

◆ writeAudioFrame() [1/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame ( int  streamNumber,
uint64_t  srcChannelLayout,
const double *  pSrc,
int  len 
)
related

◆ writeAudioFrame() [2/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame ( int  streamNumber,
uint64_t  srcChannelLayout,
const float *  pSrc,
int  len 
)
related

◆ writeAudioFrame() [3/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame ( int  streamNumber,
uint64_t  srcChannelLayout,
const int16_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame() [4/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame ( int  streamNumber,
uint64_t  srcChannelLayout,
const int32_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame() [5/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame ( int  streamNumber,
uint64_t  srcChannelLayout,
const uint8_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Mono() [1/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono ( int  streamNumber,
const double *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Mono() [2/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono ( int  streamNumber,
const float *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Mono() [3/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono ( int  streamNumber,
const int16_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Mono() [4/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono ( int  streamNumber,
const int32_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Mono() [5/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Mono ( int  streamNumber,
const uint8_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Stereo() [1/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo ( int  streamNumber,
const double *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Stereo() [2/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo ( int  streamNumber,
const float *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Stereo() [3/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo ( int  streamNumber,
const int16_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Stereo() [4/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo ( int  streamNumber,
const int32_t *  pSrc,
int  len 
)
related

◆ writeAudioFrame_Stereo() [5/5]

BLO_EXPIMP_TEMPLATE template BLO_API void writeAudioFrame_Stereo ( int  streamNumber,
const uint8_t *  pSrc,
int  len 
)
related

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