StormByte C++ Library: Multimedia module 0.0.9999
StormByte-Multimedia is a StormByte library module for parsing configuration files
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Multimedia::FFmpeg::AVBSFPipeline Class Reference

Ordered chain of bitstream filters applied to packets. More...

#include <StormByte/multimedia/ffmpeg/AVBSFPipeline.hxx>

Public Member Functions

 AVBSFPipeline () noexcept=default
 Default constructor.
 
 AVBSFPipeline (const AVBSFPipeline &)=delete
 Copy constructor (deleted).
 
 AVBSFPipeline (AVBSFPipeline &&other) noexcept
 Move constructor.
 
 ~AVBSFPipeline () noexcept=default
 Destructor.
 
AVBSFPipelineoperator= (const AVBSFPipeline &)=delete
 Copy assignment (deleted).
 
AVBSFPipelineoperator= (AVBSFPipeline &&other) noexcept
 Move assignment.
 
void Add (AVBSF &&bsf) noexcept
 Appends a filter to the chain.
 
OperationResult Process (AVPacket &pkt) noexcept
 Runs pkt through all filters in order.
 
void Flush () noexcept
 Flushes every filter.
 
void SetEof () noexcept
 Signals EOF on every filter.
 
void Clear () noexcept
 Removes all filters.
 
bool Empty () const noexcept
 Whether the chain is empty.
 

Detailed Description

Ordered chain of bitstream filters applied to packets.

Constructor & Destructor Documentation

◆ AVBSFPipeline() [1/3]

StormByte::Multimedia::FFmpeg::AVBSFPipeline::AVBSFPipeline ( )
defaultnoexcept

Default constructor.

◆ AVBSFPipeline() [2/3]

StormByte::Multimedia::FFmpeg::AVBSFPipeline::AVBSFPipeline ( const AVBSFPipeline )
delete

Copy constructor (deleted).

◆ AVBSFPipeline() [3/3]

StormByte::Multimedia::FFmpeg::AVBSFPipeline::AVBSFPipeline ( AVBSFPipeline &&  other)
noexcept

Move constructor.

Parameters
otherSource pipeline.

◆ ~AVBSFPipeline()

StormByte::Multimedia::FFmpeg::AVBSFPipeline::~AVBSFPipeline ( )
defaultnoexcept

Destructor.

Member Function Documentation

◆ Add()

void StormByte::Multimedia::FFmpeg::AVBSFPipeline::Add ( AVBSF &&  bsf)
noexcept

Appends a filter to the chain.

Parameters
bsfFilter to take ownership of.

◆ Clear()

void StormByte::Multimedia::FFmpeg::AVBSFPipeline::Clear ( )
noexcept

Removes all filters.

◆ Empty()

bool StormByte::Multimedia::FFmpeg::AVBSFPipeline::Empty ( ) const
noexcept

Whether the chain is empty.

Returns
true if no filters are registered.

◆ Flush()

void StormByte::Multimedia::FFmpeg::AVBSFPipeline::Flush ( )
noexcept

Flushes every filter.

◆ operator=() [1/2]

AVBSFPipeline & StormByte::Multimedia::FFmpeg::AVBSFPipeline::operator= ( AVBSFPipeline &&  other)
noexcept

Move assignment.

Parameters
otherSource pipeline.
Returns
*this.

◆ operator=() [2/2]

AVBSFPipeline & StormByte::Multimedia::FFmpeg::AVBSFPipeline::operator= ( const AVBSFPipeline )
delete

Copy assignment (deleted).

Returns
*this.

◆ Process()

OperationResult StormByte::Multimedia::FFmpeg::AVBSFPipeline::Process ( AVPacket pkt)
noexcept

Runs pkt through all filters in order.

Parameters
pktPacket in/out.
Returns
Operation result.

◆ SetEof()

void StormByte::Multimedia::FFmpeg::AVBSFPipeline::SetEof ( )
noexcept

Signals EOF on every filter.


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