📄 jpeg.h
字号:
#ifndef JPEG__H
#define JPEG__H
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define HANDLE void*
typedef enum
{ UYVY422 = 1, // pack
YUV420, // plane
YUV422, // plane
IYU2 // plane
}YUV_TYPE;
// codec APIs
#ifdef __cplusplus
extern "C" {
#endif
HANDLE init_jpeg_enc(FILE * fp_jpg, unsigned char * YUV_Buffer, int YUV_Type,int width, int height, int heap_L1, int heap_L2, int heap_L3);
void jpg_encode( void );
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -