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 ()
 
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)
 

Private Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ RemoteAVFormatContext()

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

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

◆ ~RemoteAVFormatContext()

RemoteAVFormatContext::~RemoteAVFormatContext ( )
inline

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

Member Function Documentation

◆ getContext()

AVFormatContext* RemoteAVFormatContext::getContext ( void  )
inline

◆ Open()

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

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

Referenced by RemoteAVFormatContext().

◆ Close()

void RemoteAVFormatContext::Close ( )
inline

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

Referenced by ~RemoteAVFormatContext().

◆ isOpen()

bool RemoteAVFormatContext::isOpen ( ) const
inline

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

Referenced by avfDecoder::initialize(), and Open().

◆ operator AVFormatContext *()

RemoteAVFormatContext::operator AVFormatContext * ( ) const
inline

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

◆ operator->()

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

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

◆ ReadFunc()

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

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

Referenced by Open().

◆ WriteFunc()

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

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

Referenced by Open().

◆ SeekFunc()

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

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

Referenced by Open().

Member Data Documentation

◆ m_inputFC

AVFormatContext* RemoteAVFormatContext::m_inputFC { nullptr }
private

◆ m_inputIsRemote

bool RemoteAVFormatContext::m_inputIsRemote { false }
private

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

Referenced by Open().

◆ m_isOpen

bool RemoteAVFormatContext::m_isOpen { false }
private

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

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

◆ m_rf

RemoteFile* RemoteAVFormatContext::m_rf { nullptr }
private

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

Referenced by Close(), and Open().

◆ m_byteIOContext

AVIOContext* RemoteAVFormatContext::m_byteIOContext { nullptr }
private

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

Referenced by Open().

◆ m_buffer

unsigned char* RemoteAVFormatContext::m_buffer { nullptr }
private

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

Referenced by Open(), and ~RemoteAVFormatContext().


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