source: trunk/video/RpVideo.h @ 4503

Last change on this file since 4503 was 3177, checked in by mmc, 8 years ago

Updated all of the copyright notices to reference the transfer to
the new HUBzero Foundation, LLC.

File size: 1.7 KB
RevLine 
[1916]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
[3177]11 *  Copyright (c) 2004-2012  HUBzero Foundation, LLC
[1916]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
[2035]25VideoObj *VideoInit ();
26int VideoCleanup (VideoObj *vidPtr);
[1916]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);
[2035]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,
[1916]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);
[2035]42int VideoSize (VideoObj *vidPtr, int *width, int *height);
[1916]43int VideoClose (VideoObj *vidPtr);
44
45#ifdef __cplusplus
46}
47#endif
[2711]48
Note: See TracBrowser for help on using the repository browser.