📄 global.h
字号:
/********************************************** * Dawn Light Player * * global.h * * Created by kf701 * 13:16:39 02/26/08 CST * * $Id: global.h 171 2008-03-21 08:00:10Z kf701 $ **********************************************/#ifndef GLOBAL_INC#define GLOBAL_INC#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <stdbool.h>#include <string.h>#include <signal.h>#include <unistd.h>#include "avcodec.h"typedef struct{ char *filename; char *avin, *vo, *ao; int fs; /* full screen */ /* video param */ int width, height; int pwidth, pheight; int pixfmt; double fps; /* audio param */ int channels; int sample_rate; int bit_rate; int sample_fmt; /* run time param */ int64_t last_audio_pts; int paused; int exiting; int screenshot;} DLPContext;void dlp_exit(int s);extern DLPContext dlpctx, *dlpctxp;typedef void(*loop_func)(void);extern loop_func dlp_main_loop;#endif /* ----- #ifndef GLOBAL_INC ----- */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -