Audacity 3.2.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AVFormatContextWrapper Class Referenceabstract

#include <AVFormatContextWrapper.h>

Collaboration diagram for AVFormatContextWrapper:
[legend]

Public Types

using StreamsList = std::vector< std::unique_ptr< AVStreamWrapper > >
 

Public Member Functions

 AVFormatContextWrapper (const AVFormatContextWrapper &)=delete
 
AVFormatContextWrapperoperator= (AVFormatContextWrapper &)=delete
 
 AVFormatContextWrapper (AVFormatContextWrapper &&)=delete
 
AVFormatContextWrapperoperator= (AVFormatContextWrapper &&)=delete
 
 AVFormatContextWrapper (const FFmpegFunctions &ffmpeg) noexcept
 
AVFormatContextGetWrappedValue () noexcept
 
const AVFormatContextGetWrappedValue () const noexcept
 
virtual ~AVFormatContextWrapper ()
 
AVIOContextWrapper::OpenResult OpenInputContext (const wxString &path, const AVInputFormatWrapper *inputFormat, AVDictionaryWrapper options)
 
AVIOContextWrapper::OpenResult OpenOutputContext (const wxString &path)
 
std::unique_ptr< AVPacketWrapperReadNextPacket ()
 
std::unique_ptr< AVStreamWrapperCreateStream ()
 
const AVInputFormatWrapperGetInputFormat () const noexcept
 
const AVOutputFormatWrapperGetOutputFormat () const noexcept
 
virtual void SetOutputFormat (std::unique_ptr< AVOutputFormatWrapper > oformat) noexcept=0
 
virtual AVIOContextWrapperGetAVIOContext () const noexcept=0
 
virtual void SetAVIOContext (std::unique_ptr< AVIOContextWrapper > pb) noexcept=0
 
virtual int GetCtxFlags () const noexcept=0
 
virtual unsigned int GetStreamsCount () const noexcept=0
 
virtual const StreamsListGetStreams () const noexcept=0
 
virtual const AVStreamWrapperGetStream (int index) const noexcept
 
virtual const char * GetFilename () const noexcept=0
 
virtual void SetFilename (const char *filename) noexcept=0
 
virtual int64_t GetStartTime () const noexcept=0
 
virtual int64_t GetDuration () const noexcept=0
 
virtual int GetBitRate () const noexcept=0
 
virtual void SetBitRate (int bit_rate) noexcept=0
 
virtual unsigned int GetPacketSize () const noexcept=0
 
virtual void SetPacketSize (unsigned int packet_size) noexcept=0
 
virtual int GetMaxDelay () const noexcept=0
 
virtual void SetMaxDelay (int max_delay) noexcept=0
 
virtual int GetFlags () const noexcept=0
 
virtual void SetFlags (int flags) noexcept=0
 
virtual unsigned int GetProbeSize () const noexcept=0
 
virtual void SetProbeSize (unsigned int probesize) noexcept=0
 
virtual int GetMaxAnalyzeDuration () const noexcept=0
 
virtual void SetMaxAnalyzeDuration (int max_analyze_duration) noexcept=0
 
virtual AVCodecIDFwd GetAudioCodecId () const noexcept=0
 
virtual void SetAudioCodecId (AVCodecIDFwd audio_codec_id) noexcept=0
 
virtual unsigned int GetMaxIndexSize () const noexcept=0
 
virtual void SetMaxIndexSize (unsigned int max_index_size) noexcept=0
 
virtual AVDictionaryWrapper GetMetadata () const noexcept=0
 
virtual void SetMetadata (AVDictionaryWrapper metadata) noexcept=0
 
virtual int64_t GetStartTimeRealtime () const noexcept=0
 
virtual void SetStartTimeRealtime (int64_t start_time_realtime) noexcept=0
 
virtual int GetFpsProbeSize () const noexcept=0
 
virtual void SetFpsProbeSize (int fps_probe_size) noexcept=0
 
virtual int GetErrorRecognition () const noexcept=0
 
virtual void SetErrorRecognition (int error_recognition) noexcept=0
 
