#include <nuppeldecoder.h>
Definition at line 33 of file nuppeldecoder.h.
| NuppelDecoder::NuppelDecoder | ( | MythPlayer * | parent, | |
| const ProgramInfo & | pginfo | |||
| ) |
Definition at line 37 of file nuppeldecoder.cpp.
| NuppelDecoder::~NuppelDecoder | ( | ) |
Definition at line 85 of file nuppeldecoder.cpp.
| bool NuppelDecoder::CanHandle | ( | char | testbuf[kDecoderProbeBufferSize], | |
| int | testbufsize = kDecoderProbeBufferSize | |||
| ) | [static] |
Definition at line 109 of file nuppeldecoder.cpp.
Referenced by MythPlayer::CreateDecoder().
| int NuppelDecoder::OpenFile | ( | RingBuffer * | rbuffer, | |
| bool | novideo, | |||
| char | testbuf[kDecoderProbeBufferSize], | |||
| int | testbufsize = kDecoderProbeBufferSize | |||
| ) | [virtual] |
Implements DecoderBase.
Definition at line 174 of file nuppeldecoder.cpp.
| bool NuppelDecoder::GetFrame | ( | DecodeType | ) | [virtual] |
Demux, preprocess and possibly decode a frame of video/audio.
Implements DecoderBase.
Definition at line 1051 of file nuppeldecoder.cpp.
Referenced by SeekReset().
| virtual bool NuppelDecoder::IsLastFrameKey | ( | void | ) | const [inline, virtual] |
Implements DecoderBase.
Definition at line 49 of file nuppeldecoder.h.
| void NuppelDecoder::WriteStoredData | ( | RingBuffer * | rb, | |
| bool | writevid, | |||
| long | timecodeOffset | |||
| ) | [virtual] |
Implements DecoderBase.
Definition at line 1018 of file nuppeldecoder.cpp.
| void NuppelDecoder::ClearStoredData | ( | void | ) | [virtual] |
Reimplemented from DecoderBase.
Definition at line 1040 of file nuppeldecoder.cpp.
| long NuppelDecoder::UpdateStoredFrameNum | ( | long | framenumber | ) | [virtual] |
Implements DecoderBase.
Definition at line 997 of file nuppeldecoder.cpp.
| QString NuppelDecoder::GetCodecDecoderName | ( | void | ) | const [inline, virtual] |
Implements DecoderBase.
Definition at line 56 of file nuppeldecoder.h.
| QString NuppelDecoder::GetRawEncodingType | ( | void | ) | [virtual] |
Reimplemented from DecoderBase.
Definition at line 133 of file nuppeldecoder.cpp.
| MythCodecID NuppelDecoder::GetVideoCodecID | ( | void | ) | const [virtual] |
Implements DecoderBase.
Definition at line 118 of file nuppeldecoder.cpp.
| bool NuppelDecoder::ReadFileheader | ( | struct rtfileheader * | fileheader | ) | [inline, private] |
Definition at line 140 of file nuppeldecoder.cpp.
Referenced by OpenFile().
| bool NuppelDecoder::ReadFrameheader | ( | struct rtframeheader * | frameheader | ) | [inline, private] |
Definition at line 161 of file nuppeldecoder.cpp.
Referenced by GetFrame(), and OpenFile().
| bool NuppelDecoder::DecodeFrame | ( | struct rtframeheader * | frameheader, | |
| unsigned char * | lstrm, | |||
| VideoFrame * | frame | |||
| ) | [private] |
Definition at line 829 of file nuppeldecoder.cpp.
Referenced by GetFrame().
| bool NuppelDecoder::isValidFrametype | ( | char | type | ) | [private] |
Definition at line 968 of file nuppeldecoder.cpp.
Referenced by GetFrame().
| bool NuppelDecoder::InitAVCodecVideo | ( | int | codec | ) | [private] |
Definition at line 659 of file nuppeldecoder.cpp.
Referenced by DecodeFrame().
| void NuppelDecoder::CloseAVCodecVideo | ( | void | ) | [private] |
Definition at line 737 of file nuppeldecoder.cpp.
Referenced by InitAVCodecVideo(), and ~NuppelDecoder().
| bool NuppelDecoder::InitAVCodecAudio | ( | int | codec | ) | [private] |
Definition at line 753 of file nuppeldecoder.cpp.
Referenced by GetFrame().
| void NuppelDecoder::CloseAVCodecAudio | ( | void | ) | [private] |
Definition at line 797 of file nuppeldecoder.cpp.
Referenced by InitAVCodecAudio(), and ~NuppelDecoder().
| void NuppelDecoder::StoreRawData | ( | unsigned char * | strm | ) | [private] |
Definition at line 982 of file nuppeldecoder.cpp.
Referenced by GetFrame().
| void NuppelDecoder::SeekReset | ( | long long | newKey = 0, |
|
| uint | skipFrames = 0, |
|||
| bool | needFlush = false, |
|||
| bool | discardFrames = false | |||
| ) | [private, virtual] |
Reimplemented from DecoderBase.
Definition at line 1372 of file nuppeldecoder.cpp.
| int get_nuppel_buffer | ( | struct AVCodecContext * | c, | |
| AVFrame * | pic | |||
| ) | [friend] |
Definition at line 627 of file nuppeldecoder.cpp.
Referenced by InitAVCodecVideo().
| void release_nuppel_buffer | ( | struct AVCodecContext * | c, | |
| AVFrame * | pic | |||
| ) | [friend] |
Definition at line 645 of file nuppeldecoder.cpp.
Referenced by InitAVCodecVideo().
struct rtfileheader NuppelDecoder::fileheader [private] |
Definition at line 80 of file nuppeldecoder.h.
Referenced by GetFrame(), NuppelDecoder(), and OpenFile().
struct rtframeheader NuppelDecoder::frameheader [private] |
Definition at line 81 of file nuppeldecoder.h.
Referenced by GetFrame(), NuppelDecoder(), and StoreRawData().
RTjpeg* NuppelDecoder::rtjd [private] |
Definition at line 83 of file nuppeldecoder.h.
Referenced by DecodeFrame(), NuppelDecoder(), and ~NuppelDecoder().
int NuppelDecoder::video_width [private] |
Definition at line 85 of file nuppeldecoder.h.
Referenced by DecodeFrame(), InitAVCodecVideo(), and OpenFile().
int NuppelDecoder::video_height [private] |
Definition at line 85 of file nuppeldecoder.h.
Referenced by DecodeFrame(), InitAVCodecVideo(), and OpenFile().
int NuppelDecoder::video_size [private] |
Definition at line 85 of file nuppeldecoder.h.
Referenced by DecodeFrame(), and OpenFile().
double NuppelDecoder::video_frame_rate [private] |
Definition at line 86 of file nuppeldecoder.h.
Referenced by GetFrame(), and OpenFile().
int NuppelDecoder::audio_samplerate [private] |
Definition at line 87 of file nuppeldecoder.h.
Referenced by OpenFile().
int NuppelDecoder::audio_bits_per_sample [private] |
Definition at line 89 of file nuppeldecoder.h.
Referenced by GetFrame(), and OpenFile().
int NuppelDecoder::ffmpeg_extradatasize [private] |
Definition at line 92 of file nuppeldecoder.h.
Referenced by InitAVCodecVideo(), and OpenFile().
uint8_t* NuppelDecoder::ffmpeg_extradata [private] |
Definition at line 93 of file nuppeldecoder.h.
Referenced by InitAVCodecVideo(), OpenFile(), and ~NuppelDecoder().
struct extendeddata NuppelDecoder::extradata [private] |
Definition at line 95 of file nuppeldecoder.h.
Referenced by GetVideoCodecID(), InitAVCodecAudio(), InitAVCodecVideo(), NuppelDecoder(), and OpenFile().
bool NuppelDecoder::usingextradata [private] |
Definition at line 96 of file nuppeldecoder.h.
Referenced by GetVideoCodecID(), InitAVCodecAudio(), InitAVCodecVideo(), and OpenFile().
bool NuppelDecoder::disablevideo [private] |
Definition at line 98 of file nuppeldecoder.h.
Referenced by OpenFile().
int NuppelDecoder::totalLength [private] |
Definition at line 100 of file nuppeldecoder.h.
Referenced by OpenFile().
long long NuppelDecoder::totalFrames [private] |
Definition at line 101 of file nuppeldecoder.h.
Referenced by OpenFile().
int NuppelDecoder::effdsp [private] |
Definition at line 103 of file nuppeldecoder.h.
Referenced by GetFrame(), and OpenFile().
VideoFrame* NuppelDecoder::directframe [private] |
Definition at line 105 of file nuppeldecoder.h.
Referenced by DecodeFrame(), get_nuppel_buffer(), and GetFrame().
VideoFrame* NuppelDecoder::decoded_video_frame [private] |
Definition at line 106 of file nuppeldecoder.h.
Referenced by GetFrame(), and SeekReset().
AVCodec* NuppelDecoder::mpa_vidcodec [private] |
Definition at line 108 of file nuppeldecoder.h.
Referenced by CloseAVCodecVideo(), DecodeFrame(), GetVideoCodecID(), InitAVCodecVideo(), and SeekReset().
AVCodecContext* NuppelDecoder::mpa_vidctx [private] |
Definition at line 109 of file nuppeldecoder.h.
Referenced by CloseAVCodecVideo(), DecodeFrame(), GetRawEncodingType(), InitAVCodecVideo(), and SeekReset().
AVCodec* NuppelDecoder::mpa_audcodec [private] |
Definition at line 110 of file nuppeldecoder.h.
Referenced by CloseAVCodecAudio(), GetFrame(), and InitAVCodecAudio().
AVCodecContext* NuppelDecoder::mpa_audctx [private] |
Definition at line 111 of file nuppeldecoder.h.
Referenced by CloseAVCodecAudio(), GetFrame(), and InitAVCodecAudio().
AVPicture NuppelDecoder::tmppicture [private] |
Definition at line 112 of file nuppeldecoder.h.
Referenced by DecodeFrame(), and NuppelDecoder().
AVFrame* NuppelDecoder::m_audioFrame [private] |
Definition at line 113 of file nuppeldecoder.h.
Referenced by GetFrame(), NuppelDecoder(), and ~NuppelDecoder().
bool NuppelDecoder::directrendering [private] |
Definition at line 115 of file nuppeldecoder.h.
Referenced by DecodeFrame(), and InitAVCodecVideo().
char NuppelDecoder::lastct [private] |
Definition at line 117 of file nuppeldecoder.h.
Referenced by DecodeFrame().
unsigned char* NuppelDecoder::strm_buf [private] |
Definition at line 119 of file nuppeldecoder.h.
Referenced by OpenFile(), and ~NuppelDecoder().
unsigned char* NuppelDecoder::strm [private] |
Definition at line 120 of file nuppeldecoder.h.
Referenced by GetFrame(), and OpenFile().
unsigned char* NuppelDecoder::buf [private] |
Definition at line 121 of file nuppeldecoder.h.
Referenced by DecodeFrame(), GetFrame(), OpenFile(), and ~NuppelDecoder().
unsigned char* NuppelDecoder::buf2 [private] |
Definition at line 122 of file nuppeldecoder.h.
Referenced by DecodeFrame(), and ~NuppelDecoder().
unsigned char* NuppelDecoder::planes[3] [private] |
Definition at line 123 of file nuppeldecoder.h.
Referenced by DecodeFrame(), and NuppelDecoder().
list<RawDataList*> NuppelDecoder::StoredData [private] |
Definition at line 125 of file nuppeldecoder.h.
Referenced by ClearStoredData(), StoreRawData(), UpdateStoredFrameNum(), WriteStoredData(), and ~NuppelDecoder().
int NuppelDecoder::videosizetotal [private] |
Definition at line 127 of file nuppeldecoder.h.
Referenced by GetFrame(), and OpenFile().
int NuppelDecoder::videoframesread [private] |
Definition at line 128 of file nuppeldecoder.h.
Referenced by GetFrame(), and OpenFile().
bool NuppelDecoder::setreadahead [private] |
Definition at line 129 of file nuppeldecoder.h.
Referenced by GetFrame(), and OpenFile().
1.6.3