input_plugin.h
来自「webcam,通过linux实现的摄像头」· C头文件 代码 · 共 37 行
H
37 行
/* ============================================================================ Name : input_plugin.h Author : Zhang Yi Version : Copyright : Your copyright notice Description : Hello World in C, Ansi-style ============================================================================ */#ifndef XVID_ENCODE_H#define XVID_ENCODE_H#include <pthread.h>#include <linux/videodev.h>#define NB_BUFFER 3#ifndef VIDEO_PALETTE_JPEG #define VIDEO_PALETTE_JPEG 21 #endifstruct vdIn { int fd; char *videodevice; struct video_capability videocap; struct video_window videowin; struct video_picture picture; unsigned char* buf; int width; int height; int formatIn;};void *input_run();#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?