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
 
bool m_inputIsRemote
 
RemoteFilem_rf
 
AVIOContext * m_byteIOContext
 
unsigned char * m_buffer
 
bool m_isOpen
 

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 26 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 118 of file mytharchive/mytharchive/remoteavformatcontext.h.

Referenced by Open().

◆ WriteFunc() [1/2]

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

Definition at line 124 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 126 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 35 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ Close() [2/2]

void RemoteAVFormatContext::Close ( void  )
inline

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

◆ isOpen() [2/2]

bool RemoteAVFormatContext::isOpen ( void  ) const
inline

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

◆ operator AVFormatContext *() [2/2]

RemoteAVFormatContext::operator AVFormatContext * ( ) const
inline

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

◆ operator->() [2/2]

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

Definition at line 138 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 141 of file mythmusic/mythmusic/remoteavformatcontext.h.

◆ WriteFunc() [2/2]

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

Definition at line 147 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 149 of file mythmusic/mythmusic/remoteavformatcontext.h.

Member Data Documentation

◆ m_inputFC

AVFormatContext * RemoteAVFormatContext::m_inputFC
private

◆ m_inputIsRemote

bool RemoteAVFormatContext::m_inputIsRemote
private

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

Referenced by isOpen(), and Open().

◆ m_rf

RemoteFile * RemoteAVFormatContext::m_rf
private

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

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

◆ m_byteIOContext

AVIOContext * RemoteAVFormatContext::m_byteIOContext
private

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

Referenced by Open().

◆ m_buffer

unsigned char * RemoteAVFormatContext::m_buffer
private

◆ m_isOpen

bool RemoteAVFormatContext::m_isOpen
private

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

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


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