/drivers/peripheral/codec/hdi_service/codec_service_stub/ |
D | codec_callback_stub.c | 119 CodecBuffer *outBuf = NULL; in SerCodecOutputBufferAvailable() local 134 outBuf = (CodecBuffer *)OsalMemAlloc(sizeof(CodecBuffer) + sizeof(CodecBufferInfo) * bufCnt); in SerCodecOutputBufferAvailable() 135 if (outBuf == NULL) { in SerCodecOutputBufferAvailable() 139 outBuf->bufferCnt = bufCnt; in SerCodecOutputBufferAvailable() 140 if (CodecSerParseCodecBuffer(data, outBuf)) { in SerCodecOutputBufferAvailable() 142 OsalMemFree(outBuf); in SerCodecOutputBufferAvailable() 145 ret = serviceImpl->callback.OutputBufferAvailable((UINTPTR)userData, outBuf, &acquireFd); in SerCodecOutputBufferAvailable() 148 OsalMemFree(outBuf); in SerCodecOutputBufferAvailable() 151 OsalMemFree(outBuf); in SerCodecOutputBufferAvailable()
|
D | codec_callback_service.h | 28 int CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd);
|
D | codec_callback_service.c | 33 int CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in CodecCallbackOutputBufferAvailable() argument
|
D | codec_service.c | 90 static int32_t CodecOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in CodecOutputBufferAvailable() argument 97 if (outBuf == NULL || outBuf->bufferCnt == 0) { in CodecOutputBufferAvailable() 101 CodecBuffer *outputInfo = GetOutputInfo(instance, outBuf->bufferId); in CodecOutputBufferAvailable() 106 CopyCodecBufferWithTypeSwitch(instance, outputInfo, outBuf, true); in CodecOutputBufferAvailable() 118 SetOemCodecBufferType(outBuf, output); in CodecOutputBufferAvailable() 119 CopyCodecBufferWithTypeSwitch(instance, outBuf, output, false); in CodecOutputBufferAvailable()
|
/drivers/peripheral/display/test/unittest/lite/ |
D | loadbmp_test.c | 115 uint8_t **outBuf, uint32_t *stride) in LoadPicToBuffer() argument 150 *outBuf = (uint8_t*)malloc(videoLogo->height * (*stride)); in LoadPicToBuffer() 151 if (*outBuf == NULL) { in LoadPicToBuffer() 161 free(*outBuf); in LoadPicToBuffer() 162 *outBuf = NULL; in LoadPicToBuffer() 165 if (fread((*outBuf), 1, byteNum, file) != byteNum) { in LoadPicToBuffer() 168 free(*outBuf); in LoadPicToBuffer() 169 *outBuf = NULL; in LoadPicToBuffer()
|
/drivers/peripheral/sensor/chipset/ppg/ |
D | ppg_cs1262.c | 91 static int32_t ReadFifo(uint8_t *outBuf, uint16_t outBufMaxLen, uint16_t *outLen) in ReadFifo() argument 120 (void)memset_s(outBuf, outBufMaxLen, 0, (fifoNum * sizeof(Cs1262FifoVal))); in ReadFifo() 121 ret = Cs1262ReadFifoReg((Cs1262FifoVal *)outBuf, fifoNum); in ReadFifo() 208 static int32_t Cs1262ReadData(uint8_t *outBuf, uint16_t outBufMaxLen, uint16_t *outLen) in Cs1262ReadData() argument 212 CHECK_NULL_PTR_RETURN_VALUE(outBuf, HDF_ERR_INVALID_PARAM); in Cs1262ReadData() 221 ret = ReadFifo(outBuf, outBufMaxLen, outLen); in Cs1262ReadData()
|
/drivers/hdf_core/framework/model/sensor/driver/ppg/ |
D | sensor_ppg_driver.h | 21 int32_t (*ReadData)(uint8_t *outBuf, uint16_t outBufMaxLen, uint16_t *outLen);
|
/drivers/peripheral/codec/hdi_service/codec_proxy/ |
D | codec_callback.h | 46 CodecBuffer *outBuf, int32_t *acquireFd);
|
D | codec_callback_proxy.c | 157 CodecBuffer *outBuf, int32_t *acquireFd) in CodecCallbackProxyOutputBufferAvailable() argument 162 if (outBuf == NULL || self == NULL) { in CodecCallbackProxyOutputBufferAvailable() 180 if (CodecProxyPackCodecBuffer(data, outBuf)) { in CodecCallbackProxyOutputBufferAvailable()
|
/drivers/peripheral/codec/hal/passthrough/adapter/include/ |
D | component_node.h | 52 int32_t static OutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd); 68 int32_t OnFillBufferDone(CodecBuffer *outBuf, int32_t *acquireFd);
|
/drivers/peripheral/codec/test/demo/v1.0/ |
D | codec_encode_test_async.c | 480 static int32_t CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *a… in CodecCallbackOutputBufferAvailable() argument 482 if (outBuf == NULL) { in CodecCallbackOutputBufferAvailable() 486 g_totalDstSize += outBuf->buffer[0].length; in CodecCallbackOutputBufferAvailable() 487 ShareMemory *sm = GetShareMemoryById(outBuf->bufferId); in CodecCallbackOutputBufferAvailable() 488 DumpOutputToFile(g_data.fpOutput, sm->virAddr, outBuf->buffer[0].length); in CodecCallbackOutputBufferAvailable() 490 outBuf->buffer[0].length = 0; in CodecCallbackOutputBufferAvailable() 491 …g_codecProxy->CodecQueueOutput(g_codecProxy, (CODEC_HANDLETYPE)g_handle, outBuf, QUEUE_TIME_OUT, -… in CodecCallbackOutputBufferAvailable() 492 if (outBuf->flag & STREAM_FLAG_EOS) { in CodecCallbackOutputBufferAvailable()
|
D | codec_decode_test_async.c | 604 static int32_t CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *a… in CodecCallbackOutputBufferAvailable() argument 606 if (outBuf == NULL) { in CodecCallbackOutputBufferAvailable() 611 ShareMemory *sm = GetShareMemoryById(outBuf->bufferId); in CodecCallbackOutputBufferAvailable() 614 outBuf->buffer[0].length = 0; in CodecCallbackOutputBufferAvailable() 615 …g_codecProxy->CodecQueueOutput(g_codecProxy, (CODEC_HANDLETYPE)g_handle, outBuf, QUEUE_TIME_OUT, -… in CodecCallbackOutputBufferAvailable() 616 if (outBuf->flag & STREAM_FLAG_EOS) { in CodecCallbackOutputBufferAvailable()
|
D | codec_encode_test_ipc.c | 300 int32_t TestOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in TestOutputBufferAvailable() argument 302 …HDF_LOGI("%{public}s: TestOutputBufferAvailable write %{public}d", __func__, outBuf->buffer[0].len… in TestOutputBufferAvailable()
|
D | codec_decode_test_ipc.c | 412 int32_t TestOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in TestOutputBufferAvailable() argument 414 …HDF_LOGI("%{public}s: TestOutputBufferAvailable write %{public}d", __func__, outBuf->buffer[0].len… in TestOutputBufferAvailable()
|
/drivers/peripheral/codec/hal/passthrough/adapter/src/ |
D | component_node.cpp | 52 int32_t ComponentNode::OutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquir… in OutputBufferAvailable() argument 56 node->OnFillBufferDone(outBuf, acquireFd); in OutputBufferAvailable() 382 int32_t ComponentNode::OnFillBufferDone(CodecBuffer *outBuf, int32_t *acquireFd) in OnFillBufferDone() argument 384 if (omxCallback_ == nullptr || outBuf == nullptr || omxCallback_->FillBufferDone == nullptr) { in OnFillBufferDone() 390 Common::ConvertCodecBufferToOmxCodecBuffer(omxCodecBuffer, *outBuf); in OnFillBufferDone()
|
/drivers/peripheral/codec/interfaces/include/ |
D | codec_type.h | 408 int32_t (*OutputBufferAvailable)(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd);
|