2010-05-18 19:58:33 +04:00
|
|
|
/*
|
2010-09-09 16:16:39 +04:00
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 19:58:33 +04:00
|
|
|
*
|
2010-06-18 20:39:21 +04:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-05 00:19:40 +04:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-06-18 20:39:21 +04:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-05 00:19:40 +04:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 19:58:33 +04:00
|
|
|
*/
|
|
|
|
|
2012-11-30 04:36:10 +04:00
|
|
|
#ifndef VP9_COMMON_VP9_PPFLAGS_H_
|
|
|
|
#define VP9_COMMON_VP9_PPFLAGS_H_
|
2012-12-19 03:31:19 +04:00
|
|
|
|
2014-01-19 00:16:11 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-07-14 02:21:29 +04:00
|
|
|
enum {
|
2012-11-01 01:40:53 +04:00
|
|
|
VP9D_NOFILTERING = 0,
|
|
|
|
VP9D_DEBLOCK = 1 << 0,
|
|
|
|
VP9D_DEMACROBLOCK = 1 << 1,
|
|
|
|
VP9D_ADDNOISE = 1 << 2,
|
|
|
|
VP9D_DEBUG_TXT_FRAME_INFO = 1 << 3,
|
|
|
|
VP9D_DEBUG_TXT_MBLK_MODES = 1 << 4,
|
|
|
|
VP9D_DEBUG_TXT_DC_DIFF = 1 << 5,
|
|
|
|
VP9D_DEBUG_TXT_RATE_INFO = 1 << 6,
|
|
|
|
VP9D_DEBUG_DRAW_MV = 1 << 7,
|
|
|
|
VP9D_DEBUG_CLR_BLK_MODES = 1 << 8,
|
|
|
|
VP9D_DEBUG_CLR_FRM_REF_BLKS = 1 << 9
|
2010-05-18 19:58:33 +04:00
|
|
|
};
|
|
|
|
|
2012-07-14 02:21:29 +04:00
|
|
|
typedef struct {
|
|
|
|
int post_proc_flag;
|
|
|
|
int deblocking_level;
|
|
|
|
int noise_level;
|
|
|
|
int display_ref_frame_flag;
|
|
|
|
int display_mb_modes_flag;
|
|
|
|
int display_b_modes_flag;
|
|
|
|
int display_mv_flag;
|
2012-11-01 01:40:53 +04:00
|
|
|
} vp9_ppflags_t;
|
2010-11-05 02:03:36 +03:00
|
|
|
|
2014-01-19 00:16:11 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2012-12-19 03:31:19 +04:00
|
|
|
#endif // VP9_COMMON_VP9_PPFLAGS_H_
|