Searched refs:residual (Results 1 - 25 of 66) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/include/private/
H A Dlpc.h130 * Compute the residual signal obtained from sutracting the predicted
138 * OUT residual[0,data_len-1] residual signal
140 void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
141 void FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
145 void FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
146 void FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32_mmx(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
156 * Restore the original signal by summing the residual and the
159 * IN residual[0,data_len-1] residual signa
[all...]
H A Dfixed.h46 * of the residual signal for each order. The _wide() version uses
72 * Compute the residual signal obtained from sutracting the predicted
78 * OUT residual[0,data_len-1] residual signal
80 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]);
85 * Restore the original signal by summing the residual and the
88 * IN residual[0,data_len-1] residual signal
95 void FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FLAC__int32 data[]);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/
H A Dfixed.c58 /* rbps stands for residual bits per sample
256 /* Estimate the expected number of bits per residual signal sample. */
257 /* 'total_error*' is linearly related to the variance of the residual */
318 /* Estimate the expected number of bits per residual signal sample. */
319 /* 'total_error*' is linearly related to the variance of the residual */
352 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]) argument
359 FLAC__ASSERT(sizeof(residual[0]) == sizeof(data[0]));
360 memcpy(residual, data, sizeof(residual[0])*data_len);
364 residual[
395 FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FLAC__int32 data[]) argument
[all...]
H A Dlpc.c265 void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]) argument
296 *(residual++) = *(data++) - (sum >> lp_quantization);
304 residual[i] = data[i] - (sum >> lp_quantization);
339 residual[i] = data[i] - (sum >> lp_quantization);
356 residual[i] = data[i] - (sum >> lp_quantization);
374 residual[i] = data[i] - (sum >> lp_quantization);
389 residual[i] = data[i] - (sum >> lp_quantization);
407 residual[i] = data[i] - (sum >> lp_quantization);
420 residual[i] = data[i] - (sum >> lp_quantization);
434 residual[
531 FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]) argument
795 FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) argument
1061 FLAC__lpc_restore_signal_wide(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) argument
[all...]
H A Dstream_encoder_framing.c48 static FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended);
400 subframe->residual,
446 subframe->residual,
497 FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended) argument
508 if(!FLAC__bitwriter_write_rice_signed_block(bw, residual, residual_samples, rice_parameters[0]))
518 if(!FLAC__bitwriter_write_raw_int32(bw, residual[i], raw_bits[0]))
536 if(!FLAC__bitwriter_write_rice_signed_block(bw, residual+k_last, k-k_last, rice_parameters[i]))
545 if(!FLAC__bitwriter_write_raw_int32(bw, residual[j], raw_bits[i]))
H A Dstream_encoder.c90 * (and fast) estimation (of how many bits a residual value will be
171 FLAC__int32 *residual[2],
195 FLAC__int32 residual[],
215 FLAC__int32 residual[],
244 const FLAC__int32 residual[],
260 const FLAC__int32 residual[],
270 const FLAC__int32 residual[],
280 const FLAC__int32 residual[],
333 unsigned input_capacity; /* current size (in samples) of the signal and residual buffers */
344 FLAC__int32 *residual_workspace[FLAC__MAX_CHANNELS][2]; /* each channel has a candidate and best workspace where the subframe residual signal
3173 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
3502 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
3564 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
3675 find_best_partition_order_( FLAC__StreamEncoderPrivate *private_, const FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned raw_bits_per_partition[], unsigned residual_samples, unsigned predictor_order, unsigned rice_parameter, unsigned rice_parameter_limit, unsigned min_partition_order, unsigned max_partition_order, unsigned bps, FLAC__bool do_escape_coding, unsigned rice_parameter_search_dist, FLAC__EntropyCodingMethod *best_ecm ) argument
3783 precompute_partition_info_sums_( const FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned residual_samples, unsigned predictor_order, unsigned min_partition_order, unsigned max_partition_order, unsigned bps ) argument
3853 precompute_partition_info_escapes_( const FLAC__int32 residual[], unsigned raw_bits_per_partition[], unsigned residual_samples, unsigned predictor_order, unsigned min_partition_order, unsigned max_partition_order ) argument
3952 set_partitioned_rice_( const FLAC__int32 residual[], const FLAC__uint64 abs_residual_partition_sums[], const unsigned raw_bits_per_partition[], const unsigned residual_samples, const unsigned predictor_order, const unsigned suggested_rice_parameter, const unsigned rice_parameter_limit, const unsigned rice_parameter_search_dist, const unsigned partition_order, const FLAC__bool search_for_escapes, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, unsigned *bits ) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dg729postfilter.h74 * Amount of past residual signal data stored in buffer
86 * \param residual [in/out] (Q0) residual signal buffer (used in long-term postfilter)
99 int16_t* residual, int16_t* res_filter_data,
H A Dg729postfilter.c104 * \param residual filtering input data
111 const int16_t* residual, int16_t *residual_filt,
147 tmp |= FFABS(residual[i]);
156 sig_scaled[i] = residual[i] >> shift;
159 sig_scaled[i] = residual[i] << -shift;
300 memcpy(residual_filt, residual + RES_PREV_DATA_SIZE, subframe_size * sizeof(int16_t));
376 selected_signal_const = residual + RES_PREV_DATA_SIZE - (best_delay_int + 1 - delayed_signal_offset);
400 ff_acelp_weighted_vector_sum(residual_filt, residual + RES_PREV_DATA_SIZE,
469 * \param res_pst [in/out] residual signal (partially filtered)
516 int16_t* residual, int16_
110 long_term_filter(AudioDSPContext *adsp, int pitch_delay_int, const int16_t* residual, int16_t *residual_filt, int subframe_size) argument
514 ff_g729_postfilter(AudioDSPContext *adsp, int16_t* ht_prev_data, int* voicing, const int16_t *lp_filter_coeffs, int pitch_delay_int, int16_t* residual, int16_t* res_filter_data, int16_t* pos_filter_data, int16_t *speech, int subframe_size) argument
[all...]
H A Dmlpdsp.c39 int32_t residual = *sample_buffer; local
50 result = (accum + residual) & mask;
H A Dalacenc.c186 /* calculate sum of 2nd order residual for each channel */
272 int32_t *residual = s->predictor_buf; local
275 residual[0] = samples[0];
277 residual[i] = sign_extend(samples[i] - samples[i-1], s->write_sample_size);
290 residual[i] = sign_extend(samples[lpc.lpc_order+1] - sum,
292 res_val = residual[i];
H A Dg723_1.c524 static void get_residual(int16_t *residual, int16_t *prev_excitation, int lag) argument
529 residual[0] = prev_excitation[offset];
530 residual[1] = prev_excitation[offset + 1];
534 residual[i] = prev_excitation[offset + (i - 2) % lag];
550 int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1]; local
557 get_residual(residual, prev_excitation, lag);
568 sum = ff_dot_product(residual + i, cb_ptr, PITCH_ORDER);
614 * @param res_eng residual energy
619 int pf_residual; /* square of postfiltered residual */
675 * 2 - forward residual energ
1919 acb_search(G723_1_Context *p, int16_t *residual, int16_t *impulse_resp, const int16_t *buf, int index) argument
2039 sub_acb_contrib(const int16_t *residual, const int16_t *impulse_resp, int16_t *buf) argument
2405 int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1]; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dmlpdsp.c37 int32_t residual = *sample_buffer; local
48 result = (accum + residual) & mask;
H A Dalacenc.c167 /* calculate sum of 2nd order residual for each channel */
257 int32_t *residual = s->predictor_buf; local
260 residual[0] = samples[0];
262 residual[i] = samples[i] - samples[i-1];
275 residual[i] = sign_extend(samples[lpc.lpc_order+1] - sum,
277 res_val = residual[i];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/flac/
H A Danalyze.c32 FLAC__int32 residual; member in struct:__anon3767
50 static void update_stats(subframe_stats_t *stats, FLAC__int32 residual, unsigned incr);
98 fprintf(fout, "\t\tresidual[%u]=%d\n", i, subframe->data.fixed.residual[i]);
118 fprintf(fout, "\t\tresidual[%u]=%d\n", i, subframe->data.lpc.residual[i]);
127 /* now do the residual distributions if requested */
139 update_stats(&stats, subframe->data.fixed.residual[i], 1);
144 update_stats(&stats, subframe->data.lpc.residual[i], 1);
152 update_stats(&all_, stats.buckets[i].residual, stats.buckets[i].count);
181 void update_stats(subframe_stats_t *stats, FLAC__int32 residual, unsigned incr) argument
184 const double r = (double)residual,
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dvirtio_blk.h92 __u32 residual; member in struct:virtio_scsi_inhdr
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/iucv/
H A Diucv.h335 * @residual:
346 u8 flags, void *buffer, size_t size, size_t *residual);
355 * @residual:
367 size_t *residual);
461 void *answer, size_t asize, size_t *residual);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/block/
H A Ddasd_eer.c74 * keep track of the rest of the record. residual stores the number of bytes
76 * two reads then residual will be set to -1 so that the next read will fail.
93 int residual; member in struct:eerbuffer
195 if (eerb->residual > 0) {
196 eerb->tail += eerb->residual;
199 eerb->residual = -1;
600 if (eerb->residual < 0) { /* the remainder of this record */
602 eerb->residual = 0;
606 } else if (eerb->residual > 0) {
608 effective_count = min(eerb->residual, (in
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/
H A Dhvc_iucv.c1047 const char *nextdelim, *residual; local
1053 residual = nextdelim + 1;
1056 residual = filter + len;
1073 return residual;
1088 const char *residual; local
1102 residual = val;
1103 while ((residual = strchr(residual, ',')) != NULL) {
1104 residual++;
1117 residual
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/jazz/
H A Djazzdma.c531 int residual; local
533 residual = r4030_read_reg32(JAZZ_R4030_CHNL_COUNT + (channel << 5));
536 printk("vdma_get_residual: channel %d: residual=%d\n",
537 channel, residual);
539 return residual;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/storage/
H A Dtransport.h137 void *buf, unsigned int length, int use_sg, int *residual);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/ppc/as/
H A Dlpc_asm.s38 ; r3: residual[]
52 ; has only one load from memory (the residual)
225 lvsl v18,r10,r3 ; v18: residual shift back vector
274 lvewx v21,0,r3 ; v21[n]: *residual
275 vperm v21,v21,v21,v18 ; v21[3]: *residual
276 vaddsws v20,v21,v20 ; v20[3]: *residual + (sum >> lp_quantization)
297 ; r3: residual[]
390 lvsl v6,r10,r3 ; v6: residual shift back vector
409 lvewx v9,0,r3 ; v9[n]: *residual
410 vperm v9,v9,v9,v6 ; v9[3]: *residual
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/ppc/gas/
H A Dlpc_asm.s40 # r3: residual[]
54 # has only one load from memory (the residual)
227 lvsl v18,r10,r3 # v18: residual shift back vector
276 lvewx v21,0,r3 # v21[n]: *residual
277 vperm v21,v21,v21,v18 # v21[3]: *residual
278 vaddsws v20,v21,v20 # v20[3]: *residual + (sum >> lp_quantization)
299 # r3: residual[]
392 lvsl v6,r10,r3 # v6: residual shift back vector
411 lvewx v9,0,r3 # v9[n]: *residual
412 vperm v9,v9,v9,v6 # v9[3]: *residual
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dst.h15 int residual; member in struct:st_cmdstatus
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla4xxx/
H A Dql4_isr.c117 uint32_t residual; local
148 residual = le32_to_cpu(sts_entry->residualByteCnt);
161 scsi_set_resid(cmd, residual);
162 if (!scsi_status && ((scsi_bufflen(cmd) - residual) <
170 "residual = 0x%x\n", ha->host_no,
174 scsi_bufflen(cmd), residual));
239 scsi_set_resid(cmd, residual);
263 } else if ((scsi_bufflen(cmd) - residual) <
272 * underflow by detecting the residual count --
280 "residual
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/include/FLAC/
H A Dformat.h211 /** Contents of a Rice partitioned residual
230 /** Header for a Rice partitioned residual. (c.f. <A HREF="../format.html#partitioned_rice">format specification</A>)
252 /** Header for the entropy coding method. (c.f. <A HREF="../format.html#residual">format specification</A>)
299 /**< The residual coding method. */
307 const FLAC__int32 *residual; member in struct:__anon3721
308 /**< The residual signal, length == (blocksize minus order) samples. */
316 /**< The residual coding method. */
333 const FLAC__int32 *residual; member in struct:__anon3722
334 /**< The residual signal, length == (blocksize minus order) samples. */

Completed in 179 milliseconds

123