/external/flac/libFLAC/ |
D | stream_encoder_framing.c | 362 FLAC__bool FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_b… in FLAC__subframe_add_constant() argument 369 FLAC__bitwriter_write_raw_int32(bw, subframe->value, subframe_bps) in FLAC__subframe_add_constant() 375 FLAC__bool FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples… in FLAC__subframe_add_fixed() argument 379 …if(!FLAC__bitwriter_write_raw_uint32(bw, FLAC__SUBFRAME_TYPE_FIXED_BYTE_ALIGNED_MASK | (subframe->… in FLAC__subframe_add_fixed() 385 for(i = 0; i < subframe->order; i++) in FLAC__subframe_add_fixed() 386 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->warmup[i], subframe_bps)) in FLAC__subframe_add_fixed() 389 if(!add_entropy_coding_method_(bw, &subframe->entropy_coding_method)) in FLAC__subframe_add_fixed() 391 switch(subframe->entropy_coding_method.type) { in FLAC__subframe_add_fixed() 396 subframe->residual, in FLAC__subframe_add_fixed() 398 subframe->order, in FLAC__subframe_add_fixed() [all …]
|
D | stream_encoder.c | 149 FLAC__Subframe *subframe[2], 160 const FLAC__Subframe *subframe, 169 FLAC__Subframe *subframe 187 FLAC__Subframe *subframe, 209 FLAC__Subframe *subframe, 219 FLAC__Subframe *subframe 3372 FLAC__Subframe *subframe[2], in process_subframe_() 3405 …ubframe_(encoder, integer_signal, frame_header->blocksize, subframe_bps, subframe[_best_subframe]); in process_subframe_() 3430 …ame_(encoder, integer_signal[0], frame_header->blocksize, subframe_bps, subframe[!_best_subframe]); in process_subframe_() 3481 subframe[!_best_subframe], in process_subframe_() [all …]
|
D | stream_decoder.c | 2556 FLAC__Subframe_Constant *subframe = &decoder->private_->frame.subframes[channel].data.constant; in read_subframe_constant_() local 2566 subframe->value = x; in read_subframe_constant_() 2579 FLAC__Subframe_Fixed *subframe = &decoder->private_->frame.subframes[channel].data.fixed; in read_subframe_fixed_() local 2586 subframe->residual = decoder->private_->residual[channel]; in read_subframe_fixed_() 2587 subframe->order = order; in read_subframe_fixed_() 2593 subframe->warmup[u] = i32; in read_subframe_fixed_() 2599 subframe->entropy_coding_method.type = (FLAC__EntropyCodingMethodType)u32; in read_subframe_fixed_() 2600 switch(subframe->entropy_coding_method.type) { in read_subframe_fixed_() 2610 subframe->entropy_coding_method.data.partitioned_rice.order = u32; in read_subframe_fixed_() 2611 …subframe->entropy_coding_method.data.partitioned_rice.contents = &decoder->private_->partitioned_r… in read_subframe_fixed_() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | encode.c | 54 size_t subcount, subframe; in WebRtcIlbcfix_EncodeImpl() local 298 for (subframe = 0; subframe < WEBRTC_SPL_MIN (Nfor, 2); subframe++) in WebRtcIlbcfix_EncodeImpl() 304 subframe) * SUBL], SUBL); in WebRtcIlbcfix_EncodeImpl() 335 for (subframe = start_count; subframe < end_count; subframe++){ in WebRtcIlbcfix_EncodeImpl() 341 &residual[(iLBCbits_inst->startIdx+1+subframe)*SUBL], in WebRtcIlbcfix_EncodeImpl() 343 &weightdenum[(iLBCbits_inst->startIdx+1+subframe)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl() 348 WebRtcIlbcfix_CbConstruct(&decresidual[(iLBCbits_inst->startIdx+1+subframe)*SUBL], in WebRtcIlbcfix_EncodeImpl() 359 &decresidual[(iLBCbits_inst->startIdx+1+subframe)*SUBL], SUBL); in WebRtcIlbcfix_EncodeImpl() 405 for (subframe = 0; subframe < WEBRTC_SPL_MAX (2 - Nfor, 0); subframe++) in WebRtcIlbcfix_EncodeImpl() 410 &reverseDecresidual[subframe * SUBL], SUBL); in WebRtcIlbcfix_EncodeImpl() [all …]
|
D | decode_residual.c | 45 size_t subcount, subframe; in WebRtcIlbcfix_DecodeResidual() local 122 for (subframe=0; subframe<Nfor; subframe++) { in WebRtcIlbcfix_DecodeResidual() 126 &decresidual[(iLBC_encbits->startIdx+1+subframe)*SUBL], in WebRtcIlbcfix_DecodeResidual() 135 &decresidual[(iLBC_encbits->startIdx+1+subframe)*SUBL], SUBL); in WebRtcIlbcfix_DecodeResidual() 160 for (subframe=0; subframe<Nback; subframe++) { in WebRtcIlbcfix_DecodeResidual() 164 &reverseDecresidual[subframe*SUBL], in WebRtcIlbcfix_DecodeResidual() 173 &reverseDecresidual[subframe*SUBL], SUBL); in WebRtcIlbcfix_DecodeResidual()
|
/external/flac/libFLAC/include/private/ |
D | stream_encoder_framing.h | 41 FLAC__bool FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_b… 42 FLAC__bool FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples… 43 FLAC__bool FLAC__subframe_add_lpc(const FLAC__Subframe_LPC *subframe, unsigned residual_samples, un… 44 FLAC__bool FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, u…
|
/external/libopus/src/ |
D | opus_private.h | 86 void downmix_float(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C… 87 void downmix_int(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C);
|
D | opus_encoder.c | 661 int subframe; in optimize_framesize() local 665 subframe = Fs/400; in optimize_framesize() 666 ALLOC(sub, subframe, opus_val32); in optimize_framesize() 673 int offset = 2*subframe - buffering; in optimize_framesize() 674 celt_assert(offset>=0 && offset <= subframe); in optimize_framesize() 685 N=IMIN(len/subframe, MAX_DYNAMIC_FRAMESIZE); in optimize_framesize() 695 downmix(x, sub, subframe, i*subframe, 0, -2, C); in optimize_framesize() 698 for (j=0;j<subframe;j++) in optimize_framesize() 731 void downmix_float(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C) in downmix_float() argument 737 for (j=0;j<subframe;j++) in downmix_float() [all …]
|
/external/speex/libspeex/ |
D | lsp.h | 62 …lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int subframe, int nb_subframes…
|
D | lsp.c | 614 …lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int subframe, int nb_subframes) in lsp_interpolate() argument 617 spx_word16_t tmp = DIV32_16(SHL32(EXTEND32(1 + subframe),14),nb_subframes); in lsp_interpolate() 646 …lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int subframe, int nb_subframes) in lsp_interpolate() argument 649 float tmp = (1.0f + subframe)/nb_subframes; in lsp_interpolate()
|