OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 // Valid range for abs values is (0-127 for MB_LVL_ALT_Q), (0-63 for | 35 // Valid range for abs values is (0-127 for MB_LVL_ALT_Q), (0-63 for |
36 // SEGMENT_ALT_LF) | 36 // SEGMENT_ALT_LF) |
37 // Valid range for delta values are (+/-127 for MB_LVL_ALT_Q), (+/-63 for | 37 // Valid range for delta values are (+/-127 for MB_LVL_ALT_Q), (+/-63 for |
38 // SEGMENT_ALT_LF) | 38 // SEGMENT_ALT_LF) |
39 // | 39 // |
40 // abs_delta = SEGMENT_DELTADATA (deltas) abs_delta = SEGMENT_ABSDATA (use | 40 // abs_delta = SEGMENT_DELTADATA (deltas) abs_delta = SEGMENT_ABSDATA (use |
41 // the absolute values given). | 41 // the absolute values given). |
42 void vp9_set_segment_data(struct segmentation *seg, signed char *feature_data, | 42 void vp9_set_segment_data(struct segmentation *seg, signed char *feature_data, |
43 unsigned char abs_delta); | 43 unsigned char abs_delta); |
44 | 44 |
45 void vp9_choose_segmap_coding_method(VP9_COMP *cpi); | 45 void vp9_choose_segmap_coding_method(VP9_COMMON *cm, MACROBLOCKD *xd); |
46 | 46 |
47 void vp9_reset_segment_features(struct segmentation *seg); | 47 void vp9_reset_segment_features(struct segmentation *seg); |
48 | 48 |
49 #ifdef __cplusplus | 49 #ifdef __cplusplus |
50 } // extern "C" | 50 } // extern "C" |
51 #endif | 51 #endif |
52 | 52 |
53 #endif // VP9_ENCODER_VP9_SEGMENTATION_H_ | 53 #endif // VP9_ENCODER_VP9_SEGMENTATION_H_ |
OLD | NEW |