Searched refs:subframe (Results 1 - 10 of 10) sorted by relevance

/external/flac/libFLAC/include/private/
H A Dstream_encoder_framing.h41 FLAC__bool FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw);
42 FLAC__bool FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw);
43 FLAC__bool FLAC__subframe_add_lpc(const FLAC__Subframe_LPC *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw);
44 FLAC__bool FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw);
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Ddecode_residual.c45 size_t subcount, subframe; local
122 for (subframe=0; subframe<Nfor; subframe++) {
126 &decresidual[(iLBC_encbits->startIdx+1+subframe)*SUBL],
135 &decresidual[(iLBC_encbits->startIdx+1+subframe)*SUBL], SUBL);
160 for (subframe=0; subframe<Nback; subframe++) {
164 &reverseDecresidual[subframe*SUB
[all...]
H A Dencode.c54 size_t subcount, subframe; local
298 for (subframe = 0; subframe < WEBRTC_SPL_MIN (Nfor, 2); subframe++)
304 subframe) * SUBL], SUBL);
335 for (subframe = start_count; subframe < end_count; subframe++){
337 /* encode subframe */
341 &residual[(iLBCbits_inst->startIdx+1+subframe)*SUB
[all...]
/external/flac/libFLAC/
H A Dstream_encoder_framing.c362 FLAC__bool FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument
369 FLAC__bitwriter_write_raw_int32(bw, subframe->value, subframe_bps)
375 FLAC__bool FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument
379 if(!FLAC__bitwriter_write_raw_uint32(bw, FLAC__SUBFRAME_TYPE_FIXED_BYTE_ALIGNED_MASK | (subframe->order<<1) | (wasted_bits? 1:0), FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN))
385 for(i = 0; i < subframe->order; i++)
386 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->warmup[i], subframe_bps))
389 if(!add_entropy_coding_method_(bw, &subframe->entropy_coding_method))
391 switch(subframe->entropy_coding_method.type) {
396 subframe->residual,
398 subframe
413 FLAC__subframe_add_lpc(const FLAC__Subframe_LPC *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument
459 FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument
[all...]
H A Dstream_encoder.c149 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
324 FLAC__int32 *residual_workspace[FLAC__MAX_CHANNELS][2]; /* each channel has a candidate and best workspace where the subframe residual signals will be stored */
336 unsigned best_subframe_bits[FLAC__MAX_CHANNELS]; /* size in bits of the best subframe for each channel */
3176 * Check for wasted bits; set effective bps for each subframe
3371 FLAC__Subframe *subframe[
3364 process_subframe_( FLAC__StreamEncoder *encoder, unsigned min_partition_order, unsigned max_partition_order, const FLAC__FrameHeader *frame_header, unsigned subframe_bps, const FLAC__int32 integer_signal[], FLAC__Subframe *subframe[2], FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents[2], FLAC__int32 *residual[2], unsigned *best_subframe, unsigned *best_bits ) argument
3599 add_subframe_( FLAC__StreamEncoder *encoder, unsigned blocksize, unsigned subframe_bps, const FLAC__Subframe *subframe, FLAC__BitWriter *frame ) argument
3641 spotcheck_subframe_estimate_( FLAC__StreamEncoder *encoder, unsigned blocksize, unsigned subframe_bps, const FLAC__Subframe *subframe, unsigned estimate ) argument
3693 evaluate_fixed_subframe_( FLAC__StreamEncoder *encoder, const FLAC__int32 signal[], FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned raw_bits_per_partition[], unsigned blocksize, unsigned subframe_bps, unsigned order, unsigned rice_parameter, unsigned rice_parameter_limit, unsigned min_partition_order, unsigned max_partition_order, FLAC__bool do_escape_coding, unsigned rice_parameter_search_dist, FLAC__Subframe *subframe, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents ) argument
3755 evaluate_lpc_subframe_( FLAC__StreamEncoder *encoder, const FLAC__int32 signal[], FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned raw_bits_per_partition[], const FLAC__real lp_coeff[], unsigned blocksize, unsigned subframe_bps, unsigned order, unsigned qlp_coeff_precision, unsigned rice_parameter, unsigned rice_parameter_limit, unsigned min_partition_order, unsigned max_partition_order, FLAC__bool do_escape_coding, unsigned rice_parameter_search_dist, FLAC__Subframe *subframe, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents ) argument
[all...]
H A Dstream_decoder.c2052 * first figure the correct bits-per-sample of the subframe
2556 FLAC__Subframe_Constant *subframe = &decoder->private_->frame.subframes[channel].data.constant; local
2566 subframe->value = x;
2568 /* decode the subframe */
2579 FLAC__Subframe_Fixed *subframe = &decoder->private_->frame.subframes[channel].data.fixed; local
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
2641 FLAC__Subframe_LPC *subframe = &decoder->private_->frame.subframes[channel].data.lpc; local
2736 FLAC__Subframe_Verbatim *subframe = &decoder->private_->frame.subframes[channel].data.verbatim; local
[all...]
/external/speex/libspeex/
H A Dlsp.h62 void lsp_interpolate(spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int subframe, int nb_subframes);
H A Dlsp.c614 void lsp_interpolate(spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int subframe, int nb_subframes) argument
617 spx_word16_t tmp = DIV32_16(SHL32(EXTEND32(1 + subframe),14),nb_subframes);
646 void lsp_interpolate(spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int subframe, int nb_subframes) argument
649 float tmp = (1.0f + subframe)/nb_subframes;
/external/libopus/src/
H A Dopus_private.h88 void downmix_float(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C);
89 void downmix_int(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C);
H A Dopus_encoder.c667 int subframe; local
672 subframe = Fs/400;
673 ALLOC(sub, subframe, opus_val32);
680 offset = 2*subframe - buffering;
681 celt_assert(offset>=0 && offset <= subframe);
692 N=IMIN(len/subframe, MAX_DYNAMIC_FRAMESIZE);
702 downmix(x, sub, subframe, i*subframe+offset, 0, -2, C);
705 for (j=0;j<subframe;j++)
738 void downmix_float(const void *_x, opus_val32 *sub, int subframe, in argument
773 downmix_int(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C) argument
[all...]

Completed in 205 milliseconds