source: branches/1.5/pkgs/video/RpVideo.h @ 5901

Last change on this file since 5901 was 5901, checked in by gah, 9 years ago

first pass on new build

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