Lines Matching refs:shortBlocks

317 static void compute_mdcts(const CELTMode *mode, int shortBlocks, celt_sig * restrict in, celt_sig *…  in compute_mdcts()  argument
320 if (C==1 && !shortBlocks) in compute_mdcts()
334 if (shortBlocks) in compute_mdcts()
361 static void compute_inv_mdcts(const CELTMode *mode, int shortBlocks, celt_sig *X, int transient_tim… in compute_inv_mdcts() argument
371 if (transient_shift==0 && C==1 && !shortBlocks) { in compute_inv_mdcts()
387 if (shortBlocks) in compute_inv_mdcts()
450 static void encode_flags(ec_enc *enc, int intra_ener, int has_pitch, int shortBlocks, int has_fold) in encode_flags() argument
457 flags |= shortBlocks ? FLAG_SHORT : 0; in encode_flags()
473 static void decode_flags(ec_dec *dec, int *intra_ener, int *has_pitch, int *shortBlocks, int *has_f… in decode_flags() argument
489 *shortBlocks = (flaglist[i]&FLAG_SHORT) != 0; in decode_flags()
555 int shortBlocks=0; local
604 shortBlocks = 0;
631 shortBlocks = 1;
639 compute_mdcts(st->mode, shortBlocks, in, freq, C);
647 && (st->pitch_available >= MAX_PERIOD) && (!shortBlocks)
679 if (!shortBlocks && !folding_decision(st->mode, X, &st->tonal_average, &st->fold_decision, C))
684 if (shortBlocks || intra_decision(bandLogE, st->oldBandE, st->mode->nbEBands))
690 if (shortBlocks && !transient_shift)
740 encode_flags(&enc, intra_ener, has_pitch, shortBlocks, has_fold);
746 if (shortBlocks)
791 if (shortBlocks)
850 quant_bands(st->mode, X, bandE, pulses, shortBlocks, has_fold, nbCompressedBytes*8, 1, &enc);
853 … quant_bands_stereo(st->mode, X, bandE, pulses, shortBlocks, has_fold, nbCompressedBytes*8, &enc);
877 … compute_inv_mdcts(st->mode, shortBlocks, freq, transient_time, transient_shift, st->out_mem, C);
1418 int shortBlocks; local
1458 decode_flags(&dec, &intra_ener, &has_pitch, &shortBlocks, &has_fold);
1459 if (shortBlocks)
1512 quant_bands(st->mode, X, bandE, pulses, shortBlocks, has_fold, len*8, 0, &dec);
1515 unquant_bands_stereo(st->mode, X, bandE, pulses, shortBlocks, has_fold, len*8, &dec);
1534 compute_inv_mdcts(st->mode, shortBlocks, freq, transient_time, transient_shift, st->out_mem, C);