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

  1. /* 
  2.  *  StatsStrings.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 STATS_STRINGS_H
  25. #define STATS_STRINGS_H
  26.  
  27.  
  28. #define STRING_SIZE 1024
  29.  
  30. struct TInMediaStatsStrings
  31. {
  32.     char video_width[STRING_SIZE];
  33.     char video_height[STRING_SIZE];
  34.     char video_size[STRING_SIZE];
  35.     char video_aspect_ratio_information[STRING_SIZE];
  36.     char video_bit_rate[STRING_SIZE];
  37.     char video_detected_frame_rate[STRING_SIZE];
  38.     char video_frame_rate[STRING_SIZE];
  39.     char video_format[STRING_SIZE];
  40.     char video_structure[STRING_SIZE];
  41.  
  42.     char audio_sample_freq[STRING_SIZE];
  43.     char audio_channels[STRING_SIZE];
  44.     char audio_bit_rate[STRING_SIZE];
  45.     char audio_format[STRING_SIZE];
  46. };
  47.  
  48. struct TOutMediaStatsStrings
  49. {
  50.   char video_width[STRING_SIZE];
  51.   char video_height[STRING_SIZE];
  52.   char video_size[STRING_SIZE];
  53.   char video_aspect_ratio_information[STRING_SIZE];
  54.   char video_bit_rate[STRING_SIZE];
  55.  
  56.   char video_frame_rate[STRING_SIZE];
  57.   char video_format[STRING_SIZE];
  58.   char video_structure[STRING_SIZE];
  59.   
  60.   char audio_sample_freq[STRING_SIZE];
  61.   char audio_channels[STRING_SIZE];
  62.   char audio_bit_rate[STRING_SIZE];
  63.   char audio_format[STRING_SIZE];
  64. };
  65.  
  66.  
  67. struct TStatsStrings
  68. {
  69.     TInMediaStatsStrings  InMedia;
  70.     TOutMediaStatsStrings OutMedia;
  71. };
  72.  
  73. void RenderInaudioStatsStrings( TStatsStrings *stats );
  74. int RenderStatsStrings( TStatsStrings *stats );
  75.  
  76. #endif STATS_STRINGS_H