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 
26 #include "avfilter.h"
27 
28 typedef struct PP7Context {
29  AVClass *class;
30  int thres2[99][16];
31 
32  int qp;
33  int mode;
35  int hsub;
36  int vsub;
38  uint8_t *src;
39 
40  int (*requantize)(struct PP7Context *p, int16_t *src, int qp);
41  void (*dctB)(int16_t *dst, int16_t *src);
42 
43 } PP7Context;
44 
45 void ff_pp7_init_x86(PP7Context *pp7);
46 
47 #endif /* AVFILTER_PP7_H */
PP7Context::requantize
int(* requantize)(struct PP7Context *p, int16_t *src, int qp)
Definition: vf_pp7.h:40
AVVideoEncParamsType
AVVideoEncParamsType
Definition: video_enc_params.h:28
AVClass
Describe the class of an AVClass context structure.
Definition: log.h:66
PP7Context::temp_stride
int temp_stride
Definition: vf_pp7.h:37
PP7Context::hsub
int hsub
Definition: vf_pp7.h:35
PP7Context::qscale_type
enum AVVideoEncParamsType qscale_type
Definition: vf_pp7.h:34
PP7Context::src
uint8_t * src
Definition: vf_pp7.h:38
PP7Context::thres2
int thres2[99][16]
Definition: vf_pp7.h:30
PP7Context::vsub
int vsub
Definition: vf_pp7.h:36
PP7Context::qp
int qp
Definition: vf_pp7.h:32
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:33
avfilter.h
PP7Context
Definition: vf_pp7.h:28
int
int
Definition: ffmpeg_filter.c:368
video_enc_params.h
PP7Context::dctB
void(* dctB)(int16_t *dst, int16_t *src)
Definition: vf_pp7.h:41