/external/webrtc/src/modules/audio_processing/agc/ |
H A D | analog_agc.c | 116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; local 172 /* SWB is processed as 160 sample for L and H bands */ 182 "AGC->add_mic, frame %d: Invalid sample rate\n\n", 232 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 233 if (sample > 32767) 236 } else if (sample < -32768) 241 in_mic[i] = (WebRtc_Word16)sample; 248 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 249 if (sample > 32767) 252 } else if (sample < [all...] |
/external/srec/srec/EventLog/src/ |
H A D | riff.c | 182 int sign, exponent, mantissa, sample; local 188 sample = exp_lut[exponent] + (mantissa << (exponent + 3)); 189 if (sign != 0) sample = -sample; 190 return sample; 196 int sign, achord, astep, delta, sample; local 207 sample = ((2 * astep + 33) * exp_lut[achord]) - 32 * delta; 208 if (sign != 0) sample = -sample; 209 sample [all...] |
/external/qemu/android/ |
H A D | audio-test.c | 26 short sample[SAMPLE_SIZE]; member in struct:__anon29031 41 AUD_write(ta->voice, ta->sample + ta->pos, avail); 79 ta->sample[nn] = (short)(((nn % (SAMPLE_SIZE/4))*65536/(SAMPLE_SIZE/4)) & 0xffff);
|
/external/qemu/audio/ |
H A D | fmodaudio.c | 110 fmod_logerr ("Failed to lock sample\n"); 131 fmod_logerr ("Failed to unlock sample\n"); 162 static int fmod_unlock_sample (FSOUND_SAMPLE *sample, void *p1, void *p2, argument 165 int status = FSOUND_Sample_Unlock (sample, p1, p2, blen1, blen2); 167 fmod_logerr ("Failed to unlock sample\n"); 174 FSOUND_SAMPLE *sample, 187 sample, 197 fmod_logerr ("Failed to lock sample\n"); 205 fmod_unlock_sample (sample, *p1, *p2, *blen1, *blen2); 362 fmod_logerr2 ("DAC", "Failed to allocate FMOD sample\ 173 fmod_lock_sample( FSOUND_SAMPLE *sample, struct audio_pcm_info *info, int pos, int len, void **p1, void **p2, unsigned int *blen1, unsigned int *blen2 ) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
H A D | SDL_audiocvt.c | 33 Sint32 sample; local 46 sample = src[0] + src[1]; 47 *dst = (Uint8)(sample / 2); 60 sample = src[0] + src[1]; 61 *dst = (Sint8)(sample / 2); 75 sample = (Uint16)((src[0]<<8)|src[1])+ 77 sample /= 2; 78 dst[1] = (sample&0xFF); 79 sample >>= 8; 80 dst[0] = (sample [all...] |
H A D | SDL_wave.c | 215 Sint32 sample; member in struct:IMA_ADPCM_decodestate 267 /* Compute difference and new sample value */ 274 state->sample += delta; 285 /* Clamp output sample */ 286 if ( state->sample > max_audioval ) { 287 state->sample = max_audioval; 289 if ( state->sample < min_audioval ) { 290 state->sample = min_audioval; 292 return(state->sample); 358 state[c].sample [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/sun/ |
H A D | SDL_sunaudio.c | 57 static Uint8 snd2au(int sample); 400 static Uint8 snd2au(int sample) argument 405 if (sample < 0) { 406 sample = -sample; 412 if (sample < 32) { 413 sample = 0xF0 | (15 - sample / 2); 414 } else if (sample < 96) { 415 sample [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fbevents.c | 748 struct ts_sample sample; local 751 while (ts_read(ts_dev, &sample, 1) > 0) { 752 button = (sample.pressure > 0) ? 1 : 0; 754 FB_vgamousecallback(button, 0, sample.x, sample.y);
|
/external/qemu/hw/android/goldfish/ |
H A D | audio.c | 376 int sample = (sample1 + sample2) >> 1; local 377 dst[0] = (uint8_t) sample; 378 dst[1] = (uint8_t)(sample >> 8);
|
/external/owasp/sanitizer/distrib/lib/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_func.cpp | 562 FX_DWORD sample = _GetBits32(pSampleData, bitpos + j * m_nBitsPerSample, m_nBitsPerSample);
local 563 FX_FLOAT encoded = (FX_FLOAT)sample;
567 encoded = encoded_input[i] * (FX_FLOAT)sample;
572 encoded += (encoded_input[i] - index[i]) * ((FX_FLOAT)sample1 - (FX_FLOAT)sample);
|
/external/pixman/pixman/ |
H A D | pixman-filter.c | 221 pixman_kernel_t sample, 230 size = scale * filters[sample].width + filters[reconstruct].width; 248 * and sample positions. 260 double slow = pos - scale * filters[sample].width / 2.0; 261 double shigh = slow + scale * filters[sample].width; 271 sample, 1.0 / scale, ilow - pos, 219 create_1d_filter(int *width, pixman_kernel_t reconstruct, pixman_kernel_t sample, double scale, int n_phases) argument
|
/external/opencv/cvaux/src/ |
H A D | cvlmeds.cpp | 50 int sample, j, amount_samples, done; local 102 for( sample = 0; sample < amount_samples; sample++ )
|
/external/opencv/ml/src/ |
H A D | ml_inner_functions.cpp | 156 /* Generates <sample> from multivariate normal distribution, where <mean> - is an 158 CV_IMPL void cvRandMVNormal( CvMat* mean, CvMat* cov, CvMat* sample, CvRNG* rng ) argument 160 int dim = sample->cols; 161 int amount = sample->rows; 164 cvRandArr(&state, sample, CV_RAND_NORMAL, cvScalarAll(0), cvScalarAll(1) ); 166 CvMat* utmat = cvCreateMat(dim, dim, sample->type); 167 CvMat* vect = cvCreateMatHeader(1, dim, sample->type); 174 cvGetRow(sample, vect, i); 183 /* Generates <sample> of <amount> points from a discrete variate xi, 185 CV_IMPL void cvRandSeries( float probs[], int len, int sample[], in argument 213 cvRandGaussMixture( CvMat* means[], CvMat* covs[], float weights[], int clsnum, CvMat* sample, CvMat* sampClasses ) argument 332 CvMat *cov, sample; local 1076 const float* sample; member in struct:CvSampleResponsePair 1160 const CvMat* sample = (const CvMat*)_sample; local [all...] |
H A D | mlem.cpp | 368 CvMat sample = cvMat( 1, dims, CV_32F ); local 375 sample.data.ptr = _samples->data.ptr + _samples->step*idx; 378 labels->data.i[i*lstep] = cvRound(predict(&sample, &prob)); 929 const double* sample = (double*)(samples->data.ptr + samples->step*i); local 932 csample[j] = sample[j] - mean[j];
|
H A D | mlrtrees.cpp | 312 // oob_predictions_sum[i] = sum of predicted values for the i-th sample 314 // (number of predictions for the i-th sample) 333 // = sum of predicted values for the i-th sample 335 // = number of summands (number of predictions for the i-th sample) 361 CvMat sample, missing; local 365 for( i = 0; i < nsamples; i++ ) //form sample for creation one tree 377 sample = cvMat( 1, dims, CV_32FC1, samples_ptr ); 382 sample.data.fl += dims, missing.data.ptr += dims ) 385 // check if the sample is OOB 391 CV_CALL(predicted_node = tree->predict(&sample, 535 predict( const CvMat* sample, const CvMat* missing ) const argument [all...] |
H A D | mlsvm.cpp | 238 const float* sample = vecs[j]; local 241 s += sample[k]*another[k] + sample[k+1]*another[k+1] + 242 sample[k+2]*another[k+2] + sample[k+3]*another[k+3]; 244 s += sample[k]*another[k]; 294 const float* sample = vecs[j]; local 299 double t0 = sample[k] - another[k]; 300 double t1 = sample[k+1] - another[k+1]; 304 t0 = sample[ [all...] |
H A D | mltestset.cpp | 100 CvMat sample; local 122 CV_CALL( cvGetRow( *samples, &sample, i )); 124 CV_CALL( elem.d = cvNorm( &sample, NULL, CV_L2 ));
|
H A D | mltree.cpp | 143 int ds_step, dv_step, ms_step = 0, mv_step = 0; // {data|mask}{sample|var}_step 1418 // for each sample using the best split 1662 // TODO: consider adding priors (class weights) and sample weights to the clustering algorithm 2305 // compute priors_mult from priors, take the sample ratio into account. 2500 // make sure that every sample is directed either to the left or to the right 2892 const float* sample; local 2908 "the input sample must be 1d floating-point vector with the same " 2911 sample = _sample->data.fl; 2912 step = CV_IS_MAT_CONT(_sample->type) ? 1 : _sample->step/sizeof(sample[0]); 2927 "the missing data mask must be 8-bit vector of the same size as input sample" ); [all...] |
/external/oprofile/daemon/liblegacy/ |
H A D | opd_proc.c | 108 * verb_show_sample - print the sample out to the log 157 * opd_lookup_maps - lookup a proc mappings for a sample 159 * @param sample sample to lookup 161 * iterate through the proc maps searching the mapping which owns sample 162 * if sucessful sample count will be updated and we return non-zero 165 struct op_sample const * sample) 174 if (opd_is_in_map(map, sample->eip)) { 175 unsigned long offset = opd_map_offset(map, sample->eip); 178 opd_put_image_sample(map->image, offset, sample 164 opd_lookup_maps(struct opd_proc * proc, struct op_sample const * sample) argument 190 opd_put_sample(struct op_sample const * sample) argument [all...] |
/external/oprofile/libpp/ |
H A D | format_output.cpp | 266 return get_vma(f.sample.vma, vma_64); 298 return get_linenr_info(f.sample.file_loc, long_filenames); 305 out << f.sample.counts[f.pclass]; 315 f.counts.cumulated_samples[f.pclass] += f.sample.counts[f.pclass]; 325 return get_percent(f.sample.counts[f.pclass], f.counts.total[f.pclass]); 333 f.counts.cumulated_percent[f.pclass] += f.sample.counts[f.pclass]; 342 return get_percent(f.sample.counts[f.pclass], 349 f.counts.cumulated_percent_details[f.pclass] += f.sample.counts[f.pclass]; 369 do_output(ostream & out, symbol_entry const & symb, sample_entry const & sample, argument 375 field_datum datum(symb, sample, 898 output_sample_data(ostream & out, sample_entry const & sample, size_t pclass) argument [all...] |
H A D | format_output.h | 60 * will output sample count and percentage in extra columns. 73 /// total sample count 89 : symbol(sym), sample(s), pclass(pc), 92 sample_entry const & sample; member in struct:format_output::formatter::field_datum 136 sample_entry const & sample, counts_t & c, 282 sample_entry const & sample, size_t count);
|
H A D | profile_container.cpp | 95 symb_entry.sample.counts[pclass] = count; 103 symb_entry.sample.file_loc.linenr = 0; 107 symb_entry.sample.file_loc.linenr)) { 108 symb_entry.sample.file_loc.filename = 116 symb_entry.sample.vma = abfd.syms[i].vma(); 143 sample_entry sample; local 145 sample.counts[pclass] = it.count(); 147 sample.file_loc.linenr = 0; 151 sample.file_loc.linenr)) { 152 sample [all...] |
H A D | sample_container.cpp | 67 sample_entry const & sample) 69 samples_storage::key_type key(symbol, sample.vma); 73 it->second.counts += sample.counts; 75 samples[key] = sample; 118 sample_entry sample; local 120 sample.file_loc.filename = filename; 121 sample.file_loc.linenr = linenr; 126 it_pair itp = samples_by_loc.equal_range(&sample); 66 insert(symbol_entry const * symbol, sample_entry const & sample) argument
|