Mercurial > mplayer.hg
comparison libmpdemux/tvi_def.h @ 5572:8cd761968f35
BSD-BT848 TV update patch by Charles Henrich <henrich@sigbus.com>
- tvi interface changes, grab_audio/video now returns timestamp!
- tv demuxer gets 'ds' hint too
- some verbose skip/dup counters to mencoder
- tvi_bsdbt848.c updates
- aviwrite/mencoder size types int->off_t
author | arpi |
---|---|
date | Fri, 12 Apr 2002 10:40:38 +0000 |
parents | 622a9ade4517 |
children | 9fc45fe0d444 |
comparison
equal
deleted
inserted
replaced
5571:124bfc43c044 | 5572:8cd761968f35 |
---|---|
2 | 2 |
3 static int init(priv_t *priv); | 3 static int init(priv_t *priv); |
4 static int uninit(priv_t *priv); | 4 static int uninit(priv_t *priv); |
5 static int control(priv_t *priv, int cmd, void *arg); | 5 static int control(priv_t *priv, int cmd, void *arg); |
6 static int start(priv_t *priv); | 6 static int start(priv_t *priv); |
7 static int grab_video_frame(priv_t *priv, char *buffer, int len); | 7 static double grab_video_frame(priv_t *priv, char *buffer, int len); |
8 #ifdef HAVE_TV_BSDBT848 | |
9 static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len); | |
10 #endif | |
8 static int get_video_framesize(priv_t *priv); | 11 static int get_video_framesize(priv_t *priv); |
9 static int grab_audio_frame(priv_t *priv, char *buffer, int len); | 12 static double grab_audio_frame(priv_t *priv, char *buffer, int len); |
10 static int get_audio_framesize(priv_t *priv); | 13 static int get_audio_framesize(priv_t *priv); |
11 | 14 |
12 static tvi_functions_t functions = | 15 static tvi_functions_t functions = |
13 { | 16 { |
14 init, | 17 init, |
15 uninit, | 18 uninit, |
16 control, | 19 control, |
17 start, | 20 start, |
18 grab_video_frame, | 21 grab_video_frame, |
22 #ifdef HAVE_TV_BSDBT848 | |
23 grabimmediate_video_frame, | |
24 #endif | |
19 get_video_framesize, | 25 get_video_framesize, |
20 grab_audio_frame, | 26 grab_audio_frame, |
21 get_audio_framesize | 27 get_audio_framesize |
22 }; | 28 }; |
23 | 29 |