avformatdecoder.cpp File Reference

Go to the source code of this file.

Functions

__inline AVRational GetAVTimeBaseQ ()
static int cc608_parity (uint8_t byte)
static int cc608_good_parity (const int *parity_table, uint16_t data)
static void cc608_build_parity_table (int *parity_table)
static QSize get_video_dim (const AVCodecContext &ctx)
static float get_aspect (const AVCodecContext &ctx)
int get_avf_buffer (struct AVCodecContext *c, AVFrame *pic)
void release_avf_buffer (struct AVCodecContext *c, AVFrame *pic)
int get_avf_buffer_vdpau (struct AVCodecContext *c, AVFrame *pic)
void release_avf_buffer_vdpau (struct AVCodecContext *c, AVFrame *pic)
void render_slice_vdpau (struct AVCodecContext *s, const AVFrame *src, int offset[4], int y, int type, int height)
int get_avf_buffer_dxva2 (struct AVCodecContext *c, AVFrame *pic)
int get_avf_buffer_vaapi (struct AVCodecContext *c, AVFrame *pic)
static AVCodec * find_vdpau_decoder (AVCodec *c, enum CodecID id)
static void myth_av_log (void *ptr, int level, const char *fmt, va_list vl)
static int get_canonical_lang (const char *lang_cstr)
static int64_t lsb3full (int64_t lsb, int64_t base_ts, int lsb_bits)
void HandleStreamChange (void *data)
void HandleDVDStreamChange (void *data)
void HandleBDStreamChange (void *data)
static bool IS_VDPAU_PIX_FMT (enum PixelFormat fmt)
static enum PixelFormat get_format_vdpau (struct AVCodecContext *avctx, const enum PixelFormat *fmt)
static enum PixelFormat get_format_dxva2 (struct AVCodecContext *, const enum PixelFormat *) MUNUSED
static bool IS_VAAPI_PIX_FMT (enum PixelFormat fmt)
static enum PixelFormat get_format_vaapi (struct AVCodecContext *, const enum PixelFormat *) MUNUSED
static bool IS_DR1_PIX_FMT (const enum PixelFormat fmt)
static vector< int > filter_lang (const sinfo_vec_t &tracks, int lang_key)
static sinfo_vec_t filter_type (const sinfo_vec_t &tracks, AudioTrackType type)
static void extract_mono_channel (uint channel, AudioInfo *audioInfo, char *buffer, int bufsize)

Variables

static const float eps = 1E-5
static const int max_video_queue_size = 220
static bool silence_ffmpeg_logging = false

Function Documentation

__inline AVRational GetAVTimeBaseQ (  ) 

Definition at line 83 of file avformatdecoder.cpp.

static int cc608_parity ( uint8_t  byte  )  [static]

Definition at line 1420 of file avformatdecoder.cpp.

Referenced by cc608_build_parity_table().

static int cc608_good_parity ( const int *  parity_table,
uint16_t  data 
) [static]
static void cc608_build_parity_table ( int *  parity_table  )  [static]

Definition at line 1436 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::AvFormatDecoder().

static QSize get_video_dim ( const AVCodecContext &  ctx  )  [static]
static float get_aspect ( const AVCodecContext &  ctx  )  [static]
int get_avf_buffer ( struct AVCodecContext *  c,
AVFrame *  pic 
)

Definition at line 2356 of file avformatdecoder.cpp.

void release_avf_buffer ( struct AVCodecContext *  c,
AVFrame *  pic 
)

Definition at line 2409 of file avformatdecoder.cpp.

int get_avf_buffer_vdpau ( struct AVCodecContext *  c,
AVFrame *  pic 
)

Definition at line 2429 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

void release_avf_buffer_vdpau ( struct AVCodecContext *  c,
AVFrame *  pic 
)

Definition at line 2457 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

void render_slice_vdpau ( struct AVCodecContext *  s,
const AVFrame *  src,
int  offset[4],
int  y,
int  type,
int  height 
)

Definition at line 2474 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

int get_avf_buffer_dxva2 ( struct AVCodecContext *  c,
AVFrame *  pic 
)

Definition at line 2499 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

int get_avf_buffer_vaapi ( struct AVCodecContext *  c,
AVFrame *  pic 
)

Definition at line 2527 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

static AVCodec* find_vdpau_decoder ( AVCodec *  c,
enum CodecID  id 
) [static]
static void myth_av_log ( void *  ptr,
int  level,
const char *  fmt,
va_list  vl 
) [static]

Definition at line 152 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::AvFormatDecoder().

static int get_canonical_lang ( const char *  lang_cstr  )  [static]
static int64_t lsb3full ( int64_t  lsb,
int64_t  base_ts,
int  lsb_bits 
) [static]
void HandleStreamChange ( void *  data  ) 

Definition at line 832 of file avformatdecoder.cpp.

void HandleDVDStreamChange ( void *  data  ) 

Definition at line 848 of file avformatdecoder.cpp.

void HandleBDStreamChange ( void *  data  ) 

Definition at line 864 of file avformatdecoder.cpp.

static bool IS_VDPAU_PIX_FMT ( enum PixelFormat  fmt  )  [static]

Definition at line 1175 of file avformatdecoder.cpp.

Referenced by get_format_vdpau().

static enum PixelFormat get_format_vdpau ( struct AVCodecContext *  avctx,
const enum PixelFormat *  fmt 
) [static]

Definition at line 1186 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

enum PixelFormat get_format_dxva2 ( struct AVCodecContext *  avctx,
const enum PixelFormat *  fmt 
) [static]

Definition at line 1202 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

static bool IS_VAAPI_PIX_FMT ( enum PixelFormat  fmt  )  [static]

Definition at line 1214 of file avformatdecoder.cpp.

Referenced by get_format_vaapi().

enum PixelFormat get_format_vaapi ( struct AVCodecContext *  avctx,
const enum PixelFormat *  fmt 
) [static]

Definition at line 1225 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::InitVideoCodec().

static bool IS_DR1_PIX_FMT ( const enum PixelFormat  fmt  )  [static]

Definition at line 1237 of file avformatdecoder.cpp.

Referenced by get_avf_buffer().

static vector<int> filter_lang ( const sinfo_vec_t tracks,
int  lang_key 
) [static]

Definition at line 3715 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::AutoSelectAudioTrack().

static sinfo_vec_t filter_type ( const sinfo_vec_t tracks,
AudioTrackType  type 
) [static]

Definition at line 3726 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::AutoSelectAudioTrack().

static void extract_mono_channel ( uint  channel,
AudioInfo audioInfo,
char *  buffer,
int  bufsize 
) [static]

Definition at line 4025 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::ProcessAudioPacket().


Variable Documentation

const float eps = 1E-5 [static]

Definition at line 94 of file avformatdecoder.cpp.

const int max_video_queue_size = 220 [static]

Definition at line 96 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::GetFrame().

bool silence_ffmpeg_logging = false [static]

Definition at line 102 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::FindStreamInfo(), and myth_av_log().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:47 2012 for MythTV by  doxygen 1.6.3