Home
last modified time | relevance | path

Searched refs:max_bits (Results 1 – 9 of 9) sorted by relevance

/plan9/sys/src/games/mp3enc/
H A Dquantize.c217 const int max_bits, in inner_loop() argument
223 assert(max_bits >= 0); in inner_loop()
231 while (bits > max_bits) { in inner_loop()
962 int max_bits ) in VBR_encode_granule() argument
969 int Max_bits = max_bits; in VBR_encode_granule()
970 int real_bits = max_bits+1; in VBR_encode_granule()
971 int this_bits = min_bits+(max_bits-min_bits)/2; in VBR_encode_granule()
984 assert(this_bits <= max_bits); in VBR_encode_granule()
1007 max_bits = real_bits-32; in VBR_encode_granule()
1008 dbits = max_bits-min_bits; in VBR_encode_granule()
[all …]
H A Dquantize_pvt.h70 int max_bits);
77 int inner_loop (lame_internal_flags * gfc, gr_info * cod_info, int max_bits,
H A Dreservoir.h26 void ResvMaxBits(lame_global_flags *gfp, int mean_bits, int *targ_bits, int *max_bits);
H A Dquantize_pvt.c319 int max_bits; /* maximum allowed bits for this granule */ in on_pe() local
323 max_bits=tbits+extra_bits; in on_pe()
363 return max_bits; in on_pe()
369 void reduce_side(int targ_bits[2],FLOAT8 ms_ener_ratio,int mean_bits,int max_bits) in reduce_side() argument
408 if (move_bits > max_bits) { in reduce_side()
409 targ_bits[0]=(max_bits*targ_bits[0])/move_bits; in reduce_side()
410 targ_bits[1]=(max_bits*targ_bits[1])/move_bits; in reduce_side()
/plan9/sys/src/cmd/gs/src/
H A Dgscoord.c418 int max_bits) in gx_matrix_to_fixed_coeff() argument
452 if (max_bits < fixed_fraction_bits) in gx_matrix_to_fixed_coeff()
453 max_bits = fixed_fraction_bits; in gx_matrix_to_fixed_coeff()
454 scale = sizeof(long) * 8 - 1 - max_bits - scale; in gx_matrix_to_fixed_coeff()
482 pfc->max_bits = max_bits; in gx_matrix_to_fixed_coeff()
H A Dgxpcache.h45 ulong max_bits; member
H A Dgxmatrix.h70 int max_bits; /* max bits of coefficient */ member
H A Dgxpcmap.c380 gx_pattern_alloc_cache(gs_memory_t * mem, uint num_tiles, ulong max_bits) in gx_pattern_alloc_cache() argument
402 pcache->max_bits = max_bits; in gx_pattern_alloc_cache()
530 while (pcache->bits_used + used > pcache->max_bits && in gx_pattern_cache_add_entry()
H A Dgxht.c145 gx_ht_alloc_cache(gs_memory_t * mem, uint max_tiles, uint max_bits) in gx_ht_alloc_cache() argument
151 gs_alloc_bytes(mem, max_bits, "alloc_ht_cache(bits)"); in gx_ht_alloc_cache()
163 pcache->bits_size = max_bits; in gx_ht_alloc_cache()