// Avisynth C Interface Version 0.201// Copyright 2003 Kevin Atkinson23// This program is free software; you can redistribute it and/or modify4// it under the terms of the GNU General Public License as published by5// the Free Software Foundation; either version 2 of the License, or6// (at your option) any later version.7//8// This program is distributed in the hope that it will be useful,9// but WITHOUT ANY WARRANTY; without even the implied warranty of10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11// GNU General Public License for more details.12//13// You should have received a copy of the GNU General Public License14// along with this program; if not, write to the Free Software15// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA, or visit16// http://www.gnu.org/copyleft/gpl.html .17//18// As a special exception, I give you permission to link to the19// Avisynth C interface with independent modules that communicate with20// the Avisynth C interface solely through the interfaces defined in21// avisynth_c.h, regardless of the license terms of these independent22// modules, and to copy and distribute the resulting combined work23// under terms of your choice, provided that every copy of the24// combined work is accompanied by a complete copy of the source code25// of the Avisynth C interface and Avisynth itself (with the version26// used to produce the combined work), being distributed under the27// terms of the GNU General Public License plus this exception. An28// independent module is a module which is not derived from or based29// on Avisynth C Interface, such as 3rd-party filters, import and30// export plugins, or graphical user interfaces.3132#ifndef AVS_CONFIG_H33#define AVS_CONFIG_H3435// Undefine this to get cdecl calling convention36#define AVSC_USE_STDCALL 13738// NOTE TO PLUGIN AUTHORS:39// Because FRAME_ALIGN can be substantially higher than the alignment40// a plugin actually needs, plugins should not use FRAME_ALIGN to check for41// alignment. They should always request the exact alignment value they need.42// This is to make sure that plugins work over the widest range of AviSynth43// builds possible.44#define FRAME_ALIGN 324546#if defined(_M_AMD64) || defined(__x86_64)47# define X86_6448#elif defined(_M_IX86) || defined(__i386__)49# define X86_3250#else51# error Unsupported CPU architecture.52#endif5354#endif //AVS_CONFIG_H555657