]> git.sesse.net Git - vlc/blobdiff - src/video_output/video_yuv.h
* Header cleaning: filled all empty authors fields, added CVS $Id stuff.
[vlc] / src / video_output / video_yuv.h
index 748a0a1eba5ed393be6c4952c39d534fcb80b4c2..061c505d9fb8d276afa8d3e96bcd66c2e6ad9aaf 100644 (file)
@@ -1,9 +1,25 @@
 /*****************************************************************************
  * video_yuv.h: YUV transformation functions
- * (c)1999 VideoLAN
+ * These functions set up YUV tables for colorspace conversion
  *****************************************************************************
- * Provides functions prototypes to perform the YUV conversion. The functions
- * may be implemented in one of the video_yuv_* files.
+ * Copyright (C) 1999, 2000 VideoLAN
+ * $Id: video_yuv.h,v 1.7 2001/03/21 13:42:35 sam Exp $
+ *
+ * Authors: Vincent Seguin <seguin@via.ecp.fr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -13,25 +29,3 @@ int             vout_InitYUV      ( vout_thread_t *p_vout );
 int             vout_ResetYUV     ( vout_thread_t *p_vout );
 void            vout_EndYUV       ( vout_thread_t *p_vout );
 
-/*****************************************************************************
- * External prototypes
- *****************************************************************************/
-#ifdef HAVE_MMX
-
-/* YUV transformations for MMX - in video_yuv_mmx.S
- *      p_y, p_u, p_v:          Y U and V planes
- *      i_width, i_height:      frames dimensions (pixels)
- *      i_ypitch, i_vpitch:     Y and V lines sizes (bytes)
- *      i_aspect:               vertical aspect factor
- *      p_pic:                  RGB frame
- *      i_dci_offset:           XXX?? x offset for left image border
- *      i_offset_to_line_0:     XXX?? x offset for left image border
- *      i_pitch:                RGB line size (bytes)
- *      i_colortype:            0 for 565, 1 for 555 */
-void ConvertYUV420RGB16MMX( u8* p_y, u8* p_u, u8 *p_v,
-                            unsigned int i_width, unsigned int i_height,
-                            unsigned int i_ypitch, unsigned int i_vpitch,
-                            unsigned int i_aspect, u8 *p_pic,
-                            u32 i_dci_offset, u32 i_offset_to_line_0,
-                            int i_pitch, int i_colortype );
-#endif