virtual int64_t GetMaxInterleaveDelta () const noexcept=0
 
virtual void SetMaxInterleaveDelta (int64_t max_interleave_delta) noexcept=0
 
virtual int GetStrictStdCompliance () const noexcept=0
 
virtual void SetStrictStdCompliance (int strict_std_compliance) noexcept=0
 
virtual int GetAudioPreload () const noexcept=0
 
virtual void SetAudioPreload (int audio_preload) noexcept=0
 
virtual int GetMaxChunkDuration () const noexcept=0
 
virtual void SetMaxChunkDuration (int max_chunk_duration) noexcept=0
 
virtual int GetMaxChunkSize () const noexcept=0
 
virtual void SetMaxChunkSize (int max_chunk_size) noexcept=0
 
virtual int GetUseWallclockAsTimestamps () const noexcept=0
 
virtual void SetUseWallclockAsTimestamps (int use_wallclock_as_timestamps) noexcept=0
 
virtual int GetAvoidNegativeTs () const noexcept=0
 
virtual void SetAvoidNegativeTs (int avoid_negative_ts) noexcept=0
 
virtual int GetAvioFlags () const noexcept=0
 
virtual void SetAvioFlags (int avio_flags) noexcept=0
 
virtual int64_t GetSkipInitialBytes () const noexcept=0
 
virtual void SetSkipInitialBytes (int64_t skip_initial_bytes) noexcept=0
 
virtual unsigned int GetCorrectTsOverflow () const noexcept=0
 
virtual void SetCorrectTsOverflow (unsigned int correct_ts_overflow) noexcept=0
 
virtual int GetSeek2any () const noexcept=0
 
virtual void SetSeek2any (int seek2any) noexcept=0
 
virtual int GetFlushPackets () const noexcept=0
 
virtual void SetFlushPackets (int flush_packets) noexcept=0
 
virtual int GetProbeScore () const noexcept=0
 
virtual int GetFormatProbeSize () const noexcept=0
 
virtual void SetFormatProbeSize (int format_probesize) noexcept=0
 
virtual AVCodecWrapperGetAudioCodec () const noexcept=0
 
virtual void SetAudioCodec (std::unique_ptr< AVCodecWrapper > audio_codec) noexcept=0
 
virtual void * GetOpaque () const noexcept=0
 
virtual void SetOpaque (void *opaque) noexcept=0
 
virtual int64_t GetOutputTsOffset () const noexcept=0
 
virtual void SetOutputTsOffset (int64_t output_ts_offset) noexcept=0
 

Protected Member Functions

virtual AVInputFormatGetIFormat () const noexcept=0
 
virtual AVOutputFormatGetOFormat () const noexcept=0
 
virtual void UpdateStreamList () noexcept=0
 

Protected Attributes

const FFmpegFunctionsmFFmpeg
 
AVFormatContextmAVFormatContext { nullptr }
 
std::unique_ptr< AVIOContextWrappermAVIOContext
 
StreamsList mStreams
 
std::unique_ptr< AVInputFormatWrappermInputFormat
 
std::unique_ptr< AVOutputFormatWrappermOutputFormat
 
std::unique_ptr< AVCodecWrappermForcedAudioCodec
 

Detailed Description

Definition at line 31 of file AVFormatContextWrapper.h.

Member Typedef Documentation

◆ StreamsList

using AVFormatContextWrapper::StreamsList = std::vector<std::unique_ptr<AVStreamWrapper> >

Definition at line 34 of file AVFormatContextWrapper.h.

Constructor & Destructor Documentation

◆ AVFormatContextWrapper() [1/3]

AVFormatContextWrapper::AVFormatContextWrapper ( const AVFormatContextWrapper )
delete

◆ AVFormatContextWrapper() [2/3]

AVFormatContextWrapper::AVFormatContextWrapper ( AVFormatContextWrapper &&  )
delete

◆ AVFormatContextWrapper() [3/3]

AVFormatContextWrapper::AVFormatContextWrapper ( const FFmpegFunctions ffmpeg)
explicitnoexcept

