ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

indeo_dsp.h

Go to the documentation of this file.
00001 /* ScummVM - Graphic Adventure Engine
00002  *
00003  * ScummVM is the legal property of its developers, whose names
00004  * are too numerous to list here. Please refer to the COPYRIGHT
00005  * file distributed with this source distribution.
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU General Public License
00009  * as published by the Free Software Foundation; either version 2
00010  * of the License, or (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00020  *
00021  */
00022 
00023 /* VLC code
00024  *
00025  * Original copyright note:
00026  * DSP functions (inverse transforms, motion compensation, wavelet recompositions)
00027  * for Indeo Video Interactive codecs.
00028  */
00029 
00030 #ifndef IMAGE_CODECS_INDEO_INDEO_DSP_H
00031 #define IMAGE_CODECS_INDEO_INDEO_DSP_H
00032 
00033 #include "image/codecs/indeo/mem.h"
00034 #include "image/codecs/indeo/indeo.h"
00035 
00036 namespace Image {
00037 namespace Indeo {
00038 
00039 class IndeoDSP {
00040 public:
00051     static void ffIviInverseHaar8x8(const int32 *in, int16 *out, uint32 pitch,
00052         const uint8 *flags);
00053     static void ffIviInverseHaar8x1(const int32 *in, int16 *out, uint32 pitch,
00054         const uint8 *flags);
00055     static void ffIviInverseHaar1x8(const int32 *in, int16 *out, uint32 pitch,
00056         const uint8 *flags);
00057 
00068     static void ffIviRowHaar8(const int32 *in, int16 *out, uint32 pitch,
00069         const uint8 *flags);
00070 
00081     static void ffIviColHaar8(const int32 *in, int16 *out, uint32 pitch,
00082         const uint8 *flags);
00083 
00094     static void ffIviInverseHaar4x4(const int32 *in, int16 *out, uint32 pitch,
00095         const uint8 *flags);
00096 
00107     static void ffIviRowHaar4(const int32 *in, int16 *out, uint32 pitch,
00108         const uint8 *flags);
00109 
00120     static void ffIviColHaar4(const int32 *in, int16 *out, uint32 pitch,
00121                           const uint8 *flags);
00122 
00133     static void ffIviDcHaar2d(const int32 *in, int16 *out, uint32 pitch,
00134         int blkSize);
00135 
00146     static void ffIviInverseSlant8x8(const int32 *in, int16 *out, uint32 pitch,
00147         const uint8 *flags);
00148 
00159     static void ffIviInverseSlant4x4(const int32 *in, int16 *out, uint32 pitch,
00160         const uint8 *flags);
00161 
00173     static void ffIviDcSlant2d(const int32 *in, int16 *out, uint32 pitch, int blkSize);
00174 
00183     static void ffIviRowSlant8(const int32 *in, int16 *out, uint32 pitch,
00184         const uint8 *flags);
00185 
00196     static void ffIviColSlant8(const int32 *in, int16 *out, uint32 pitch,
00197         const uint8 *flags);
00198 
00207     static void ffIviRowSlant4(const int32 *in, int16 *out, uint32 pitch,
00208         const uint8 *flags);
00209 
00220     static void ffIviColSlant4(const int32 *in, int16 *out, uint32 pitch,
00221         const uint8 *flags);
00222 
00226     static void ffIviDcRowSlant(const int32 *in, int16 *out, uint32 pitch, int blkSize);
00227 
00231     static void ffIviDcColSlant(const int32 *in, int16 *out, uint32 pitch, int blkSize);
00232 
00236     static void ffIviPutPixels8x8(const int32 *in, int16 *out, uint32 pitch, const uint8 *flags);
00237 
00242     static void ffIviPutDcPixel8x8(const int32 *in, int16 *out, uint32 pitch, int blkSize);
00243 
00252     static void ffIviMc8x8Delta(int16 *buf, const int16 *refBuf, uint32 pitch, int mcType);
00253 
00262     static void ffIviMc4x4Delta(int16 *buf, const int16 *refBuf, uint32 pitch, int mcType);
00263 
00272     static void ffIviMc8x8NoDelta(int16 *buf, const int16 *refBuf, uint32 pitch, int mcType);
00273 
00282     static void ffIviMc4x4NoDelta(int16 *buf, const int16 *refBuf, uint32 pitch, int mcType);
00283 
00294     static void ffIviMcAvg8x8Delta(int16 *buf, const int16 *refBuf, const int16 *refBuf2, uint32 pitch, int mcType, int mcType2);
00295 
00306     static void ffIviMcAvg4x4Delta(int16 *buf, const int16 *refBuf, const int16 *refBuf2, uint32 pitch, int mcType, int mcType2);
00307 
00318     static void ffIviMcAvg8x8NoDelta(int16 *buf, const int16 *refBuf, const int16 *refBuf2, uint32 pitch, int mcType, int mcType2);
00319 
00330     static void ffIviMcAvg4x4NoDelta(int16 *buf, const int16 *refBuf, const int16 *refBuf2, uint32 pitch, int mcType, int mcType2);
00331 };
00332 
00333 } // End of namespace Indeo
00334 } // End of namespace Image
00335 
00336 #endif


Generated on Sat Oct 12 2019 05:01:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge