/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecuseeglimagehdi_fuzzer/ |
H A D | codecuseeglimage_fuzzer.cpp | 24 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 D | codecuseeglimage_fuzzer.cpp | 24 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 D | codec_component_type_stub.c | 667 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 D | codec_adapter.cpp | 256 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 D | codec_component_type_service.c | 249 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 D | codec_component_type_proxy.c | 783 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 D | codec_component_service.h | 53 const std::vector<int8_t> &eglImage) override;
|
H A D | component_node.h | 61 int32_t UseEglImage(struct OmxCodecBuffer &buffer, uint32_t portIndex, const int8_t *eglImage);
|
/drivers/peripheral/codec/hal/include/ |
H A D | codec_adapter_interface.h | 107 uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen);
|
/drivers/peripheral/codec/interfaces/include/ |
H A D | codec_component_if.h | 363 * @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 D | codec_benchmark_omx_test.cpp | 490 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 D | component_node.h | 71 int32_t UseEglImage(struct OmxCodecBuffer &buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen);
|
/drivers/peripheral/codec/test/unittest/idl_omx/ |
H A D | codec_hdi_omx_enc_test.cpp | 842 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 D | codec_component_service.cpp | 311 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 D | component_node.cpp | 313 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 D | component_node.cpp | 208 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 D | codec_hdi_omx_test.cpp | 955 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()
|