diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-11-09 23:22:32 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-11-09 23:22:32 +0000 |
commit | 839537da53801ce9542eded0813c660e71ab2e58 (patch) | |
tree | 27591bc00bb83fff0390c4dad6cb50229072463f /include | |
parent | b91288a28a292d5ab9c22c20474708d3e85308f0 (diff) | |
download | xine-lib-839537da53801ce9542eded0813c660e71ab2e58.tar.gz xine-lib-839537da53801ce9542eded0813c660e71ab2e58.tar.bz2 |
beginnings of the get_video/audio_frame api
CVS patchset: 3215
CVS date: 2002/11/09 23:22:32
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index 83bccba92..7050ad853 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.34 2002/11/03 23:11:21 storri Exp $ + * $Id: xine.h.in,v 1.35 2002/11/09 23:22:32 guenter Exp $ * * public xine-lib (libxine) interface and documentation * @@ -261,6 +261,28 @@ int xine_get_current_frame (xine_stream_t *stream, #define XINE_IMGFMT_YV12 (('2'<<24)|('1'<<16)|('V'<<8)|'Y') #define XINE_IMGFMT_YUY2 (('2'<<24)|('Y'<<16)|('U'<<8)|'Y') +#ifdef XINE_ENABLE_EXPERIMENTAL_FEATURES + +/* + * access to decoded audio and video frames from a stream + * these functions are intended to provide the basis for + * re-encoding and other video processing applications + * + * warning: experimental + * + */ + +int xine_get_video_frame (xine_stream_t *stream, + int timestamp, /* msec */ + int *width, int *height, + int *ratio_code, + int *duration, /* msec */ + int *format, + uint8_t *img); + +/* TODO: xine_get_audio_frame */ + +#endif /* * xine log functions |