2 * Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
4 * This file is part of FFmpeg.
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef AVCODEC_MIPS_H264PRED_MIPS_H
22 #define AVCODEC_MIPS_H264PRED_MIPS_H
24 #include "constants.h"
25 #include "libavcodec/h264pred.h"
27 void ff_pred16x16_vertical_8_mmi(uint8_t *src, ptrdiff_t stride);
28 void ff_pred16x16_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride);
29 void ff_pred16x16_dc_8_mmi(uint8_t *src, ptrdiff_t stride);
30 void ff_pred8x8l_top_dc_8_mmi(uint8_t *src, int has_topleft, int has_topright,
32 void ff_pred8x8l_dc_8_mmi(uint8_t *src, int has_topleft, int has_topright,
34 void ff_pred8x8l_vertical_8_mmi(uint8_t *src, int has_topleft,
35 int has_topright, ptrdiff_t stride);
36 void ff_pred4x4_dc_8_mmi(uint8_t *src, const uint8_t *topright,
38 void ff_pred8x8_vertical_8_mmi(uint8_t *src, ptrdiff_t stride);
39 void ff_pred8x8_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride);
40 void ff_pred16x16_plane_svq3_8_mmi(uint8_t *src, ptrdiff_t stride);
41 void ff_pred16x16_plane_rv40_8_mmi(uint8_t *src, ptrdiff_t stride);
42 void ff_pred16x16_plane_h264_8_mmi(uint8_t *src, ptrdiff_t stride);
43 void ff_pred8x8_top_dc_8_mmi(uint8_t *src, ptrdiff_t stride);
44 void ff_pred8x8_dc_8_mmi(uint8_t *src, ptrdiff_t stride);
45 void ff_pred8x16_vertical_8_mmi(uint8_t *src, ptrdiff_t stride);
46 void ff_pred8x16_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride);
48 #endif /* AVCODEC_MIPS_H264PRED_MIPS_H */