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

Friend of AVChannelLayout. More...

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

Static Public Member Functions

static const ::AVChannelLayout * Raw (const AVChannelLayout &layout) noexcept
 Const C layout.
 
::AVChannelLayout * Raw (AVChannelLayout &layout) noexcept
 Mutable C layout.
 
static AVChannelLayout From (const ::AVChannelLayout &src) noexcept
 Deep-copies a C layout into a wrapper.
 

Detailed Description

Friend of AVChannelLayout.

Touches the owned C pointer.

Member Function Documentation

◆ From()

static AVChannelLayout StormByte::Multimedia::FFmpeg::Convert::From ( const ::AVChannelLayout &  src)
inlinestaticnoexcept

Deep-copies a C layout into a wrapper.

Parameters
srcC layout.
Returns
Wrapper, or empty on failure.

◆ Raw() [1/2]

::AVChannelLayout * StormByte::Multimedia::FFmpeg::Convert::Raw ( AVChannelLayout layout)
inlinestaticnoexcept

Mutable C layout.

Parameters
layoutWrapper.
Returns
Pointer, or nullptr.

◆ Raw() [2/2]

static const ::AVChannelLayout * StormByte::Multimedia::FFmpeg::Convert::Raw ( const AVChannelLayout layout)
inlinestaticnoexcept

Const C layout.

Parameters
layoutWrapper.
Returns
Pointer, or nullptr.

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