Home
last modified time | relevance | path

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

/drivers/peripheral/audio/test/fuzztest/audio_hdi_fuzzer/audiocapture_fuzzer/
Daudiocapture_fuzzer.cpp86 uint32_t frameLen = 0; in CaptureFucSwitch() local
89 capture->CaptureFrame(capture, frame, &frameLen, &replyBytes); in CaptureFucSwitch()
/drivers/peripheral/audio/test/unittest/common/render/
Daudio_render_common_test.cpp435 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/
Daudio_capture_benchmarktest.cpp204 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/
Di2s_if.h150 enum I2sFrameLen frameLen; member
/drivers/peripheral/audio/test/unittest/common/capture/
Daudio_capture_common_test.cpp199 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/
Diaudio_capture_vdi.h31 …int32_t (*CaptureFrame)(struct IAudioCaptureVdi *self, int8_t *frame, uint32_t *frameLen, uint64_t…
Diaudio_render_vdi.h33 …int32_t (*RenderFrame)(struct IAudioRenderVdi *self, const int8_t *frame, uint32_t frameLen, uint6…
/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_render.c816 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()
Daudio_capture.c715 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/
Daudio_render_benchmarktest.cpp588 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/
Daudio_internal.h493 uint32_t frameLen, uint64_t *replyBytes);
529 uint32_t *frameLen, uint64_t *replyBytes);
/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/
Daudio_capture_vdi.c62 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()
Daudio_render_vdi.c80 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/
Daudio_capture_vendor.c63 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()
Daudio_render_vendor.c81 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()