Definition at line 19 of file AVFormatContextWrapper.cpp.

20 : mFFmpeg(ffmpeg)
21{
22}
const FFmpegFunctions & mFFmpeg

◆ ~AVFormatContextWrapper()

AVFormatContextWrapper::~AVFormatContextWrapper ( )
virtual

Definition at line 34 of file AVFormatContextWrapper.cpp.

35{
36 if (mAVFormatContext != nullptr)
38}
AVFormatContext * mAVFormatContext
void(* avformat_free_context)(AVFormatContext *s)

References AVFormatFunctions::avformat_free_context, mAVFormatContext, and mFFmpeg.

Member Function Documentation

◆ CreateStream()

std::unique_ptr< AVStreamWrapper > AVFormatContextWrapper::CreateStream ( )

Definition at line 112 of file AVFormatContextWrapper.cpp.

113{
114 // The complementary deallocation happens in avformat_free_context
116
117 if (stream == nullptr)
118 return {};
119
121
122 return mFFmpeg.CreateAVStreamWrapper(stream, true);
123}
virtual void UpdateStreamList() noexcept=0
AVStream *(* avformat_new_stream)(AVFormatContext *s, const AVCodec *c)
std::unique_ptr< AVStreamWrapper > CreateAVStreamWrapper(AVStream *stream, bool forEncoding) const

References AVFormatFunctions::avformat_new_stream, FFmpegFunctions::CreateAVStreamWrapper(), mAVFormatContext, mFFmpeg, and UpdateStreamList().

Here is the call graph for this function:

◆ GetAudioCodec()

virtual AVCodecWrapper * AVFormatContextWrapper::GetAudioCodec ( ) const
pure virtualnoexcept

◆ GetAudioCodecId()

virtual AVCodecIDFwd AVFormatContextWrapper::GetAudioCodecId ( ) const
pure virtualnoexcept

◆ GetAudioPreload()

virtual int AVFormatContextWrapper::GetAudioPreload ( ) const
pure virtualnoexcept

◆ GetAVIOContext()

virtual AVIOContextWrapper * AVFormatContextWrapper::GetAVIOContext ( ) const
pure virtualnoexcept

◆ GetAvioFlags()

virtual int AVFormatContextWrapper::GetAvioFlags ( ) const
pure virtualnoexcept

◆ GetAvoidNegativeTs()

virtual int AVFormatContextWrapper::GetAvoidNegativeTs ( ) const
pure virtualnoexcept

◆ GetBitRate()

virtual int AVFormatContextWrapper::GetBitRate ( ) const
pure virtualnoexcept

◆ GetCorrectTsOverflow()

virtual unsigned int AVFormatContextWrapper::GetCorrectTsOverflow ( ) const
pure virtualnoexcept

◆ GetCtxFlags()

virtual int AVFormatContextWrapper::GetCtxFlags ( ) const
pure virtualnoexcept

◆ GetDuration()

virtual int64_t AVFormatContextWrapper::GetDuration ( ) const
pure virtualnoexcept

◆ GetErrorRecognition()

virtual int AVFormatContextWrapper::GetErrorRecognition ( ) const
pure virtualnoexcept

◆ GetFilename()

virtual const char * AVFormatContextWrapper::GetFilename ( ) const
pure virtualnoexcept

◆ GetFlags()

virtual int AVFormatContextWrapper::GetFlags ( ) const
pure virtualnoexcept

◆ GetFlushPackets()

virtual int AVFormatContextWrapper::GetFlushPackets ( ) const
pure virtualnoexcept

◆ GetFormatProbeSize()

virtual int AVFormatContextWrapper::GetFormatProbeSize ( ) const
pure virtualnoexcept

◆ GetFpsProbeSize()

virtual int AVFormatContextWrapper::GetFpsProbeSize ( ) const
pure virtualnoexcept

◆ GetIFormat()

virtual AVInputFormat * AVFormatContextWrapper::GetIFormat ( ) const
protectedpure virtualnoexcept

