]> git.sesse.net Git - ffmpeg/blob - libavfilter/vf_pp7.h
avformat/avio: Add Metacube support
[ffmpeg] / libavfilter / vf_pp7.h
1 /*
2  * Copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
3  * Copyright (c) 2014 Arwa Arif <arwaarif1994@gmail.com>
4  *
5  * This file is part of FFmpeg.
6  *
7  * FFmpeg is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * FFmpeg 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
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with FFmpeg; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21
22 #ifndef AVFILTER_PP7_H
23 #define AVFILTER_PP7_H
24
25 #include "avfilter.h"
26
27 typedef struct PP7Context {
28     AVClass *class;
29     int thres2[99][16];
30
31     int qp;
32     int mode;
33     int qscale_type;
34     int hsub;
35     int vsub;
36     int temp_stride;
37     uint8_t *src;
38
39     int (*requantize)(struct PP7Context *p, int16_t *src, int qp);
40     void (*dctB)(int16_t *dst, int16_t *src);
41
42 } PP7Context;
43
44 void ff_pp7_init_x86(PP7Context *pp7);
45
46 #endif /* AVFILTER_PP7_H */