video_player.cpp
来自「在linux下简易的播放器」· C++ 代码 · 共 33 行
CPP
33 行
///////////////////////////////////////////////////////// FileName: video_player.cpp// Author: b1gm0use// Project: myvideo#include <qpainter.h>#include <iostream>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/ioctl.h>#include <sys/mman.h>#include <fcntl.h>#include <unistd.h>#include <linux/types.h>#include <linux/videodev.h>#include <zlib.h>#include "v4l.h"#include "video_player.h"using namespace std;extern int palette;extern char * filename;///////////////////////////////////////////////////////// Public Functions///////////////////////////////////////////////////////// 鏋勯
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?