📄 zc030x_jpeg.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -