HomeSort by relevance Sort by last modified time
    Searched defs:sample (Results 51 - 75 of 143) sorted by null

1 23 4 5 6

  /external/quake/quake/src/WinQuake/
snd_mem.cpp 39 int sample, samplefrac, fracstep; local
79 sample = LittleShort ( ((short *)data)[srcsample] );
81 sample = (int)( (unsigned char)(data[srcsample]) - 128) << 8;
83 sc->data.s[i] = sample;
85 sc->data.sc[i] = sample >> 8;
130 Con_Printf ("%s is a stereo sample\n",s->name);
  /external/skia/src/core/
SkBitmapSampler.cpp 50 virtual SkPMColor sample(SkFixed x, SkFixed y) const { return 0; } function in class:SkNullBitmapSampler
84 virtual SkPMColor sample(SkFixed x, SkFixed y) const function in class:ARGB32_Bilinear_Sampler
132 virtual SkPMColor sample(SkFixed x, SkFixed y) const function in class:RGB16_Bilinear_Sampler
186 virtual SkPMColor sample(SkFixed x, SkFixed y) const function in class:Index8_Bilinear_Sampler
246 virtual SkPMColor sample(SkFixed x, SkFixed y) const function in class:A8_Bilinear_Sampler
300 virtual SkPMColor sample(SkFixed x, SkFixed y) const function in class:A8_NoFilter_Sampler
  /external/webkit/Source/WebCore/platform/audio/
Reverb.cpp 68 float sample = *p++; local
69 power += sample * sample;
AudioBus.cpp 235 // so we "de-zipper" by slowly changing the gain each sample-frame until we've achieved the target gain.
278 float sample = *sourceL++; local
279 *destinationL++ += static_cast<float>(gain * sample);
280 *destinationR++ += static_cast<float>(gain * sample);
312 float sample = *sourceL++; local
313 *destinationL++ = static_cast<float>(gain * sample);
314 *destinationR++ = static_cast<float>(gain * sample);
369 // sourceBus's sample-rate must be known.
382 // No sample-rate conversion is necessary.
390 // First, mix to mono (if necessary) then sample-rate convert
    [all...]
  /frameworks/base/core/java/android/gesture/
Instance.java 21 * An instance represents a sample if the label is available or a query if the
44 private Instance(long id, float[] sample, String sampleName) {
46 vector = sample;
51 float[] sample = vector; local
54 int size = sample.length;
56 sum += sample[i] * sample[i];
61 sample[i] /= magnitude;
  /frameworks/native/libs/cpustats/
ThreadCpuUsage.cpp 81 // already enabled, so add a new sample relative to previous
82 return sample(ns);
84 // was disabled, but add sample for accumulated time while enabled
97 bool ThreadCpuUsage::sample(double &ns) function in class:android::ThreadCpuUsage
118 ALOGV("sample %.0f", ns);
122 ALOGW("Can't add sample because measurements have never been enabled");
  /gdk/samples/quake/jni/
snd_mem.cpp 39 int sample, samplefrac, fracstep; local
79 sample = LittleShort ( ((short *)data)[srcsample] );
81 sample = (int)( (unsigned char)(data[srcsample]) - 128) << 8;
83 sc->data.s[i] = sample;
85 sc->data.sc[i] = sample >> 8;
130 Con_Printf ("%s is a stereo sample\n",s->name);
  /external/chromium/chrome/browser/
memory_details.cc 276 int sample = static_cast<int>(browser.processes[index].working_set.priv); local
277 aggregate_memory += sample;
280 UMA_HISTOGRAM_MEMORY_KB("Memory.Browser", sample);
287 UMA_HISTOGRAM_MEMORY_KB("Memory.Extension", sample);
291 UMA_HISTOGRAM_MEMORY_KB("Memory.Chrome", sample);
300 UMA_HISTOGRAM_MEMORY_KB("Memory.Renderer", sample);
307 UMA_HISTOGRAM_MEMORY_KB("Memory.Plugin", sample);
311 UMA_HISTOGRAM_MEMORY_KB("Memory.Worker", sample);
315 UMA_HISTOGRAM_MEMORY_KB("Memory.Utility", sample);
319 UMA_HISTOGRAM_MEMORY_KB("Memory.Zygote", sample);
    [all...]
  /external/chromium/chrome/browser/net/
url_info.cc 218 int sample(int64 value) { function in class:chrome_browser_net::MinMaxAverage
294 queue.sample((it->queue_duration_.InMilliseconds()));
299 HoursMinutesSeconds(when.sample(
  /external/flac/libFLAC/
lpc.c 92 unsigned sample, coeff; local
100 for(sample = 0; sample <= limit; sample++) {
101 d = data[sample];
103 autoc[coeff] += d * data[sample+coeff];
105 for(; sample < data_len; sample++) {
106 d = data[sample];
107 for(coeff = 0; coeff < data_len - sample; coeff++
    [all...]
  /external/javassist/sample/evolve/
Evolution.java 1 package sample.evolve;
40 // Get the definition of Sample.make() and store it into trapMethod
42 trapMethod = _pool.getMethod("sample.evolve.Sample", "make");
118 .get("sample.evolve.VersionManager"), versionManagerMethod,
  /external/javassist/sample/preproc/
Compiler.java 16 package sample.preproc;
39 * java sample.preproc.Compiler sample.j
42 * <p>This command produces <code>sample.java</code>, which only includes
47 * <code>sample.preproc.Assistant</code>.
49 * @see sample.preproc.Assistant
  /external/linux-tools-perf/util/
session.h 69 typedef int (*event_sample)(union perf_event *event, struct perf_sample *sample,
71 typedef int (*event_op)(union perf_event *self, struct perf_sample *sample,
79 event_sample sample; member in struct:perf_event_ops
168 struct perf_sample *sample)
172 session->sample_id_all, sample);
179 struct perf_sample *sample,
  /external/mesa3d/src/pixelflinger2/
llvm_texture.cpp 192 Value * sample = builder.CreateMul(builder.CreateSub(h1, h0), local
194 sample = builder.CreateAShr(sample, constIntVec(builder, SHIFT, SHIFT, SHIFT, SHIFT));
195 sample = builder.CreateAdd(sample, h0);
197 return sample;
199 // sample = builder.CreateUIToFP(sample, floatVecType(builder));
200 // return builder.CreateFMul(sample, constFloatVec(builder, 1 / 255.0f, 1 / 255.0f,
203 // sample = builder.CreateShl(sample, constIntVec(builder, 8, 8, 8, 8))
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/
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&0xFF)
    [all...]
SDL_wave.c 217 Sint32 sample; member in struct:IMA_ADPCM_decodestate
271 /* Compute difference and new sample value */
278 state->sample += delta;
289 /* Clamp output sample */
290 if ( state->sample > max_audioval ) {
291 state->sample = max_audioval;
293 if ( state->sample < min_audioval ) {
294 state->sample = min_audioval;
296 return(state->sample);
362 state[c].sample = ((encoded[1]<<8)|encoded[0])
    [all...]
  /external/v8/src/
cpu-profiler.cc 174 TickSample* sample = &record.sample; local
176 sample->state = isolate->current_vm_state();
177 sample->pc = reinterpret_cast<Address>(sample); // Not NULL.
179 !it.done() && sample->frames_count < TickSample::kMaxFramesCount;
181 sample->stack[sample->frames_count++] = it.frame()->pc();
215 generator_->RecordTickSample(record.sample);
221 // Make a local copy of tick sample record to ensure that it won'
    [all...]
cpu-profiler.h 115 TickSample sample; member in class:v8::internal::TickSampleEventRecord
156 // Puts current stack into tick sample events buffer.
159 // Tick sample events are filled directly in the buffer of the circular
runtime-profiler.cc 214 Object* sample = sampler_window_[i]; local
215 if (sample != NULL) {
216 if (function == sample) {
238 // have a sample of the function, we mark it for optimizations
350 // the sample lookup in case of recursive functions.
  /external/v8/test/cctest/
test-cpu-profiler.cc 45 i::TickSample* sample = proc->TickSampleEvent(); local
46 sample->pc = frame1;
47 sample->tos = frame1;
48 sample->frames_count = 0;
50 sample->stack[0] = frame2;
51 sample->frames_count = 1;
54 sample->stack[1] = frame3;
55 sample->frames_count = 2;
243 i::TickSample* sample = processor.TickSampleEvent(); local
244 sample->pc = ToAddress(0x1200)
    [all...]
test-log-stack-tracer.cc 62 TickSample* sample; member in struct:__anon13137
66 static void InitTraceEnv(TickSample* sample) {
67 trace_env.sample = sample;
72 trace_env.sample->fp = fp;
74 trace_env.sample->sp =
75 reinterpret_cast<Address>(trace_env.sample) - 10240;
76 StackTracer::Trace(Isolate::Current(), trace_env.sample);
281 TickSample sample; local
282 InitTraceEnv(&sample);
326 TickSample sample; local
394 TickSample sample; local
    [all...]
  /external/webkit/Source/JavaScriptCore/bytecode/
SamplingTool.cpp 44 void SamplingFlags::sample() function in class:JSC::SamplingFlags
70 printf("\nSamplingFlags: sample counts with flags set: (%lld total)\n", total);
132 SamplingFlags::sample();
135 SamplingTool::sample();
160 void ScriptSampleRecord::sample(CodeBlock* codeBlock, Instruction* vPC) function in class:JSC::ScriptSampleRecord
172 // can fail if we sample mid op_call / op_ret.
181 Sample sample(m_sample, m_codeBlock);
184 if (sample.isNull())
187 if (!sample.inHostFunction())
207 void SamplingTool::sample() function in class:JSC::SamplingTool
    [all...]
  /frameworks/av/services/audioflinger/
AudioResampler.cpp 129 ALOGE("Unsupported sample format, %d bits, %d channels", bitDepth,
332 int32_t sample = Interp(mX0L, in[0], phaseFraction); local
333 out[outputIndex++] += vl * sample;
334 out[outputIndex++] += vr * sample;
356 int32_t sample = Interp(in[inputIndex-1], in[inputIndex], local
358 out[outputIndex++] += vl * sample;
359 out[outputIndex++] += vr * sample;
  /frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 17 package com.android.rs.sample;
137 mScript = new ScriptC_sample(mRS, getResources(), R.raw.sample);
  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
jni_stochastic_linear_ranker.cpp 31 const int length, SparseWeightVector<string> * sample) {
37 sample->SetElement(key, static_cast<double>(values[i]));
52 const int length, SparseWeightVector<string> *sample) {
54 SparseWeightVector<string>::Wmap w_ = sample->GetMap();
455 SparseWeightVector<string> sample; local
456 CreateSparseWeightVector(env, key_array, values, values_len, &sample);
458 return classifier->ScoreSample(sample);

Completed in 3179 milliseconds

1 23 4 5 6