/test/xts/dcts/distributedhardware/distributedscreentest/ |
D | decoder_demo.cpp | 215 const int32_t* frameLen = nullptr; in GetFrameLen() local 217 frameLen = ES_W; in GetFrameLen() 220 frameLen = ES_R; in GetFrameLen() 223 return frameLen; in GetFrameLen() 228 const int32_t *frameLen = GetFrameLen(); in InputFunc() local 248 char *fileBuffer = static_cast<char *>(malloc(sizeof(char) * (*frameLen) + 1)); in InputFunc() 253 (void)testFile_->read(fileBuffer, *frameLen); in InputFunc() 254 if (memcpy_s(buffer->GetBase(), buffer->GetSize(), fileBuffer, *frameLen) != EOK) { in InputFunc() 261 info.size = *frameLen; in InputFunc() 274 frameLen++; in InputFunc()
|
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/ |
D | AudioCaptureCommonTestAdditional.cpp | 932 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 933 uint64_t requestBytes = frameLen; 940 int8_t *frame = (int8_t *)calloc(1, frameLen); 943 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); 960 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 961 uint64_t requestBytes = frameLen; 977 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 983 EXPECT_NE(HDF_SUCCESS, capture_->CaptureFrame(nullptr, nullptr, &frameLen, nullptr)); 993 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 994 uint64_t requestBytes = frameLen; [all …]
|
/test/xts/hats/hdf/audio/idl/common/render/src/ |
D | audio_render_common_test.cpp | 412 uint32_t frameLen = (uint64_t)GetRenderBufferSize(); variable 413 uint64_t requestBytes = frameLen; 418 int8_t *frame = (int8_t *)calloc(1, frameLen); 421 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes); 624 uint32_t frameLen = DEFAULT_BUFFER_SIZE; variable 625 uint64_t requestBytes = frameLen; 626 int8_t *frame = (int8_t *)calloc(1, frameLen); 628 … EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->RenderFrame(nullptr, frame, frameLen, &requestBytes)); 637 uint32_t frameLen = (uint64_t)GetRenderBufferSize(); variable 638 uint64_t requestBytes = frameLen; [all …]
|
/test/xts/hats/hdf/audio/idl/benchmarktest/capture/ |
D | audio_capture_benchmarktest.cpp | 201 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); in BENCHMARK_F() local 202 uint64_t requestBytes = frameLen; in BENCHMARK_F() 207 int8_t *frame = (int8_t *)calloc(1, frameLen); in BENCHMARK_F() 211 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); in BENCHMARK_F() 229 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); in BENCHMARK_F() local 230 uint64_t requestBytes = frameLen; in BENCHMARK_F() 235 int8_t *frame = (int8_t *)calloc(1, frameLen); in BENCHMARK_F() 238 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); in BENCHMARK_F()
|
/test/xts/hats/hdf/audio/idl/common/capture/src/ |
D | audio_capture_common_test.cpp | 196 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 197 uint64_t requestBytes = frameLen; 203 int8_t *frame = (int8_t *)calloc(1, frameLen); 206 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); 246 uint32_t frameLen = (uint64_t)GetCaptureBufferSize(); variable 247 uint64_t requestBytes = frameLen; 254 int8_t *frame = (int8_t *)calloc(1, frameLen); 257 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes);
|
/test/xts/hats/hdf/audio/idl/common/render_additional/src/ |
D | AudioRenderCommonTest.cpp | 201 uint64_t frameLen = (uint64_t)GetRenderBufferSize(); variable 202 uint64_t requestBytes = frameLen; 207 int8_t *frame = (int8_t *)calloc(1, frameLen); 210 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes); 223 uint64_t frameLen = (uint64_t)GetRenderBufferSize(); variable 224 uint64_t requestBytes = frameLen; 230 int8_t *frame = (int8_t *)calloc(1, frameLen); 233 ret |= render_->RenderFrame(render_, frame, frameLen, &requestBytes); 247 uint64_t frameLen = (uint64_t)GetRenderBufferSize(); variable 248 uint64_t requestBytes = frameLen; [all …]
|
/test/xts/hats/hdf/audio/idl/benchmarktest/render/ |
D | audio_render_benchmarktest.cpp | 549 uint32_t frameLen = (uint64_t)GetRenderBufferSize(); in BENCHMARK_F() local 550 uint64_t requestBytes = frameLen; in BENCHMARK_F() 553 int8_t *frame = (int8_t *)calloc(1, frameLen); in BENCHMARK_F() 557 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes); in BENCHMARK_F()
|