MythTV  master
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
RemoteAVFormatContext Class Reference

#include <remoteavformatcontext.h>

Collaboration diagram for RemoteAVFormatContext:
Collaboration graph
[legend]

Public Member Functions

 RemoteAVFormatContext (const QString &filename="")
 
 ~RemoteAVFormatContext ()
 
bool Open (const QString &filename)
 
void Close ()
 
bool isOpen () const
 
 operator AVFormatContext * () const
 
AVFormatContext * operator-> () const
 
 RemoteAVFormatContext (const QString &filename="")
 
 ~RemoteAVFormatContext ()
 
AVFormatContext * getContext (void)
 
bool Open (const QString &filename)
 
void Close ()
 
bool isOpen () const
 
 operator AVFormatContext * () const
 
AVFormatContext * operator-> () const
 

Static Private Member Functions

static int ReadFunc (void *opaque, uint8_t *buf, int buf_size)
 
static int WriteFunc (void *, uint8_t *, int)
 
static int64_t SeekFunc (void *opaque, int64_t offset, int whence)
 
static int ReadFunc (void *opaque, uint8_t *buf, int buf_size)
 
static int WriteFunc (void *, uint8_t *, int)
 
static int64_t SeekFunc (void *opaque, int64_t offset, int whence)
 

Private Attributes

AVFormatContext * m_inputFC { nullptr }
 
bool m_inputIsRemote { false }
 
RemoteFilem_rf { nullptr }
 
AVIOContext * m_byteIOContext { nullptr }
 
unsigned char * m_buffer { nullptr }
 
bool m_isOpen { false }
 

Detailed Description

Definition at line 16 of file mytharchive/mytharchive/remoteavformatcontext.h.

Constructor & Destructor Documentation

◆ RemoteAVFormatContext() [1/2]

RemoteAVFormatContext::RemoteAVFormatContext ( const QString &  filename = "")
inlineexplicit

◆ ~RemoteAVFormatContext() [1/2]

RemoteAVFormatContext::~RemoteAVFormatContext ( )
inline

◆ RemoteAVFormatContext() [2/2]

RemoteAVFormatContext::RemoteAVFormatContext ( const QString &  filename = "")
inlineexplicit

Definition at line 21 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ ~RemoteAVFormatContext() [2/2]

RemoteAVFormatContext::~RemoteAVFormatContext ( )
inline

Definition at line 24 of file mythmusic/mythmusic/remoteavformatcontext.h.

Member Function Documentation

◆ Open() [1/2]

bool RemoteAVFormatContext::Open ( const QString &  filename)
inline

◆ Close() [1/2]

void RemoteAVFormatContext::Close ( void  )
inline

◆ isOpen() [1/2]

bool RemoteAVFormatContext::isOpen ( void  ) const
inline

◆ operator AVFormatContext *() [1/2]

RemoteAVFormatContext::operator AVFormatContext * ( ) const
inline

◆ operator->() [1/2]

AVFormatContext* RemoteAVFormatContext::operator-> ( ) const
inline

◆ ReadFunc() [1/2]

static int RemoteAVFormatContext::ReadFunc ( void *  opaque,
uint8_t *  buf,
int  buf_size 
)
inlinestaticprivate

Definition at line 115 of file mytharchive/mytharchive/remoteavformatcontext.h.

Referenced by Open().

◆ WriteFunc() [1/2]

static int RemoteAVFormatContext::WriteFunc ( void *  ,
uint8_t *  ,
int   
)
inlinestaticprivate

Definition at line 121 of file mytharchive/mytharchive/remoteavformatcontext.h.

Referenced by Open().

◆ SeekFunc() [1/2]

static int64_t RemoteAVFormatContext::SeekFunc ( void *  opaque,
int64_t  offset,
int  whence 
)
inlinestaticprivate

Definition at line 124 of file mytharchive/mytharchive/remoteavformatcontext.h.

Referenced by Open().

◆ getContext()

AVFormatContext* RemoteAVFormatContext::getContext ( void  )
inline

◆ Open() [2/2]

bool RemoteAVFormatContext::Open ( const QString &  filename)
inline

Definition at line 33 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ Close() [2/2]

void RemoteAVFormatContext::Close ( void  )
inline

Definition at line 111 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ isOpen() [2/2]

bool RemoteAVFormatContext::isOpen ( void  ) const
inline

Definition at line 125 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ operator AVFormatContext *() [2/2]

RemoteAVFormatContext::operator AVFormatContext * ( ) const
inline

Definition at line 127 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ operator->() [2/2]

AVFormatContext* RemoteAVFormatContext::operator-> ( ) const
inline

Definition at line 129 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ ReadFunc() [2/2]

static int RemoteAVFormatContext::ReadFunc ( void *  opaque,
uint8_t *  buf,
int  buf_size 
)
inlinestaticprivate

Definition at line 132 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ WriteFunc() [2/2]

static int RemoteAVFormatContext::WriteFunc ( void *  ,
uint8_t *  ,
int   
)
inlinestaticprivate

Definition at line 138 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ SeekFunc() [2/2]

static int64_t RemoteAVFormatContext::SeekFunc ( void *  opaque,
int64_t  offset,
int  whence 
)
inlinestaticprivate

Definition at line 141 of file mythmusic/mythmusic/remoteavformatcontext.h.

Member Data Documentation

◆ m_inputFC

AVFormatContext * RemoteAVFormatContext::m_inputFC { nullptr }
private

◆ m_inputIsRemote

bool RemoteAVFormatContext::m_inputIsRemote { false }
private

Definition at line 135 of file mytharchive/mytharchive/remoteavformatcontext.h.

Referenced by isOpen(), and Open().

◆ m_rf

RemoteFile * RemoteAVFormatContext::m_rf { nullptr }
private

Definition at line 136 of file mytharchive/mytharchive/remoteavformatcontext.h.

Referenced by Close(), isOpen(), and Open().

◆ m_byteIOContext

AVIOContext * RemoteAVFormatContext::m_byteIOContext { nullptr }
private

Definition at line 137 of file mytharchive/mytharchive/remoteavformatcontext.h.

Referenced by Open().

◆ m_buffer

unsigned char * RemoteAVFormatContext::m_buffer { nullptr }
private

◆ m_isOpen

bool RemoteAVFormatContext::m_isOpen { false }
private

Definition at line 153 of file mythmusic/mythmusic/remoteavformatcontext.h.

Referenced by Close(), isOpen(), and Open().


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