Searched refs:feature_id (Results 1 – 5 of 5) sorted by relevance
35 SEG_LVL_FEATURES feature_id) { in vp9_enable_segfeature() argument36 seg->feature_mask[segment_id] |= 1 << feature_id; in vp9_enable_segfeature()39 int vp9_seg_feature_data_max(SEG_LVL_FEATURES feature_id) { in vp9_seg_feature_data_max() argument40 return seg_feature_data_max[feature_id]; in vp9_seg_feature_data_max()43 int vp9_is_segfeature_signed(SEG_LVL_FEATURES feature_id) { in vp9_is_segfeature_signed() argument44 return seg_feature_data_signed[feature_id]; in vp9_is_segfeature_signed()48 SEG_LVL_FEATURES feature_id, int seg_data) { in vp9_set_segdata() argument49 assert(seg_data <= seg_feature_data_max[feature_id]); in vp9_set_segdata()51 assert(seg_feature_data_signed[feature_id]); in vp9_set_segdata()52 assert(-seg_data <= seg_feature_data_max[feature_id]); in vp9_set_segdata()[all …]
54 SEG_LVL_FEATURES feature_id) { in segfeature_active() argument55 return seg->enabled && (seg->feature_mask[segment_id] & (1 << feature_id)); in segfeature_active()61 SEG_LVL_FEATURES feature_id);63 int vp9_seg_feature_data_max(SEG_LVL_FEATURES feature_id);65 int vp9_is_segfeature_signed(SEG_LVL_FEATURES feature_id);68 SEG_LVL_FEATURES feature_id, int seg_data);71 SEG_LVL_FEATURES feature_id) { in get_segdata() argument72 return seg->feature_data[segment_id][feature_id]; in get_segdata()
25 SEG_LVL_FEATURES feature_id);27 SEG_LVL_FEATURES feature_id);
40 SEG_LVL_FEATURES feature_id) { in vp9_disable_segfeature() argument41 seg->feature_mask[segment_id] &= ~(1 << feature_id); in vp9_disable_segfeature()45 SEG_LVL_FEATURES feature_id) { in vp9_clear_segdata() argument46 seg->feature_data[segment_id][feature_id] = 0; in vp9_clear_segdata()
120 for (int feature_id : sparse_features) { in SparseFeaturesToFeatureVector() local122 nlp_core::FloatFeatureValue(feature_id, 1.0 / sparse_features.size()) in SparseFeaturesToFeatureVector()