?? boostvideo.h
字號:
//線程頭文件
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "ijpgcoding.h"
#include <string.h>
//錯誤號定義
#include <error.h>
//文件控制定義
#include <fcntl.h>
#define uchar unsigned char
#define QCIF 1
#define QVGA 2
#define CIF 4
#define D1 8
#define TCP 2
//JPEG 圖象壓縮需要的頭文件
#include "jpeg-6b/jpeglib.h"
#include <asm/system.h>
//#include <stdlib.h>
//#include <asm/system.h>
//#include <stdlib.h>
#define MAX_IMAGE_SIZE 720*488*3
#define D1_IMAGE_SIZE 704*488*3
class BoostVideo
{
private:
public:
char *jpegdata;
//char readout=0;
int rawSize;
int device;
int InitVideoSource(void);
void InitCoding(int quality,int Image_mode,int colorbyte);
int JpegTest(int device);
int GetVideoFrameData(char **data,int *len,int devctx,int videomode);
int yuv4222yuv444(unsigned char *indata,unsigned char *outdata,int len);
void FrameConcate(unsigned char *inframe,unsigned char *outframe,int framemode);
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -