1/*
2 * Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
3 *
4 * This file is part of FFmpeg.
5 *
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.
10 *
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.
15 *
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
19 */
20
21#ifndef AVCODEC_MIPS_H264PRED_MIPS_H
22#define AVCODEC_MIPS_H264PRED_MIPS_H
23
24#include "constants.h"
25#include "libavcodec/h264pred.h"
26
27void ff_pred16x16_vertical_8_mmi(uint8_t *src, ptrdiff_t stride);
28void ff_pred16x16_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride);
29void ff_pred16x16_dc_8_mmi(uint8_t *src, ptrdiff_t stride);
30void ff_pred8x8l_top_dc_8_mmi(uint8_t *src, int has_topleft, int has_topright,
31        ptrdiff_t stride);
32void ff_pred8x8l_dc_8_mmi(uint8_t *src, int has_topleft, int has_topright,
33        ptrdiff_t stride);
34void ff_pred8x8l_vertical_8_mmi(uint8_t *src, int has_topleft,
35        int has_topright, ptrdiff_t stride);
36void ff_pred4x4_dc_8_mmi(uint8_t *src, const uint8_t *topright,
37        ptrdiff_t stride);
38void ff_pred8x8_vertical_8_mmi(uint8_t *src, ptrdiff_t stride);
39void ff_pred8x8_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride);
40void ff_pred16x16_plane_svq3_8_mmi(uint8_t *src, ptrdiff_t stride);
41void ff_pred16x16_plane_rv40_8_mmi(uint8_t *src, ptrdiff_t stride);
42void ff_pred16x16_plane_h264_8_mmi(uint8_t *src, ptrdiff_t stride);
43void ff_pred8x8_top_dc_8_mmi(uint8_t *src, ptrdiff_t stride);
44void ff_pred8x8_dc_8_mmi(uint8_t *src, ptrdiff_t stride);
45void ff_pred8x16_vertical_8_mmi(uint8_t *src, ptrdiff_t stride);
46void ff_pred8x16_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride);
47
48#endif  /* AVCODEC_MIPS_H264PRED_MIPS_H */
49