Searched refs:FRAC_BITS (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dmpegaudio.h57 #define FRAC_BITS 23 /* fractional bits for sb_samples and dct */ macro
60 #define FRAC_BITS 15 /* fractional bits for sb_samples and dct */ macro
64 #define FRAC_ONE (1 << FRAC_BITS)
72 #define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 31)
78 #define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15)
82 #if FRAC_BITS <= 15
H A Dlsp.c26 #define FRAC_BITS 14 macro
75 f[j] -= MULL(f[j-1], lsp[2*i-2], FRAC_BITS) - f[j-2];
H A Dmpegaudiodec.c44 #define FRAC_RND(a) (((a) + (FRAC_ONE/2)) >> FRAC_BITS)
218 /* compute value^(4/3) * 2^(exponent/4). It normalized to FRAC_BITS */
298 #if POW_FRAC_BITS > FRAC_BITS
299 a = (a + (1 << (POW_FRAC_BITS - FRAC_BITS - 1))) >> (POW_FRAC_BITS - FRAC_BITS);
301 if (a >= 2 * (1 << FRAC_BITS)) {
333 /* 1.0 (i = 3) is normalized to 2 ^ FRAC_BITS */
344 scale_factor_mult[i][0] = MULL(FIXR(1.0 * 2.0), norm, FRAC_BITS);
345 scale_factor_mult[i][1] = MULL(FIXR(0.7937005259 * 2.0), norm, FRAC_BITS);
346 scale_factor_mult[i][2] = MULL(FIXR(0.6299605249 * 2.0), norm, FRAC_BITS);
[all...]
H A Dsnow.h34 #define FRAC_BITS 4 macro
H A Dsnow.c585 #define QEXPSHIFT (7-FRAC_BITS+8) //FIXME try to change this to 0
2404 if(FRAC_BITS != 8){
2405 v >>= 8 - FRAC_BITS;
2409 v = (v + (1<<(FRAC_BITS-1))) >> FRAC_BITS;
2560 if(FRAC_BITS != 8){
2561 v >>= 8 - FRAC_BITS;
2565 v = (v + (1<<(FRAC_BITS-1))) >> FRAC_BITS;
2600 // int v= buf[x + y*w] + (128<<FRAC_BITS)
2602 v >>= FRAC_BITS; local
2655 v >>= FRAC_BITS; local
4616 line[x] <<= FRAC_BITS; local
[all...]
H A Dmpegaudioenc.c36 #define MUL(a,b) (((int64_t)(a) * (int64_t)(b)) >> FRAC_BITS)
313 #define WSHIFT (WFRAC_BITS + 15 - FRAC_BITS)
H A Dqdm2.c355 static const float f2i_scale = (float) (1 << (FRAC_BITS - 15));
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/tests/
H A Daudiogen.c45 #define FRAC_BITS 16 macro
46 #define FRAC_ONE (1 << FRAC_BITS)
71 #define CSHIFT (FRAC_BITS - COS_TABLE_BITS - 2)
91 v = v << (FRAC_BITS - 15);
125 v = (int_cos(a) * 10000) >> FRAC_BITS;
134 v = (int_cos(a) * 10000) >> FRAC_BITS;
163 v = (int_cos(taba[j]) * 10000) >> FRAC_BITS;
175 amp = ((FRAC_ONE + int_cos(ampa)) * 5000) >> FRAC_BITS;
178 v = (int_cos(a) * amp) >> FRAC_BITS;
H A Dvideogen.c170 #define FRAC_BITS 8 macro
171 #define FRAC_ONE (1 << FRAC_BITS)
224 x1 = (x << FRAC_BITS) + dx;
225 y1 = (y << FRAC_BITS) + dx;
226 r = ((y1 * 7) >> FRAC_BITS) & 0xff;
227 g = (((x1 + y1) * 9) >> FRAC_BITS) & 0xff;
228 b = ((x1 * 5) >> FRAC_BITS) & 0xff;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dswfenc.c135 #define FRAC_BITS 16 macro
269 put_swf_matrix(pb, (int)(1.0 * (1 << FRAC_BITS)), 0,
270 0, (int)(1.0 * (1 << FRAC_BITS)), 0, 0);
360 put_swf_matrix(pb, 1 << FRAC_BITS, 0, 0, 1 << FRAC_BITS, 0, 0);
410 put_swf_matrix(pb, 20 << FRAC_BITS, 0, 0, 20 << FRAC_BITS, 0, 0);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ppc/
H A Dsnow_altivec.c500 vbuf[x] = (vbuf[x] + (1<<(FRAC_BITS-1))) >> FRAC_BITS;\

Completed in 211 milliseconds