MythTV
master
|
#include <libmythtv/io/mythavformatbuffer.h>
Public Member Functions | |
MythAVFormatBuffer (MythMediaBuffer *Buffer=nullptr) | |
void | SetBuffer (MythMediaBuffer *Buffer) |
MythMediaBuffer * | GetBuffer (void) |
void | SetInInit (bool State) |
bool | IsInInit (void) const |
Static Public Member Functions | |
static URLProtocol * | GetURLProtocol (void) |
static int | WritePacket (void *Context, uint8_t *Buffer, int Size) |
static int | ReadPacket (void *Context, uint8_t *Buffer, int Size) |
static int64_t | SeekPacket (void *Context, int64_t Offset, int Whence) |
static int | Open (URLContext *Context, const char *Filename, int Flags) |
static int | Read (URLContext *Context, uint8_t *Buffer, int Size) |
static int | Write (URLContext *Context, const uint8_t *Buffer, int Size) |
static int64_t | Seek (URLContext *Context, int64_t Offset, int Whence) |
static int | Close (URLContext *) |
Private Attributes | |
MythMediaBuffer * | m_buffer { nullptr } |
bool | m_initState { true } |
Static Private Attributes | |
static URLProtocol | s_avfrURL |
Definition at line 13 of file mythavformatbuffer.h.
|
explicit |
Definition at line 8 of file mythavformatbuffer.cpp.
void MythAVFormatBuffer::SetBuffer | ( | MythMediaBuffer * | Buffer | ) |
Definition at line 13 of file mythavformatbuffer.cpp.
MythMediaBuffer * MythAVFormatBuffer::GetBuffer | ( | void | ) |
Definition at line 18 of file mythavformatbuffer.cpp.
Referenced by Read(), Seek(), SetInInit(), and Write().
|
static |
Definition at line 92 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext(), and MythAVFormatWriter::OpenFile().
|
static |
Definition at line 71 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext().
|
static |
Definition at line 78 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext().
|
static |
Definition at line 85 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext().
|
static |
Definition at line 23 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 29 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 42 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 51 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 66 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
void MythAVFormatBuffer::SetInInit | ( | bool | State | ) |
Definition at line 115 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::OpenFile().
bool MythAVFormatBuffer::IsInInit | ( | void | ) | const |
Definition at line 121 of file mythavformatbuffer.cpp.
|
private |
Definition at line 32 of file mythavformatbuffer.h.
Referenced by GetBuffer(), and SetBuffer().
Definition at line 33 of file mythavformatbuffer.h.
Referenced by IsInInit(), and SetInInit().
|
staticprivate |
Definition at line 34 of file mythavformatbuffer.h.
Referenced by GetURLProtocol().