zc030x_jpeg.h

来自「中星微301摄想头最新驱动」· C头文件 代码 · 共 37 行

H
37
字号
#ifndef h_Zc030x_Jpeg_h#define h_Zc030x_Jpeg_h/* Include kernel headers */#include <asm/types.h>/* Include frame declaration */#include "zc030x_frame.h"/* Define the pixel types *//* Standard BGR 24 bits pixels *//* TODO make those declaration endianness dependent */typedef struct{    u8 B; u8 G; u8 R;} Pixel24;/* Complex BGRA 32 bits pixels */typedef struct{	u8 B; u8 G; u8 R; u8 A;} Pixel32;/* Standard YUY2 pixels */typedef struct{	u8 U; u8 Y1; u8 V;	u8 Y2;} PixelUYVY;/* Init the decoder */void zc030x_jpeg_init(void);/* Decode a frame */int zc030x_decode_frame(zc030x_frame *frame,  int format);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?