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 };
67 
75 typedef struct vp8_postproc_cfg
76 {
81 
86 typedef enum vpx_ref_frame_type
87 {
88  VP8_LAST_FRAME = 1,
89  VP8_GOLD_FRAME = 2,
90  VP8_ALTR_FRAME = 4
92 
98 typedef struct vpx_ref_frame
99 {
103 
104 
117 
118 
121 #if !defined(VPX_CODEC_DISABLE_COMPAT) || !VPX_CODEC_DISABLE_COMPAT
122 /* The following definitions are provided for backward compatibility with
123  * the VP8 1.0.x SDK. USE IN PRODUCTION CODE IS NOT RECOMMENDED.
124  */
125 
126 DECLSPEC_DEPRECATED extern vpx_codec_iface_t vpx_codec_vp8_algo DEPRECATED;
127 #endif
128 
129 #include "vpx_codec_impl_bottom.h"
130 #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:79
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:101
#define DEPRECATED
Decorator indicating a function is deprecated.
Definition: vpx_codec.h:57
int deblocking_level
Definition: vp8.h:78
Definition: vp8.h:47
Definition: vp8.h:45
Definition: vp8.h:46
reference frame data struct
Definition: vp8.h:98
vpx_ref_frame_type
reference frame type
Definition: vp8.h:86
vpx_ref_frame_type_t frame_type
Definition: vp8.h:100
post process flags
Definition: vp8.h:75
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:77
Definition: vp8.h:41