Lines Matching refs:image
6 The ImageProcessing module provides APIs for image processing, including Color Space Conversion (CS…
20 | [image_processing.h](image__processing_8h.md) | Declares the image processing functions.|
21 | [image_processing_types.h](image__processing__types_8h.md) | Declares the image processing types.…
40 …Code](#imageprocessing_errorcode) | Defines an enum for the error codes used in image processing.|
48 …>IMAGE_PROCESSING_ERROR_INVALID_VALUE<br>} | Enumerates the error codes used in image processing.|
55 …initializeenvironment) (void) | Initializes the global environment of the image processing module.…
56 …itializeenvironment) (void) | Deinitializes the global environment of the image processing module.…
57 …ng___color_space_info.md) \*destinationImageInfo) | Checks whether CSC is supported for an image.|
58 …ationImageInfo) | Checks whether a dual-layer HDR image can be converted into a single-layer HDR i…
59 …onGainmapInfo) | Checks whether a single-layer HDR image can be converted into a dual-layer HDR im…
60 …space_info.md) \*sourceImageInfo) | Checks whether metadata generation is supported for an image.|
61 …sing](#oh_imageprocessing) \*\*imageProcessor, int32_t type) | Creates an image processing instanc…
62 …[OH_ImageProcessing](#oh_imageprocessing) \*imageProcessor) | Destroys an image processing instanc…
63 …const [OH_AVFormat](#oh_avformat) \*parameter) | Sets a parameter for the image processing module.…
64 …or, [OH_AVFormat](#oh_avformat) \*parameter) | Obtains a parameter of the image processing module.…
65 …ive](#oh_pixelmapnative) \*destinationImage) | Converts the color space for a single-layer image.|
66 …elmapnative) \*destinationImage) | Converts a dual-layer HDR image into a single-layer HDR image.|
67 …pnative) \*destinationGainmap) | Converts a single-layer HDR image into a double-layer HDR image.|
68 …or, [OH_PixelmapNative](#oh_pixelmapnative) \*sourceImage) | Generates metadata for an HDR image.|
69 …OH_PixelmapNative](#oh_pixelmapnative) \*destinationImage) | Enhances the image definition and det…
76 …RSION](#image_processing_type_color_space_conversion) | Used to create an image processing instanc…
77 …position) | Used to create an image processing instance for converting a dual-layer HDR image into…
78 …position) | Used to create an image processing instance for converting a single-layer HDR image in…
79 …NERATION](#image_processing_type_metadata_generation) | Used to create an image processing instanc…
80 …AIL_ENHANCER](#image_processing_type_detail_enhancer) | Used to create an image processing instanc…
81 …enhancer_parameter_key_quality_level) | Used to set the quality level for image detail enhancement…
137 Defines an enum for the error codes used in image processing.
165 …ing_create) is called to create an image processing instance, the pointer must be null. You can cr…
222 Enumerates the error codes used in image processing.
232 | IMAGE_PROCESSING_ERROR_CREATE_FAILED | Creating the image processing instance fails. For example,…
237 | IMAGE_PROCESSING_ERROR_INVALID_INSTANCE | The image processing instance is invalid, for example, …
238 …llowing cases:<br>1 - The input or output image buffer is invalid. For example, the width (height)…
252 Converts a dual-layer HDR image into a single-layer HDR image.
254 This function is used to generate an output image based on an input image and input gain map.
262 | imageProcessor | Pointer to an image processing instance, which is created by [IMAGE_PROCESSING_T…
263 | sourceImage | Pointer to the input image.|
265 | destinationImage | Pointer to the output image.|
269 - Returns **IMAGE_PROCESSING_SUCCESS** if image processing is successful.
270 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
271 - Returns **IMAGE_PROCESSING_ERROR_INVALID_PARAMETER** if the image is empty.
272 - Returns **IMAGE_PROCESSING_ERROR_INVALID_VALUE** if an image property is invalid, for example, un…
273 - Returns **IMAGE_PROCESSING_ERROR_UNSUPPORTED_PROCESSING** if image processing is not supported.
274 - Returns **IMAGE_PROCESSING_ERROR_PROCESS_FAILED** if an error occurs during image processing.
286 Converts the color space for a single-layer image.
296 | imageProcessor | Pointer to an image processing instance, which is created by [IMAGE_PROCESSING_T…
297 | sourceImage | Pointer to the input image.|
298 | destinationImage | Pointer to the output image.|
302 - Returns **IMAGE_PROCESSING_SUCCESS** if image processing is successful.
303 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
304 - Returns **IMAGE_PROCESSING_ERROR_INVALID_PARAMETER** if the image is empty.
305 - Returns **IMAGE_PROCESSING_ERROR_INVALID_VALUE** if an image property is invalid, for example, un…
306 - Returns **IMAGE_PROCESSING_ERROR_UNSUPPORTED_PROCESSING** if image processing is not supported.
307 - Returns **IMAGE_PROCESSING_ERROR_PROCESS_FAILED** if an error occurs during image processing.
319 Creates an image processing instance.
327 …cessor | Double pointer to the image processing instance created. The pointer **\*imageProcessor*…
333 - Returns **IMAGE_PROCESSING_ERROR_UNSUPPORTED_PROCESSING** if the specified image processing type …
336 - Returns **IMAGE_PROCESSING_ERROR_INVALID_PARAMETER** if the specified image processing type is in…
347 Converts a single-layer HDR image into a double-layer HDR image.
349 This function is used to generate an output image and output gain map based on an input image.
357 | imageProcessor | Pointer to an image processing instance, which is created by [IMAGE_PROCESSING_T…
358 | sourceImage | Pointer to the input image.|
359 | destinationImage | Pointer to the output image.|
364 - Returns **IMAGE_PROCESSING_SUCCESS** if image processing is successful.
365 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
366 - Returns **IMAGE_PROCESSING_ERROR_INVALID_PARAMETER** if the image is empty.
367 - Returns **IMAGE_PROCESSING_ERROR_INVALID_VALUE** if an image property is invalid, for example, un…
368 - Returns **IMAGE_PROCESSING_ERROR_UNSUPPORTED_PROCESSING** if image processing is not supported.
369 - Returns **IMAGE_PROCESSING_ERROR_PROCESS_FAILED** if an error occurs during image processing.
381 Deinitializes the global environment of the image processing module.
383 …when the main process is about to exit. Do not call this function when an image processing instanc…
390 - Returns **IMAGE_PROCESSING_ERROR_OPERATION_NOT_PERMITTED** if the image processing instance is no…
401 Destroys an image processing instance.
409 | imageProcessor | Pointer to an image processing instance, You are advised to set the pointer to a…
414 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
425 Enhances the image definition and details.
427 …image based on the preset sizes of the input and output images to generate the target image. It us…
435 | imageProcessor | Pointer to an image processing instance, which is created by [IMAGE_PROCESSING_T…
436 | sourceImage | Pointer to the input image.|
437 | destinationImage | Pointer to the output image.|
441 - Returns **IMAGE_PROCESSING_SUCCESS** if image processing is successful.
442 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
443 - Returns **IMAGE_PROCESSING_ERROR_INVALID_PARAMETER** if the image is empty.
444 - Returns **IMAGE_PROCESSING_ERROR_INVALID_VALUE** if an image property is invalid, for example, un…
445 - Returns **IMAGE_PROCESSING_ERROR_UNSUPPORTED_PROCESSING** if image processing is not supported.
446 - Returns **IMAGE_PROCESSING_ERROR_PROCESS_FAILED** if an error occurs during image processing.
458 Generates metadata for an HDR image.
466 | imageProcessor | Pointer to an image processing instance, which is created by [IMAGE_PROCESSING_T…
467 | sourceImage | Pointer to the input image.|
471 - Returns **IMAGE_PROCESSING_SUCCESS** if image processing is successful.
472 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
473 - Returns **IMAGE_PROCESSING_ERROR_INVALID_PARAMETER** if the image is empty.
474 - Returns **IMAGE_PROCESSING_ERROR_INVALID_VALUE** if an image property is invalid, for example, un…
475 - Returns **IMAGE_PROCESSING_ERROR_UNSUPPORTED_PROCESSING** if image processing is not supported.
476 - Returns **IMAGE_PROCESSING_ERROR_PROCESS_FAILED** if an error occurs during image processing.
488 Obtains a parameter of the image processing module.
498 | imageProcessor | Pointer to an image processing instance.|
499 | parameter | Pointer to the parameter used by the image processing instance.|
504 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
516 Initializes the global environment of the image processing module.
518 …rocess is started. It is used to initialize the global environment of the image processing module …
535 Checks whether CSC is supported for an image.
543 | sourceImageInfo | Pointer to the color space information of the input image.|
544 | destinationImageInfo | Pointer to the color space information of the output image.|
559 Checks whether a dual-layer HDR image can be converted into a single-layer HDR image.
567 | sourceImageInfo | Pointer to the color space information of the input image.|
569 | destinationImageInfo | Pointer to the color space information of the output image.|
584 Checks whether a single-layer HDR image can be converted into a dual-layer HDR image.
592 | sourceImageInfo | Pointer to the color space information of the input image.|
593 | destinationImageInfo | Pointer to the color space information of the output image.|
609 Checks whether metadata generation is supported for an image.
617 | sourceImageInfo | Pointer to the color space information of the input image.|
632 Sets a parameter for the image processing module.
642 | imageProcessor | Pointer to an image processing instance.|
648 - Returns **IMAGE_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not an image pr…
665 Used to set the quality level for image detail enhancement.
686 Used to create an image processing instance for CSC.
705 Used to create an image processing instance for converting a dual-layer HDR image into a single-lay…
707 …ted) to check whether the conversion from a dual-layer HDR image into a single-layer HDR image is …
724 Used to create an image processing instance for converting a single-layer HDR image into a dual-lay…
726 …ed) to check whether the conversion from a single-layer HDR image into a dual-layer HDR image is s…
743 Used to create an image processing instance for detail enhancement.
745 …able scales or resizes the image based on the specified image quality, or only enhances the image …
762 Used to create an image processing instance for metadata generation.
764 This variable generates the HDR Vivid metadata of a single-layer HDR image. Some capabilities are s…