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

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/simple/
H A Dmisc-prep.c9 #include <asm/residual.h>
77 RESIDUAL *residual, void *OFW)
93 if (residual) {
95 if ((1 & residual->VitalProductData.FirmwareSupports) &&
96 (1 == residual->VitalProductData.FirmwareSupplier)) {
137 if (residual->MaxNumCpus > 1)
140 memcpy(hold_residual,residual,sizeof(RESIDUAL));
147 residual->VitalProductData.SmpIar = (unsigned long)0xc0;
148 residual->Cpus[1].CpuState = CPU_GOOD;
156 /* Make r3 be a pointer to the residual dat
76 load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, RESIDUAL *residual, void *OFW) argument
[all...]
H A Dmisc-embedded.c14 #include <asm/residual.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/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...]
H A Dstream_decoder.c125 static FLAC__bool read_residual_partitioned_rice_(FLAC__StreamDecoder *decoder, unsigned predictor_order, unsigned partition_order, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, FLAC__int32 *residual, FLAC__bool is_extended);
163 void (*local_lpc_restore_signal)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]);
165 void (*local_lpc_restore_signal_64bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]);
167 void (*local_lpc_restore_signal_16bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]);
169 void (*local_lpc_restore_signal_16bit_order8)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]);
175 FLAC__int32 *residual[FLAC__MAX_CHANNELS]; /* WATCHOUT: these are the aligned pointers; the real pointers that should be free()'d are residual_unaligned[] below */ member in struct:FLAC__StreamDecoderPrivate
321 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0;
699 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0;
1318 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0;
1340 if(!FLAC__memory_alloc_aligned_int32_array(size, &decoder->private_->residual_unaligned[i], &decoder->private_->residual[
2694 FLAC__int32 x, *residual = decoder->private_->residual[channel]; local
2714 read_residual_partitioned_rice_(FLAC__StreamDecoder *decoder, unsigned predictor_order, unsigned partition_order, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, FLAC__int32 *residual, FLAC__bool is_extended) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/flac/
H A Danalyze.c32 FLAC__int32 residual; member in struct:__anon812
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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/iucv/
H A Diucv.h334 * @residual:
343 u8 flags, void *buffer, size_t size, size_t *residual);
415 void *answer, size_t asize, size_t *residual);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/chrp/
H A Dsmp.c29 #include <asm/residual.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/block/
H A Ddasd_eer.c69 * keep track of the rest of the record. residual stores the number of bytes
71 * two reads then residual will be set to -1 so that the next read will fail.
88 int residual; member in struct:eerbuffer
190 if (eerb->residual > 0) {
191 eerb->tail += eerb->residual;
194 eerb->residual = -1;
587 if (eerb->residual < 0) { /* the remainder of this record */
589 eerb->residual = 0;
593 } else if (eerb->residual > 0) {
595 effective_count = min(eerb->residual, (in
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/
H A DMakefile10 obj-$(CONFIG_PREP_RESIDUAL) += residual.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla4xxx/
H A Dql4_isr.c44 uint32_t residual; local
82 residual = le32_to_cpu(sts_entry->residualByteCnt);
95 cmd->resid = residual;
166 "residual = 0x%x\n", ha->host_no,
168 cmd->device->lun, __func__, residual));
179 cmd->resid = residual;
181 "detected, xferlen = 0x%x, residual = "
187 residual));
230 } else if ((cmd->request_bufflen - residual) <
239 * underflow by detecting the residual coun
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/jazz/
H A Djazzdma.c541 int residual; local
543 residual = r4030_read_reg32(JAZZ_R4030_CHNL_COUNT + (channel << 5));
546 printk("vdma_get_residual: channel %d: residual=%d\n",
547 channel, residual);
549 return residual;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Dtransport.h141 void *buf, unsigned int length, int use_sg, int *residual);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/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-WNDR4500v2-V1.0.0.60_1.0.38/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-WNDR4500v2-V1.0.0.60_1.0.38/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:__anon766
308 /**< The residual signal, length == (blocksize minus order) samples. */
316 /**< The residual coding method. */
333 const FLAC__int32 *residual; member in struct:__anon767
334 /**< The residual signal, length == (blocksize minus order) samples. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dalacenc.c148 /* calculate sum of 2nd order residual for each channel */
238 int32_t *residual = s->predictor_buf; local
241 residual[0] = samples[0];
243 residual[i] = samples[i] - samples[i-1];
256 residual[i] = (samples[lpc.lpc_order+1] - sum) << (32 - s->write_sample_size) >>
258 res_val = residual[i];
H A Dflacenc.c81 int32_t residual[FLAC_MAX_BLOCKSIZE+1]; member in struct:FlacSubframe
820 res = sub->residual;
956 res = sub->residual;
984 /* calculate sum of 2nd order residual for each channel */
1116 res = sub->residual[0];
1131 res = sub->residual[i];
1146 res = sub->residual;
1159 /* residual */
1182 put_sbits(&ctx->pb, sub->obits, sub->residual[i]);
1185 /* residual */
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/kernel/
H A Dhead.S85 icm %r7,3,10(%r5) # get residual count
87 la %r7,IPL_BS(%r7) # IPL_BS-residual=#bytes read
222 lh %r3,10(%r5) # get residual count
223 sr %r0,%r3 # #ccws*80-residual=#bytes read
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A D53c7xx.c447 * scsi0 : handling residual transfer (+ 0 bytes from DMA FIFO)
448 * scsi0 : handling residual transfer (+ 0 bytes from DMA FIFO)
1667 dsa_temp_addr_residual, virt_to_bus(&cmd->residual));
2575 " datapath residual=%d\n",
2582 " datapath residual=%d\n",
4101 * Purpose : return residual data count of what's in the chip.
4218 int residual; local
4274 dsp < cmd->data_transfer_end)) || dsp == (cmd->residual + 2)) {
4278 residual = datapath_residual (host);
4280 printk ("scsi%d : handling residual transfe
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/iucv/
H A Diucv.c961 * @residual:
970 u8 flags, void *buffer, size_t size, size_t *residual)
984 if (residual)
985 *residual = abs(size - 8);
1017 if (residual)
1018 *residual = parm->db.ipbfln1f;
1168 void *answer, size_t asize, size_t *residual)
969 iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) argument
1166 iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size, void *answer, size_t asize, size_t *residual) argument

Completed in 153 milliseconds

123