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 
48  /* TODO(jkoleszar): The encoder incorrectly reuses some of these values (5+)
49  * for its control ids. These should be migrated to something like the
50  * VP8_DECODER_CTRL_ID_START range next time we're ready to break the ABI.
51  */
53  VP8_COMMON_CTRL_ID_MAX,
54  VP8_DECODER_CTRL_ID_START = 256
55 };
56 
62  VP8_NOFILTERING = 0,
63  VP8_DEBLOCK = 1 << 0,
64  VP8_DEMACROBLOCK = 1 << 1,
65  VP8_ADDNOISE = 1 << 2,
70  VP8_MFQE = 1 << 10
71 };
72 
80 typedef struct vp8_postproc_cfg {
85 
90 typedef enum vpx_ref_frame_type {
91  VP8_LAST_FRAME = 1,
92  VP8_GOLD_FRAME = 2,
93  VP8_ALTR_FRAME = 4
95 
101 typedef struct vpx_ref_frame {
105 
106 typedef struct vp9_ref_frame {
107  int idx;
110 
124 
125 
128 #include "vpx_codec_impl_bottom.h"
129 #endif
Image Descriptor.
Definition: vpx_image.h:97
struct vp8_postproc_cfg vp8_postproc_cfg_t
post process flags
Definition: vp8.h:43
VPX_CTRL_USE_TYPE(VP8E_SET_TOKEN_PARTITIONS, int) VPX_CTRL_USE_TYPE(VP8E_SET_TUNING
VP8 encoder control function parameter type.
int noise_level
Definition: vp8.h:83
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:67
Definition: vp8.h:41
vpx_image_t img
Definition: vp8.h:108
vp8_postproc_level
post process flags
Definition: vp8.h:61
Definition: vp8.h:42
Definition: vp8.h:69
vpx_image_t img
Definition: vp8.h:103
int deblocking_level
Definition: vp8.h:82
Definition: vp8.h:46
Definition: vp8.h:44
Definition: vp8.h:106
Definition: vp8.h:45
reference frame data struct
Definition: vp8.h:101
vpx_ref_frame_type
reference frame type
Definition: vp8.h:90
vpx_ref_frame_type_t frame_type
Definition: vp8.h:102
int idx
Definition: vp8.h:107
post process flags
Definition: vp8.h:80
Definition: vp8.h:68
vp8_com_control_id
Control functions.
Definition: vp8.h:39
Definition: vp8.h:52
Definition: vp8.h:66
int post_proc_flag
Definition: vp8.h:81
Definition: vp8.h:40