1# 视频处理引擎错误码 2 3> **说明:** 4> 5> 以下仅介绍本模块特有错误码,通用错误码请参考[通用错误码说明文档](../errorcode-universal.md)。 6 7## 29200001 未知错误 8 9**错误信息** 10 11Some unknown error occurred, such as GPU calculation failure or memcpy failure. 12 13**错误描述** 14 15发生了一些未知错误。例如,GPU计算失败或内容拷贝失败。 16 17**可能原因** 18 191. GPU计算失败。 202. 内容拷贝失败。 21 22**处理步骤** 23 241. 检查资源是否已经初始化。 252. 检查内存是否有效。 26 27## 29200002 初始化失败 28 29**错误信息** 30 31The global environment initialization for image processing failed, such as failure to initialize the GPU environment. 32 33**错误描述** 34 35图像处理全局环境初始化失败。例如,初始化GPU环境失败。 36 37**可能原因** 38 39GPU初始化失败。 40 41**处理步骤** 42 43查看log是否有GPU异常上报。 44 45## 29200003 创建失败 46 47**错误信息** 48 49Failed to create image processing instance. For example, the number of instances exceeds the upper limit. 50 51**错误描述** 52 53创建图像处理实例失败。例如,实例数量超出上限。 54 55**可能原因** 56 57创建实例过多。 58 59**处理步骤** 60 61减少创建实例的数目。 62 63## 29200004 处理失败 64 65**错误信息** 66 67Failed to process image buffer. For example, the processing times out. 68 69**错误描述** 70 71处理图像缓冲区失败。例如,处理超时。 72 73**可能原因** 74 75处理时间超时。 76 77**处理步骤** 78 79减小负载。 80 81## 29200005 不支持的处理 82 83**错误信息** 84 85The processing is not supported. You may call OH_ImageProcessing_IsXXXSupported to check whether the capability is supported. 86 87**错误描述** 88 89不支持该处理。可以调用OH_ImageProcessing_IsXXXSupported来检查是否支持该能力。 90 91**可能原因** 92 93能力不支持。 94 95**处理步骤** 96 97检查log打印。 98 99## 29200006 不被允许的操作 100 101**错误信息** 102 103The operation is not permitted. This may be caused by incorrect status. 104 105**错误描述** 106 107不允许该操作。由于状态不正确造成。 108 109**可能原因** 110 111状态异常。 112 113**处理步骤** 114 115检查log打印。 116 117## 29200007 内存不足 118 119**错误信息** 120 121Out of memory. 122 123**错误描述** 124 125内存不足。 126 127**可能原因** 128 129内存不足。 130 131**处理步骤** 132 133减少内存申请。 134 135## 29200008 实例无效 136 137**错误信息** 138 139The image processing instance is invalid. This may be caused by null instance. 140 141**错误描述** 142 143视频图像实例无效。可能由于实例为空导致。 144 145**可能原因** 146 147无效的实例。 148 149**处理步骤** 150 151检查实例的创建。 152 153## 29200009 值无效 154 155**错误信息** 156 157Input value is invalid. This error is returned for all of the following error conditions: 1581. Invalid input or output image buffer - The image 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**错误描述** 162 163输入值无效。以下所有错误情况都会返回此错误: 164 1651. 输入或输出图像缓冲区无效:图像缓冲区宽度(高度)过大或色彩空间不正确。 1662. 参数无效:参数不包含有效信息(例如,算法档位不正确)。 167 168**可能原因** 169 1701. 输入或输出分辨率过大或色彩空间异常。 1712. 算法档位错误。 172 173**处理步骤** 174 1751. 检查输入输出的分辨率和色彩空间。 1762. 检查是否配置了算法档位。