Lines Matching refs:processing

6 The VideoProcessing module provides the APIs for video processing. It provides video processing cap…
20 | [video_processing.h](video__processing_8h.md) | Declares the video processing functions.|
21 | [video_processing_types.h](video__processing__types_8h.md) | Declares the video processing types.…
28 …eo_processing___color_space_info.md) | Describes the color space information of video processing.|
35 …-1) [OH_VideoProcessing](#oh_videoprocessing) | Defines a struct for the video processing object.|
38 …rocessing_colorspaceinfo) | Defines a struct for the color space information of video processing.|
40 …ng_ErrorCode](#videoprocessing_errorcode) | Defines an enum for the video processing error codes.|
41 …VideoProcessing_State](#videoprocessing_state) | Defines an enum for the video processing states.|
42 …_Callback](#videoprocessing_callback) | Defines a struct for the video processing callback object.…
43 …ata) | Defines a pointer to the callback function for reporting an error during video processing.|
44 …*userData) | Defines a pointer to the callback function for reporting the video processing state.|
53 …ANCE,<br>VIDEO_PROCESSING_ERROR_INVALID_VALUE<br>} | Enumerates the video processing error codes.|
54 …SING_STATE_RUNNING,<br>VIDEO_PROCESSING_STATE_STOPPED } | Enumerates the video processing states.|
61 …eoprocessing_initializeenvironment) (void) | Initializes the global video processing environment.|
62 …deoprocessing_deinitializeenvironment) (void) | Releases the global video processing environment.|
63 …stinationVideoInfo) | Checks whether color space conversion is supported during video processing.|
64 …md) \*sourceVideoInfo) | Checks whether metadata generation is supported during video processing.|
65 …essing](#oh_videoprocessing) \*\*videoProcessor, int type) | Creates a video processing instance.|
66 …H_VideoProcessing](#oh_videoprocessing) \*videoProcessor) | Destroys a video processing instance.|
67 …deoprocessing_callback) \*callback, void \*userData) | Registers a callback for video processing.|
68 … const [OHNativeWindow](#ohnativewindow) \*window) | Sets an output surface for video processing.|
69 …rocessor, [OHNativeWindow](#ohnativewindow) \*\*window) | Obtains a surface for video processing.|
70 …ideoProcessor, const [OH_AVFormat](#oh_avformat) \*parameter) | Sets video processing parameters.|
71 …\*videoProcessor, [OH_AVFormat](#oh_avformat) \*parameter) | Obtains video processing parameters.|
72 …ng_start) ([OH_VideoProcessing](#oh_videoprocessing) \*videoProcessor) | Starts video processing.|
73 …sing_stop) ([OH_VideoProcessing](#oh_videoprocessing) \*videoProcessor) | Stops video processing.|
75 …g_Callback](#videoprocessing_callback) \*\*callback) | Creates a video processing callback object.…
76 …ng_Callback](#videoprocessing_callback) \*callback) | Destroys a video processing callback object.…
77 …ssingCallback_OnError](#oh_videoprocessingcallback_onerror) to a video processing callback object.…
78 …ssingCallback_OnState](#oh_videoprocessingcallback_onstate) to a video processing callback object.…
79 …utputBuffer](#oh_videoprocessingcallback_onnewoutputbuffer) to a video processing callback object.…
86 …pe_color_space_conversion) | Instance created for color space conversion during video processing.|
87 …ing_type_metadata_generation) | Instance created for metadata generation during video processing.|
88 …video_processing_type_detail_enhancer) | Instance for detail enhancement during video processing.|
116 Defines a struct for the video processing object.
118 …reate a video processing instance, the pointer must be null. You can create different video proces…
131 Defines a pointer to the callback function for reporting an error during video processing.
135 - **VIDEO_PROCESSING_ERROR_UNSUPPORTED_PROCESSING**: unsupported processing. For example, conversio…
141 - **VIDEO_PROCESSING_ERROR_PROCESS_FAILED**: An error occurs during the processing.
149 | videoProcessor | Pointer to the video processing instance.|
172 | videoProcessor | Pointer to the video processing instance.|
185 Defines a pointer to the callback function for reporting the video processing state.
187processing state changes to VIDEO_PROCESSING_STATE_RUNNING. After [OH_VideoProcessing_Stop](#oh_vi…
195 | videoProcessor | Pointer to the video processing instance.|
196 | state | Video processing state. For details, see [VideoProcessing_State](#videoprocessing_state).…
238 Defines a struct for the video processing callback object.
240 …reate](#oh_videoprocessingcallback_create) is called to create a video processing callback object,…
253 Defines a struct for the color space information of video processing.
268 Defines an enum for the video processing error codes.
281 Defines an enum for the video processing states.
283 The video processing state is reported through the callback function [OH_VideoProcessingCallback_On…
323 Enumerates the video processing error codes.
329 | VIDEO_PROCESSING_SUCCESS | The processing is successful.|
330 …2 - The provided parameter is invalid or missing.<br>3 - The requested processing type is invalid.…
332 | VIDEO_PROCESSING_ERROR_INITIALIZE_FAILED | The global video processing environment, for example, …
333 | VIDEO_PROCESSING_ERROR_CREATE_FAILED | Creating the video processing instance fails. For example,…
334 | VIDEO_PROCESSING_ERROR_PROCESS_FAILED | The processing fails. For example, the processing times o…
335 …ROCESSING | The processing type is not supported. You can call OH_VideoProcessing_Is*XXX*Supported…
338 | VIDEO_PROCESSING_ERROR_INVALID_INSTANCE | The video processing instance is invalid, for example, …
350 Enumerates the video processing states.
352 The video processing state is reported through the callback function [OH_VideoProcessingCallback_On…
358 | VIDEO_PROCESSING_STATE_RUNNING | Video processing is in progress.|
359 | VIDEO_PROCESSING_STATE_STOPPED | Video processing stopped.|
373 Creates a video processing instance.
381 | videoProcessor | Double pointer to the video processing instance created. Before any input, **\*…
382 | type | Video processing type. The processing type of an instance cannot be changed.|
388 - **VIDEO_PROCESSING_SUCCESS** if the video processing instance is created successfully.
390 - **VIDEO_PROCESSING_ERROR_UNSUPPORTED_PROCESSING** if the video processing type is not supported.
393 - **VIDEO_PROCESSING_ERROR_CREATE_FAILED** if the video processing instance fails to be created.
397 - **VIDEO_PROCESSING_ERROR_INVALID_PARAMETER** if the video processing type is invalid.
408 Releases the global video processing environment.
410 … main process is about to exit. Do not call this function when a video processing instance is runn…
418 - **VIDEO_PROCESSING_SUCCESS** if the processing is successful.
420 - **VIDEO_PROCESSING_ERROR_OPERATION_NOT_PERMITTED** if a video processing instance is not destroye…
431 Destroys a video processing instance.
441 | videoProcessor | Pointer to the video processing instance. You are advised to set the pointer to …
449 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
462 Obtains video processing parameters.
470 | videoProcessor | Pointer to a video processing instance.|
471 | parameter | Pointer to a video processing parameter instance.|
479 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
492 Obtains a surface for video processing.
494 An input surface must be created before video processing starts, and it must be destroyed by callin…
502 | videoProcessor | Pointer to a video processing instance.|
509 - **VIDEO_PROCESSING_SUCCESS** if the processing is successful.
511 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
515 …e fails to be created, an input surface has been created, or the video processing instance is runn…
526 Initializes the global video processing environment.
528 …eo processing environment. This reduces the duration for running [OH_VideoProcessing_Create](#oh_v…
550 Checks whether color space conversion is supported during video processing.
574 Checks whether metadata generation is supported during video processing.
597 Registers a callback for video processing.
599 The callback function should be registered before video processing starts. During video processing,…
607 | videoProcessor | Pointer to a video processing instance.|
617 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
642 | videoProcessor | Pointer to a video processing instance.|
649 - **VIDEO_PROCESSING_SUCCESS** if the processing is successful.
651 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
666 Sets video processing parameters.
674 | videoProcessor | Pointer to a video processing instance.|
675 | parameter | Pointer to a video processing parameter instance.|
683 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
700 Sets an output surface for video processing.
702 An output surface must be set before video processing starts.
710 | videoProcessor | Pointer to a video processing instance.|
719 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
732 Starts video processing.
734 After video processing starts, the callback [OH_VideoProcessingCallback_OnState](#oh_videoprocessin…
742 | videoProcessor | Pointer to a video processing instance.|
748 - **VIDEO_PROCESSING_SUCCESS** if the processing is successful.
750 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
763 Stops video processing.
765 After video processing stops, the callback [OH_VideoProcessingCallback_OnState](#oh_videoprocessing…
773 | videoProcessor | Pointer to a video processing instance.|
779 - **VIDEO_PROCESSING_SUCCESS** if the processing is successful.
781 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing
794 …essingCallback_OnError](#oh_videoprocessingcallback_onerror) to a video processing callback object.
822 …OutputBuffer](#oh_videoprocessingcallback_onnewoutputbuffer) to a video processing callback object.
850 …essingCallback_OnState](#oh_videoprocessingcallback_onstate) to a video processing callback object.
878 Creates a video processing callback object.
886 | callback | Double pointer to the video processing callback object. Before creating a callback ob…
907 Destroys a video processing callback object.
909 The video processing callback object can be destroyed after the callback function is registered.
954 Instance created for color space conversion during video processing.
969 Instance for detail enhancement during video processing.
984 Instance created for metadata generation during video processing.