comparison cavsdsp.h @ 3380:1f47e26323bc libavcodec

new files for the CAVS decoder by (Stefan Gehrer <stefan gehrer gmx de)
author michael
date Sat, 01 Jul 2006 22:52:56 +0000
parents
children
comparison
equal deleted inserted replaced
3379:69901769c811 3380:1f47e26323bc
1 /*
2 * Chinese AVS video (AVS1-P2, JiZhun profile) decoder.
3 * Copyright (c) 2006 Stefan Gehrer <stefan.gehrer@gmx.de>
4 *
5 * DSP function prototypes
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 void put_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride);
23 void put_cavs_qpel16_mc01_c(uint8_t *dst, uint8_t *src, int stride);
24 void put_cavs_qpel16_mc02_c(uint8_t *dst, uint8_t *src, int stride);
25 void put_cavs_qpel16_mc03_c(uint8_t *dst, uint8_t *src, int stride);
26 void put_cavs_qpel16_mc10_c(uint8_t *dst, uint8_t *src, int stride);
27 void put_cavs_qpel16_mc11_c(uint8_t *dst, uint8_t *src, int stride);
28 void put_cavs_qpel16_mc12_c(uint8_t *dst, uint8_t *src, int stride);
29 void put_cavs_qpel16_mc13_c(uint8_t *dst, uint8_t *src, int stride);
30 void put_cavs_qpel16_mc20_c(uint8_t *dst, uint8_t *src, int stride);
31 void put_cavs_qpel16_mc21_c(uint8_t *dst, uint8_t *src, int stride);
32 void put_cavs_qpel16_mc22_c(uint8_t *dst, uint8_t *src, int stride);
33 void put_cavs_qpel16_mc23_c(uint8_t *dst, uint8_t *src, int stride);
34 void put_cavs_qpel16_mc30_c(uint8_t *dst, uint8_t *src, int stride);
35 void put_cavs_qpel16_mc31_c(uint8_t *dst, uint8_t *src, int stride);
36 void put_cavs_qpel16_mc32_c(uint8_t *dst, uint8_t *src, int stride);
37 void put_cavs_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride);
38 void put_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride);
39 void put_cavs_qpel8_mc01_c(uint8_t *dst, uint8_t *src, int stride);
40 void put_cavs_qpel8_mc02_c(uint8_t *dst, uint8_t *src, int stride);
41 void put_cavs_qpel8_mc03_c(uint8_t *dst, uint8_t *src, int stride);
42 void put_cavs_qpel8_mc10_c(uint8_t *dst, uint8_t *src, int stride);
43 void put_cavs_qpel8_mc11_c(uint8_t *dst, uint8_t *src, int stride);
44 void put_cavs_qpel8_mc12_c(uint8_t *dst, uint8_t *src, int stride);
45 void put_cavs_qpel8_mc13_c(uint8_t *dst, uint8_t *src, int stride);
46 void put_cavs_qpel8_mc20_c(uint8_t *dst, uint8_t *src, int stride);
47 void put_cavs_qpel8_mc21_c(uint8_t *dst, uint8_t *src, int stride);
48 void put_cavs_qpel8_mc22_c(uint8_t *dst, uint8_t *src, int stride);
49 void put_cavs_qpel8_mc23_c(uint8_t *dst, uint8_t *src, int stride);
50 void put_cavs_qpel8_mc30_c(uint8_t *dst, uint8_t *src, int stride);
51 void put_cavs_qpel8_mc31_c(uint8_t *dst, uint8_t *src, int stride);
52 void put_cavs_qpel8_mc32_c(uint8_t *dst, uint8_t *src, int stride);
53 void put_cavs_qpel8_mc33_c(uint8_t *dst, uint8_t *src, int stride);
54 void avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride);
55 void avg_cavs_qpel16_mc01_c(uint8_t *dst, uint8_t *src, int stride);
56 void avg_cavs_qpel16_mc02_c(uint8_t *dst, uint8_t *src, int stride);
57 void avg_cavs_qpel16_mc03_c(uint8_t *dst, uint8_t *src, int stride);
58 void avg_cavs_qpel16_mc10_c(uint8_t *dst, uint8_t *src, int stride);
59 void avg_cavs_qpel16_mc11_c(uint8_t *dst, uint8_t *src, int stride);
60 void avg_cavs_qpel16_mc12_c(uint8_t *dst, uint8_t *src, int stride);
61 void avg_cavs_qpel16_mc13_c(uint8_t *dst, uint8_t *src, int stride);
62 void avg_cavs_qpel16_mc20_c(uint8_t *dst, uint8_t *src, int stride);
63 void avg_cavs_qpel16_mc21_c(uint8_t *dst, uint8_t *src, int stride);
64 void avg_cavs_qpel16_mc22_c(uint8_t *dst, uint8_t *src, int stride);
65 void avg_cavs_qpel16_mc23_c(uint8_t *dst, uint8_t *src, int stride);
66 void avg_cavs_qpel16_mc30_c(uint8_t *dst, uint8_t *src, int stride);
67 void avg_cavs_qpel16_mc31_c(uint8_t *dst, uint8_t *src, int stride);
68 void avg_cavs_qpel16_mc32_c(uint8_t *dst, uint8_t *src, int stride);
69 void avg_cavs_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride);
70 void avg_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride);
71 void avg_cavs_qpel8_mc01_c(uint8_t *dst, uint8_t *src, int stride);
72 void avg_cavs_qpel8_mc02_c(uint8_t *dst, uint8_t *src, int stride);
73 void avg_cavs_qpel8_mc03_c(uint8_t *dst, uint8_t *src, int stride);
74 void avg_cavs_qpel8_mc10_c(uint8_t *dst, uint8_t *src, int stride);
75 void avg_cavs_qpel8_mc11_c(uint8_t *dst, uint8_t *src, int stride);
76 void avg_cavs_qpel8_mc12_c(uint8_t *dst, uint8_t *src, int stride);
77 void avg_cavs_qpel8_mc13_c(uint8_t *dst, uint8_t *src, int stride);
78 void avg_cavs_qpel8_mc20_c(uint8_t *dst, uint8_t *src, int stride);
79 void avg_cavs_qpel8_mc21_c(uint8_t *dst, uint8_t *src, int stride);
80 void avg_cavs_qpel8_mc22_c(uint8_t *dst, uint8_t *src, int stride);
81 void avg_cavs_qpel8_mc23_c(uint8_t *dst, uint8_t *src, int stride);
82 void avg_cavs_qpel8_mc30_c(uint8_t *dst, uint8_t *src, int stride);
83 void avg_cavs_qpel8_mc31_c(uint8_t *dst, uint8_t *src, int stride);
84 void avg_cavs_qpel8_mc32_c(uint8_t *dst, uint8_t *src, int stride);
85 void avg_cavs_qpel8_mc33_c(uint8_t *dst, uint8_t *src, int stride);
86 void cavs_filter_lv_c(uint8_t *d, int stride, int alpha, int beta, int tc, int bs1, int bs2);
87 void cavs_filter_lh_c(uint8_t *d, int stride, int alpha, int beta, int tc, int bs1, int bs2);
88 void cavs_filter_cv_c(uint8_t *d, int stride, int alpha, int beta, int tc, int bs1, int bs2);
89 void cavs_filter_ch_c(uint8_t *d, int stride, int alpha, int beta, int tc, int bs1, int bs2);
90 void cavs_idct8_add_c(uint8_t *dst, DCTELEM *block, int stride);
91
92 void put_pixels8_c(uint8_t *block, const uint8_t *pixels, int line_size, int h);
93 void put_pixels16_c(uint8_t *block, const uint8_t *pixels, int line_size, int h);
94 void avg_pixels8_c(uint8_t *block, const uint8_t *pixels, int line_size, int h);
95 void avg_pixels16_c(uint8_t *block, const uint8_t *pixels, int line_size, int h);