Referenced by OpenInputContext().

Here is the caller graph for this function:

◆ GetInputFormat()

const AVInputFormatWrapper * AVFormatContextWrapper::GetInputFormat ( ) const
noexcept

Definition at line 126 of file AVFormatContextWrapper.cpp.

127{
128 return mInputFormat.get();
129}
std::unique_ptr< AVInputFormatWrapper > mInputFormat

References mInputFormat.

◆ GetMaxAnalyzeDuration()

virtual int AVFormatContextWrapper::GetMaxAnalyzeDuration ( ) const
pure virtualnoexcept

◆ GetMaxChunkDuration()

virtual int AVFormatContextWrapper::GetMaxChunkDuration ( ) const
pure virtualnoexcept

◆ GetMaxChunkSize()

virtual int AVFormatContextWrapper::GetMaxChunkSize ( ) const
pure virtualnoexcept

◆ GetMaxDelay()

virtual int AVFormatContextWrapper::GetMaxDelay ( ) const
pure virtualnoexcept

◆ GetMaxIndexSize()

virtual unsigned int AVFormatContextWrapper::GetMaxIndexSize ( ) const
pure virtualnoexcept

◆ GetMaxInterleaveDelta()

virtual int64_t AVFormatContextWrapper::GetMaxInterleaveDelta ( ) const
pure virtualnoexcept

◆ GetMetadata()

virtual AVDictionaryWrapper AVFormatContextWrapper::GetMetadata ( ) const
pure virtualnoexcept

◆ GetOFormat()

virtual AVOutputFormat * AVFormatContextWrapper::GetOFormat ( ) const
protectedpure virtualnoexcept

◆ GetOpaque()

virtual void * AVFormatContextWrapper::GetOpaque ( ) const
pure virtualnoexcept

◆ GetOutputFormat()

const AVOutputFormatWrapper * AVFormatContextWrapper::GetOutputFormat ( ) const
noexcept

Definition at line 132 of file AVFormatContextWrapper.cpp.

133{
134 return mOutputFormat.get();
135}
std::unique_ptr< AVOutputFormatWrapper > mOutputFormat

References mOutputFormat.

◆ GetOutputTsOffset()

virtual int64_t AVFormatContextWrapper::GetOutputTsOffset ( ) const
pure virtualnoexcept

◆ GetPacketSize()

virtual unsigned int AVFormatContextWrapper::GetPacketSize ( ) const
pure virtualnoexcept

◆ GetProbeScore()

virtual int AVFormatContextWrapper::GetProbeScore ( ) const
pure virtualnoexcept

◆ GetProbeSize()

virtual unsigned int AVFormatContextWrapper::GetProbeSize ( ) const
pure virtualnoexcept

◆ GetSeek2any()

virtual int AVFormatContextWrapper::GetSeek2any ( ) const
pure virtualnoexcept

◆ GetSkipInitialBytes()

virtual int64_t AVFormatContextWrapper::GetSkipInitialBytes ( ) const
pure virtualnoexcept

◆ GetStartTime()

virtual int64_t AVFormatContextWrapper::GetStartTime ( ) const
pure virtualnoexcept

◆ GetStartTimeRealtime()

virtual int64_t AVFormatContextWrapper::GetStartTimeRealtime ( ) const
pure virtualnoexcept

◆ GetStream()

const AVStreamWrapper * AVFormatContextWrapper::GetStream ( int  index) const
virtualnoexcept

Definition at line 138 of file AVFormatContextWrapper.cpp.

139{
140 if (index < GetStreamsCount())
141 return GetStreams()[index].get();
142
143 return nullptr;
144}
virtual const StreamsList & GetStreams() const noexcept=0
virtual unsigned int GetStreamsCount() const noexcept=0

◆ GetStreams()

virtual const StreamsList & AVFormatContextWrapper::GetStreams ( ) const
pure virtualnoexcept

◆ GetStreamsCount()

virtual unsigned int AVFormatContextWrapper::GetStreamsCount ( ) const
pure virtualnoexcept

