Libav 0.7.1
|
00001 /* 00002 * Simple IDCT 00003 * 00004 * Copyright (c) 2001 Michael Niedermayer <michaelni@gmx.at> 00005 * 00006 * This file is part of Libav. 00007 * 00008 * Libav is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * Libav is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with Libav; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 */ 00022 00028 #ifndef AVCODEC_SIMPLE_IDCT_H 00029 #define AVCODEC_SIMPLE_IDCT_H 00030 00031 #include <stdint.h> 00032 #include "dsputil.h" 00033 00034 void ff_simple_idct_put(uint8_t *dest, int line_size, DCTELEM *block); 00035 void ff_simple_idct_add(uint8_t *dest, int line_size, DCTELEM *block); 00036 void ff_simple_idct_mmx(int16_t *block); 00037 void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, int16_t *block); 00038 void ff_simple_idct_put_mmx(uint8_t *dest, int line_size, int16_t *block); 00039 void ff_simple_idct(DCTELEM *block); 00040 00041 void ff_simple_idct248_put(uint8_t *dest, int line_size, DCTELEM *block); 00042 00043 void ff_simple_idct84_add(uint8_t *dest, int line_size, DCTELEM *block); 00044 void ff_simple_idct48_add(uint8_t *dest, int line_size, DCTELEM *block); 00045 void ff_simple_idct44_add(uint8_t *dest, int line_size, DCTELEM *block); 00046 00047 #endif /* AVCODEC_SIMPLE_IDCT_H */