HomeSort by relevance Sort by last modified time
    Searched refs:sampleCount (Results 1 - 21 of 21) sorted by null

  /frameworks/base/voip/jni/rtp/
EchoSuppressor.h 25 // The sampleCount must be power of 2.
26 EchoSuppressor(int sampleCount, int tailLength);
EchoSuppressor.cpp 42 EchoSuppressor::EchoSuppressor(int sampleCount, int tailLength)
44 tailLength += sampleCount * 4;
47 while ((sampleCount >> shift) > 1 && (tailLength >> shift) > 256) {
53 mSampleCount = sampleCount;
54 mWindowSize = sampleCount >> shift;
56 mRecordLength = tailLength * 2 / sampleCount;
AudioGroup.cpp 100 AudioCodec *codec, int sampleRate, int sampleCount,
166 AudioCodec *codec, int sampleRate, int sampleCount,
179 mSampleCount = sampleCount;
476 bool set(int sampleRate, int sampleCount);
572 bool AudioGroup::set(int sampleRate, int sampleCount)
581 mSampleCount = sampleCount;
594 sampleRate, sampleCount, -1, -1)) {
603 tv.tv_usec = 1000 * sampleCount / sampleRate * 500;
785 int sampleCount = mGroup->mSampleCount;
800 if (output < sampleCount * 2)
    [all...]
  /frameworks/base/media/java/android/media/videoeditor/
AudioTrack.java 539 final int sampleCount;
545 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRNB;
552 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRWB;
559 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AAC;
566 sampleCount = MediaProperties.SAMPLES_PER_FRAME_MP3;
581 sampleCount,
MediaVideoItem.java 534 int sampleCount = 0;
555 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRNB;
560 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRWB;
565 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AAC;
573 sampleCount,
MediaArtistNativeHelper.java     [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/
DrawingBuffer.cpp 109 void DrawingBuffer::resizeDepthStencil(int sampleCount)
117 m_context->getExtensions()->renderbufferStorageMultisample(GraphicsContext3D::RENDERBUFFER, sampleCount, Extensions3D::DEPTH24_STENCIL8, m_size.width(), m_size.height());
128 m_context->getExtensions()->renderbufferStorageMultisample(GraphicsContext3D::RENDERBUFFER, sampleCount, GraphicsContext3D::DEPTH_COMPONENT16, m_size.width(), m_size.height());
138 m_context->getExtensions()->renderbufferStorageMultisample(GraphicsContext3D::RENDERBUFFER, sampleCount, GraphicsContext3D::STENCIL_INDEX8, m_size.width(), m_size.height());
230 int sampleCount = std::min(8, maxSampleCount);
235 m_context->getExtensions()->renderbufferStorageMultisample(GraphicsContext3D::RENDERBUFFER, sampleCount, internalRenderbufferFormat, m_size.width(), m_size.height());
237 resizeDepthStencil(sampleCount);
DrawingBuffer.h 79 void resizeDepthStencil(int sampleCount);
  /external/webkit/Source/JavaScriptCore/profiler/
ProfileNode.cpp 319 double sampleCount = m_actualTotalTime * 1000;
326 printf("%.0f %s\n", sampleCount ? sampleCount : 1, name);
339 if (sumOfChildrensCount < sampleCount) {
344 printf("%.0f %s\n", sampleCount - sumOfChildrensCount, functionName().utf8().data());
  /external/srec/srec/include/
frontapi.h 732 int sampleCount);
736 int sampleCount);
742 * sampleCount The number of samples in the supplied buffer.
    [all...]
  /external/srec/srec/cfront/
ca_wave.c 260 int sampleCount)
270 if (hWave->data.window_size < sampleCount)
275 sampleCount * sizeof(samdata));
277 hWave->data.num_samples = sampleCount;
  /libcore/dalvik/src/test/java/dalvik/system/profiler/
SamplingProfilerTest.java 166 final int sampleCount = 4;
188 assertEquals(sampleCount, sample.count);
195 assertEquals(sampleCount, sample.count);
197 assertEquals(sampleCount + 42, sample2.count);
  /frameworks/base/libs/ui/
InputTransport.cpp 415 mSharedMessage->motion.sampleCount = 1;
463 mAshmemSize, mMotionEventPointerCount, mSharedMessage->motion.sampleCount);
494 mSharedMessage->motion.sampleCount += 1;
714 size_t sampleCount = mSharedMessage->motion.sampleCount;
715 if (sampleCount > 1) {
720 while (--sampleCount > 0) {
Input.cpp 583 size_t sampleCount = parcel->readInt32();
584 if (pointerCount == 0 || pointerCount > MAX_POINTERS || sampleCount == 0) {
604 mSampleEventTimes.setCapacity(sampleCount);
606 mSamplePointerCoords.setCapacity(sampleCount * pointerCount);
615 while (sampleCount-- > 0) {
630 size_t sampleCount = mSampleEventTimes.size();
633 parcel->writeInt32(sampleCount);
655 for (size_t h = 0; h < sampleCount; h++) {
    [all...]
  /frameworks/base/media/libstagefright/
MPEG4Writer.cpp 127 : sampleCount(count), sampleDuration(duration) {}
129 uint32_t sampleCount;
137 : sampleCount(count), sampleDuration(timescaledDur) {}
139 uint32_t sampleCount;
206 void addOneSttsTableEntry(size_t sampleCount, int32_t timescaledDur);
207 void addOneCttsTableEntry(size_t sampleCount, int32_t timescaledDur);
    [all...]
SampleTable.cpp 94 uint32_t sampleCount = mDeltaEntries[2 * mCurrentDeltaEntry];
95 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) {
99 mCurrentEntrySampleIndex += sampleCount;
  /frameworks/base/include/ui/
InputTransport.h 148 size_t sampleCount;
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java 635 int sampleCount = ((mSampleRate / SINE_FREQ) * NUM_PERIODS_BLOCK);
636 int blockSize = 2 * sampleCount; // energy averaging block
650 int threshold = THRESHOLD*sampleCount; // absolute energy threshold
673 long energy = (sumxx*sampleCount - sumx*sumx)/(sampleCount*sampleCount);
    [all...]
  /external/svox/pico/compat/jni/
com_android_tts_compat_SynthProxy.cpp 101 void applyFilter(int16_t* buffer, size_t sampleCount) {
103 for (size_t i=0 ; i<sampleCount ; i++) {
  /external/webkit/Source/WebCore/platform/graphics/opengl/
GraphicsContext3DOpenGL.cpp 206 GLint sampleCount = std::min(8, maxSampleCount);
207 if (sampleCount > maxSampleCount)
208 sampleCount = maxSampleCount;
214 ::glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER_EXT, sampleCount, m_internalColorFormat, width, height);
218 ::glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER_EXT, sampleCount, internalDepthStencilFormat, width, height);
    [all...]
  /frameworks/base/services/input/
InputDispatcher.cpp     [all...]

Completed in 189 milliseconds