home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / quicktime / yuv4.h < prev    next >
C/C++ Source or Header  |  2000-11-29  |  631b  |  29 lines

  1. #ifndef QUICKTIME_YUV4_H
  2. #define QUICKTIME_YUV4_H
  3.  
  4. #include "quicktime.h"
  5.  
  6. typedef struct
  7. {
  8.     int use_float;
  9.     long rtoy_tab[256], gtoy_tab[256], btoy_tab[256];
  10.     long rtou_tab[256], gtou_tab[256], btou_tab[256];
  11.     long rtov_tab[256], gtov_tab[256], btov_tab[256];
  12.  
  13.     long vtor_tab[256], vtog_tab[256];
  14.     long utog_tab[256], utob_tab[256];
  15.     long *vtor, *vtog, *utog, *utob;
  16.     
  17.     unsigned char *work_buffer;
  18.  
  19. /* The YUV4 codec requires a bytes per line that is a multiple of 4 */
  20.     int bytes_per_line;
  21. /* Actual rows encoded in the yuv4 format */
  22.     int rows;
  23. } quicktime_yuv4_codec_t;
  24.  
  25.  
  26. /* Now storing data as rows of UVYYYYUVYYYY */
  27.  
  28. #endif
  29.