00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AVCODEC_CAVSDSP_H
00023 #define AVCODEC_CAVSDSP_H
00024
00025 #include <stdint.h>
00026 #include "dsputil.h"
00027
00028 typedef struct CAVSDSPContext {
00029 qpel_mc_func put_cavs_qpel_pixels_tab[2][16];
00030 qpel_mc_func avg_cavs_qpel_pixels_tab[2][16];
00031 void (*cavs_filter_lv)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
00032 void (*cavs_filter_lh)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
00033 void (*cavs_filter_cv)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
00034 void (*cavs_filter_ch)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
00035 void (*cavs_idct8_add)(uint8_t *dst, DCTELEM *block, int stride);
00036 int idct_perm;
00037 } CAVSDSPContext;
00038
00039 void ff_cavsdsp_init(CAVSDSPContext* c, AVCodecContext *avctx);
00040 void ff_cavsdsp_init_mmx(CAVSDSPContext* c, AVCodecContext *avctx);
00041
00042 #endif