/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | 107 size_t frameCount; // buffer size before input resampler ( <=> apmFrameCount) 798 session->frameCount = session->apmFrameCount; 931 session->frameCount = session->apmFrameCount; 933 session->frameCount = (session->apmFrameCount * session->samplingRate) / [all...] |
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
VideoEncoderDecoderTest.java | 282 MediaCodec codec, ByteBuffer[] inputBuffers, int index, int frameCount, int flags) { 286 Point origin = getOrigin(frameCount); 317 if (VERBOSE && (frameCount == 0)) { 447 private Point getOrigin(int frameCount) { 448 if (frameCount < 100) { 449 return new Point(2 * frameCount, 0); 450 } else if (frameCount < 200) { 451 return new Point(200, (frameCount - 100) * 2); 453 if (frameCount > 300) { // for safety 454 frameCount = 300 [all...] |
/frameworks/av/include/media/ |
AudioTrack.h | 52 // ignore the event by setting frameCount to zero. 79 size_t frameCount; // number of sample frames corresponding to size; 84 size_t size; // input/output in bytes == frameCount * frameSize 86 // FIXME this is redundant with respect to frameCount, 128 static status_t getMinFrameCount(size_t* frameCount, 162 * frameCount: Minimum size of track PCM buffer in frames. This defines the 183 int frameCount = 0, 233 * If sharedBuffer is non-0, the frameCount parameter is ignored and 244 int frameCount = 0, 282 uint32_t frameCount() const { return mFrameCount; [all...] |
AudioSystem.h | 95 static status_t getOutputFrameCount(size_t* frameCount, 106 size_t* frameCount); 158 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channelMask(0), frameCount(0), latency(0) {} 163 size_t frameCount; 308 // (sampling rate, framecount, channel count...)
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageSource.cpp | 108 size_t ImageSource::frameCount() const 110 return m_decoder ? m_decoder->frameCount() : 0;
|
DeferredImageDecoder.cpp | 145 size_t DeferredImageDecoder::frameCount() 147 return m_actualDecoder ? m_actualDecoder->frameCount() : m_lazyDecodedFrames.size(); 208 const bool isSingleFrame = m_actualDecoder->repetitionCount() == cAnimationNone || (m_allDataReceived && m_actualDecoder->frameCount() == 1u); 223 m_lazyDecodedFrames.resize(m_actualDecoder->frameCount());
|
DeferredImageDecoder.h | 65 size_t frameCount();
|
/frameworks/av/media/libmedia/ |
IAudioFlingerClient.cpp | 58 data.writeInt32(desc->frameCount); 88 desc.frameCount = data.readInt32();
|
AudioTrackShared.cpp | 37 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 39 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), 40 mFrameCountP2(roundup(frameCount)), mIsOut(isOut), mClientInServer(clientInServer), 47 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 49 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer), mEpoch(0) 465 size_t frameCount, size_t frameSize) 466 : AudioTrackClientProxy(cblk, buffers, frameCount, frameSize), 502 ServerProxy::ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 504 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer), 686 void AudioTrackServerProxy::tallyUnderrunFrames(uint32_t frameCount) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
GIFImageDecoder.h | 52 virtual size_t frameCount() OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ico/ |
ICOImageDecoder.h | 53 virtual size_t frameCount();
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/ |
WEBPImageDecoder.h | 46 virtual size_t frameCount() OVERRIDE;
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.h | 97 int frameCount;
|
/frameworks/av/media/libeffects/testlibs/ |
AudioEqualizer.h | 180 // frameCount * nChannels interlaced samples. Processing can be done 184 // frameCount Number of frames to produce on each call to process(). 186 int frameCount);
|
AudioEqualizer.cpp | 227 int frameCount) { 228 // ALOGV("AudioEqualizer::process(frameCount=%d)", frameCount); 229 mpLowShelf->process(pIn, pOut, frameCount); 231 mpPeakingFilters[i].process(pIn, pOut, frameCount); 233 mpHighShelf->process(pIn, pOut, frameCount);
|
/frameworks/av/services/audioflinger/ |
FastMixer.cpp | 219 size_t frameCount = current->mFrameCount; 242 if ((format != previousFormat) || (frameCount != previous->mFrameCount)) { 248 if (frameCount > 0 && sampleRate > 0) { 252 mixer = new AudioMixer(frameCount, sampleRate, FastMixerState::kMaxFastTracks); 253 mixBuffer = new short[frameCount * FCC_2]; 254 periodNs = (frameCount * 1000000000LL) / sampleRate; // 1.00 255 underrunNs = (frameCount * 1750000000LL) / sampleRate; // 1.75 256 overrunNs = (frameCount * 500000000LL) / sampleRate; // 0.50 257 forceNs = (frameCount * 950000000LL) / sampleRate; // 0.95 258 warmupNs = (frameCount * 500000000LL) / sampleRate; // 0.5 [all...] |
PlaybackTracks.h | 31 size_t frameCount, 167 size_t frameCount, 211 size_t frameCount, 261 size_t frameCount,
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_ETC.c | 228 int frameCount; 230 frameCount = Exynos_OSAL_PerfFrameCount(id); 233 Exynos_OSAL_Log(EXYNOS_LOG_INFO, "%s Frame Count: %d", prefix, frameCount); 235 prefix, (float)perfTotal / (float)(frameCount * 1000),
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorPlayer.cpp | 347 return mTrack->frameCount() * frameSize(); 350 ssize_t VideoEditorPlayer::VeAudioOutput::frameCount() const { 353 return mTrack->frameCount(); 411 int frameCount; 422 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate; 444 frameCount, 454 frameCount,
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 402 // frameCount: Frames to process 413 int frameCount, 438 fwrite(pIn, frameCount*sizeof(LVM_INT16)*samplesPerFrame, 1, pContext->PcmInPtr); 450 for(int i=0; i<frameCount*samplesPerFrame; i++){ 455 for (int i = 0; i < frameCount; i++) { 462 memset(pContext->OutFrames32, 0, frameCount * sizeof(LVM_INT32) * 2); //always stereo here 465 memset(pContext->InFrames32,0,frameCount * sizeof(LVM_INT32) * samplesPerFrame); 473 frameCount); /* Number of samples to read */ 481 for (int i=0; i < frameCount*2; i++) { //always stereo here 485 for (int i=0; i < frameCount*2; i++) { //always stereo her [all...] |
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 316 inBuffer->frameCount != outBuffer->frameCount || 317 inBuffer->frameCount == 0) { 327 for (inIdx = 0 ; inIdx < inBuffer->frameCount * pContext->mChannelCount ; inIdx++) { 338 rmsSqAcc / (inBuffer->frameCount * pContext->mChannelCount); 352 int len = inBuffer->frameCount * 2; 377 inIdx < inBuffer->frameCount; 398 for (size_t i = 0; i < outBuffer->frameCount*2; i++) { 402 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t));
|
/external/proguard/src/proguard/preverify/ |
CodePreverifier.java | 166 int frameCount = stackMapFrameList.size(); 183 if (frameCount != originalFrameCount || 190 else if (frameCount != 0) 196 if (frameCount == 0) 209 FullFrame[] stackMapFrames = new FullFrame[frameCount]; 218 StackMapFrame[] stackMapFrames = new StackMapFrame[frameCount];
|
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 277 inBuffer->frameCount != outBuffer->frameCount || 278 inBuffer->frameCount == 0) { 282 //ALOGV("LE about to process %d samples", inBuffer->frameCount); 286 for (inIdx = 0 ; inIdx < inBuffer->frameCount ; inIdx++) { 297 for (size_t i = 0; i < outBuffer->frameCount*2; i++) { 301 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t));
|
/frameworks/base/core/jni/ |
android_media_AudioRecord.cpp | 187 ALOGE("Error creating AudioRecord: frameCount is 0."); 191 size_t frameCount = buffSizeInBytes / frameSize; 233 frameCount, 384 ssize_t recorderBuffSize = lpRecorder->frameCount()*lpRecorder->frameSize(); 513 size_t frameCount = 0; 514 status_t result = AudioRecord::getMinFrameCount(&frameCount, 526 return frameCount * nbChannels * (audioFormat == ENCODING_PCM_16BIT ? 2 : 1);
|
/frameworks/av/libvideoeditor/vss/src/ |
VideoEditorResampler.cpp | 58 uint32_t dataSize = pBuffer->frameCount * this->nbChannels * sizeof(int16_t); 73 pBuffer->frameCount = 0;
|