home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2004 March / PCWELT_3_2004.ISO / pcwsoft / flaskmpeg_078_39_src.z.exe / flaskmpeg / Misc / Graph.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-10-28  |  1.4 KB  |  52 lines

  1. /* 
  2.  *  Graph.h
  3.  *
  4.  *    Copyright (C) Alberto Vigata - January 2000 - ultraflask@yahoo.com
  5.  *
  6.  *  This file is part of FlasKMPEG, a free MPEG to MPEG/AVI converter
  7.  *    
  8.  *  FlasKMPEG is free software; you can redistribute it and/or modify
  9.  *  it under the terms of the GNU General Public License as published by
  10.  *  the Free Software Foundation; either version 2, or (at your option)
  11.  *  any later version.
  12.  *   
  13.  *  FlasKMPEG is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  *  GNU General Public License for more details.
  17.  *   
  18.  *  You should have received a copy of the GNU General Public License
  19.  *  along with GNU Make; see the file COPYING.  If not, write to
  20.  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
  21.  *
  22.  */
  23.  
  24. #ifndef GRAPH_H
  25. #define GRAPH_H
  26.  
  27. // Special AVIplug Handling
  28. #define VXXtype    0x56585858L        // 'VXXX' type
  29. #define ODMLtype 'ODML'
  30.  
  31. struct TAVIPlugGraphInfo
  32. {
  33.     int Video;
  34.     int Audio;
  35. };
  36.  
  37.  
  38. struct TGraph{
  39.     int  posw;
  40.     int  last55[55];
  41.     int  br_actual,br_max,br_min,br_fr;
  42.     int  last55_input[55];
  43.     int  posw_input;
  44.     __int64 lastfpos,br_avr;
  45. };
  46.  
  47.  
  48. void GraphStart(TGraph *gr);
  49. void DrawGraph(HWND hDlg, TGraph *gr);
  50. void UpdateGraph(TGraph *gr, TAVIPlugGraphInfo *info);
  51.  
  52. #endif