Home
last modified time | relevance | path

Searched refs:samplesPerFrame (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libaaudio/src/flowgraph/
DAudioProcessorBase.h82 AudioPort(AudioProcessorBase &parent, int32_t samplesPerFrame) in AudioPort() argument
84 , mSamplesPerFrame(samplesPerFrame) { in AudioPort()
110 int32_t samplesPerFrame,
141 AudioFloatOutputPort(AudioProcessorBase &parent, int32_t samplesPerFrame) in AudioFloatOutputPort() argument
142 : AudioFloatBlockPort(parent, samplesPerFrame) { in AudioFloatOutputPort()
178 AudioFloatInputPort(AudioProcessorBase &parent, int32_t samplesPerFrame) in AudioFloatInputPort() argument
179 : AudioFloatBlockPort(parent, samplesPerFrame) { in AudioFloatInputPort()
DAudioProcessorBase.cpp34 int32_t samplesPerFrame, in AudioFloatBlockPort() argument
36 : AudioPort(parent, samplesPerFrame) in AudioFloatBlockPort()
/frameworks/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp173 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream); in renderAudio() local
180 mSine1.render(&audioBuffer[0], samplesPerFrame, numFrames); in renderAudio()
182 if (samplesPerFrame > 1) { in renderAudio()
183 mSine2.render(&audioBuffer[1], samplesPerFrame, numFrames); in renderAudio()
190 mSine1.render(&audioBuffer[0], samplesPerFrame, numFrames); in renderAudio()
192 if (samplesPerFrame > 1) { in renderAudio()
193 mSine2.render(&audioBuffer[1], samplesPerFrame, numFrames); in renderAudio()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp285 int32_t samplesPerFrame, int32_t nChannels, in encodeNFrames() argument
292 int bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames()
294 (int)(((float)samplesPerFrame / nSampleRate) * 1000000); in encodeNFrames()
416 int32_t samplesPerFrame = in TEST_P() local
419 mInputMaxBufSize, samplesPerFrame); in TEST_P()
434 samplesPerFrame, nChannels, nSampleRate, false, in TEST_P()
529 int32_t samplesPerFrame = 1024; in TEST_F() local
534 samplesPerFrame = 1024; in TEST_F()
539 samplesPerFrame = 1152; in TEST_F()
544 samplesPerFrame = 960; in TEST_F()
[all …]
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h178 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream); in prime() local
180 float zeros[numFrames * samplesPerFrame]; in prime()
360 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream); in SimplePlayerDataCallbackProc() local
363 int numActiveOscilators = (samplesPerFrame > MAX_CHANNELS) ? MAX_CHANNELS : samplesPerFrame; in SimplePlayerDataCallbackProc()
368 sineData->sineOscillators[i].render(&audioBuffer[i], samplesPerFrame, in SimplePlayerDataCallbackProc()
376 sineData->sineOscillators[i].render(&audioBuffer[i], samplesPerFrame, in SimplePlayerDataCallbackProc()
DAAudioSimpleRecorder.h189 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream); in prime() local
191 float zeros[numFrames * samplesPerFrame]; in prime()
265 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream); in SimpleRecorderDataCallbackProc() local
273 sample = audioBuffer[frameIndex * samplesPerFrame] * (1.0/32768); in SimpleRecorderDataCallbackProc()
285 sample = audioBuffer[frameIndex * samplesPerFrame]; in SimpleRecorderDataCallbackProc()
/frameworks/av/services/oboeservice/
DAAudioMixer.cpp40 void AAudioMixer::allocate(int32_t samplesPerFrame, int32_t framesPerBurst) { in allocate() argument
41 mSamplesPerFrame = samplesPerFrame; in allocate()
43 int32_t samplesPerBuffer = samplesPerFrame * framesPerBurst; in allocate()
DAAudioMixer.h30 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp64 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) in open() local
66 audio_channel_mask_t channelMask = samplesPerFrame <= 2 ? in open()
67 audio_channel_in_mask_from_count(samplesPerFrame) : in open()
68 audio_channel_mask_for_index_assignment_from_count(samplesPerFrame); in open()
113 && (samplesPerFrame <= 2) // FAST only for mono and stereo in open()
DAudioStreamTrack.cpp67 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) in open() local
69 audio_channel_mask_t channelMask = samplesPerFrame <= 2 ? in open()
70 audio_channel_out_mask_from_count(samplesPerFrame) : in open()
71 audio_channel_mask_for_index_assignment_from_count(samplesPerFrame); in open()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h55 void setSamplesPerFrame(int32_t samplesPerFrame) { in setSamplesPerFrame() argument
56 mSamplesPerFrame = samplesPerFrame; in setSamplesPerFrame()
DAudioStream.h450 void setSamplesPerFrame(int32_t samplesPerFrame) { in setSamplesPerFrame() argument
451 mSamplesPerFrame = samplesPerFrame; in setSamplesPerFrame()
DAAudioAudio.cpp105 int32_t samplesPerFrame) in AAudioStreamBuilder_setSamplesPerFrame() argument
108 streamBuilder->setSamplesPerFrame(samplesPerFrame); in AAudioStreamBuilder_setSamplesPerFrame()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h577 int32_t samplesPerFrame) __INTRODUCED_IN(26);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4lib_int.h287 Int samplesPerFrame[30]; /* number of samples per frame, 30->30fps */ member
Drate_control.cpp316 pMP->samplesPerFrame[pMP->framePos] = 0; in RC_VopUpdateStat()
747 for (i = 1; i < pMP->samplesPerFrame[j]; i++) in calculateQuantizer_Multipass()