Lines Matching refs:subframe
2052 * first figure the correct bits-per-sample of the subframe
2556 FLAC__Subframe_Constant *subframe = &decoder->private_->frame.subframes[channel].data.constant;
2566 subframe->value = x;
2568 /* decode the subframe */
2579 FLAC__Subframe_Fixed *subframe = &decoder->private_->frame.subframes[channel].data.fixed;
2586 subframe->residual = decoder->private_->residual[channel];
2587 subframe->order = order;
2593 subframe->warmup[u] = i32;
2599 subframe->entropy_coding_method.type = (FLAC__EntropyCodingMethodType)u32;
2600 switch(subframe->entropy_coding_method.type) {
2610 subframe->entropy_coding_method.data.partitioned_rice.order = u32;
2611 subframe->entropy_coding_method.data.partitioned_rice.contents = &decoder->private_->partitioned_rice_contents[channel];
2620 switch(subframe->entropy_coding_method.type) {
2623 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))
2630 /* decode the subframe */
2632 memcpy(decoder->private_->output[channel], subframe->warmup, sizeof(FLAC__int32) * order);
2641 FLAC__Subframe_LPC *subframe = &decoder->private_->frame.subframes[channel].data.lpc;
2648 subframe->residual = decoder->private_->residual[channel];
2649 subframe->order = order;
2655 subframe->warmup[u] = i32;
2666 subframe->qlp_coeff_precision = u32+1;
2676 subframe->quantization_level = i32;
2680 if(!FLAC__bitreader_read_raw_int32(decoder->private_->input, &i32, subframe->qlp_coeff_precision))
2682 subframe->qlp_coeff[u] = i32;
2688 subframe->entropy_coding_method.type = (FLAC__EntropyCodingMethodType)u32;
2689 switch(subframe->entropy_coding_method.type) {
2699 subframe->entropy_coding_method.data.partitioned_rice.order = u32;
2700 subframe->entropy_coding_method.data.partitioned_rice.contents = &decoder->private_->partitioned_rice_contents[channel];
2709 switch(subframe->entropy_coding_method.type) {
2712 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))
2719 /* decode the subframe */
2721 memcpy(decoder->private_->output[channel], subframe->warmup, sizeof(FLAC__int32) * order);
2722 if(bps + subframe->qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32)
2723 if(bps <= 16 && subframe->qlp_coeff_precision <= 16)
2724 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);
2726 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);
2728 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);
2736 FLAC__Subframe_Verbatim *subframe = &decoder->private_->frame.subframes[channel].data.verbatim;
2742 subframe->data = residual;
2750 /* decode the subframe */
2752 memcpy(decoder->private_->output[channel], subframe->data, sizeof(FLAC__int32) * decoder->private_->frame.header.blocksize);