Home
last modified time | relevance | path

Searched refs:eglImage (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/surfaceimage/src/
H A Dsurface_image.cpp289 void SurfaceImage::DestroyEGLImage(EGLImageKHR &eglImage) in DestroyEGLImage() argument
291 if (eglImage != EGL_NO_IMAGE_KHR) { in DestroyEGLImage()
292 eglDestroyImageKHR(eglDisplay_, eglImage); in DestroyEGLImage()
293 eglImage = EGL_NO_IMAGE_KHR; in DestroyEGLImage()
329 EGLImageKHR eglImage = CreateEGLImage(eglDisplay_, buffer); in UpdateEGLImageAndTexture() local
330 if (eglImage == EGL_NO_IMAGE_KHR) { in UpdateEGLImageAndTexture()
333 imageCacheSeqs_[seqNum].eglImage_ = eglImage; in UpdateEGLImageAndTexture()
/ohos5.0/drivers/peripheral/codec/hal/src/
H A Dcodec_component_type_stub.c667 int8_t *eglImage = NULL; in SerStubUseEglImage() local
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()
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, eglImageLen); in SerStubUseEglImage()
714 FreeMem(eglImage, eglImageLen); in SerStubUseEglImage()
H A Dcodec_adapter.cpp256 int8_t *eglImage, uint32_t eglImageLen) in OmxAdapterUseEglImage() argument
258 …if (codecNode == nullptr || codecNode->node == nullptr || buffer == nullptr || eglImage == nullptr… in OmxAdapterUseEglImage()
262 return codecNode->node->UseEglImage(*buffer, portIndex, eglImage, eglImageLen); in OmxAdapterUseEglImage()
H A Dcodec_component_type_service.c249 struct OmxCodecBuffer *buffer, uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen) in CodecComponentTypeUseEglImage() argument
258 return OmxAdapterUseEglImage(service->codecNode, buffer, portIndex, eglImage, eglImageLen); in CodecComponentTypeUseEglImage()
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/generic/
H A Dplatform_device_gles.cpp36 data.eglImage = tmp.eglImage; in RENDER_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dgpu_image_gles.cpp233 if (reinterpret_cast<GLeglImageOES>(plat_.eglImage) != 0) { in GpuImageGLES()
250 …LImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, reinterpret_cast<GLeglImageOES>(plat_.eglImage)); in GpuImageGLES()
284 if (reinterpret_cast<GLeglImageOES>(plat_.eglImage) != 0) { in ~GpuImageGLES()
313 return (plat_.eglImage) ? ADDITIONAL_PLATFORM_CONVERSION_BIT : 0u; in GetAdditionalFlags()
H A Dgpu_image_gles.h47 uintptr_t eglImage; // For creating image from EGLImage member
/ohos5.0/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()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/codec/
H A Dinterface_i_codec_component_v10.md52 …truct [OmxCodecBuffer](_omx_codec_buffer_v10.md) outBuffer, [in] byte[] eglImage) | 使用已在EGL中申请的空间。…
631 … [in] struct OmxCodecBuffer inBuffer, [out] struct OmxCodecBuffer outBuffer, [in] byte[] eglImage )
657 | eglImage | EGL申请的图像指针。 |
H A Dinterface_i_codec_component_v20.md50 …truct [OmxCodecBuffer](_omx_codec_buffer_v20.md) outBuffer, [in] byte[] eglImage) | 使用已在EGL中申请的空间。…
631 … [in] struct OmxCodecBuffer inBuffer, [out] struct OmxCodecBuffer outBuffer, [in] byte[] eglImage )
657 | eglImage | EGL申请的图像指针。 |
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_egl_image_manager.cpp169 EGLDisplay eglDisplay, EGLImageKHR eglImage, EGLClientBuffer eglClientBuffer) in ImageCacheSeq() argument
171 eglImage_(eglImage), in ImageCacheSeq()
H A Drs_egl_image_manager.h44 EGLImageKHR eglImage,
/ohos5.0/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_service.cpp237 … OmxCodecBuffer &outBuffer, const std::vector<int8_t> &eglImage) in UseEglImage() argument
242 return node_->UseEglImage(outBuffer, portIndex, eglImage.data()); in UseEglImage()
/ohos5.0/drivers/peripheral/codec/interfaces/include/
H A Dcodec_component_if.h372 int8_t *eglImage, uint32_t eglImageLen);
/ohos5.0/drivers/peripheral/codec/hal/include/
H A Dcodec_adapter_interface.h107 uint32_t portIndex, int8_t *eglImage, uint32_t eglImageLen);
/ohos5.0/foundation/graphic/graphic_2d/frameworks/surfaceimage/include/
H A Dsurface_image.h91 void DestroyEGLImage(EGLImageKHR &eglImage);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/codec_v1_0/cpp_target/codec/v1_0/
H A Dcodec_component_proxy.h.txt77 … OHOS::HDI::Codec::V1_0::OmxCodecBuffer& outBuffer, const std::vector<int8_t>& eglImage) override;
128 …OHOS::HDI::Codec::V1_0::OmxCodecBuffer& outBuffer, const std::vector<int8_t>& eglImage, const sptr…
H A Dcodec_component_service.cpp.txt113 OHOS::HDI::Codec::V1_0::OmxCodecBuffer& outBuffer, const std::vector<int8_t>& eglImage)
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/codec_v2_0/cpp_target/codec/v2_0/
H A Dcodec_component_proxy.h.txt77 … OHOS::HDI::Codec::V2_0::OmxCodecBuffer& outBuffer, const std::vector<int8_t>& eglImage) override;
128 …OHOS::HDI::Codec::V2_0::OmxCodecBuffer& outBuffer, const std::vector<int8_t>& eglImage, const sptr…
/ohos5.0/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);
/ohos5.0/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_hdi_omx_enc_test.cpp842 auto eglImage = std::make_unique<int8_t[]>(BUFFER_SIZE); variable
843 ASSERT_TRUE(eglImage != nullptr);
845 eglImageVec.assign(eglImage.get(), eglImage.get() + BUFFER_SIZE);
849 eglImage = nullptr;
/ohos5.0/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 …

12