📄 convert.h
字号:
#ifndef CONVERT_H
#define CONVERT_H
#include "string.h"
#define HEIGHT 96
#define WIDTH 112
typedef unsigned char uint8;
typedef struct
{
int stride[3];
uint8* plane[3];
}Picture;
void yuv422_to_yuv420(Picture* dst, Picture* src, int height, int width);
void input_to_plane(void* input, Picture* src);
void plane_to_output(uint8* output, Picture* src);
void init_src(Picture* pic);
void init_des(Picture* pic);
void YUV420ToBGR888(unsigned char* srcy,unsigned char* srcu,unsigned char* srcv,
unsigned char* dst_bgr,int width,int height);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -