FFmpeg
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
libavfilter
vf_spp.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
3
* Copyright (c) 2013 Clément Bœsch
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_SPP_H
23
#define AVFILTER_SPP_H
24
25
#include "
libavcodec/avcodec.h
"
26
#include "
libavcodec/avdct.h
"
27
#include "
avfilter.h
"
28
29
#define MAX_LEVEL 6
/* quality levels */
30
31
typedef
struct
{
32
const
AVClass
*
av_class
;
33
34
int
log2_count
;
35
int
qp
;
36
int
mode
;
37
int
qscale_type
;
38
int
temp_linesize
;
39
uint8_t
*
src
;
40
uint16_t *
temp
;
41
AVCodecContext
*
avctx
;
42
AVDCT
*
dct
;
43
int8_t *
non_b_qp_table
;
44
int
non_b_qp_alloc_size
;
45
int
use_bframe_qp
;
46
int
hsub,
vsub
;
47
48
void
(*store_slice)(
uint8_t
*dst,
const
int16_t *
src
,
49
int
dst_stride,
int
src_stride,
50
int
width
,
int
height
,
int
log2_scale,
51
const
uint8_t
dither
[8][8]);
52
53
void
(*requantize)(int16_t dst[64],
const
int16_t src[64],
54
int
qp,
const
uint8_t
*permutation);
55
}
SPPContext
;
56
57
void
ff_spp_init_x86
(
SPPContext
*
s
);
58
59
#endif
/* AVFILTER_SPP_H */
s
const char * s
Definition:
avisynth_c.h:768
SPPContext::use_bframe_qp
int use_bframe_qp
Definition:
vf_spp.h:45
avfilter.h
Main libavfilter public API header.
SPPContext::avctx
AVCodecContext * avctx
Definition:
vf_spp.h:41
avdct.h
SPPContext::log2_count
int log2_count
Definition:
vf_spp.h:34
SPPContext::av_class
const AVClass * av_class
Definition:
vf_spp.h:32
uint8_t
uint8_t
Definition:
audio_convert.c:194
height
#define height
SPPContext::non_b_qp_alloc_size
int non_b_qp_alloc_size
Definition:
vf_spp.h:44
dither
static const uint8_t dither[8][8]
Definition:
vf_fspp.c:57
SPPContext::temp_linesize
int temp_linesize
Definition:
vf_spp.h:38
SPPContext::non_b_qp_table
int8_t * non_b_qp_table
Definition:
vf_spp.h:43
ff_spp_init_x86
void ff_spp_init_x86(SPPContext *s)
Definition:
vf_spp.c:220
width
#define width
void
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
SPPContext
Definition:
vf_spp.h:31
SPPContext::qscale_type
int qscale_type
Definition:
vf_spp.h:37
src
#define src
Definition:
vp9dsp.c:530
SPPContext::dct
AVDCT * dct
Definition:
vf_spp.h:42
avcodec.h
Libavcodec external API header.
AVCodecContext
main external API structure.
Definition:
avcodec.h:1676
SPPContext::vsub
int vsub
Definition:
vf_spp.h:46
SPPContext::temp
uint16_t * temp
Definition:
vf_spp.h:40
AVClass
Describe the class of an AVClass context structure.
Definition:
log.h:67
SPPContext::qp
int qp
Definition:
vf_spp.h:35
AVDCT
AVDCT context.
Definition:
avdct.h:29
SPPContext::mode
int mode
Definition:
vf_spp.h:36
SPPContext::src
uint8_t * src
Definition:
vf_spp.h:39
Generated on Thu Oct 27 2016 19:33:37 for FFmpeg by
1.8.6