summaryrefslogtreecommitdiff
path: root/media/libaom/src/av1/common/seg_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'media/libaom/src/av1/common/seg_common.c')
-rw-r--r--media/libaom/src/av1/common/seg_common.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/media/libaom/src/av1/common/seg_common.c b/media/libaom/src/av1/common/seg_common.c
index cd189ad769..60b185161c 100644
--- a/media/libaom/src/av1/common/seg_common.c
+++ b/media/libaom/src/av1/common/seg_common.c
@@ -16,12 +16,19 @@
#include "av1/common/seg_common.h"
#include "av1/common/quant_common.h"
-static const int seg_feature_data_signed[SEG_LVL_MAX] = { 1, 1, 1, 1, 1, 0, 0 };
-
-static const int seg_feature_data_max[SEG_LVL_MAX] = {
- MAXQ, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, 7, 0
+static const int seg_feature_data_signed[SEG_LVL_MAX] = {
+ 1, 1, 1, 1, 1, 0, 0, 0
};
+static const int seg_feature_data_max[SEG_LVL_MAX] = { MAXQ,
+ MAX_LOOP_FILTER,
+ MAX_LOOP_FILTER,
+ MAX_LOOP_FILTER,
+ MAX_LOOP_FILTER,
+ 7,
+ 0,
+ 0 };
+
// These functions provide access to new segment level features.
// Eventually these function may be "optimized out" but for the moment,
// the coding mechanism is still subject to change so these provide a
@@ -32,7 +39,7 @@ void av1_clearall_segfeatures(struct segmentation *seg) {
av1_zero(seg->feature_mask);
}
-void calculate_segdata(struct segmentation *seg) {
+void av1_calculate_segdata(struct segmentation *seg) {
seg->segid_preskip = 0;
seg->last_active_segid = 0;
for (int i = 0; i < MAX_SEGMENTS; i++) {