/drivers/peripheral/audio/test/fuzztest/audio_hdi_fuzzer/audiocapture_fuzzer/ |
D | audiocapture_fuzzer.cpp | 86 uint32_t frameLen = 0; in CaptureFucSwitch() local 89 capture->CaptureFrame(capture, frame, &frameLen, &replyBytes); in CaptureFucSwitch()
|
/drivers/peripheral/audio/test/unittest/common/render/ |
D | audio_render_common_test.cpp | 435 uint32_t frameLen = (uint64_t)GetRenderBufferSize(); variable 436 uint64_t requestBytes = frameLen; 441 int8_t *frame = (int8_t *)calloc(1, frameLen); 444 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes); 647 uint32_t frameLen = DEFAULT_BUFFER_SIZE; variable 648 uint64_t requestBytes = frameLen; 649 int8_t *frame = (int8_t *)calloc(1, frameLen); 651 … EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->RenderFrame(nullptr, frame, frameLen, &requestBytes)); 660 uint32_t frameLen = (uint64_t)GetRenderBufferSize(); variable 661 uint64_t requestBytes = frameLen; [all …]
|
/drivers/peripheral/audio/test/benchmarktest/capture/ |
D | audio_capture_benchmarktest.cpp | 204 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); in BENCHMARK_F() local 205 uint64_t requestBytes = frameLen; in BENCHMARK_F() 210 int8_t *frame = (int8_t *)calloc(1, frameLen); in BENCHMARK_F() 214 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); in BENCHMARK_F() 233 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); in BENCHMARK_F() local 234 uint64_t requestBytes = frameLen; in BENCHMARK_F() 239 int8_t *frame = (int8_t *)calloc(1, frameLen); in BENCHMARK_F() 242 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); in BENCHMARK_F()
|
/drivers/hdf_core/framework/include/platform/ |
D | i2s_if.h | 150 enum I2sFrameLen frameLen; member
|
/drivers/peripheral/audio/test/unittest/common/capture/ |
D | audio_capture_common_test.cpp | 199 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 200 uint64_t requestBytes = frameLen; 206 int8_t *frame = (int8_t *)calloc(1, frameLen); 209 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); 248 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 249 uint64_t requestBytes = frameLen; 256 int8_t *frame = (int8_t *)calloc(1, frameLen); 259 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes);
|
/drivers/peripheral/audio/interfaces/sound/v1_0/ |
D | iaudio_capture_vdi.h | 31 …int32_t (*CaptureFrame)(struct IAudioCaptureVdi *self, int8_t *frame, uint32_t *frameLen, uint64_t…
|
D | iaudio_render_vdi.h | 33 …int32_t (*RenderFrame)(struct IAudioRenderVdi *self, const int8_t *frame, uint32_t frameLen, uint6…
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
D | audio_render.c | 816 struct IAudioRender *render, const int8_t *frame, uint32_t frameLen, uint64_t *replyBytes) in AudioRenderRenderFrame() argument 826 if (frameLen > FRAME_DATA) { in AudioRenderRenderFrame() 832 … int32_t ret = memcpy_s(hwRender->renderParam.frameRenderMode.buffer, FRAME_DATA, frame, frameLen); in AudioRenderRenderFrame() 839 hwRender->renderParam.frameRenderMode.bufferSize = (uint64_t)frameLen; in AudioRenderRenderFrame() 841 ret = PcmBytesToFrames(&hwRender->renderParam.frameRenderMode, (uint64_t)frameLen, &frameCount); in AudioRenderRenderFrame() 857 *replyBytes = (uint64_t)frameLen; in AudioRenderRenderFrame()
|
D | audio_capture.c | 715 struct IAudioCapture *capture, int8_t *frame, uint32_t *frameLen, uint64_t *replyBytes) in AudioCaptureCaptureFrame() argument 718 if (hwCapture == NULL || frame == NULL || frameLen == NULL || in AudioCaptureCaptureFrame() 740 if (*frameLen < hwCapture->captureParam.frameCaptureMode.bufferSize) { in AudioCaptureCaptureFrame() 745 ret = memcpy_s(frame, (size_t)*frameLen, hwCapture->captureParam.frameCaptureMode.buffer, in AudioCaptureCaptureFrame()
|
/drivers/peripheral/audio/test/benchmarktest/render/ |
D | audio_render_benchmarktest.cpp | 588 uint32_t frameLen = (uint64_t)GetRenderBufferSize(); in BENCHMARK_F() local 589 uint64_t requestBytes = frameLen; in BENCHMARK_F() 592 int8_t *frame = (int8_t *)calloc(1, frameLen); in BENCHMARK_F() 596 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes); in BENCHMARK_F()
|
/drivers/peripheral/audio/hdi_service/primary_impl/include/ |
D | audio_internal.h | 493 uint32_t frameLen, uint64_t *replyBytes); 529 uint32_t *frameLen, uint64_t *replyBytes);
|
/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/ |
D | audio_capture_vdi.c | 62 int32_t AudioCaptureFrameVdi(struct IAudioCapture *capture, int8_t *frame, uint32_t *frameLen, uint… in AudioCaptureFrameVdi() argument 66 CHECK_NULL_PTR_RETURN_VALUE(frameLen, HDF_ERR_INVALID_PARAM); in AudioCaptureFrameVdi() 74 int32_t ret = vdiCapture->CaptureFrame(vdiCapture, frame, frameLen, replyBytes); in AudioCaptureFrameVdi()
|
D | audio_render_vdi.c | 80 int32_t AudioRenderFrameVdi(struct IAudioRender *render, const int8_t *frame, uint32_t frameLen, ui… in AudioRenderFrameVdi() argument 91 int32_t ret = vdiRender->RenderFrame(vdiRender, frame, frameLen, replyBytes); in AudioRenderFrameVdi()
|
/drivers/peripheral/audio/hdi_service/primary_impl/vendor_src/ |
D | audio_capture_vendor.c | 63 int32_t AudioHwiCaptureFrame(struct IAudioCapture *capture, int8_t *frame, uint32_t *frameLen, uint… in AudioHwiCaptureFrame() argument 67 CHECK_NULL_PTR_RETURN_VALUE(frameLen, HDF_ERR_INVALID_PARAM); in AudioHwiCaptureFrame() 75 int32_t ret = hwiCapture->CaptureFrame(hwiCapture, frame, *frameLen, replyBytes); in AudioHwiCaptureFrame()
|
D | audio_render_vendor.c | 81 int32_t AudioHwiRenderFrame(struct IAudioRender *render, const int8_t *frame, uint32_t frameLen, ui… in AudioHwiRenderFrame() argument 92 int32_t ret = hwiRender->RenderFrame(hwiRender, frame, frameLen, replyBytes); in AudioHwiRenderFrame()
|