/system/media/audio_utils/tests/ |
D | fifo_tests.cpp | 34 size_t frameCount = 0; in main() local 46 frameCount = atoi(&arg[2]); in main() 65 if (frameCount == 0) { in main() 66 frameCount = 256; in main() 69 maxFramesPerRead = frameCount; in main() 72 maxFramesPerWrite = frameCount; in main() 112 std::unique_ptr<int16_t[]> fifoBuffer(new int16_t[frameCount * sfinfoin.channels]); in main() 113 audio_utils_fifo fifo(frameCount, frameSize, fifoBuffer.get(), readerThrottlesWriter); in main() 138 if (actualWritten < min((int) frameCount - fifoFillLevel, (int) framesToWrite)) { in main() 140 (int) actualWritten, (int) frameCount - fifoFillLevel, (int) framesToWrite); in main() [all …]
|
D | biquad_filter_tests.cpp | 56 static void populateBuffer(const S *singleChannelBuffer, size_t frameCount, in populateBuffer() argument 59 for (size_t i = 0; i < frameCount; ++i) { in populateBuffer() 71 static void randomBuffer(D *buffer, size_t frameCount, size_t channelCount) { in randomBuffer() argument 75 for (size_t i = 0; i < frameCount * channelCount; ++i) { in randomBuffer()
|
/system/media/audio_utils/include/audio_utils/ |
D | ChannelMix.h | 27 bool sparseChannelMatrixMultiply(const float *src, float *dst, size_t frameCount); 590 const float *src, float *dst, size_t frameCount, bool accumulate) const = 0; 604 virtual bool process(const float *src, float *dst, size_t frameCount, bool accumulate, 655 bool process(const float *src, float *dst, size_t frameCount, in process() argument 657 return accumulate ? processSwitch<true>(src, dst, frameCount) in process() 658 : processSwitch<false>(src, dst, frameCount); in process() 661 bool process(const float *src, float *dst, size_t frameCount, in process() argument 663 return setInputChannelMask(inputChannelMask) && process(src, dst, frameCount, accumulate); in process() 698 bool processSwitch(const float *src, float *dst, size_t frameCount) const { in processSwitch() argument 706 OUTPUT_CHANNEL_MASK, ACCUMULATE>(src, dst, frameCount); in processSwitch() [all …]
|
D | fifo.h | 73 audio_utils_fifo_base(uint32_t frameCount, audio_utils_fifo_index& writerRear, 167 audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer, 184 audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer, 413 void resize(uint32_t frameCount);
|
/system/media/audio_utils/ |
D | fifo.cpp | 33 audio_utils_fifo_base::audio_utils_fifo_base(uint32_t frameCount, in audio_utils_fifo_base() argument 37 mFrameCount(frameCount), mFrameCountP2(roundup(frameCount)), in audio_utils_fifo_base() 45 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameCount > ((uint32_t) INT32_MAX)); in audio_utils_fifo_base() 131 audio_utils_fifo::audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer, in audio_utils_fifo() argument 134 audio_utils_fifo_base(frameCount, writerRear, throttleFront, AUDIO_UTILS_FIFO_SYNC_SHARED), in audio_utils_fifo() 139 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameSize == 0 || buffer == NULL || in audio_utils_fifo() 140 frameCount > ((uint32_t) INT32_MAX) / frameSize); in audio_utils_fifo() 143 audio_utils_fifo::audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer, in audio_utils_fifo() argument 145 audio_utils_fifo(frameCount, frameSize, buffer, mSingleProcessSharedRear, in audio_utils_fifo() 379 void audio_utils_fifo_writer::resize(uint32_t frameCount) in resize() argument [all …]
|
D | ChannelMix.cpp | 75 bool sparseChannelMatrixMultiply(const float *src, float *dst, size_t frameCount) { in sparseChannelMatrixMultiply() argument 80 for (;frameCount > 0; --frameCount) { in sparseChannelMatrixMultiply() 111 const float *src, float *dst, size_t frameCount); \ 114 const float *src, float *dst, size_t frameCount); \
|
/system/media/audio_utils/benchmarks/ |
D | channelmix_benchmark.cpp | 183 constexpr size_t frameCount = 1024; in BenchmarkChannelMix() local 185 std::vector<float> input(inChannels * frameCount); in BenchmarkChannelMix() 186 std::vector<float> output(outChannels * frameCount); in BenchmarkChannelMix() 200 channelMix.process(input.data(), output.data(), frameCount, false /* accumulate */); in BenchmarkChannelMix()
|
D | audio_power_benchmark.cpp | 259 constexpr size_t frameCount = 1024; in BenchmarkPower() local 260 std::vector<float> input(channels * frameCount); in BenchmarkPower() 266 std::vector<uint8_t> buffer(channels * frameCount * audio_bytes_per_sample(FORMAT)); in BenchmarkPower()
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/ |
D | AudioConfig.aidl | 40 long frameCount;
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/ |
D | AudioConfig.aidl | 40 long frameCount;
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/3/android/media/audio/common/ |
D | AudioConfig.aidl | 40 long frameCount;
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/2/android/media/audio/common/ |
D | AudioConfig.aidl | 40 long frameCount;
|
/system/hardware/interfaces/media/aidl/android/media/audio/common/ |
D | AudioConfig.aidl | 33 long frameCount;
|
/system/media/audio/include/system/ |
D | audio_effect.h | 444 size_t frameCount; // number of frames in buffer member
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 1126 int32_t frameCount = 12; in TEST() local 1129 &frameCount, 1); in TEST() 1146 EXPECT_EQ(frameCount, *e.data.i32); in TEST() 1187 frameCount = 1001; in TEST() 1190 &frameCount, 1); in TEST() 1209 EXPECT_EQ(frameCount, *e.data.i32); in TEST() 1364 int32_t frameCount = 1001; in TEST() local 1367 &frameCount, 1); in TEST() 1386 EXPECT_EQ(frameCount, *e.data.i32); in TEST()
|