source: branches/1.3/video/RpVideo.h @ 5675

Last change on this file since 5675 was 5675, checked in by ldelgass, 9 years ago

merge r5673 from trunk (eol-style)

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1/*
2 * ----------------------------------------------------------------------
3 *  TkFFMPEG:  video
4 *
5 *  These routines support the methods in the "video" class, which is
6 *  a video stream that can be read from or written to.  The class
7 *  itself is defined in itcl, but when methods are called, execution
8 *  jumps down to this level.
9 * ======================================================================
10 *  AUTHOR:  Michael McLennan, Purdue University
11 *  Copyright (c) 2004-2012  HUBzero Foundation, LLC
12 *
13 *  See the file "license.terms" for information on usage and
14 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15 * ======================================================================
16 */
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22
23typedef struct VideoObjRec VideoObj;
24
25VideoObj *VideoInit ();
26int VideoCleanup (VideoObj *vidPtr);
27int VideoOpenFile (VideoObj *vidPtr,
28    const char *fileName, const char *mode);
29int VideoGetImage (VideoObj *vidPtr,
30    int width, int height, void **img, int *bufSize);
31int VideoGetPositionCur (VideoObj *vidPtr, int *pos);
32int VideoGetPositionEnd (VideoObj *vidPtr, int *pos);
33int VideoFrameRate (VideoObj *vidPtr, double *fr);
34int VideoFileName (VideoObj *vidPtr, const char **fname);
35int VideoPixelAspectRatio (VideoObj *vidPtr, int *num, int *den);
36int VideoDisplayAspectRatio (VideoObj *vidPtr, int *num, int *den);
37// static int VideoPut (ClientData clientData,
38//     Tcl_Interp  *interp, int argc, CONST84 char *argv[]);
39int VideoGoNext (VideoObj *vidPtr);
40int VideoGoPlusMinusN (VideoObj *vidPtr, int n);
41int VideoGoToN (VideoObj *vidPtr, int n);
42int VideoSize (VideoObj *vidPtr, int *width, int *height);
43int VideoClose (VideoObj *vidPtr);
44
45#ifdef __cplusplus
46}
47#endif
48
Note: See TracBrowser for help on using the repository browser.