1 |
/************************************************************************** |
/***************************************************************************** |
2 |
* |
* |
3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* colorspace conversions |
* - Colorspace conversion functions - |
5 |
|
* |
6 |
|
* Copyright(C) 2001-2003 Peter Ross <pross@xvid.org> |
7 |
* |
* |
8 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
17 |
* |
* |
18 |
* You should have received a copy of the GNU General Public License |
* You should have received a copy of the GNU General Public License |
19 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
* |
|
|
*************************************************************************/ |
|
|
|
|
|
/************************************************************************** |
|
|
* |
|
|
* History: |
|
21 |
* |
* |
22 |
* 14.04.2002 added user_to_yuv_c() |
* $Id$ |
|
* 30.02.2002 out_yuv dst_stride2 fix |
|
|
* 26.02.2002 rgb555, rgb565 |
|
|
* 24.11.2001 accuracy improvement to yuyv/vyuy conversion |
|
|
* 28.10.2001 total rewrite <pross@cs.rmit.edu.au> |
|
23 |
* |
* |
24 |
**************************************************************************/ |
****************************************************************************/ |
25 |
|
|
26 |
#include <string.h> // memcpy |
#include <string.h> /* memcpy */ |
27 |
|
|
28 |
#include "../global.h" |
#include "../global.h" |
29 |
#include "colorspace.h" |
#include "colorspace.h" |
30 |
|
|
31 |
// function pointers |
/* function pointers */ |
32 |
|
|
33 |
/* input */ |
/* input */ |
34 |
packedFuncPtr rgb555_to_yv12; |
packedFuncPtr rgb555_to_yv12; |