/ohos5.0/drivers/interface/display/composer/v1_0/display_command/ |
H A D | display_cmd_utils.h | 84 static int32_t StartPack(int32_t cmdId, CommandDataPacker& packer) in StartPack() argument 86 return packer.PackBegin(cmdId) ? HDF_SUCCESS : HDF_FAILURE; in StartPack() 89 static int32_t EndPack(CommandDataPacker& packer) in EndPack() argument 94 static int32_t StartSection(int32_t cmdId, CommandDataPacker& packer) in StartSection() argument 96 return packer.BeginSection(cmdId) ? HDF_SUCCESS : HDF_FAILURE; in StartSection() 101 DISPLAY_CHK_RETURN(packer.WriteUint32(devId) == false, HDF_FAILURE, in SetupDevice() 108 static int32_t EndSection(CommandDataPacker& packer) in EndSection() argument 110 return packer.EndSection() ? HDF_SUCCESS : HDF_FAILURE; in EndSection() 140 static int32_t RectPack(const IRect& rect, CommandDataPacker& packer) in RectPack() argument 213 int32_t ret = FileDescriptorPack(buffer->fd, packer, hdiFds); in BufferHandlePack() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/common/src/ |
H A D | convert_utils.cpp | 64 ImagePacker packer; in ConvertDataToFd() local 67 packer.StartPacking(fd, option); in ConvertDataToFd() 68 packer.AddImage(*(pixelMap.get())); in ConvertDataToFd() 69 uint32_t errorCode = packer.FinalizePacking(); in ConvertDataToFd()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_packer_mdk_test.cpp | 42 napi_value* packer = nullptr; variable 43 int32_t ret = OH_ImagePacker_Create(env, packer); 57 napi_value packer = nullptr; variable 58 ImagePacker_Native* ret = OH_ImagePacker_InitNative(env, packer);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_packer_mdk_kits.cpp | 106 static int32_t DoStartPacking(std::shared_ptr<ImagePacker> &packer, struct ImagePackerArgs* args) in DoStartPacking() argument 117 return packer->StartPacking(args->outData, *(args->dataSize), option); in DoStartPacking() 119 return packer->StartPacking(args->inNum0, option); in DoStartPacking() 125 static int32_t DoAddImage(std::shared_ptr<ImagePacker> &packer, in DoAddImage() argument 135 return packer->AddImage(*image); in DoAddImage() 143 return packer->AddImage(*pixel); in DoAddImage()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | test_base.cpp | 303 OH_ImagePackerNative *packer = nullptr; in Pixmap2ImageFile() local 304 auto result = OH_ImagePackerNative_Create(&packer); in Pixmap2ImageFile() 305 if (result != IMAGE_SUCCESS || !packer) { in Pixmap2ImageFile() 333 OH_ImagePackerNative_Release(packer); in Pixmap2ImageFile() 338 result = OH_ImagePackerNative_PackToFileFromPixelmap(packer, opts, pixelMap, fd); in Pixmap2ImageFile() 343 OH_ImagePackerNative_Release(packer); in Pixmap2ImageFile() 350 OH_ImagePackerNative_Release(packer); in Pixmap2ImageFile()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_image_info.cpp | 57 Media::ImagePacker packer; in ConvertToString() local 59 auto errCode = packer.StartPacking(outputStream, option); in ConvertToString() 64 errCode = packer.AddImage(*pixelMap); in ConvertToString() 70 errCode = packer.FinalizePacking(packedSize); in ConvertToString()
|
/ohos5.0/docs/zh-cn/application-dev/media/image/ |
H A D | image-encoding-native.md | 49 napi_value packer; 51 int32_t result = OH_ImagePacker_Create(env, &packer); 60 ImagePacker_Native* nativePacker = OH_ImagePacker_InitNative(env, packer);
|
H A D | Readme-CN.md | 19 - [使用Image_NativeModule完成图片编码](image-packer-c.md) 20 - [使用Image_NativeModule完成多图对象编码](image-packer-picture-c.md)
|
/ohos5.0/foundation/multimedia/image_framework/ |
H A D | README_zh.md | 31 - [释放packer实例](#release3) 62 - 创建、释放packer实例。 477 2.创建packer实例。 485 image提供了操作imagesource的接口,如创建、读取和删除,以下展示了如何释放packer实例。 492 1.使用createImagePacker创建packer实例。 498 2.使用release释放packer实例。 574 2.使用release释放packer实例。
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/ |
H A D | image_packer_mdk.cpp | 40 ImagePacker_Native* OH_ImagePacker_InitNative(napi_env env, napi_value packer) in OH_ImagePacker_InitNative() argument 43 result->napi = ImagePackerNapi_Unwrap(env, packer); in OH_ImagePacker_InitNative()
|
/ohos5.0/docs/en/application-dev/media/image/ |
H A D | Readme-EN.md | 19 - [Using Image_NativeModule to Encode Images](image-packer-c.md) 20 - [Using Image_NativeModule to Encode Pictures](image-packer-picture-c.md)
|
H A D | image-encoding-native.md | 49 napi_value packer; 51 int32_t result = OH_ImagePacker_Create(env, &packer); 60 ImagePacker_Native* nativePacker = OH_ImagePacker_InitNative(env, packer);
|
H A D | image-structure-c.md | 22 OH_ImagePackerNative is the image packer struct encapsulated at the native layer. The struct cannot…
|
/ohos5.0/build/ohos/packages/ |
H A D | fs_process.py | 241 packer = Packer(args) variable 243 packer.replace_items = { 250 packer.fs_make('')
|
H A D | BUILD.gn | 58 action("packer") {
|
/ohos5.0/foundation/multimedia/image_framework/interfaces/kits/native/include/ |
H A D | image_packer_mdk.h | 115 ImagePacker_Native* OH_ImagePacker_InitNative(napi_env env, napi_value packer);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/ |
H A D | image__packer__mdk_8h.md | 54 …nitNative](image.md#oh_imagepacker_initnative) (napi_env env, napi_value packer) | 从输入JavaScript n…
|
H A D | image.md | 108 …Packer_InitNative](#oh_imagepacker_initnative) (napi_env env, napi_value packer) | 从输入JavaScript n… 1291 ImagePacker_Native* OH_ImagePacker_InitNative (napi_env env, napi_value packer ) 1303 | packer | 表明JavaScript native层ImagePacker对象。 |
|
H A D | _image___native_module.md | 17 - [使用Image_NativeModule完成图片编码](../../media/image/image-packer-c.md) 18 - [使用Image_NativeModule完成多图对象编码](../../media/image/image-packer-picture-c.md)
|
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/ |
H A D | image__packer__native_8h.md | 24 …native) | Defines a struct for the image packer, which is used to perform operations related to an…
|
H A D | image__packer__mdk_8h.md | 52 …nitNative](image.md#oh_imagepacker_initnative) (napi_env env, napi_value packer) | Converts an **I…
|
H A D | image.md | 73 …ker_Native_ [ImagePacker_Native](#imagepacker_native) | Defines an image packer object at the nati… 108 …Packer_InitNative](#oh_imagepacker_initnative) (napi_env env, napi_value packer) | Converts an **I… 247 Defines an image packer object at the native layer. 1368 ImagePacker_Native* OH_ImagePacker_InitNative (napi_env env, napi_value packer ) 1382 | packer | **ImagePacker** object at the JavaScript native layer. |
|
H A D | _image___native_module.md | 17 - [Using Image_NativeModule to Encode Images](../../media/image/image-packer-c.md) 18 - [Using Image_NativeModule to Encode Pictures](../../media/image/image-packer-picture-c.md) 62 …native) | Defines a struct for the image packer, which is used to perform operations related to an… 543 Defines a struct for the image packer, which is used to perform operations related to an image pack…
|
/ohos5.0/build/ohos/images/ |
H A D | BUILD.gn | 46 deps += [ "//build/ohos/packages:packer" ]
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | native-camera-deferred-capture.md | 106 // Create an image packer and set packing options.
|