shorten.c File Reference


Detailed Description

Shorten decoder.

Author:
Jeff Muizelaar

Definition in file shorten.c.

Go to the source code of this file.

Classes

struct  ShortenContext

Functions

static int shorten_decode_init (AVCodecContext *avctx)
static int allocate_buffers (ShortenContext *s)
static unsigned int get_uint (ShortenContext *s, int k)
static void fix_bitshift (ShortenContext *s, int32_t *buffer)
static void init_offset (ShortenContext *s)
static int get_le32 (GetBitContext *gb)
static short get_le16 (GetBitContext *gb)
static int decode_wave_header (AVCodecContext *avctx, uint8_t *header, int header_size)
static int16_tinterleave_buffer (int16_t *samples, int nchan, int blocksize, int32_t **buffer)
static void decode_subframe_lpc (ShortenContext *s, int channel, int residual_size, int pred_order)
static int shorten_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int shorten_decode_close (AVCodecContext *avctx)
static void shorten_flush (AVCodecContext *avctx)

Variables

AVCodec shorten_decoder


Function Documentation

static int shorten_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 103 of file shorten.c.

static int allocate_buffers ( ShortenContext s  )  [static]

Definition at line 111 of file shorten.c.

static unsigned int get_uint ( ShortenContext s,
int  k 
) [inline, static]

Definition at line 135 of file shorten.c.

Referenced by shorten_decode_frame().

static void fix_bitshift ( ShortenContext s,
int32_t buffer 
) [static]

Definition at line 143 of file shorten.c.

Referenced by shorten_decode_frame().

static void init_offset ( ShortenContext s  )  [static]

Definition at line 153 of file shorten.c.

Referenced by shorten_decode_frame().

static int get_le32 ( GetBitContext gb  )  [inline, static]

Definition at line 175 of file shorten.c.

Referenced by aiff_read_header(), apc_read_header(), ape_parse_tag(), ape_read_header(), ape_tag_read_field(), asf_build_simple_index(), asf_get_packet(), asf_read_frame_header(), asf_read_header(), au_read_header(), avi_load_index(), avi_read_header(), avi_read_idx1(), avs_read_header(), cin_read_file_header(), cin_read_frame_header(), decode_wave_header(), dxa_read_header(), ea_read_packet(), ff_rm_read_mdpr_codecdata(), ffm_read_header(), find_tag(), fourxm_read_packet(), get_aiff_header(), get_codec_data(), get_fourcc(), get_le64(), get_riff(), get_swf_tag(), get_tag(), get_value(), get_wav_header(), gxf_header(), gxf_read_index(), idcin_read_header(), idcin_read_packet(), ingenient_read_packet(), mm_read_header(), mmf_read_header(), mov_read_cmov(), mov_read_default(), mov_read_ftyp(), mov_read_hdlr(), mov_read_stsd(), mov_read_udta(), mov_read_wide(), mpc8_read_header(), mpc_read_header(), mpc_read_packet(), mtv_read_header(), nsv_parse_NSVf_header(), nsv_parse_NSVs_header(), nsv_read_chunk(), nuv_header(), ogg_read_page(), process_audio_header_eacs(), process_audio_header_sead(), process_ea_header(), process_video_header_vp6(), read_braindead_odml_indx(), read_packet(), rm_read_header(), siff_parse_soun(), siff_parse_vbv1(), siff_read_header(), siff_read_packet(), smacker_read_header(), smacker_read_packet(), sol_read_header(), swf_read_header(), tta_read_header(), txd_read_packet(), vmd_read_header(), voc_get_packet(), wav_read_header(), and wv_read_block_header().

static short get_le16 ( GetBitContext gb  )  [inline, static]

static int decode_wave_header ( AVCodecContext avctx,
uint8_t *  header,
int  header_size 
) [static]

Definition at line 185 of file shorten.c.

Referenced by shorten_decode_frame().

static int16_t* interleave_buffer ( int16_t samples,
int  nchan,
int  blocksize,
int32_t **  buffer 
) [static]

Definition at line 244 of file shorten.c.

Referenced by shorten_decode_frame().

static void decode_subframe_lpc ( ShortenContext s,
int  channel,
int  residual_size,
int  pred_order 
) [static]

Definition at line 252 of file shorten.c.

static int shorten_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 269 of file shorten.c.

static int shorten_decode_close ( AVCodecContext avctx  )  [static]

Definition at line 504 of file shorten.c.

static void shorten_flush ( AVCodecContext avctx  )  [static]

Definition at line 518 of file shorten.c.


Variable Documentation

Initial value:

Definition at line 525 of file shorten.c.


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5