common.h File Reference


Detailed Description

common internal and external api header.

Definition in file common.h.

Go to the source code of this file.

Functions

static int av_log2 (unsigned int v)
static int av_log2_16bit (unsigned int v)
static int mid_pred (int a, int b, int c)
static int av_clip (int a, int amin, int amax)
 clip a signed integer value into the amin-amax range
static uint8_t av_clip_uint8 (int a)
 clip a signed integer value into the 0-255 range
static int16_t av_clip_int16 (int a)
 clip a signed integer value into the -32768,32767 range
int64_t ff_gcd (int64_t a, int64_t b)
static int ff_get_fourcc (const char *s)
 converts fourcc string to int
static uint64_t read_time (void)

Variables

const uint8_t ff_log2_tab [256]


Function Documentation

static int av_log2 ( unsigned int  v  )  [inline, static]

static int av_log2_16bit ( unsigned int  v  )  [inline, static]

static int mid_pred ( int  a,
int  b,
int  c 
) [inline, static]

static int av_clip ( int  a,
int  amin,
int  amax 
) [inline, static]

clip a signed integer value into the amin-amax range

Parameters:
a value to clip
amin minimum value of the clip range
amax maximum value of the clip range
Returns:
clipped value

Definition at line 181 of file common.h.

Referenced by adpcm_compress_trellis(), adpcm_ct_expand_nibble(), adpcm_decode_frame(), adpcm_encode_frame(), adpcm_ima_compress_sample(), adpcm_ms_compress_sample(), adpcm_sbpro_expand_nibble(), adpcm_yamaha_compress_sample(), adpcm_yamaha_expand_nibble(), av_build_filter(), bit_allocation(), build_qp_table(), categorize(), chroma_4mv_motion(), decode_exponents(), decode_slice(), decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), direct_search(), draw_arrow(), draw_line(), encode_block(), encode_frame(), encode_mb_internal(), eval_expr(), ff_ac3_bit_alloc_calc_bap(), ff_er_add_slice(), ff_gmc_c(), ff_init_qscale_tab(), ff_mspel_motion(), ff_vbv_update(), filter_mb_mbaff_edgecv(), filter_mb_mbaff_edgev(), flac_encode_init(), g726_iterate(), get_dc(), get_qminmax(), get_sample_bits(), get_scale_factor(), gmc1_motion(), gmc_c(), h263_encode_picture_header(), h263_h_loop_filter_c(), h263_v_loop_filter_c(), h264_loop_filter_chroma_c(), h264_loop_filter_luma_c(), hpel_motion(), hScale_altivec_real(), implicit_weight_table(), init_dequantizer(), init_pass2(), loop_filter_c1(), loop_filter_l1(), ls_decode_line(), ls_encode_line(), MPV_motion(), quantize(), quantize_lpc_coefs(), ratecontrol_1pass(), sum_bits(), svq3_mc_dir(), svq3_mc_dir_part(), truespeech_synth(), update_qscale(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_luma(), vc1_pred_b_mv(), vp5_parse_coeff_models(), vp6_parse_coeff_models(), and yuv2packed2().

static uint8_t av_clip_uint8 ( int  a  )  [inline, static]

static int16_t av_clip_int16 ( int  a  )  [inline, static]

int64_t ff_gcd ( int64_t  a,
int64_t  b 
)

static int ff_get_fourcc ( const char *  s  )  [inline, static]

static uint64_t read_time ( void   )  [inline, static]

Definition at line 294 of file common.h.


Variable Documentation

const uint8_t ff_log2_tab[256]

Definition at line 163 of file integer.c.

Referenced by av_log2(), av_log2_16bit(), decode_frame(), and seq_decode_op1().


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