Libav 0.7.1
|
00001 /* 00002 * This file is part of Libav. 00003 * 00004 * Libav is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * Libav is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with Libav; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 #ifndef AVCODEC_ALPHA_DSPUTIL_ALPHA_H 00020 #define AVCODEC_ALPHA_DSPUTIL_ALPHA_H 00021 00022 #include "libavcodec/dsputil.h" 00023 00024 void ff_simple_idct_axp(DCTELEM *block); 00025 void ff_simple_idct_put_axp(uint8_t *dest, int line_size, DCTELEM *block); 00026 void ff_simple_idct_add_axp(uint8_t *dest, int line_size, DCTELEM *block); 00027 00028 void put_pixels_axp_asm(uint8_t *block, const uint8_t *pixels, 00029 int line_size, int h); 00030 void put_pixels_clamped_mvi_asm(const DCTELEM *block, uint8_t *pixels, 00031 int line_size); 00032 void add_pixels_clamped_mvi_asm(const DCTELEM *block, uint8_t *pixels, 00033 int line_size); 00034 extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels, 00035 int line_size); 00036 extern void (*add_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels, 00037 int line_size); 00038 00039 void get_pixels_mvi(DCTELEM *restrict block, 00040 const uint8_t *restrict pixels, int line_size); 00041 void diff_pixels_mvi(DCTELEM *block, const uint8_t *s1, const uint8_t *s2, 00042 int stride); 00043 int pix_abs8x8_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h); 00044 int pix_abs16x16_mvi_asm(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h); 00045 int pix_abs16x16_x2_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h); 00046 int pix_abs16x16_y2_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h); 00047 int pix_abs16x16_xy2_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h); 00048 00049 00050 #endif /* AVCODEC_ALPHA_DSPUTIL_ALPHA_H */