00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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 *av_restrict block,
00040 const uint8_t *av_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