◆ GetStrictStdCompliance()

virtual int AVFormatContextWrapper::GetStrictStdCompliance ( ) const
pure virtualnoexcept

◆ GetUseWallclockAsTimestamps()

virtual int AVFormatContextWrapper::GetUseWallclockAsTimestamps ( ) const
pure virtualnoexcept

◆ GetWrappedValue() [1/2]

const AVFormatContext * AVFormatContextWrapper::GetWrappedValue ( ) const
noexcept
Returns
null if OpenInputContext or OpenOutputContext has not been called

Definition at line 29 of file AVFormatContextWrapper.cpp.

30{
31 return mAVFormatContext;
32}

References mAVFormatContext.

◆ GetWrappedValue() [2/2]

AVFormatContext * AVFormatContextWrapper::GetWrappedValue ( )
noexcept
Returns
null if OpenInputContext or OpenOutputContext has not been called

Definition at line 24 of file AVFormatContextWrapper.cpp.

25{
26 return mAVFormatContext;
27}

References mAVFormatContext.

◆ OpenInputContext()

AVIOContextWrapper::OpenResult AVFormatContextWrapper::OpenInputContext ( const wxString &  path,
const AVInputFormatWrapper inputFormat,
AVDictionaryWrapper  options 
)

Definition at line 40 of file AVFormatContextWrapper.cpp.

45{
46 auto ioContext = mFFmpeg.CreateAVIOContext();
47
48 const auto result = ioContext->Open(path, false);
49
51 return result;
52
53 SetAVIOContext(std::move(ioContext));
54
55 AVDictionary* dict = options.Release();
56
57 /*
58 Documentation for the last argument:
59 "A dictionary filled with AVFormatContext and demuxer-private options.
60 On return this parameter will be destroyed and replaced with a
61 dict containing options that were not found.
62 May be NULL."
63 */
65 &mAVFormatContext, path.c_str(),
66 inputFormat != nullptr ? inputFormat->GetWrappedValue() : nullptr,
67 &dict));
68
69 // Don't leak the replacement dictionary
70 AVDictionaryWrapper cleanup{ mFFmpeg, dict };
71
72 if (rc)
73 {
75 }
76
79
81
83
84 return result;
85}
struct AVDictionary AVDictionary
Definition: FFmpegTypes.h:117
AVDictionary * Release() noexcept
virtual void SetAVIOContext(std::unique_ptr< AVIOContextWrapper > pb) noexcept=0
virtual AVInputFormat * GetIFormat() const noexcept=0
AVInputFormat * GetWrappedValue() noexcept
int(* avformat_find_stream_info)(AVFormatContext *ic, AVDictionary **options)
int(* avformat_open_input)(AVFormatContext **ic_ptr, const char *filename, const AVInputFormat *fmt, AVDictionary **options)
std::unique_ptr< AVInputFormatWrapper > CreateAVInputFormatWrapper(AVInputFormat *inputFormat) const
std::unique_ptr< AVIOContextWrapper > CreateAVIOContext() const

References AVFormatFunctions::avformat_find_stream_info, AVFormatFunctions::avformat_open_input, FFmpegFunctions::CreateAVInputFormatWrapper(), FFmpegFunctions::CreateAVIOContext(), GetIFormat(), AVInputFormatWrapper::GetWrappedValue(), AVIOContextWrapper::InternalError, mAVFormatContext, mFFmpeg, mInputFormat, AVDictionaryWrapper::Release(), SetAVIOContext(), AVIOContextWrapper::Success, and UpdateStreamList().

Here is the call graph for this function:

◆ OpenOutputContext()

AVIOContextWrapper::OpenResult AVFormatContextWrapper::OpenOutputContext ( const wxString &  path)

Definition at line 88 of file AVFormatContextWrapper.cpp.

89{
90 auto ioContext = mFFmpeg.CreateAVIOContext();
91
92 const auto result = ioContext->Open(path, true);
93
95 return result;
96
97 SetAVIOContext(std::move(ioContext));
98
99 return result;
100}

