Newer
Older
lynxi-plugin / src / lenet / lenetLib.h
/**
 * @file yolov5Lib.h
 * @author hongjian.huang (hongjian.huang@lynxi.com)
 * @brief
 * @version 0.1
 * @date 2022-08-26
 *
 * Copyright:
 * © 2018 北京灵汐科技有限公司 版权所有。
 * 注意:以下内容均为北京灵汐科技有限公司原创,未经本公司允许,不得转载,否则将视为侵权;对于不遵守此声明或者其他违法使用以下内容者,本公司依法保留追究权。
 * © 2018 Lynxi Technologies Co., Ltd. All rights reserved.
 * NOTICE: All information contained here is, and remains the property of Lynxi. This file can not
 * be copied or distributed without the permission of Lynxi Technologies Co., Ltd.
 *
 * @par 修改日志:
 * Data:2022-08-26
 * Author: hongjian.huang
 * Description:
 */

#ifndef YOLOV5_LIB_C_H
#define YOLOV5_LIB_C_H

#include <lyn_api.h>
#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    lynPixelFormat_t imgFmt;
    void *imgData;
    int imgDataW;
    int imgDataH;
    void *apuOut;
    uint32_t apuOutSize;
} LenetPostInfo;

int lynLenetProcess(LenetPostInfo *para);

#ifdef __cplusplus
}
#endif

#endif