• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Video Processing Engine Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 29200001 Unknown Error
8
9**Error Message**
10
11Some unknown error occurred, such as GPU calculation failure or memcpy failure.
12
13**Description**
14
15An unknown error occurs. For example, GPU computation fails or content copy fails.
16
17**Possible Causes**
18
191. GPU computation fails.
202. Content copy fails.
21
22**Handling Procedure**
23
241. Check whether the resources have been initialized.
252. Check whether the memory is valid.
26
27## 29200002 Initialization Failure
28
29**Error Message**
30
31The global environment initialization for video processing failed, such as failure to initialize the GPU environment.
32
33**Description**
34
35Initialization of the global environment for video processing fails. For example, GPU environment initialization fails.
36
37**Possible Causes**
38
39GPU initialization fails.
40
41**Handling Procedure**
42
43Check the log for any GPU exceptions.
44
45## 29200003 Creation Failure
46
47**Error Message**
48
49Failed to create video processing instance. For example, the number of instances exceeds the upper limit.
50
51**Description**
52
53Creation of a video processing instance fails. For example, the number of instances exceeds the upper limit.
54
55**Possible Causes**
56
57Too many instances have been created.
58
59**Handling Procedure**
60
61Reduce the number of instances created.
62
63## 29200004 Processing Failure
64
65**Error Message**
66
67Failed to process video buffer. For example, the processing times out.
68
69**Description**
70
71Processing the video buffer fails. For example, processing timed out.
72
73**Possible Causes**
74
75Processing timed out.
76
77**Handling Procedure**
78
79Reduce the load.
80
81## 29200005 Unsupported Operations
82
83**Error Message**
84
85The processing is not supported. You may call OH_VideoProcessing_IsXXXSupported to check whether the capability is supported.
86
87**Description**
88
89The processing is not supported. You can call OH_VideoProcessing_IsXXXSupported to check whether the capability is supported.
90
91**Possible Causes**
92
93The capability is not supported.
94
95**Handling Procedure**
96
97Check the log for details.
98
99## 29200006 Operation Not Allowed
100
101**Error Message**
102
103The operation is not permitted. This may be caused by incorrect status.
104
105**Description**
106
107The operation is not permitted due to incorrect status.
108
109**Possible Causes**
110
111The status is abnormal.
112
113**Handling Procedure**
114
115Check the log for details.
116
117## 29200007 Insufficient Memory
118
119**Error Message**
120
121Out of memory.
122
123**Description**
124
125The memory is insufficient.
126
127**Possible Causes**
128
129The memory is insufficient.
130
131**Handling Procedure**
132
133Reduce memory allocation.
134
135## 29200008 Invalid Instance
136
137**Error Message**
138
139The video processing instance is invalid. This may be caused by null instance.
140
141**Description**
142
143The video processing instance is invalid, possibly due to a null instance.
144
145**Possible Causes**
146
147Invalid instance.
148
149**Handling Procedure**
150
151Check instance creation.
152
153## 29200009 Invalid Value
154
155**Error Message**
156
157Input value is invalid. This error is returned for all of the following error conditions:
1581. Invalid input or output video buffer - The video buffer width(height) is too large or colorspace is incorrect.
1592. Invalid parameter - The parameter does not contain valid information, such as detail enhancer level is incorrect.
160
161**Description**
162
163The input value is invalid. This error code is returned for all the following cases:
164
1651. Invalid input or output video buffer: The video buffer width (height) is too large or the color space is incorrect.
1662. Invalid parameter: The parameter does not contain valid information (for example, incorrect algorithm level).
167
168**Possible Causes**
169
1701. The input or output resolution is too large or the color space is incorrect.
1712. The algorithm level is incorrect.
172
173**Handling Procedure**
174
1751. Check the input and output resolutions and color spaces.
1762. Check the algorithm level.
177