---
title: InitJpegDecodeChannel
description: "初始化JPEGD图像通道，用于JPEG解码。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/msadg/mxvisionug_0316.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/msadg/mxvisionug_0316.html
indexId: 82439d6a6b9e59a7258493ce12b6dca71139cd474bdf51d18b40163f8454df24102
---
# InitJpegDecodeChannel

#### 函数功能

初始化JPEGD图像通道，用于JPEG解码。


#### 函数原型

```
APP_ERROR InitJpegDecodeChannel(const JpegDecodeChnConfig& config);
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| config | 输入 | 通道配置参数。 对应数据结构参见如下（当前预留）。 struct JpegDecodeChnConfig {}; |


#### 返回参数说明

| 数据结构 | 说明 |
| --- | --- |
| APP\_ERROR | 程序执行返回的错误码，请参考APP\_ERROR说明。 |
