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

  1. /*
  2.  *  FormatDefs.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 FORMATDEFS_H
  25. #define FORMATDEFS_H
  26.  
  27.  
  28. // frame formats
  29.  
  30. #define FRAME_RGB32  1
  31.  
  32. #define FRAME_RGB24  2
  33.  
  34. #define FRAME_YUY2   4
  35. #define FRAME_YV12   8
  36. #define FRAME_YVYU   16
  37. #define FRAME_VYUY   32
  38. #define FRAME_UYVY   64
  39. #define FRAME_IYUV   128
  40.  
  41.  
  42. #define FRAME_YUV422 512  /* planar format. Y plane first, V,U planes next-> 4:2:2 */
  43. #define FRAME_YUV444 1024 /* planar format. Y plane first, V,U planes next-> 4:4:4 */
  44.  
  45. #define FRAME_YUV444A 2048 /* planar format with additional alpha info. */
  46. #define FRAME_YV12A   4096 /* planar format with additional alpha info */
  47.  
  48. typedef unsigned long    Pixel;
  49. typedef unsigned long    Pixel32;
  50. typedef unsigned char    Pixel8;
  51.  
  52. #endif
  53.