00001 /* 00002 * This file is part of FFmpeg. 00003 * 00004 * FFmpeg 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 * FFmpeg 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 FFmpeg; 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_INTRAX8DSP_H 00020 #define AVCODEC_INTRAX8DSP_H 00021 00022 #include <stdint.h> 00023 00024 typedef struct IntraX8DSPContext { 00025 void (*v_loop_filter)(uint8_t *src, int stride, int qscale); 00026 void (*h_loop_filter)(uint8_t *src, int stride, int qscale); 00027 00028 void (*spatial_compensation[12])(uint8_t *src , uint8_t *dst, int linesize); 00029 void (*setup_spatial_compensation)(uint8_t *src, uint8_t *dst, int linesize, 00030 int *range, int *sum, int edges); 00031 } IntraX8DSPContext; 00032 00033 void ff_intrax8dsp_init(IntraX8DSPContext *dsp); 00034 00035 #endif /* AVCODEC_INTRAX8DSP_H */