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

#include <remoteavformatcontext.h>

Collaboration diagram for ArchiveRemoteAVFormatContext:
Collaboration graph
[legend]

Public Member Functions

 ArchiveRemoteAVFormatContext (const QString &filename="")
 
 ~ArchiveRemoteAVFormatContext ()
 
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 }
 
RemoteFilem_rf { nullptr }
 
AVIOContext * m_byteIOContext { nullptr }
 
unsigned char * m_buffer { nullptr }
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ArchiveRemoteAVFormatContext()

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

◆ ~ArchiveRemoteAVFormatContext()

ArchiveRemoteAVFormatContext::~ArchiveRemoteAVFormatContext ( )
inline

Member Function Documentation

◆ Open()

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

◆ Close()

void ArchiveRemoteAVFormatContext::Close ( )
inline

◆ isOpen()

bool ArchiveRemoteAVFormatContext::isOpen ( ) const
inline

◆ operator AVFormatContext *()

ArchiveRemoteAVFormatContext::operator AVFormatContext * ( ) const
inline

◆ operator->()

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

◆ ReadFunc()

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

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

Referenced by Open().

◆ WriteFunc()

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

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

Referenced by Open().

◆ SeekFunc()

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

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

Referenced by Open().

Member Data Documentation

◆ m_inputFC

AVFormatContext* ArchiveRemoteAVFormatContext::m_inputFC { nullptr }
private

◆ m_inputIsRemote

bool ArchiveRemoteAVFormatContext::m_inputIsRemote { false }
private

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

Referenced by isOpen(), and Open().

◆ m_rf

RemoteFile* ArchiveRemoteAVFormatContext::m_rf { nullptr }
private

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

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

◆ m_byteIOContext

AVIOContext* ArchiveRemoteAVFormatContext::m_byteIOContext { nullptr }
private

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

Referenced by Open().

◆ m_buffer

unsigned char* ArchiveRemoteAVFormatContext::m_buffer { nullptr }
private

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