Files
carbon 0545e9dc6d init version 2024-05-07
commit d1edce71135cc6d98c0a4b5729774542b676e769
Author: sophgo-forum-service <forum_service@sophgo.com>
Date:   Fri Mar 15 16:07:33 2024 +0800

    [fix] recommend using ssh method to clone repo.
    [fix] fix sensor driver repo branch name.
2024-05-07 19:36:36 +08:00

24 lines
442 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DRV_JENC_H__
#define __DRV_JENC_H__
#ifdef FREERTOS_BSP
#include "cvi_type.h"
int jpu_enc(CVI_U32 width, CVI_U32 height, CVI_U32 phySrcAddr, CVI_U32 phyDstAddr, CVI_U64 pts);
#else
#include <linux/cvi_type.h>
#endif
#define MAX_JPEG_NUM 16
typedef struct _JPEG_PIC {
CVI_U32 width;
CVI_U32 height;
CVI_U32 addr;
CVI_U32 size;
CVI_U64 pts;
} JPEG_PIC;
#endif // end of __DRV_JENC_H__