/external/libvorbis/lib/ |
bitrate.c | 87 int samples=ci->blocksizes[vb->W]>>1; local 132 slew=rint(choice-bm->avgfloat)/samples*vi->rate; 135 choice=rint(bm->avgfloat+= slew/vi->rate*samples);
|
/external/libvpx/libvpx/vp8/encoder/ |
ssim.c | 158 int samples =0; local 168 samples++; 171 ssim_total /= samples;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_ssim.c | 82 int samples = 0; local 91 samples++; 94 ssim_total /= samples;
|
/external/mesa3d/src/mesa/swrast/ |
s_aatriangle.c | 186 static const GLfloat samples[16][2] = { local 192 /* continue with interior samples */ 221 const GLfloat sx = x + samples[i][0]; 222 const GLfloat sy = y + samples[i][1];
|
s_aaline.c | 212 * Fill in the samples[] array with the (x,y) subpixel positions of 214 * Note that the four corner samples are put into the first four 216 * case of all samples being inside the polygon. 219 make_sample_table(GLint xSamples, GLint ySamples, GLfloat samples[][2]) 249 samples[j][0] = x * dx + 0.5F * dx; 250 samples[j][1] = y * dy + 0.5F * dy; 267 static GLfloat samples[SUB_PIXEL * SUB_PIXEL][2]; local 275 make_sample_table(SUB_PIXEL, SUB_PIXEL, samples); 287 const GLfloat sx = x + samples[i][0]; 288 const GLfloat sy = y + samples[i][1] [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
Mp4TrackImpl.java | 33 private List<ByteBuffer> samples; field in class:Mp4TrackImpl 45 samples = new SampleList(trackBox); 174 return samples;
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
ARM-E_interpolate_loop_gnu.s | 5 @ wavetable samples.
97 @ This section performs a gain adjustment of -12dB for 16-bit samples
98 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
|
ARM-E_interpolate_noloop_gnu.s | 5 @ wavetable samples.
89 @ This section performs a gain adjustment of -12dB for 16-bit samples
90 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
|
/external/sonivox/arm-wt-22k/lib_src/ |
ARM-E_interpolate_loop_gnu.s | 5 @ wavetable samples.
97 @ This section performs a gain adjustment of -12dB for 16-bit samples
98 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
|
ARM-E_interpolate_noloop_gnu.s | 5 @ wavetable samples.
89 @ This section performs a gain adjustment of -12dB for 16-bit samples
90 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
|
/external/tremolo/Tremolo/ |
dsp.c | 143 /* pcm==0 indicates we just want the pending samples, no more */ 144 int vorbis_dsp_pcmout(vorbis_dsp_state *v,ogg_int16_t *pcm,int samples){ 151 if(n>samples)n=samples; 315 /* partial last frame. Strip the extra samples off */
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
lattice_neon.S | 54 @ Leftover samples after the loop, in r6: 100 @ Check how many samples still need to be processed. 104 @ Process two more samples:
|
/frameworks/native/libs/input/ |
InputTransport.cpp | 51 // Minimum time difference between consecutive samples before attempting to resample. 451 batch.samples.push(mMsg); 462 batch, batch.samples.size(), outSeq, outEvent); 481 batch.samples.push(mMsg); 518 result = consumeSamples(factory, batch, batch.samples.size(), 535 if (batch.samples.isEmpty()) { 539 next = &batch.samples.itemAt(0); 557 InputMessage& msg = batch.samples.editItemAt(i); 570 batch.samples.removeItemsAt(0, count); 867 const InputMessage& head = batch.samples.itemAt(0) [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
AudioGroup.cpp | 69 // The first 100ms is the place where samples get mixed. The rest is the real 86 // + If we cannot get enough CPU, we drop samples and simulate packet loss. 318 int16_t samples[mSampleCount]; local 329 samples[i] = sample; 336 memset(samples, 0, sizeof(samples)); 345 send(mSocket, samples, sizeof(samples), MSG_DONTWAIT); 353 int length = mCodec->encode(&buffer[3], samples); 377 // Throw away outdated samples 405 int16_t samples[count]; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
ssim.c | 158 int samples =0; local 168 samples++; 171 ssim_total /= samples;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_ssim.c | 81 int samples = 0; local 90 samples++; 93 ssim_total /= samples;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
HprofData.java | 48 * names for tying samples back to their source thread. 334 Set<Sample> samples = new HashSet<Sample>(stackTraces.size()); local 340 samples.add(sample); 342 return samples;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
SampleProjectTest.java | 58 * Finds all samples projects in set SDK and verify they can be built in Eclipse. 73 String path = target.getPath(IAndroidTarget.SAMPLES); 74 File samples = new File(path); local 75 if (samples.isDirectory()) { 76 File[] files = samples.listFiles(); 112 state.packageName = "com.android.samples";
|
/external/opencv/cxcore/src/ |
cxutils.cpp | 57 CvMat* samples = (CvMat*)samples_arr; local 65 if( !CV_IS_MAT( samples )) 66 CV_CALL( samples = cvGetMat( samples, &samples_stub )); 74 if( CV_MAT_DEPTH(samples->type) != CV_32F || CV_MAT_TYPE(labels->type) != CV_32SC1 ) 76 "samples should be floating-point matrix, cluster_idx - integer vector" ); 79 labels->rows + labels->cols - 1 != samples->rows ) 81 "cluster_idx should be 1D vector of the same number of elements as samples' number of rows" ); 86 sample_count = samples->rows; 91 dims = samples->cols*CV_MAT_CN(samples->type) [all...] |
/external/opencv/ml/include/ |
ml.h | 122 /* columns of <trainData> matrix are training samples */ 125 /* rows of <trainData> matrix are training samples */ 311 CvVectors* samples; member in class:CvKNearest 397 CvSVMSolver( int count, int var_count, const float** samples, schar* y, 401 virtual bool create( int count, int var_count, const float** samples, schar* y, 410 virtual bool solve_c_svc( int count, int var_count, const float** samples, schar* y, 413 virtual bool solve_nu_svc( int count, int var_count, const float** samples, schar* y, 416 virtual bool solve_one_class( int count, int var_count, const float** samples, 420 virtual bool solve_eps_svr( int count, int var_count, const float** samples, const float* y, 424 virtual bool solve_nu_svr( int count, int var_count, const float** samples, const float* y 435 const float** samples; member in class:CvSVMSolver [all...] |
/external/linux-tools-perf/src/tools/perf/tests/ |
hists_link.c | 207 * each evsel will have 10 samples - 5 common and 5 distinct. 265 static int find_sample(struct sample *samples, size_t nr_samples, 269 if (samples->thread == t && samples->map == m && 270 samples->sym == s) 272 samples++;
|
/external/ceres-solver/internal/ceres/ |
line_search.cc | 149 // of the provided samples with valid values. 185 vector<FunctionSample> samples; local 186 samples.push_back(lowerbound); 191 samples.push_back(ValueSample(current.x, current.value)); 196 samples.push_back(ValueSample(previous.x, previous.value)); 200 samples.push_back(current); 205 samples.push_back(previous); 214 MinimizeInterpolatingPolynomial(samples, min_step_size, max_step_size, [all...] |
/external/libyuv/files/source/ |
compare.cc | 440 const uint64 samples = width * height; local 444 return SumSquareErrorToPsnr(sse, samples); 466 const uint64 samples = width * height + 2 * (width_uv * height_uv); local 468 return SumSquareErrorToPsnr(sse, samples); 524 int samples = 0; local 536 samples++; 543 ssim_total /= samples;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralRules.java | 707 // Ugly, but for samples we don't care. 962 public final Set<FixedDecimalRange> samples; field in class:PluralRules.FixedDecimalSamples 970 * The samples must be immutable. 972 * @param samples 974 private FixedDecimalSamples(SampleType sampleType, Set<FixedDecimalRange> samples, boolean bounded) { 977 this.samples = samples; 994 throw new IllegalArgumentException("Samples must start with 'integer' or 'decimal'"); 1005 throw new IllegalArgumentException("Can only have ? at the end of samples: " + range); 2098 Collection<Double> samples = getSamples(keyword, type); local 2138 FixedDecimalSamples samples = rules.getDecimalSamples(keyword, sampleType); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
PluralRulesTest.java | 192 FixedDecimalSamples samples = test.getDecimalSamples(keyword, sampleType); 193 if (samples != null) { 194 assertEquals("samples; " + title, samplesString, samples.toString()); 195 assertEquals("bounded; " + title, isBounded, samples.bounded); 196 assertEquals("first; " + title, firstInRange, samples.samples.iterator().next().start); 317 Collection<FixedDecimalSamples> samples = new LinkedHashSet<FixedDecimalSamples>(); 323 samples.add(samples2); 339 for (FixedDecimalSamples sample3 : samples) { [all...] |