References FFmpegFunctions::CreateAVIOContext(), mFFmpeg, SetAVIOContext(), and AVIOContextWrapper::Success.

Here is the call graph for this function:

◆ operator=() [1/2]

AVFormatContextWrapper & AVFormatContextWrapper::operator= ( AVFormatContextWrapper &&  )
delete

◆ operator=() [2/2]

AVFormatContextWrapper & AVFormatContextWrapper::operator= ( AVFormatContextWrapper )
delete

◆ ReadNextPacket()

std::unique_ptr< AVPacketWrapper > AVFormatContextWrapper::ReadNextPacket ( )
Returns
is null at end of stream

Definition at line 102 of file AVFormatContextWrapper.cpp.

103{
104 std::unique_ptr<AVPacketWrapper> packet = mFFmpeg.CreateAVPacketWrapper();
105
106 if (mFFmpeg.av_read_frame(mAVFormatContext, packet->GetWrappedValue()) < 0)
107 return {};
108
109 return packet;
110}
int(* av_read_frame)(AVFormatContext *s, AVPacket *pkt)
std::unique_ptr< AVPacketWrapper > CreateAVPacketWrapper() const

References AVFormatFunctions::av_read_frame, FFmpegFunctions::CreateAVPacketWrapper(), mAVFormatContext, and mFFmpeg.

Here is the call graph for this function:

◆ SetAudioCodec()

virtual void AVFormatContextWrapper::SetAudioCodec ( std::unique_ptr< AVCodecWrapper audio_codec)
pure virtualnoexcept

◆ SetAudioCodecId()

virtual void AVFormatContextWrapper::SetAudioCodecId ( AVCodecIDFwd  audio_codec_id)
pure virtualnoexcept

◆ SetAudioPreload()

virtual void AVFormatContextWrapper::SetAudioPreload ( int  audio_preload)
pure virtualnoexcept

◆ SetAVIOContext()

virtual void AVFormatContextWrapper::SetAVIOContext ( std::unique_ptr< AVIOContextWrapper pb)
pure virtualnoexcept

Referenced by OpenInputContext(), and OpenOutputContext().

Here is the caller graph for this function:

◆ SetAvioFlags()

virtual void AVFormatContextWrapper::SetAvioFlags ( int  avio_flags)
pure virtualnoexcept

◆ SetAvoidNegativeTs()

virtual void AVFormatContextWrapper::SetAvoidNegativeTs ( int  avoid_negative_ts)
pure virtualnoexcept

◆ SetBitRate()

virtual void AVFormatContextWrapper::SetBitRate ( int  bit_rate)
pure virtualnoexcept

◆ SetCorrectTsOverflow()

virtual void AVFormatContextWrapper::SetCorrectTsOverflow ( unsigned int  correct_ts_overflow)
pure virtualnoexcept

◆ SetErrorRecognition()

virtual void AVFormatContextWrapper::SetErrorRecognition ( int  error_recognition)
pure virtualnoexcept

◆ SetFilename()

virtual void AVFormatContextWrapper::SetFilename ( const char *  filename)
pure virtualnoexcept

◆ SetFlags()

virtual void AVFormatContextWrapper::SetFlags ( int  flags)
pure virtualnoexcept

◆ SetFlushPackets()

virtual void AVFormatContextWrapper::SetFlushPackets ( int  flush_packets)
pure virtualnoexcept

◆ SetFormatProbeSize()

virtual void AVFormatContextWrapper::SetFormatProbeSize ( int  format_probesize)
pure virtualnoexcept

◆ SetFpsProbeSize()

virtual void AVFormatContextWrapper::SetFpsProbeSize ( int  fps_probe_size)
pure virtualnoexcept

◆ SetMaxAnalyzeDuration()

virtual void AVFormatContextWrapper::SetMaxAnalyzeDuration ( int  max_analyze_duration)
pure virtualnoexcept

◆ SetMaxChunkDuration()

virtual void AVFormatContextWrapper::SetMaxChunkDuration ( int  max_chunk_duration)
pure virtualnoexcept

