Home
last modified time | relevance | path

Searched refs:eglImage (Results 1 - 17 of 17) sorted by relevance

/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecuseeglimagehdi_fuzzer/
H A Dcodecuseeglimage_fuzzer.cpp24 int8_t *eglImage; member
55 std::vector<int8_t> eglImage; in CodecUseEglImage() local
56 ObjectToVector(params.eglImage, eglImage); in CodecUseEglImage()
58 int32_t ret = g_component->UseEglImage(params.portIndex, inbuffer, outbuffer, eglImage); in CodecUseEglImage()
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecuseeglimageomx_fuzzer/
H A Dcodecuseeglimage_fuzzer.cpp24 int8_t *eglImage; member
51 int32_t ret = g_component->UseEglImage(g_component, &buffer, params.portIndex, params.eglImage, in CodecUseEglImage()
/drivers/peripheral/codec/hal/src/
H A Dcodec_component_type_stub.c667 int8_t *eglImage = NULL; in SerStubUseEglImage() local
681 CODEC_LOGE("read eglImage size failed!"); in SerStubUseEglImage()
686 eglImage = (int8_t*)OsalMemCalloc(sizeof(int8_t) * (eglImageLen)); in SerStubUseEglImage()
687 if (eglImage == NULL) { in SerStubUseEglImage()
693 if (!HdfSbufReadInt8(data, &eglImage[i])) { in SerStubUseEglImage()
694 CODEC_LOGE("read &eglImage[i] failed!"); in SerStubUseEglImage()
695 FreeMem(eglImage, eglImageLen); in SerStubUseEglImage()
701 ret = serviceImpl->UseEglImage(serviceImpl, &buffer, portIndex, eglImage, eglImageLen); in SerStubUseEglImage()
704 FreeMem(eglImage, eglImageLen); in SerStubUseEglImage()
710 FreeMem(eglImage, eglImageLe in SerStubUseEglImage()
[all...]
H A Dcodec_adapter.cpp256 int8_t *eglImage, uint32_t eglImageLen) in OmxAdapterUseEglImage()
258 if (codecNode == nullptr || codecNode->node == nullptr || buffer == nullptr || eglImage == nullptr) { in OmxAdapterUseEglImage()
259 CODEC_LOGE("codecNode, node, buffer or eglImage is null"); in OmxAdapterUseEglImage()
262 return codecNode->node->UseEglImage(*buffer, portIndex, eglImage, eglImageLen); in OmxAdapterUseEglImage()
255 OmxAdapterUseEglImage(struct CodecComponentNode *codecNode, struct OmxCodecBuffer *buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen) OmxAdapterUseEglImage() argument
H A Dcodec_component_type_service.c249 struct OmxCodecBuffer *buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen) in CodecComponentTypeUseEglImage()
258 return OmxAdapterUseEglImage(service->codecNode, buffer, portIndex, eglImage, eglImageLen); in CodecComponentTypeUseEglImage()
248 CodecComponentTypeUseEglImage(struct CodecComponentType *self, struct OmxCodecBuffer *buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen) CodecComponentTypeUseEglImage() argument
H A Dcodec_component_type_proxy.c783 struct OmxCodecBuffer *buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen) in CodecComponentTypeProxyUseEglImage()
814 CODEC_LOGE("write eglImage failed!"); in CodecComponentTypeProxyUseEglImage()
819 if (!HdfSbufWriteInt8(data, eglImage[i])) { in CodecComponentTypeProxyUseEglImage()
820 CODEC_LOGE("write eglImage[i] failed!"); in CodecComponentTypeProxyUseEglImage()
782 CodecComponentTypeProxyUseEglImage(struct CodecComponentType *self, struct OmxCodecBuffer *buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen) CodecComponentTypeProxyUseEglImage() argument
/drivers/peripheral/codec/hal/idl_service/include/
H A Dcodec_component_service.h53 const std::vector<int8_t> &eglImage) override;
H A Dcomponent_node.h61 int32_t UseEglImage(struct OmxCodecBuffer &buffer, uint32_t portIndex, const int8_t *eglImage);
/drivers/peripheral/codec/hal/include/
H A Dcodec_adapter_interface.h107 uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen);
/drivers/peripheral/codec/interfaces/include/
H A Dcodec_component_if.h363 * @param eglImage Indicates the pointer to the image provided by EGL.
364 * @param eglImageLen Indicates the length of <b>eglImage</b>, in bytes.
372 int8_t *eglImage, uint32_t eglImageLen);
/drivers/peripheral/codec/test/benchmarktest/
H A Dcodec_benchmark_omx_test.cpp490 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in BENCHMARK_F() local
491 ASSERT_TRUE(eglImage != nullptr); in BENCHMARK_F()
493 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in BENCHMARK_F()
498 eglImage = nullptr; in BENCHMARK_F()
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/
H A Dcomponent_node.h71 int32_t UseEglImage(struct OmxCodecBuffer &buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen);
/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_hdi_omx_enc_test.cpp842 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() local
843 ASSERT_TRUE(eglImage != nullptr); in HWTEST_F()
845 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE); in HWTEST_F()
849 eglImage = nullptr; in HWTEST_F()
/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_service.cpp311 OmxCodecBuffer &outBuffer, const std::vector<int8_t> &eglImage) in UseEglImage()
316 return node_->UseEglImage(outBuffer, portIndex, eglImage.data()); in UseEglImage()
310 UseEglImage(uint32_t portIndex, const OmxCodecBuffer &inBuffer, OmxCodecBuffer &outBuffer, const std::vector<int8_t> &eglImage) UseEglImage() argument
H A Dcomponent_node.cpp313 int32_t ComponentNode::UseEglImage(struct OmxCodecBuffer &buffer, uint32_t portIndex, const int8_t *eglImage) in UseEglImage() argument
317 auto err = OMX_UseEGLImage(comp_, &pBufferHdrType, portIndex, 0, const_cast<int8_t *>(eglImage)); in UseEglImage()
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
H A Dcomponent_node.cpp208 int32_t ComponentNode::UseEglImage(struct OmxCodecBuffer &buffer, uint32_t portIndex, int8_t *eglImage, in UseEglImage() argument
213 auto err = OMX_UseEGLImage(comp_, &pBufferHdrType, portIndex, nullptr, eglImage); in UseEglImage()
/drivers/peripheral/codec/test/unittest/hdi_omx/
H A Dcodec_hdi_omx_test.cpp955 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); in HWTEST_F() local
956 ASSERT_TRUE(eglImage != nullptr); in HWTEST_F()
958 eglImage.get(), BUFFER_SIZE); in HWTEST_F()
960 eglImage = nullptr; in HWTEST_F()

Completed in 14 milliseconds