StormByte C++ Library: Multimedia module 0.0.9999
StormByte-Multimedia is a StormByte library module for parsing configuration files
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
convert.hxx File Reference

cxx-only bridge between RAII wrappers and libav value types. More...

#include <StormByte/multimedia/ffmpeg/AVChannelLayout.hxx>
#include <StormByte/multimedia/ffmpeg/AVRational.hxx>
#include <libavutil/channel_layout.h>
#include <libavutil/mem.h>
#include <libavutil/rational.h>
Include dependency graph for convert.hxx:

Go to the source code of this file.

Classes

struct  StormByte::Multimedia::FFmpeg::Convert
 Friend of AVChannelLayout. More...
 

Namespaces

namespace  StormByte
 
namespace  StormByte::Multimedia
 Public multimedia types: codecs, containers, streams and files.
 
namespace  StormByte::Multimedia::FFmpeg
 Private RAII wrappers over libav*.
 

Functions

inline ::AVRational StormByte::Multimedia::FFmpeg::ToRaw (const AVRational &rational) noexcept
 Public / backend rational → C AVRational.
 
AVRational StormByte::Multimedia::FFmpeg::FromRaw (::AVRational rational) noexcept
 C AVRational → public / backend rational.
 
const ::AVChannelLayout * StormByte::Multimedia::FFmpeg::ToRaw (const AVChannelLayout &layout) noexcept
 Const C channel layout, or nullptr.
 
inline ::AVChannelLayout * StormByte::Multimedia::FFmpeg::ToRaw (AVChannelLayout &layout) noexcept
 Mutable C channel layout, or nullptr.
 
AVChannelLayout StormByte::Multimedia::FFmpeg::FromRaw (const ::AVChannelLayout &layout) noexcept
 C channel layout → RAII wrapper (copy).
 
AVChannelLayout StormByte::Multimedia::FFmpeg::FromRaw (const ::AVChannelLayout *layout) noexcept
 Optional C channel layout → RAII wrapper (copy).
 

Detailed Description

cxx-only bridge between RAII wrappers and libav value types.

Include from .cxx after the FFmpeg C headers. Not installed.