-
Notifications
You must be signed in to change notification settings - Fork 352
/
ve_play.h
74 lines (65 loc) · 1.64 KB
/
ve_play.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
*
*
* VideoEye
*
* 雷霄骅 Lei Xiaohua
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
*/
#include "VideoEye.h"
#include "VideoEyeDlg.h"
#include "afxdialogex.h"
//--------------
#include "config.h"
#include <inttypes.h>
#include <math.h>
#include <limits.h>
#include <signal.h>
#include "libavutil/avstring.h"
#include "libavutil/colorspace.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/dict.h"
#include "libavutil/parseutils.h"
#include "libavutil/samplefmt.h"
#include "libavutil/avassert.h"
#include "libavutil/time.h"
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavutil/opt.h"
#include "libavcodec/avfft.h"
#include "libswresample/swresample.h"
#if CONFIG_AVFILTER
# include "libavfilter/avcodec.h"
# include "libavfilter/avfilter.h"
# include "libavfilter/avfiltergraph.h"
# include "libavfilter/buffersink.h"
# include "libavfilter/buffersrc.h"
#endif
#include "SDL/SDL.h"
#include "SDL/SDL_thread.h"
#include "cmdutils.h"
#include <assert.h>
void ve_play_pause();
void ve_seek_step();
void ve_play_fullcreen();
void ve_seek(int time);
void ve_aspectratio(int num,int den);
void ve_size(int percentage);
void ve_audio_display(int mode);
//通过SDL的Push Event实现的退出(并不是直接调用的退出函数)
//发出“退出”信号,并在EventLoop中执行
void ve_quit();
//需要调用的解码函数
int ve_play(LPVOID lpParam);
//--------
int ve_reset_index();
//播放进度
void ve_seek_bar(int pos);
void ve_stretch(int stretch);