Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/flowgraph/
DFlowGraphNode.h166 FlowGraphPort(FlowGraphNode &parent, int32_t samplesPerFrame) in FlowGraphPort() argument
168 , mSamplesPerFrame(samplesPerFrame) { in FlowGraphPort()
202 int32_t samplesPerFrame,
232 FlowGraphPortFloatOutput(FlowGraphNode &parent, int32_t samplesPerFrame) in FlowGraphPortFloatOutput() argument
233 : FlowGraphPortFloat(parent, samplesPerFrame) { in FlowGraphPortFloatOutput()
280 FlowGraphPortFloatInput(FlowGraphNode &parent, int32_t samplesPerFrame) in FlowGraphPortFloatInput() argument
281 : FlowGraphPortFloat(parent, samplesPerFrame) { in FlowGraphPortFloatInput()
DFlowGraphNode.cpp66 int32_t samplesPerFrame, in FlowGraphPortFloat() argument
68 : FlowGraphPort(parent, samplesPerFrame) in FlowGraphPortFloat()
/frameworks/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp191 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream); in renderAudio() local
198 mSine1.render(&audioBuffer[0], samplesPerFrame, numFrames); in renderAudio()
200 if (samplesPerFrame > 1) { in renderAudio()
201 mSine2.render(&audioBuffer[1], samplesPerFrame, numFrames); in renderAudio()
208 mSine1.render(&audioBuffer[0], samplesPerFrame, numFrames); in renderAudio()
210 if (samplesPerFrame > 1) { in renderAudio()
211 mSine2.render(&audioBuffer[1], samplesPerFrame, numFrames); in renderAudio()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h203 int32_t samplesPerFrame = AAudioStream_getChannelCount(mStream); in prime() local
205 float zeros[numFrames * samplesPerFrame]; in prime()
399 int32_t samplesPerFrame = AAudioStream_getChannelCount(stream); in SimplePlayerDataCallbackProc() local
401 int numActiveOscillators = std::min(samplesPerFrame, MAX_CHANNELS); in SimplePlayerDataCallbackProc()
407 samplesPerFrame, numFrames); in SimplePlayerDataCallbackProc()
415 samplesPerFrame, numFrames); in SimplePlayerDataCallbackProc()
424 samplesPerFrame, numFrames); in SimplePlayerDataCallbackProc()
432 samplesPerFrame, numFrames); 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.cpp36 void AAudioMixer::allocate(int32_t samplesPerFrame, int32_t framesPerBurst) { in allocate() argument
37 mSamplesPerFrame = samplesPerFrame; in allocate()
39 int32_t samplesPerBuffer = samplesPerFrame * framesPerBurst; in allocate()
DAAudioMixer.h29 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp540 aaudio_channel_mask_t channelMask, int32_t samplesPerFrame, bool isInput) { in AAudio_getChannelMaskForOpen() argument
542 if (AAudio_isChannelIndexMask(channelMask) && samplesPerFrame <= 2) { in AAudio_getChannelMaskForOpen()
546 return isInput ? audio_channel_in_mask_from_count(samplesPerFrame) in AAudio_getChannelMaskForOpen()
547 : audio_channel_out_mask_from_count(samplesPerFrame); in AAudio_getChannelMaskForOpen()
DAAudioUtilities.h131 aaudio_channel_mask_t channelMask, int32_t samplesPerFrame, bool isInput);
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp111 void getSamplesPerFrame(int32_t nChannels, int32_t* samplesPerFrame);
289 void Codec2AudioEncHidlTestBase::getSamplesPerFrame(int32_t nChannels, int32_t* samplesPerFrame) { in getSamplesPerFrame() argument
297 *samplesPerFrame = mEncoderFrameSize; in getSamplesPerFrame()
308 *samplesPerFrame = std::min((maxInputSize / (nChannels * 2)), kMaxSamplesPerFrame); in getSamplesPerFrame()
329 std::ifstream& eleStream, uint32_t nFrames, int32_t samplesPerFrame, in encodeNFrames() argument
336 uint32_t bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames()
337 int32_t timestampIncr = (int)(((float)samplesPerFrame / nSampleRate) * 1000000); in encodeNFrames()
/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.cpp393 const int samplesPerFrame = audio_channel_count_from_in_mask(mChannelMask); in create() local
395 mNotificationFrames = mMaxBytesPerCallback / (samplesPerFrame * bytesPerSample); in create()
442 mMaxBytesPerCallback = mNotificationFrames * samplesPerFrame * bytesPerSample; in create()
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp128 int32_t samplesPerFrame) in AAudioStreamBuilder_setSamplesPerFrame() argument
131 const aaudio_channel_mask_t channelMask = AAudioConvert_channelCountToMask(samplesPerFrame); in AAudioStreamBuilder_setSamplesPerFrame()
/frameworks/av/media/module/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()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1024 int32_t samplesPerFrame) __INTRODUCED_IN(26);