comparison postproc/swscale_template.c @ 4295:67c56df76a44

copyright(swscaler) = GPL
author michael
date Mon, 21 Jan 2002 18:32:31 +0000
parents 1f8ceb12284d
children 29fef3982238
comparison
equal deleted inserted replaced
4294:21dbbbbd5479 4295:67c56df76a44
1 1 /*
2 // Software scaling and colorspace conversion routines for MPlayer 2 Copyright (C) 2001-2002 Michael Niedermayer <michaelni@gmx.at>
3 3
4 // Orginal C implementation by A'rpi/ESP-team <arpi@thot.banki.hu> 4 This program is free software; you can redistribute it and/or modify
5 // current version mostly by Michael Niedermayer (michaelni@gmx.at) 5 it under the terms of the GNU General Public License as published by
6 // the parts written by michael are under GNU GPL 6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
7 18
8 #undef MOVNTQ 19 #undef MOVNTQ
9 #undef PAVGB 20 #undef PAVGB
10 #undef PREFETCH 21 #undef PREFETCH
11 #undef PREFETCHW 22 #undef PREFETCHW
1883 const int dstW= c->dstW; 1894 const int dstW= c->dstW;
1884 const int dstH= c->dstH; 1895 const int dstH= c->dstH;
1885 const int chrDstW= c->chrDstW; 1896 const int chrDstW= c->chrDstW;
1886 const int lumXInc= c->lumXInc; 1897 const int lumXInc= c->lumXInc;
1887 const int chrXInc= c->chrXInc; 1898 const int chrXInc= c->chrXInc;
1888 const int dstFormat= c->dstFormat; //FIXME serach for dstbpp; 1899 const int dstFormat= c->dstFormat;
1889 const int flags= c->flags; 1900 const int flags= c->flags;
1890 const int canMMX2BeUsed= c->canMMX2BeUsed; 1901 const int canMMX2BeUsed= c->canMMX2BeUsed;
1891 int16_t *vLumFilterPos= c->vLumFilterPos; 1902 int16_t *vLumFilterPos= c->vLumFilterPos;
1892 int16_t *vChrFilterPos= c->vChrFilterPos; 1903 int16_t *vChrFilterPos= c->vChrFilterPos;
1893 int16_t *hLumFilterPos= c->hLumFilterPos; 1904 int16_t *hLumFilterPos= c->hLumFilterPos;