home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wvis0626.zip / warpvision_20020626.zip / codecs.h < prev    next >
Text File  |  2002-06-19  |  2KB  |  57 lines

  1. /*
  2.  * WarpVision codecs
  3.  *
  4.  * Copyleft Alex Strelnikov.
  5.  *
  6.  * WarpVision is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * (at your option) any later version.
  10.  *
  11.  * WarpVision is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  19.  *
  20. */
  21.  
  22. // Codec types
  23.  
  24. #define VIDEO_MPEG     1
  25. #define VIDEO_DIVX     2
  26. #define VIDEO_ODIVX    3
  27. #define VIDEO_MP4V1    4
  28. #define VIDEO_MP4V2    5
  29. #define VIDEO_INDEO3   6
  30. #define VIDEO_INDEO4   7
  31. #define VIDEO_INDEO5   8
  32. #define VIDEO_CINEPAK  9
  33. #define VIDEO_WMV1     10
  34. #define VIDEO_WMV2     11
  35. #define VIDEO_MJPG     12
  36.  
  37. #define AUDIO_MPEG     100
  38. #define AUDIO_AC3      101
  39. #define AUDIO_PCM      102
  40. #define AUDIO_ACM      103
  41. #define AUDIO_DIVX     104
  42. #define AUDIO_ADPCM    105
  43. #define AUDIO_ALAW     106
  44. #define AUDIO_MULAW    107
  45. #define AUDIO_IMAADPCM 108
  46.  
  47. typedef struct codecs_st {
  48.  
  49.     char codec_name[64];
  50.     int  codec_type;
  51.     int  codec_supported;
  52.  
  53. } codecs_st;
  54.  
  55. codecs_st *find_audio_codec(ULONG fourcc);
  56. codecs_st *find_video_codec(ULONG fourcc);
  57.