📄 show_video_v4l.h
字号:
/*========================================================================== $Id$ show_video_v4l.h: Header file for capturing video using V4L. Written by Naoyuki Ichimura, AIST, 2001.==========================================================================*/#include <stdio.h> #include <stdlib.h>#include <math.h>#include <string.h>#include <GL/gl.h> /* for GLUT */#include <GL/glu.h>#include <GL/glut.h>#include "capture_v4l.h" /* for capture by V4L *//*========================================================== Definitions for OpenGL==========================================================*/#define DEFAULT_ZOOM_RATE 1#define INIT_WINDOW_POS_X 200#define INIT_WINDOW_POS_Y 200/*========================================================== Function Prototypes==========================================================*//*=== show_video_v4l_capture.c ===*/int ShowVideoInitCaptureDevice( char *device_name , int channel_no );void ShowVideoCaptureImage();void ShowVideoDisplayImage();void ShowVideoMouseCheck( int button , int status , int x , int y );void ShowVideoChangeOrderImageRow( unsigned char *image , int iwidth , int iheight );void ShowVideoSavePPMImage( unsigned char *image , int iheight , int iwidth , int frame_no , char *image_prefix );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -