MythTV
master
|
#include <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 12 of file mythavformatbuffer.cpp.
void MythAVFormatBuffer::SetBuffer | ( | MythMediaBuffer * | Buffer | ) |
Definition at line 17 of file mythavformatbuffer.cpp.
MythMediaBuffer * MythAVFormatBuffer::GetBuffer | ( | void | ) |
Definition at line 22 of file mythavformatbuffer.cpp.
Referenced by Read(), Seek(), SetInInit(), and Write().
|
static |
Definition at line 96 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext(), and MythAVFormatWriter::OpenFile().
|
static |
Definition at line 75 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext().
|
static |
Definition at line 82 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext().
|
static |
Definition at line 89 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::InitByteContext().
|
static |
Definition at line 27 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 33 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 46 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 55 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
|
static |
Definition at line 70 of file mythavformatbuffer.cpp.
Referenced by GetURLProtocol().
void MythAVFormatBuffer::SetInInit | ( | bool | State | ) |
Definition at line 123 of file mythavformatbuffer.cpp.
Referenced by AvFormatDecoder::OpenFile().
bool MythAVFormatBuffer::IsInInit | ( | void | ) | const |
Definition at line 129 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().