Home
last modified time | relevance | path

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

/plan9/sys/src/games/mp3enc/
H A Dencoder.c271 gfc->l3_side.gr[gr].ch[ch].tt.block_type=SHORT_TYPE; in lame_encode_mp3_frame()
358 gfc->l3_side.gr[gr].ch[ch].tt.block_type=blocktype[ch]; in lame_encode_mp3_frame()
370 gfc->l3_side.gr[gr].ch[ch].tt.block_type=NORM_TYPE; in lame_encode_mp3_frame()
387 if (cod_info->block_type == NORM_TYPE ) in lame_encode_mp3_frame()
401 if (cod_info->block_type==SHORT_TYPE) { in lame_encode_mp3_frame()
413 (gfc->l3_side.gr[gr0].ch[0].tt.block_type==gfc->l3_side.gr[gr0].ch[1].tt.block_type) && in lame_encode_mp3_frame()
414 (gfc->l3_side.gr[gr1].ch[0].tt.block_type==gfc->l3_side.gr[gr1].ch[1].tt.block_type); in lame_encode_mp3_frame()
480 gfc->l3_side.gr[gr].ch[ch].tt.block_type; in lame_encode_mp3_frame()
H A Dtakehiro.c351 if (gi->block_type == SHORT_TYPE) { in count_bits_long()
356 }else if (gi->block_type == NORM_TYPE) { in count_bits_long()
529 if (gi->block_type == SHORT_TYPE && gfc->mode_gr==1) in best_huffman_divide()
534 if (gi->block_type == NORM_TYPE) { in best_huffman_divide()
570 if (cod_info2.block_type == NORM_TYPE) in best_huffman_divide()
734 && l3_side->gr[0].ch[ch].tt.block_type != SHORT_TYPE in best_scalefac_store()
735 && l3_side->gr[1].ch[ch].tt.block_type != SHORT_TYPE) { in best_scalefac_store()
772 if ( cod_info->block_type == SHORT_TYPE ) { in scale_bitcount()
879 if ( cod_info->block_type == SHORT_TYPE ) in scale_bitcount_lsf()
H A Dl3side.h60 int block_type; member
H A Dbitstream.c286 CRC_writeheader(gfc,gi->block_type, 2,&crc); in encodeSideInfo2()
300 assert(gi->block_type == NORM_TYPE); in encodeSideInfo2()
337 CRC_writeheader(gfc,gi->block_type, 2,&crc); in encodeSideInfo2()
633 if (gi->block_type == SHORT_TYPE) { in writeMainData()
688 if (gi->block_type == SHORT_TYPE) { in writeMainData()
H A Dquantize.c86 if (cod_info->block_type == SHORT_TYPE) { in init_outer_loop()
666 if (cod_info->block_type == SHORT_TYPE ) { in balance_noise()
842 if (cod_info->block_type == SHORT_TYPE) { in outer_loop()
1123 if (cod_info->block_type == SHORT_TYPE) in calc_min_bits()
1243 if (cod_info->block_type == SHORT_TYPE) in VBR_prepare()
1453 if (cod_info->block_type == SHORT_TYPE) { in VBR_iteration_loop()
1586 if (cod_info->block_type == SHORT_TYPE) { in calc_target_bits()
H A Dquantize_pvt.c340 if (cod_info->block_type==SHORT_TYPE) { in on_pe()
443 if (cod_info->block_type==SHORT_TYPE) { in calc_xmin()
601 if (cod_info->block_type == SHORT_TYPE) { in calc_noise()
766 if (cod_info->block_type == SHORT_TYPE) { in set_pinfo()
H A Dvbrquantize.c1261 shortblock = (cod_info->block_type == SHORT_TYPE); in VBR_noise_shaping()
1351 shortblock = (cod_info->block_type == SHORT_TYPE); in VBR_noise_shaping2()
1460 if (cod_info->block_type == SHORT_TYPE) { in VBR_quantize()
1580 shortblock = (cod_info->block_type == SHORT_TYPE); in VBR_quantize()
H A Dnewmdct.c735 int type = gi->block_type; in mdct_sub48()
/plan9/sys/src/games/mp3dec/
H A Dlayer3.c66 unsigned char block_type; member
539 channel->block_type = mad_bit_read(ptr, 2); in III_sideinfo()
541 if (channel->block_type == 0 && result == 0) in III_sideinfo()
544 if (!lsf && channel->block_type == 2 && si->scfsi[ch] && result == 0) in III_sideinfo()
552 else if (channel->block_type == 2) in III_sideinfo()
566 channel->block_type = 0; in III_sideinfo()
599 index = (channel->block_type == 2) ? in III_scalefactors_lsf()
714 if (channel->block_type == 2) { in III_scalefactors()
810 if (channel->block_type == 2) { in III_exponents()
1325 if (granule->ch[0].block_type != in III_stereo()
[all …]