Lines Matching refs:video

6 … the APIs for video processing. It provides video processing capabilities, including color space c…
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 …g-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 …ocessing_ErrorCode](#videoprocessing_errorcode) | Defines an enum for the video processing error c…
41 …[VideoProcessing_State](#videoprocessing_state) | Defines an enum for the video processing states.…
42 …rocessing_Callback](#videoprocessing_callback) | Defines a struct for the video processing callbac…
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 …D_INSTANCE,<br>VIDEO_PROCESSING_ERROR_INVALID_VALUE<br>} | Enumerates the video processing error c…
54 …SSING_STATE_RUNNING,<br>VIDEO_PROCESSING_STATE_STOPPED } | Enumerates the video processing states.…
61 …oh_videoprocessing_initializeenvironment) (void) | Initializes the global video processing environ…
62 …#oh_videoprocessing_deinitializeenvironment) (void) | Releases the global video processing environ…
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 …rocessing](#oh_videoprocessing) \*\*videoProcessor, int type) | Creates a video processing instanc…
66 …([OH_VideoProcessing](#oh_videoprocessing) \*videoProcessor) | Destroys a video processing instanc…
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 …) \*videoProcessor, const [OH_AVFormat](#oh_avformat) \*parameter) | Sets video processing paramet…
71 …ing) \*videoProcessor, [OH_AVFormat](#oh_avformat) \*parameter) | Obtains video processing paramet…
72 …ng_start) ([OH_VideoProcessing](#oh_videoprocessing) \*videoProcessor) | Starts video processing.|
73 …sing_stop) ([OH_VideoProcessing](#oh_videoprocessing) \*videoProcessor) | Stops video processing.|
75 …Processing_Callback](#videoprocessing_callback) \*\*callback) | Creates a video processing callbac…
76 …oProcessing_Callback](#videoprocessing_callback) \*callback) | Destroys a video processing callbac…
77 …ideoProcessingCallback_OnError](#oh_videoprocessingcallback_onerror) to a video processing callbac…
78 …ideoProcessingCallback_OnState](#oh_videoprocessingcallback_onstate) to a video processing callbac…
79 …ck_OnNewOutputBuffer](#oh_videoprocessingcallback_onnewoutputbuffer) to a video processing callbac…
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.|
89 …l_enhancer_parameter_key_quality_level) | Pointer to the quality level of video detail enhancement…
116 Defines a struct for the video processing object.
118 …sing_create) is called to create a video processing instance, the pointer must be null. You can cr…
131 Defines a pointer to the callback function for reporting an error during video processing.
137 - **VIDEO_PROCESSING_ERROR_INVALID_VALUE**: invalid video attribute. For example, the video color s…
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.
187 After [OH_VideoProcessing_Start](#oh_videoprocessing_start) is called, the video processing state c…
195 | videoProcessor | Pointer to the video processing instance.|
238 Defines a struct for the video processing callback object.
240 …allback_Create](#oh_videoprocessingcallback_create) is called to create a video processing callbac…
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.
330 …error code is returned in the following cases:<br>1 - The input or output video buffer is either i…
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,…
338 | VIDEO_PROCESSING_ERROR_INVALID_INSTANCE | The video processing instance is invalid, for example, …
339 …de is returned in the following cases:<br>1 - The width and height of the video buffer are inappro…
350 Enumerates the video processing states.
352 The video processing state is reported through the callback function [OH_VideoProcessingCallback_On…
373 Creates a video processing instance.
381 | videoProcessor | Double pointer to the video processing instance created. Before any input, **\*…
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 … when the main process is about to exit. Do not call this function when a video processing instanc…
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.|
503 …face. For example, the input surface pointer can point to an output surface of the video decoder.|
511 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing …
515 …he surface fails to be created, an input surface has been created, or the video processing instanc…
526 Initializes the global video processing environment.
528 …lobal video processing environment. This reduces the duration for running [OH_VideoProcessing_Crea…
550 Checks whether color space conversion is supported during video processing.
558 | sourceVideoInfo | Pointer to the color space information of the input video.|
559 | destinationVideoInfo | Pointer to the color space information of the output video.|
574 Checks whether metadata generation is supported during video processing.
582 | sourceVideoInfo | Pointer to the color space information of the input video.|
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.|
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.|
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.|
781 - **VIDEO_PROCESSING_ERROR_INVALID_INSTANCE** if the instance is null or is not a video processing …
794 …ideoProcessingCallback_OnError](#oh_videoprocessingcallback_onerror) to a video processing callbac…
822 …ck_OnNewOutputBuffer](#oh_videoprocessingcallback_onnewoutputbuffer) to a video processing callbac…
850 …ideoProcessingCallback_OnState](#oh_videoprocessingcallback_onstate) to a video processing callbac…
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.
939 Pointer to the quality level of video detail enhancement.
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.