?? jpeg.h
字號:
#ifndef _JPEG_HEADER__
#define _JPEG_HEADER__
#pragma pack(1)
typedef struct
{
int size; //圖像數據內容長度,不含本信息包
char channel;//通道號
char pic_big; //1,大圖像,0,小圖像
char quality; //壓縮質量(0-100)
char time[14]; //圖像采集時間
}jpeg_info_t;
typedef struct
{
char *data; //圖像數據內容
int sent;
jpeg_info_t info;
}jpeg_pack_t;
#pragma pack()
typedef struct
{
int size;
char channel;
char quality; //最高位為1,D1,0,CIF, bit0-bit6 Q
char time[14];
}jpeg_index_t;
//d1: 0, cif; 1, d1
void jpeg_init(int d1);
//q: quality
void jpeg_select_channel(int channel);
void jpeg_uninit();
int jpeg_snapshot(unsigned char *YUV_src,char* stream_buf, int Q);
void Reset_7183();
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -