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.
24 lines
442 B
C
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__
|