/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | zlib.md | 5 [zlib](https://zlib.net/) is a general data compression library implemented in C/C++. 9 …compression and decompression. By employing the deflate algorithm, it is possible to select from v… 11 …compactness and swift performance. The gzip format is designed for the compression of individual f…
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | errorcode-zlib.md | 85 …rrect. If a **.gz** file is created, ensure that the file access is in compression mode (such as *… 96 This error code is reported when an error occurs in compression or decompression stream when the **… 100 …e **deflateInit** or **inflateInit** API is not used to initialize the compression or decompressio… 105 … API, use the **deflateInit** or **inflateInit** API to initialize the compression or decompressio… 107 …, **gzprintf** is a compression API. When the API for opening a **.gz** file is called, the input … 122 … **uncompress** or **uncompress2** API is called, the **compress** API is not used for compression. 140 … **gzclose** or **gzclosew** API. As a result, an incorrect compression level or compression strat… 144 …r the **gzsetparams** API is called and pass in the correct compression level and compression stra… 159 …s2** API is called, the input buffer size is greater than the output buffer size after compression.
|
H A D | js-apis-zlib.md | 3 The **Zip** module provides APIs for file compression and decompression. 3440 Resets the initialized deflate compression stream, but retains the compression parameters and dicti… 3568 Dynamically updates the compression level and compression strategy. This API uses a promise to retu… 3719 | COMPRESS_LEVEL_DEFAULT_COMPRESSION | -1 | Default compression level. | 3741 | COMPRESS_STRATEGY_DEFAULT_STRATEGY | 0 | Default compression strategy. | 3742 | COMPRESS_STRATEGY_FILTERED | 1 | Filtered compression strategy.| 3743 | COMPRESS_STRATEGY_HUFFMAN_ONLY | 2 | Huffman coding compression strategy. | 3744 | COMPRESS_STRATEGY_RLE | 3 | RLE compression strategy. | 3745 | COMPRESS_STRATEGY_FIXED | 4 | Fixed compression strategy. | 3767 | FULL_FLUSH | 3 | Resets the compression state. | [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | data_compression.h | 38 DataCompression(const DataCompression& compression) = delete; 39 DataCompression& operator= (const DataCompression& compression) = delete; 41 static void Register(CompressAlgorithm algo, DataCompression *compression);
|
H A D | zlib_compression.h | 32 ZlibCompression(const ZlibCompression& compression) = delete; 33 ZlibCompression& operator= (const ZlibCompression& compression) = delete;
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.2/ |
H A D | changelogs-bundlemanager.md | 11 …ile.md) is set to **true**, the packing tool packs **libs** in a lower compression level (changed … 27 …efault compression level (5) before the modification. After the modification, the packing tool pac…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_image_gles.cpp | 56 … result.compression = { fmt.compression.compressed, fmt.compression.blockW, fmt.compression.blockH, in ConvertFormat() 57 fmt.compression.bytesperblock }; in ConvertFormat()
|
H A D | gpu_image_gles.h | 44 } compression; member
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-multimedia.md | 267 …age to a specified size? What are the factors affecting the size after compression? (API version 1… 271 What is the relationship between the **quality** parameter in the image compression APIs and the or… 275 …ects the target image size for a lossy compression image format (such as JPEG), but not for a loss… 276 …compression images, the target image size depends on the original image size, compression quality,…
|
H A D | faqs-dfx.md | 19 -**-m**: Specifies the log file compression algorithm.
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.33/ |
H A D | changelogs-bundlemanager.md | 11 The packaging specifications are changed. APP files are packaged in compression mode to reduce the … 15 This change is a non-compatible change. In release mode, compression is enabled by default during A…
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | improve-file-upload-and-download-performance.md | 7 …es two key technologies for upload/download and network requests: data compression and resumable d… 44 …ction may be time-consuming. In this case, you can use [data compression](#data-compression) to sp… 52 Data compression enables the system to compress data in your application, thereby reducing storage … 54 In application development, common data compression technologies are classified into the following … 56 - Lossy compression: applies only to images, videos, and audio files. It decreases the file size by… 57 - Lossless compression: You can use [@ohos.zlib (Zip)](../reference/apis-basic-services-kit/js-apis… 60 …s in batches from Gallery as an example to describe the technology related to lossless compression. 82 … time difference is not obvious when the number of images is small, as compression consumes extra … 84 To implement data compression, proceed as follows: 94 2. Create a class related to compression and upload.
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.16/ |
H A D | changelogs-arkui.md | 51 …ht were not set, and the set margin exceeded the component's size, the compression did not take ef… 53 …ight are not set, and the set margin exceeds the component's size, the compression takes effect, a…
|
/ohos5.0/docs/en/application-dev/basic-services/ |
H A D | basic-services-kit-overview.md | 3 …ion developers, from pasteboard read/write, file upload/download, file compression, file printing,… 28 …rence/apis-basic-services-kit/js-apis-zlib.md): provides APIs for file compression and decompressi… 56 …aring, and data backup and restore, and use this kit to implement file compression, file upload an…
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-appendix-hi3516.md | 6 …hanks to its next-generation image signal processor (ISP), H.265 video compression encoder, and hi…
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | ndk-development-overview.md | 3 …ch as the C runtime libc, graphics library, window system, multimedia, compression library, and No… 91 | zlib | Provides basic data compression and decompression interfaces.|
|
/ohos5.0/docs/en/application-dev/ai/mindspore/ |
H A D | MindSpore-Lite-Kit-Introduction.md | 18 …des an ultra-lightweight solution, and supports model quantization and compression to enable small… 20 …Flow Lite, Caffe, and ONNX models, provides capabilities such as model compression and data proces…
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | arkts-runtime-overview.md | 15 …ction.md) (CMS-GC and Partial-Compressing-GC for concurrent marking and partial memory compression)
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | native-apidiff-v3.1-release.md | 118 …eflate OF((z_streamp strm, int flush)); | Added | Added the API for compression. … 121 …m)); | Added | Added the API for freeing up space after the compression is complete. … 124 …)); | Added | Added the API for dynamically updating the compression level and compression stra… 127 …End** followed by **deflateInit**, but does not free or reallocate the internal compression state.| 128 …ded the API for initializing the compression dictionary from a given sequence of bytes without pro… 130 …t max_chain)); | Added | Added the API for fine-tuning the internal compression parameters of *… 133 … all pending output, closing the compressed file, and deallocating the compression state. … 150 …nt strategy)); | Added | Added the API for dynamically updating the compression level or strate…
|
/ohos5.0/docs/en/application-dev/dfx/ |
H A D | hilog.md | 58 | | | none | Indicates that data is flushed to disks in non-compression mode.| 59 | | | zlib | Indicates that data is flushed to disks using the zlib compression algorithm. The fl… 60 | | | zstd | Indicates that data is flushed to disks using the zstd compression algorithm. The fl…
|
/ohos5.0/docs/en/application-dev/tools/ |
H A D | packing-tool.md | 53 …* is set to **true**. A larger value indicates a higher compression rate and a slower compression … 82 …* is set to **true**. A larger value indicates a higher compression rate and a slower compression …
|
H A D | rawheap-translator.md | 186 …he compressed .rawheap file. Generally, the compression ratio is 10:1 and varies depending on the …
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-standard-mm-eswap.md | 187 - **ub_mem2zram_ratio** indicates the memory compression ratio to zram. 191 You can modify the parameters to control zram compression and ESwap.
|
/ohos5.0/base/hiviewdfx/hilog/ |
H A D | README.md | 39 - Log compression and flushing
|
/ohos5.0/docs/en/readme/ |
H A D | ARK-Runtime-Subsystem.md | 37 …collector (CMS-GC and Partial-Compressing-GC for concurrent marking and partial memory compression)
|