OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2012 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 #include "vp9/common/vp9_type_aliases.h" |
| 12 #include "vp9/common/vp9_onyxc_int.h" |
| 13 #include "vp9/common/vp9_blockd.h" |
| 14 |
| 15 #ifndef VP9_COMMON_VP9_SEG_COMMON_H_ |
| 16 #define VP9_COMMON_VP9_SEG_COMMON_H_ |
| 17 |
| 18 int vp9_segfeature_active(const MACROBLOCKD *xd, |
| 19 int segment_id, |
| 20 SEG_LVL_FEATURES feature_id); |
| 21 |
| 22 void vp9_clearall_segfeatures(MACROBLOCKD *xd); |
| 23 |
| 24 void vp9_enable_segfeature(MACROBLOCKD *xd, |
| 25 int segment_id, |
| 26 SEG_LVL_FEATURES feature_id); |
| 27 |
| 28 void vp9_disable_segfeature(MACROBLOCKD *xd, |
| 29 int segment_id, |
| 30 SEG_LVL_FEATURES feature_id); |
| 31 |
| 32 int vp9_seg_feature_data_max(SEG_LVL_FEATURES feature_id); |
| 33 |
| 34 int vp9_is_segfeature_signed(SEG_LVL_FEATURES feature_id); |
| 35 |
| 36 void vp9_clear_segdata(MACROBLOCKD *xd, |
| 37 int segment_id, |
| 38 SEG_LVL_FEATURES feature_id); |
| 39 |
| 40 void vp9_set_segdata(MACROBLOCKD *xd, |
| 41 int segment_id, |
| 42 SEG_LVL_FEATURES feature_id, |
| 43 int seg_data); |
| 44 |
| 45 int vp9_get_segdata(const MACROBLOCKD *xd, |
| 46 int segment_id, |
| 47 SEG_LVL_FEATURES feature_id); |
| 48 |
| 49 void vp9_clear_segref(MACROBLOCKD *xd, int segment_id); |
| 50 |
| 51 void vp9_set_segref(MACROBLOCKD *xd, |
| 52 int segment_id, |
| 53 MV_REFERENCE_FRAME ref_frame); |
| 54 |
| 55 int vp9_check_segref(const MACROBLOCKD *xd, |
| 56 int segment_id, |
| 57 MV_REFERENCE_FRAME ref_frame); |
| 58 |
| 59 int vp9_check_segref_inter(MACROBLOCKD *xd, int segment_id); |
| 60 |
| 61 int vp9_get_seg_tx_type(MACROBLOCKD *xd, int segment_id); |
| 62 |
| 63 #endif /* __INC_SEG_COMMON_H__ */ |
| 64 |
OLD | NEW |