Home
last modified time | relevance | path

Searched refs:frameCount (Results 1 – 7 of 7) sorted by relevance

/system/media/audio_utils/tests/
Dfifo_tests.cpp33 size_t frameCount = 0; in main() local
45 frameCount = atoi(&arg[2]); in main()
64 if (frameCount == 0) { in main()
65 frameCount = 256; in main()
68 maxFramesPerRead = frameCount; in main()
71 maxFramesPerWrite = frameCount; in main()
111 int16_t *fifoBuffer = new int16_t[frameCount * sfinfoin.channels]; in main()
112 audio_utils_fifo fifo(frameCount, frameSize, fifoBuffer, readerThrottlesWriter); in main()
137 if (actualWritten < min((int) frameCount - fifoFillLevel, (int) framesToWrite)) { in main()
139 (int) actualWritten, (int) frameCount - fifoFillLevel, (int) framesToWrite); in main()
[all …]
/system/media/audio_utils/
Dfifo.cpp33 audio_utils_fifo_base::audio_utils_fifo_base(uint32_t frameCount, in audio_utils_fifo_base() argument
36 mFrameCount(frameCount), mFrameCountP2(roundup(frameCount)), in audio_utils_fifo_base()
44 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameCount > ((uint32_t) INT32_MAX)); in audio_utils_fifo_base()
130 audio_utils_fifo::audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer, in audio_utils_fifo() argument
133 audio_utils_fifo_base(frameCount, writerRear, throttleFront), in audio_utils_fifo()
138 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameSize == 0 || buffer == NULL || in audio_utils_fifo()
139 frameCount > ((uint32_t) INT32_MAX) / frameSize); in audio_utils_fifo()
142 audio_utils_fifo::audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer, in audio_utils_fifo() argument
144 audio_utils_fifo(frameCount, frameSize, buffer, mSingleProcessSharedRear, in audio_utils_fifo()
362 void audio_utils_fifo_writer::resize(uint32_t frameCount) in resize() argument
[all …]
/system/media/audio_utils/include/audio_utils/
Dfifo.h69 audio_utils_fifo_base(uint32_t frameCount, audio_utils_fifo_index& writerRear,
161 audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer,
175 audio_utils_fifo(uint32_t frameCount, uint32_t frameSize, void *buffer,
403 void resize(uint32_t frameCount);
/system/bt/embdrv/sbc/decoder/srce/
Ddecoder-sbc.c385 uint8_t frameCount = 0; in OI_CODEC_SBC_FrameCount() local
395 return frameCount; in OI_CODEC_SBC_FrameCount()
424 frameCount++; in OI_CODEC_SBC_FrameCount()
433 return frameCount; in OI_CODEC_SBC_FrameCount()
/system/media/audio/include/system/
Daudio_effect.h450 size_t frameCount; // number of frames in buffer member
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc.h196 uint32_t frameCount; member
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1126 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()