/frameworks/av/media/libaudioprocessing/tests/ |
H A D | test-resampler.cpp | 276 size_t requestedFrames = buffer->frameCount; 278 buffer->frameCount = mNumFrames - mNextFrame; 282 printf("mPvalue[%zu]=%zu not %zu\n", mNextPidx-1, provided, buffer->frameCount); 283 if (provided < buffer->frameCount) { 284 buffer->frameCount = provided; 293 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); 295 mUnrel = buffer->frameCount; 296 if (buffer->frameCount > 0) { 305 if (buffer->frameCount > mUnrel) { 307 "to release\n", buffer->frameCount, mUnre [all...] |
/frameworks/av/media/libaudioclient/tests/ |
H A D | test_create_audiorecord.cpp | 66 size_t frameCount; local 78 &frameCount, ¬ificationFrames, 99 frameCount,
|
/frameworks/av/include/media/audiohal/ |
H A D | EffectBufferHalInterface.h | 44 virtual void setFrameCount(size_t frameCount) = 0;
|
/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamLegacy.cpp | 101 if (audioBuffer->frameCount == 0) { 102 ALOGW("processCallbackCommon() data, frameCount is zero"); 108 int32_t byteCount = audioBuffer->frameCount * getBytesPerDeviceFrame(); 114 audioBuffer->frameCount); 117 audioBuffer->size = audioBuffer->frameCount * getBytesPerDeviceFrame();
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
H A D | EffectBufferHalInterface.h | 44 virtual void setFrameCount(size_t frameCount) = 0;
|
/frameworks/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 202 int frameCount = 0; local 216 frameCount++; 225 printf("totalTime=%f s, frameCount=%d, %.2f fps\n", 226 totalTime, frameCount, frameCount/totalTime);
|
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerDyn.cpp | 605 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu", 606 inputIndex, mBuffer.frameCount); 609 while (mBuffer.frameCount == 0 && inFrameCount > 0) { 610 mBuffer.frameCount = inFrameCount; 618 inFrameCount -= mBuffer.frameCount; 626 if (inputIndex >= mBuffer.frameCount) { 640 const size_t frameCount = mBuffer.frameCount; local 667 if (inputIndex >= frameCount) { [all...] |
H A D | RecordBufferConverter.cpp | 91 buffer.frameCount = i; 93 if (status != OK || buffer.frameCount == 0) { 98 convertNoResampler(dst, buffer.raw, buffer.frameCount); 100 dst = (int8_t*)dst + buffer.frameCount * mDstFrameSize; 101 i -= buffer.frameCount;
|
/frameworks/av/include/media/ |
H A D | AudioMixer.h | 98 AudioMixer(size_t frameCount, uint32_t sampleRate) argument 100 , mFrameCount(frameCount) { 273 uint16_t frameCount; member in struct:android::AudioMixer::Track 345 void volumeRampStereo(int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux); 346 void volumeStereo(int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux); 350 void track__Resample(TO* out, size_t frameCount, TO* temp __unused, TA* aux); 352 void track__NoResample(TO* out, size_t frameCount, TO* temp __unused, TA* aux);
|
H A D | IAudioFlinger.h | 83 frameCount = parcel->readInt64(); 106 (void)parcel->writeInt64(frameCount); 123 size_t frameCount; member in class:android::IAudioFlinger::CreateTrackInput 138 frameCount = parcel->readInt64(); 155 (void)parcel->writeInt64(frameCount); 171 size_t frameCount; member in class:android::IAudioFlinger::CreateTrackOutput 208 frameCount = parcel->readInt64(); 224 (void)parcel->writeInt64(frameCount); 239 size_t frameCount; member in class:android::IAudioFlinger::CreateRecordInput 254 frameCount 306 size_t frameCount; member in class:android::IAudioFlinger::CreateRecordOutput [all...] |
H A D | AudioRecord.h | 53 // explicitly ignore the event by setting frameCount to zero. 71 size_t frameCount; // number of sample frames corresponding to size; member in class:android::AudioRecord::Buffer 77 size_t size; // input/output in bytes == frameCount * frameSize 80 // bytes to be read, which is frameCount * frameSize 83 // FIXME This is redundant with respect to frameCount. Consider 84 // removing size and making frameCount the primary field. 119 * frameCount is guaranteed to be non-zero if status is NO_ERROR, 124 static status_t getMinFrameCount(size_t* frameCount, 159 * frameCount: Minimum size of track PCM buffer in frames. This defines the 182 size_t frameCount 250 size_t frameCount() const { return mFrameCount; } function in class:android::AudioRecord [all...] |
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioMixer.h | 98 AudioMixer(size_t frameCount, uint32_t sampleRate) argument 100 , mFrameCount(frameCount) { 273 uint16_t frameCount; member in struct:android::AudioMixer::Track 345 void volumeRampStereo(int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux); 346 void volumeStereo(int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux); 350 void track__Resample(TO* out, size_t frameCount, TO* temp __unused, TA* aux); 352 void track__NoResample(TO* out, size_t frameCount, TO* temp __unused, TA* aux);
|
H A D | IAudioFlinger.h | 83 frameCount = parcel->readInt64(); 106 (void)parcel->writeInt64(frameCount); 123 size_t frameCount; member in class:android::IAudioFlinger::CreateTrackInput 138 frameCount = parcel->readInt64(); 155 (void)parcel->writeInt64(frameCount); 171 size_t frameCount; member in class:android::IAudioFlinger::CreateTrackOutput 208 frameCount = parcel->readInt64(); 224 (void)parcel->writeInt64(frameCount); 239 size_t frameCount; member in class:android::IAudioFlinger::CreateRecordInput 254 frameCount 306 size_t frameCount; member in class:android::IAudioFlinger::CreateRecordOutput [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 108 size_t frameCount; // buffer size before input resampler ( <=> apmFrameCount) member in struct:preproc_session_s 854 session->frameCount = session->apmFrameCount; 973 session->frameCount = session->apmFrameCount; 975 session->frameCount = (session->apmFrameCount * session->samplingRate) / 1228 // inBuffer->frameCount, session->enabledMsk, session->processedMsk); 1232 size_t framesRq = outBuffer->frameCount; 1236 if (outBuffer->frameCount < fr) { 1237 fr = outBuffer->frameCount; 1248 outBuffer->frameCount = framesWr; 1250 inBuffer->frameCount [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 39 size_t* frameCount, 44 if (frameCount == NULL) { 58 if ((*frameCount = (size * 2) / (audio_channel_count_from_in_mask(channelMask) * 163 size_t frameCount, 182 (void)set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user, 222 size_t frameCount, 240 ALOGV("set(): inputSource %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, " 243 inputSource, sampleRate, format, channelMask, frameCount, notificationFrames, 322 mReqFrameCount = frameCount; 727 input.frameCount 38 getMinFrameCount( size_t* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument 157 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, audio_port_handle_t selectedDeviceId) argument 217 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, audio_port_handle_t selectedDeviceId) argument [all...] |
H A D | AudioTrackShared.cpp | 59 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, argument 61 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), 62 mFrameCountP2(roundup(frameCount)), mIsOut(isOut), mClientInServer(clientInServer), 69 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 71 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer) 75 setBufferSizeInFrames(frameCount); 94 const uint32_t maximum = frameCount(); 560 size_t frameCount, size_t frameSize) 561 : AudioTrackClientProxy(cblk, buffers, frameCount, frameSize), 656 ServerProxy::ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 559 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument 951 tallyUnderrunFrames(uint32_t frameCount) argument 983 StaticAudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument [all...] |
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
H A D | input_monitor.cpp | 50 int32_t frameCount = 0; local 145 frameCount += actual; 161 if (frameCount > nextFrameCount) {
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 359 // frameCount: Frames to process 369 int frameCount, 382 size_t inSize = frameCount * sizeof(process_buffer_t) * channels; 383 size_t outSize = frameCount * sizeof(process_buffer_t) * FCC_2; 409 fwrite(pIn, frameCount * sizeof(*pIn) * channels, 1 /* nmemb */, pContext->PcmInPtr); 422 memcpy(pContext->InFrames, pIn, frameCount * channels * sizeof(*pIn)); 425 pContext->InFrames, pIn, frameCount * channels); 428 for (int i = 0; i < frameCount * channels; i++) { 434 for (int i = 0; i < frameCount; i++) { 454 frameCount * sizeo 367 process( effect_buffer_t *pIn, effect_buffer_t *pOut, int frameCount, ReverbContext *pContext) argument [all...] |
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/ |
H A D | JAudioTrack.h | 92 * frameCount: Minimum size of track PCM buffer in frames. This defines the 113 size_t frameCount = 0, 129 size_t frameCount();
|
/frameworks/av/services/audioflinger/ |
H A D | RecordTracks.h | 31 size_t frameCount, 112 size_t frameCount,
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequence.java | 53 boolean opaque, int frameCount, int defaultLoopCount) { 58 mFrameCount = frameCount; 52 FrameSequence(long nativeFrameSequence, int width, int height, boolean opaque, int frameCount, int defaultLoopCount) argument
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | EffectBufferHalHidl.h | 44 virtual void setFrameCount(size_t frameCount);
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | EffectBufferHalHidl.h | 45 virtual void setFrameCount(size_t frameCount);
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | 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);
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 51 const size_t frameCount = getFrameCount(); local 52 mIsKeyFrame = new bool[frameCount]; 63 for (size_t i = 1; i < frameCount; i++) { 81 for (size_t i = 0; i < frameCount; i++) { 364 const int frameCount = mFrameSequence.getFrameCount(); local 365 const int lastFrame = (frameNr + frameCount - 1) % frameCount;
|