Home
last modified time | relevance | path

Searched refs:feature_id (Results 1 – 5 of 5) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_seg_common.c35 SEG_LVL_FEATURES feature_id) { in vp9_enable_segfeature() argument
36 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() argument
40 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() argument
44 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() argument
49 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 …]
Dvp9_seg_common.h54 SEG_LVL_FEATURES feature_id) { in segfeature_active() argument
55 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() argument
72 return seg->feature_data[segment_id][feature_id]; in get_segdata()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_segmentation.h25 SEG_LVL_FEATURES feature_id);
27 SEG_LVL_FEATURES feature_id);
Dvp9_segmentation.c40 SEG_LVL_FEATURES feature_id) { in vp9_disable_segfeature() argument
41 seg->feature_mask[segment_id] &= ~(1 << feature_id); in vp9_disable_segfeature()
45 SEG_LVL_FEATURES feature_id) { in vp9_clear_segdata() argument
46 seg->feature_data[segment_id][feature_id] = 0; in vp9_clear_segdata()
/external/libtextclassifier/smartselect/
Dtext-classification-model.cc120 for (int feature_id : sparse_features) { in SparseFeaturesToFeatureVector() local
122 nlp_core::FloatFeatureValue(feature_id, 1.0 / sparse_features.size()) in SparseFeaturesToFeatureVector()