Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

engine_vars.c

00001 /*****************************************************************************
00002  * engine_vars.c:
00003  *****************************************************************************
00004  * Copyright (C) 2004 the VideoLAN team
00005  * $Id: engine_vars.c 11664 2005-07-09 06:17:09Z courmisch $
00006  *
00007  * Authors: Cyril Deguet <[email protected]>
00008  *          code from projectM http://xmms-projectm.sourceforge.net
00009  *
00010  * This program is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 2 of the License, or
00013  * (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00023  *****************************************************************************/
00024 
00025 
00026 
00027 /* Include engine_vars.h to use these variables */
00028  char preset_name[256];
00029 /* PER FRAME CONSTANTS BEGIN */
00030  double zoom=1.0;
00031  double zoomexp= 1.0;
00032  double rot= 0.0;
00033  double warp= 0.0;
00034 
00035  double sx= 1.0;
00036  double sy= 1.0;
00037  double dx= 0.0;
00038  double dy= 0.0;
00039  double cx= 0.5;
00040  double cy= 0.5;
00041 
00042   int gx = 32;
00043   int gy = 24;
00044 
00045  double decay=.98;
00046 
00047  double wave_r= 1.0;
00048  double wave_g= 0.2;
00049  double wave_b= 0.0;
00050  double wave_x= 0.5;
00051  double wave_y= 0.5;
00052  double wave_mystery= 0.0;
00053 
00054  double ob_size= 0.0;
00055  double ob_r= 0.0;
00056  double ob_g= 0.0;
00057  double ob_b= 0.0;
00058  double ob_a= 0.0;
00059 
00060  double ib_size = 0.0;
00061  double ib_r = 0.0;
00062  double ib_g = 0.0;
00063  double ib_b = 0.0;
00064  double ib_a = 0.0;
00065 
00066  double mv_a = 0.0;
00067  double mv_r = 0.0;
00068  double mv_g = 0.0;
00069  double mv_b = 0.0;
00070  double mv_l = 1.0;
00071  double mv_x = 16.0;
00072  double mv_y = 12.0;
00073  double mv_dy = 0.02;
00074  double mv_dx = 0.02;
00075   
00076  int meshx = 0;
00077  int meshy = 0;
00078  
00079  double Time = 0;
00080  double treb = 0;
00081  double mid = 0;
00082  double bass = 0;
00083  double treb_att = 0;
00084  double mid_att = 0;
00085  double bass_att = 0;
00086  double progress = 0;
00087  int frame = 0;
00088  int fps = 30;
00089 //double bass_thresh = 0;
00090 
00091 /* PER_FRAME CONSTANTS END */
00092  double fRating = 0;
00093  double fGammaAdj = 1.0;
00094  double fVideoEchoZoom = 1.0;
00095  double fVideoEchoAlpha = 0;
00096  double nVideoEchoOrientation = 0;
00097  
00098  int nWaveMode = 7;
00099  int bAdditiveWaves = 0;
00100  int bWaveDots = 0;
00101  int bWaveThick = 0;
00102  int bModWaveAlphaByVolume = 0;
00103  int bMaximizeWaveColor = 0;
00104  int bTexWrap = 0;
00105  int bDarkenCenter = 0;
00106  int bRedBlueStereo = 0;
00107  int bBrighten = 0;
00108  int bDarken = 0;
00109  int bSolarize = 0;
00110 int bInvert = 0;
00111 int bMotionVectorsOn = 1;
00112  
00113  double fWaveAlpha =1.0;
00114  double fWaveScale = 1.0;
00115  double fWaveSmoothing = 0;
00116  double fWaveParam = 0;
00117  double fModWaveAlphaStart = 0;
00118  double fModWaveAlphaEnd = 0;
00119  double fWarpAnimSpeed = 0;
00120  double fWarpScale = 0;
00121  double fShader = 0;
00122 
00123 
00124 /* PER_PIXEL CONSTANTS BEGIN */
00125 double x_per_pixel = 0;
00126 double y_per_pixel = 0;
00127 double rad_per_pixel = 0;
00128 double ang_per_pixel = 0;
00129 
00130 /* PER_PIXEL CONSTANT END */
00131 
00132 
00133 /* Q AND T VARIABLES START */
00134 
00135 double q1 = 0;
00136 double q2 = 0;
00137 double q3 = 0;
00138 double q4 = 0;
00139 double q5 = 0;
00140 double q6 = 0;
00141 double q7 = 0;
00142 double q8 = 0;
00143 
00144 
00145 /* Q AND T VARIABLES END */
00146 
00147 //per pixel meshes
00148  double **zoom_mesh;
00149  double **zoomexp_mesh;
00150  double **rot_mesh;
00151  
00152 
00153  double **sx_mesh;
00154  double **sy_mesh;
00155  double **dx_mesh;
00156  double **dy_mesh;
00157  double **cx_mesh;
00158  double **cy_mesh;
00159 
00160  double **x_mesh;
00161  double **y_mesh;
00162  double **rad_mesh;
00163  double **theta_mesh;
00164 
00165 //custom wave per point meshes
00166 

Generated on Tue Dec 20 10:14:56 2005 for vlc-0.8.4a by  doxygen 1.4.2