Lines Matching refs:subframe
2025 * first figure the correct bits-per-sample of the subframe
2527 FLAC__Subframe_Constant *subframe = &decoder->private_->frame.subframes[channel].data.constant;
2537 subframe->value = x;
2539 /* decode the subframe */
2550 FLAC__Subframe_Fixed *subframe = &decoder->private_->frame.subframes[channel].data.fixed;
2557 subframe->residual = decoder->private_->residual[channel];
2558 subframe->order = order;
2564 subframe->warmup[u] = i32;
2570 subframe->entropy_coding_method.type = (FLAC__EntropyCodingMethodType)u32;
2571 switch(subframe->entropy_coding_method.type) {
2576 subframe->entropy_coding_method.data.partitioned_rice.order = u32;
2577 subframe->entropy_coding_method.data.partitioned_rice.contents = &decoder->private_->partitioned_rice_contents[channel];
2586 switch(subframe->entropy_coding_method.type) {
2589 if(!read_residual_partitioned_rice_(decoder, order, subframe->entropy_coding_method.data.partitioned_rice.order, &decoder->private_->partitioned_rice_contents[channel], decoder->private_->residual[channel], /*is_extended=*/subframe->entropy_coding_method.type == FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2))
2596 /* decode the subframe */
2598 memcpy(decoder->private_->output[channel], subframe->warmup, sizeof(FLAC__int32) * order);
2607 FLAC__Subframe_LPC *subframe = &decoder->private_->frame.subframes[channel].data.lpc;
2614 subframe->residual = decoder->private_->residual[channel];
2615 subframe->order = order;
2621 subframe->warmup[u] = i32;
2632 subframe->qlp_coeff_precision = u32+1;
2637 subframe->quantization_level = i32;
2641 if(!FLAC__bitreader_read_raw_int32(decoder->private_->input, &i32, subframe->qlp_coeff_precision))
2643 subframe->qlp_coeff[u] = i32;
2649 subframe->entropy_coding_method.type = (FLAC__EntropyCodingMethodType)u32;
2650 switch(subframe->entropy_coding_method.type) {
2655 subframe->entropy_coding_method.data.partitioned_rice.order = u32;
2656 subframe->entropy_coding_method.data.partitioned_rice.contents = &decoder->private_->partitioned_rice_contents[channel];
2665 switch(subframe->entropy_coding_method.type) {
2668 if(!read_residual_partitioned_rice_(decoder, order, subframe->entropy_coding_method.data.partitioned_rice.order, &decoder->private_->partitioned_rice_contents[channel], decoder->private_->residual[channel], /*is_extended=*/subframe->entropy_coding_method.type == FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2))
2675 /* decode the subframe */
2677 memcpy(decoder->private_->output[channel], subframe->warmup, sizeof(FLAC__int32) * order);
2679 if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1) << 32) )
2681 if(bps + subframe->qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32)
2682 if(bps <= 16 && subframe->qlp_coeff_precision <= 16) {
2684 decoder->private_->local_lpc_restore_signal_16bit_order8(decoder->private_->residual[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe->quantization_level, decoder->private_->output[channel]+order);
2686 decoder->private_->local_lpc_restore_signal_16bit(decoder->private_->residual[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe->quantization_level, decoder->private_->output[channel]+order);
2689 decoder->private_->local_lpc_restore_signal(decoder->private_->residual[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe->quantization_level, decoder->private_->output[channel]+order);
2691 decoder->private_->local_lpc_restore_signal_64bit(decoder->private_->residual[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe->quantization_level, decoder->private_->output[channel]+order);
2699 FLAC__Subframe_Verbatim *subframe = &decoder->private_->frame.subframes[channel].data.verbatim;
2705 subframe->data = residual;
2713 /* decode the subframe */
2715 memcpy(decoder->private_->output[channel], subframe->data, sizeof(FLAC__int32) * decoder->private_->frame.header.blocksize);