annotate cavsdsp.h @ 12414:3fc4c625b6f3 libavcodec

Remove global mm_flags variable
author mru
date Tue, 24 Aug 2010 17:47:05 +0000
parents 1241c824de46
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12356
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
1 /*
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
2 * Chinese AVS video (AVS1-P2, JiZhun profile) decoder.
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
3 * Copyright (c) 2006 Stefan Gehrer <stefan.gehrer@gmx.de>
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
4 *
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
5 * This file is part of FFmpeg.
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
6 *
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
11 *
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
15 * Lesser General Public License for more details.
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
16 *
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
20 */
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
21
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
22 #ifndef AVCODEC_CAVSDSP_H
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
23 #define AVCODEC_CAVSDSP_H
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
24
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
25 #include <stdint.h>
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
26 #include "dsputil.h"
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
27
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
28 typedef struct CAVSDSPContext {
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
29 qpel_mc_func put_cavs_qpel_pixels_tab[2][16];
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
30 qpel_mc_func avg_cavs_qpel_pixels_tab[2][16];
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
31 void (*cavs_filter_lv)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
32 void (*cavs_filter_lh)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
33 void (*cavs_filter_cv)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
34 void (*cavs_filter_ch)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
35 void (*cavs_idct8_add)(uint8_t *dst, DCTELEM *block, int stride);
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
36 } CAVSDSPContext;
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
37
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
38 void ff_cavsdsp_init(CAVSDSPContext* c, AVCodecContext *avctx);
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
39 void ff_cavsdsp_init_mmx(CAVSDSPContext* c, AVCodecContext *avctx);
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
40
1241c824de46 Move cavs dsp functions to their own struct
mru
parents:
diff changeset
41 #endif