◆ SetMaxChunkSize()

virtual void AVFormatContextWrapper::SetMaxChunkSize ( int  max_chunk_size)
pure virtualnoexcept

◆ SetMaxDelay()

virtual void AVFormatContextWrapper::SetMaxDelay ( int  max_delay)
pure virtualnoexcept

◆ SetMaxIndexSize()

virtual void AVFormatContextWrapper::SetMaxIndexSize ( unsigned int  max_index_size)
pure virtualnoexcept

◆ SetMaxInterleaveDelta()

virtual void AVFormatContextWrapper::SetMaxInterleaveDelta ( int64_t  max_interleave_delta)
pure virtualnoexcept

◆ SetMetadata()

virtual void AVFormatContextWrapper::SetMetadata ( AVDictionaryWrapper  metadata)
pure virtualnoexcept

◆ SetOpaque()

virtual void AVFormatContextWrapper::SetOpaque ( void *  opaque)
pure virtualnoexcept

◆ SetOutputFormat()

virtual void AVFormatContextWrapper::SetOutputFormat ( std::unique_ptr< AVOutputFormatWrapper oformat)
pure virtualnoexcept

◆ SetOutputTsOffset()

virtual void AVFormatContextWrapper::SetOutputTsOffset ( int64_t  output_ts_offset)
pure virtualnoexcept

◆ SetPacketSize()

virtual void AVFormatContextWrapper::SetPacketSize ( unsigned int  packet_size)
pure virtualnoexcept

◆ SetProbeSize()

virtual void AVFormatContextWrapper::SetProbeSize ( unsigned int  probesize)
pure virtualnoexcept

◆ SetSeek2any()

virtual void AVFormatContextWrapper::SetSeek2any ( int  seek2any)
pure virtualnoexcept

◆ SetSkipInitialBytes()

virtual void AVFormatContextWrapper::SetSkipInitialBytes ( int64_t  skip_initial_bytes)
pure virtualnoexcept

◆ SetStartTimeRealtime()

virtual void AVFormatContextWrapper::SetStartTimeRealtime ( int64_t  start_time_realtime)
pure virtualnoexcept

◆ SetStrictStdCompliance()

virtual void AVFormatContextWrapper::SetStrictStdCompliance ( int  strict_std_compliance)
pure virtualnoexcept

◆ SetUseWallclockAsTimestamps()

virtual void AVFormatContextWrapper::SetUseWallclockAsTimestamps ( int  use_wallclock_as_timestamps)
pure virtualnoexcept

◆ UpdateStreamList()

virtual void AVFormatContextWrapper::UpdateStreamList ( )
protectedpure virtualnoexcept

Referenced by CreateStream(), and OpenInputContext().

Here is the caller graph for this function:

Member Data Documentation

◆ mAVFormatContext

AVFormatContext* AVFormatContextWrapper::mAVFormatContext { nullptr }
protected

◆ mAVIOContext

std::unique_ptr<AVIOContextWrapper> AVFormatContextWrapper::mAVIOContext
protected

Definition at line 178 of file AVFormatContextWrapper.h.

◆ mFFmpeg

const FFmpegFunctions& AVFormatContextWrapper::mFFmpeg
protected

◆ mForcedAudioCodec

std::unique_ptr<AVCodecWrapper> AVFormatContextWrapper::mForcedAudioCodec
protected

Definition at line 184 of file AVFormatContextWrapper.h.

◆ mInputFormat

std::unique_ptr<AVInputFormatWrapper> AVFormatContextWrapper::mInputFormat
protected

Definition at line 181 of file AVFormatContextWrapper.h.

Referenced by GetInputFormat(), and OpenInputContext().

◆ mOutputFormat

std::unique_ptr<AVOutputFormatWrapper> AVFormatContextWrapper::mOutputFormat
protected

Definition at line 182 of file AVFormatContextWrapper.h.

Referenced by GetOutputFormat().

◆ mStreams

StreamsList AVFormatContextWrapper::mStreams
protected

Definition at line 180 of file AVFormatContextWrapper.h.


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