Searched defs:frameCount (Results 26 - 34 of 34) sorted by relevance

12

/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h84 virtual ssize_t frameCount() const;
185 virtual ssize_t frameCount() const { return mFrameCount; } function in class:android::MediaPlayerService::AudioCache
H A DMediaPlayerService.cpp1328 return mTrack->frameCount() * frameSize();
1331 ssize_t MediaPlayerService::AudioOutput::frameCount() const function in class:android::MediaPlayerService::AudioOutput
1334 return mTrack->frameCount();
1392 uint32_t frameCount; local
1401 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
1420 frameCount,
1432 frameCount,
1459 (mRecycledTrack->frameCount() != t->frameCount())) {
1463 mRecycledTrack->frameCount(),
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp63 mDownmixConfig.inputCfg.buffer.frameCount = pBuffer->frameCount;
65 mDownmixConfig.outputCfg.buffer.frameCount = pBuffer->frameCount;
99 AudioMixer::AudioMixer(size_t frameCount, uint32_t sampleRate, uint32_t maxNumTracks) argument
113 mState.frameCount = frameCount;
187 // t->frameCount
198 // t->buffer.frameCount
497 int32_t volInc = d / int32_t(mState.frameCount);
800 volumeRampStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
842 volumeStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
870 track__16BitsStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
960 track__16BitsMono(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
[all...]
H A DAudioFlinger.h95 int frameCount,
109 int frameCount,
118 virtual size_t frameCount(audio_io_handle_t output) const;
391 int frameCount,
560 // Called by AudioFlinger::frameCount(audio_io_handle_t output) and effects,
562 size_t frameCount() const { return mNormalFrameCount; } function in class:android::AudioFlinger::ThreadBase
783 int frameCount,
907 int frameCount,
950 int frameCount,
999 int frameCount);
[all...]
H A DAudioFlinger.cpp447 int frameCount,
506 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, &lStatus);
580 size_t AudioFlinger::frameCount(audio_io_handle_t output) const function in class:android::AudioFlinger
585 ALOGW("frameCount() unknown thread %d", output);
590 return thread->frameCount();
1715 int frameCount,
1741 ((frameCount == 0) ||
1742 (frameCount >= (int) (mFrameCount * kFastTrackMultiplier)))
1761 // if frameCount not specified, then it defaults to fast mixer (HAL) frame count
1762 if (frameCount
441 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
1709 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
3844 size_t frameCount = mFrameCount; local
4061 int frameCount = (3 * mNormalFrameCount * mSampleRate) / thread->sampleRate(); local
4140 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4314 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument
4854 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4872 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4984 int64_t frameCount = mTimedBufferQueue[trimEnd].buffer()->size() local
5368 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId) argument
5490 OutputTrack( PlaybackThread *playbackThread, DuplicatingThread *sourceThread, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount) argument
5878 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
6241 createRecordTrack_l( const sp<AudioFlinger::Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp274 int frameCount = buffSizeInBytes / (nbChannels * bytesPerSample); local
320 frameCount,
341 frameCount,
608 "Unable to retrieve AudioTrack pointer for frameCount()");
612 return lpTrack->frameCount();
789 int frameCount = 0; local
790 if (AudioTrack::getMinFrameCount(&frameCount, AUDIO_STREAM_DEFAULT,
794 return frameCount * nbChannels * (audioFormat == javaAudioTrackFields.PCM16 ? 2 : 1);
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc394 size_t frameCount = 0; local
395 while (frameCount < targetFrames_) {
396 size_t framesLeft = targetFrames_ - frameCount;
401 floatBuffer_ + frameCount * channels, retrieveCount);
406 frameCount += count;
430 if (frameCount <= 0) {
454 for (size_t i = 0; i < frameCount * channels; ++i) {
458 frameCount * channels * kNumberOfBytesPerInt16;
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp107 size_t frameCount; // buffer size before input resampler ( <=> apmFrameCount) member in struct:preproc_session_s
798 session->frameCount = session->apmFrameCount;
931 session->frameCount = session->apmFrameCount;
933 session->frameCount = (session->apmFrameCount * session->samplingRate) /
1183 // inBuffer->frameCount, session->enabledMsk, session->processedMsk);
1187 size_t framesRq = outBuffer->frameCount;
1191 if (outBuffer->frameCount < fr) {
1192 fr = outBuffer->frameCount;
1203 outBuffer->frameCount = framesWr;
1205 inBuffer->frameCount
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Device.cpp675 camera_metadata_entry_t frameCount; local
678 &frameCount);
683 *frameCount.data.i32 = mFrameCount;

Completed in 182 milliseconds

12