FFmpeg
vf_pp7.h
Go to the documentation of this file.
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;
34  int hsub;
35  int vsub;
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 */
PP7Context::requantize
int(* requantize)(struct PP7Context *p, int16_t *src, int qp)
Definition: vf_pp7.h:39
PP7Context::qscale_type
int qscale_type
Definition: vf_pp7.h:33
AVClass
Describe the class of an AVClass context structure.
Definition: log.h:66
PP7Context::temp_stride
int temp_stride
Definition: vf_pp7.h:36
PP7Context::hsub
int hsub
Definition: vf_pp7.h:34
PP7Context::src
uint8_t * src
Definition: vf_pp7.h:37
PP7Context::thres2
int thres2[99][16]
Definition: vf_pp7.h:29
PP7Context::vsub
int vsub
Definition: vf_pp7.h:35
PP7Context::qp
int qp
Definition: vf_pp7.h:31
ff_pp7_init_x86
void ff_pp7_init_x86(PP7Context *pp7)
Definition: vf_pp7_init.c:28
PP7Context::mode
int mode
Definition: vf_pp7.h:32
avfilter.h
PP7Context
Definition: vf_pp7.h:27
int
int
Definition: ffmpeg_filter.c:153
PP7Context::dctB
void(* dctB)(int16_t *dst, int16_t *src)
Definition: vf_pp7.h:40