#include <DVDVideoCodecAmlogic.h>
◆ CDVDVideoCodecAmlogic()
CDVDVideoCodecAmlogic::CDVDVideoCodecAmlogic |
( |
CProcessInfo & |
processInfo | ) |
|
◆ ~CDVDVideoCodecAmlogic()
CDVDVideoCodecAmlogic::~CDVDVideoCodecAmlogic |
( |
| ) |
|
|
virtual |
◆ AddData()
bool CDVDVideoCodecAmlogic::AddData |
( |
const DemuxPacket & |
packet | ) |
|
|
overridevirtual |
add data, decoder has to consume the entire packet returns true if the packet was consumed or if resubmitting it is useless
Implements CDVDVideoCodec.
◆ Create()
◆ Dispose()
void CDVDVideoCodecAmlogic::Dispose |
( |
void |
| ) |
|
|
protected |
◆ FrameRateTracking()
void CDVDVideoCodecAmlogic::FrameRateTracking |
( |
uint8_t * |
pData, |
|
|
int |
iSize, |
|
|
double |
dts, |
|
|
double |
pts |
|
) |
| |
|
protected |
◆ GetName()
virtual const char * CDVDVideoCodecAmlogic::GetName |
( |
void |
| ) |
|
|
inlineoverridevirtual |
◆ GetPicture()
GetPicture controls decoding. Player calls it on every cycle it can signal a picture, request a buffer, or return none, if nothing applies the data is valid until the next GetPicture return VC_PICTURE
Implements CDVDVideoCodec.
◆ Open()
Open the decoder, returns true on success Decoders not capable of runnung multiple instances should return false in case there is already a instance open
Implements CDVDVideoCodec.
◆ Register()
bool CDVDVideoCodecAmlogic::Register |
( |
| ) |
|
|
static |
◆ Reset()
void CDVDVideoCodecAmlogic::Reset |
( |
| ) |
|
|
overridevirtual |
Reset the decoder. Should be the same as calling Dispose and Open after each other
Implements CDVDVideoCodec.
◆ SetCodecControl()
void CDVDVideoCodecAmlogic::SetCodecControl |
( |
int |
flags | ) |
|
|
overridevirtual |
Codec can be informed by player with the following flags:
DVD_CODEC_CTRL_NO_POSTPROC : if speed is not normal the codec can switch off postprocessing and de-interlacing
DVD_CODEC_CTRL_HURRY : codecs may do postprocessing and de-interlacing. If video buffers in RenderManager are about to run dry, this is signaled to codec. Codec can wait for post-proc to be finished instead of returning empty and getting another packet.
DVD_CODEC_CTRL_DRAIN : instruct decoder to deliver last pictures without requesting new packets
DVD_CODEC_CTRL_DROP : this packet is going to be dropped. decoder is free to use it for decoding
Reimplemented from CDVDVideoCodec.
◆ SetSpeed()
void CDVDVideoCodecAmlogic::SetSpeed |
( |
int |
iSpeed | ) |
|
|
overridevirtual |
will be called by video player indicating the playback speed. see DVD_PLAYSPEED_NORMAL, DVD_PLAYSPEED_PAUSE and friends.
Reimplemented from CDVDVideoCodec.
◆ m_aspect_ratio
float CDVDVideoCodecAmlogic::m_aspect_ratio |
|
protected |
◆ m_bitparser
◆ m_bitstream
◆ m_Codec
std::shared_ptr<CAMLCodec> CDVDVideoCodecAmlogic::m_Codec |
|
protected |
◆ m_codecControlFlags
int CDVDVideoCodecAmlogic::m_codecControlFlags |
|
protected |
◆ m_framerate
double CDVDVideoCodecAmlogic::m_framerate |
|
protected |
◆ m_has_keyframe
bool CDVDVideoCodecAmlogic::m_has_keyframe |
|
protected |
◆ m_hints
◆ m_mpeg2_sequence
◆ m_mpeg2_sequence_pts
double CDVDVideoCodecAmlogic::m_mpeg2_sequence_pts |
|
protected |
◆ m_opened
bool CDVDVideoCodecAmlogic::m_opened |
|
protected |
◆ m_pFormatName
const char* CDVDVideoCodecAmlogic::m_pFormatName |
|
protected |
◆ m_video_rate
int CDVDVideoCodecAmlogic::m_video_rate |
|
protected |
◆ m_videobuffer
The documentation for this class was generated from the following files: