FFmpeg
types.h
Go to the documentation of this file.
1 // Avisynth C Interface Version 0.20
2 // Copyright 2003 Kevin Atkinson
3 
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation; either version 2 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA, or visit
17 // http://www.gnu.org/copyleft/gpl.html .
18 //
19 // As a special exception, I give you permission to link to the
20 // Avisynth C interface with independent modules that communicate with
21 // the Avisynth C interface solely through the interfaces defined in
22 // avisynth_c.h, regardless of the license terms of these independent
23 // modules, and to copy and distribute the resulting combined work
24 // under terms of your choice, provided that every copy of the
25 // combined work is accompanied by a complete copy of the source code
26 // of the Avisynth C interface and Avisynth itself (with the version
27 // used to produce the combined work), being distributed under the
28 // terms of the GNU General Public License plus this exception. An
29 // independent module is a module which is not derived from or based
30 // on Avisynth C Interface, such as 3rd-party filters, import and
31 // export plugins, or graphical user interfaces.
32 
33 #ifndef AVS_TYPES_H
34 #define AVS_TYPES_H
35 
36 // Define all types necessary for interfacing with avisynth.dll
37 
38 #ifdef __cplusplus
39  #include <cstddef>
40 #else
41  #include <stddef.h>
42 #endif
43 
44 // Raster types used by VirtualDub & Avisynth
45 typedef unsigned int Pixel32;
46 typedef unsigned char BYTE;
47 
48 // Audio Sample information
49 typedef float SFLOAT;
50 
51 #ifdef __GNUC__
52 typedef long long int INT64;
53 #else
54 typedef __int64 INT64;
55 #endif
56 
57 #endif //AVS_TYPES_H
SFLOAT
float SFLOAT
Definition: types.h:49
BYTE
unsigned char BYTE
Definition: types.h:46
Pixel32
unsigned int Pixel32
Definition: types.h:45
INT64
long long int INT64
Definition: types.h:52
__int64
int64_t __int64
Definition: basicDataTypeConversions.h:11