WebM VP8 Codec SDK
vp8.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3  *
4  * Use of this source code is governed by a BSD-style license
5  * that can be found in the LICENSE file in the root of the source
6  * tree. An additional intellectual property rights grant can be found
7  * in the file PATENTS. All contributing project authors may
8  * be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 
31 #ifndef VP8_H
32 #define VP8_H
33 #include "vpx_codec_impl_top.h"
34 
40 {
48  VP8_COMMON_CTRL_ID_MAX,
49  VP8_DECODER_CTRL_ID_START = 256,
50 };
51 
57 {
58  VP8_NOFILTERING = 0,
59  VP8_DEBLOCK = 1<<0,
60  VP8_DEMACROBLOCK = 1<<1,
61  VP8_ADDNOISE = 1<<2,
66  VP8_MFQE = 1<<10,
67 };
68 
76 typedef struct vp8_postproc_cfg
77 {
82 
87 typedef enum vpx_ref_frame_type
88 {
89  VP8_LAST_FRAME = 1,
90  VP8_GOLD_FRAME = 2,
91  VP8_ALTR_FRAME = 4
93 
99 typedef struct vpx_ref_frame
100 {
104 
105 
118 
119 
122 #if !defined(VPX_CODEC_DISABLE_COMPAT) || !VPX_CODEC_DISABLE_COMPAT
123 /* The following definitions are provided for backward compatibility with
124  * the VP8 1.0.x SDK. USE IN PRODUCTION CODE IS NOT RECOMMENDED.
125  */
126 
127 DECLSPEC_DEPRECATED extern vpx_codec_iface_t vpx_codec_vp8_algo DEPRECATED;
128 #endif
129 
130 #include "vpx_codec_impl_bottom.h"
131 #endif
struct vpx_codec_iface vpx_codec_iface_t
Codec interface structure.
Definition: vpx_codec.h:167
Image Descriptor.
Definition: vpx_image.h:97
struct vp8_postproc_cfg vp8_postproc_cfg_t
post process flags
Definition: vp8.h:44
int noise_level
Definition: vp8.h:80
struct vpx_ref_frame vpx_ref_frame_t
reference frame data struct
enum vpx_ref_frame_type vpx_ref_frame_type_t
reference frame type
Definition: vp8.h:63
Definition: vp8.h:42
#define VPX_CTRL_USE_TYPE(id, typ)
vpx_codec_control type definition macro
Definition: vpx_codec.h:408
vp8_postproc_level
post process flags
Definition: vp8.h:56
Definition: vp8.h:43
Definition: vp8.h:65
vpx_image_t img
Definition: vp8.h:102
#define DEPRECATED
Decorator indicating a function is deprecated.
Definition: vpx_codec.h:57
int deblocking_level
Definition: vp8.h:79
Definition: vp8.h:47
Definition: vp8.h:45
Definition: vp8.h:46
reference frame data struct
Definition: vp8.h:99
vpx_ref_frame_type
reference frame type
Definition: vp8.h:87
vpx_ref_frame_type_t frame_type
Definition: vp8.h:101
post process flags
Definition: vp8.h:76
Definition: vp8.h:64
vp8_com_control_id
Control functions.
Definition: vp8.h:39
#define DECLSPEC_DEPRECATED
Decorator indicating a function is deprecated.
Definition: vpx_codec.h:58
Definition: vp8.h:62
int post_proc_flag
Definition: vp8.h:78
Definition: vp8.h:41