StormByte-Multimedia 3.3.2
C++26 multimedia processing module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Multimedia::FFmpeg::AVFrame::ScaleContext Class Referencefinal

Reusable scaler graphs and workers with explicit owner lifetime. More...

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

Public Member Functions

 ScaleContext ()
 Creates an empty reusable scaler cache.
 ~ScaleContext () noexcept
 Joins scaling workers and frees cached graphs.
 ScaleContext (const ScaleContext &other)=delete
 Copy construction is not allowed.
ScaleContext & operator= (const ScaleContext &other)=delete
 Copy assignment is not allowed.

Friends

class AVFrame
 Grants frame scaling access to the cached backends.

Detailed Description

Reusable scaler graphs and workers with explicit owner lifetime.

Note
Use on one processing thread at a time. Destruction joins workers before returning; never store this owner in thread-local storage.

Constructor & Destructor Documentation

◆ ScaleContext() [1/2]

StormByte::Multimedia::FFmpeg::AVFrame::ScaleContext::ScaleContext ( )

Creates an empty reusable scaler cache.

◆ ~ScaleContext()

StormByte::Multimedia::FFmpeg::AVFrame::ScaleContext::~ScaleContext ( )
noexcept

Joins scaling workers and frees cached graphs.

◆ ScaleContext() [2/2]

StormByte::Multimedia::FFmpeg::AVFrame::ScaleContext::ScaleContext ( const ScaleContext & other)
delete

Copy construction is not allowed.

Parameters
otherSource context.

Member Function Documentation

◆ operator=()

ScaleContext & StormByte::Multimedia::FFmpeg::AVFrame::ScaleContext::operator= ( const ScaleContext & other)
delete

Copy assignment is not allowed.

Parameters
otherSource context.
Returns
This context.

◆ AVFrame

friend class AVFrame
friend

Grants frame scaling access to the cached backends.


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