1 |
;------------------------------------------------------------------------------ |
;/***************************************************************************** |
2 |
; |
; * |
3 |
; This file is part of XviD, a free MPEG-4 video encoder/decoder |
; * XVID MPEG-4 VIDEO CODEC |
4 |
; |
; * mmx yuv planar to rgb conversion |
5 |
; XviD is free software; you can redistribute it and/or modify it |
; * |
6 |
; under the terms of the GNU General Public License as published by |
; * Copyright (C) 2001 - Michael Militzer <isibaar@xvid.org> |
7 |
; the Free Software Foundation; either version 2 of the License, or |
; * |
8 |
; (at your option) any later version. |
; * This program is an implementation of a part of one or more MPEG-4 |
9 |
; |
; * Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
10 |
; XviD is distributed in the hope that it will be useful, but |
; * to use this software module in hardware or software products are |
11 |
; WITHOUT ANY WARRANTY; without even the implied warranty of |
; * advised that its use may infringe existing patents or copyrights, and |
12 |
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
; * any such use would be at such party's own risk. The original |
13 |
; GNU General Public License for more details. |
; * developer of this software module and his/her company, and subsequent |
14 |
; |
; * editors and their companies, will have no liability for use of this |
15 |
; You should have received a copy of the GNU General Public License |
; * software or modifications or derivatives thereof. |
16 |
; along with this program; if not, write to the Free Software |
; * |
17 |
; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * This program is free software; you can redistribute it and/or modify |
18 |
; |
; * it under the terms of the GNU General Public License as published by |
19 |
;------------------------------------------------------------------------------ |
; * the Free Software Foundation; either version 2 of the License, or |
20 |
;------------------------------------------------------------------------------ |
; * (at your option) any later version. |
21 |
; |
; * |
22 |
; yuv_to_rgb32.asm, MMX optimized color conversion |
; * This program is distributed in the hope that it will be useful, |
23 |
|
; * but WITHOUT ANY WARRANTY; without even the implied warranty of |
24 |
|
; * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
25 |
|
; * GNU General Public License for more details. |
26 |
|
; * |
27 |
|
; * You should have received a copy of the GNU General Public License |
28 |
|
; * along with this program; if not, write to the Free Software |
29 |
|
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
30 |
|
; * |
31 |
|
; * $Id$ |
32 |
|
; * |
33 |
|
; ****************************************************************************/ |
34 |
; |
; |
|
; Copyright (C) 2001 - Michael Militzer <isibaar@xvid.org> |
|
|
; |
|
|
; For more information visit the XviD homepage: http://www.xvid.org |
|
|
; |
|
|
;------------------------------------------------------------------------------ |
|
|
;------------------------------------------------------------------------------ |
|
|
; |
|
|
; Revision history : |
|
|
; |
|
|
; 13.12.2001 initial version (Isibaar) |
|
|
; 23.07.2002 Thread safe version (edgomez) |
|
|
; |
|
|
; $Id$ |
|
|
; |
|
|
;------------------------------------------------------------------------------ |
|
35 |
;------------------------------------------------------------------------------ |
;------------------------------------------------------------------------------ |
36 |
; NB: n contrary to the c implementation this code does the conversion |
; NB: n contrary to the c implementation this code does the conversion |
37 |
; using direct calculations. Input data width must be a multiple of 8 |
; using direct calculations. Input data width must be a multiple of 8 |