Searched defs:saturate (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Dbasicop2.c35 | Function Name : saturate |
60 Word16 saturate(Word32 L_var1) function
122 var_out = saturate(L_sum);
168 var_out = saturate(L_diff);
409 var_out = saturate(L_product);
477 | Negate var1 with saturation, saturate in the case where input is -32768:|
839 | Negate the 32 bit variable L_var1 with saturation; saturate in the case |
918 var_out = saturate(L_product_arr);
H A Dbasic_op.h63 __inline Word16 saturate(Word32 L_var1);
65 Word16 saturate(Word32 L_var1);
296 __inline Word16 saturate(Word32 L_var1) function
611 var_out = saturate(L_sum);
639 var_out = saturate(L_diff);
714 var_out = saturate(L_product);
1068 var_out = saturate(L_product_arr);
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dbasic_op.h34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ? (MIN_16): ((L_var1) & 0xffff))) macro
131 var_out = saturate (L_sum);
174 var_out = saturate (L_diff);
350 var_out = saturate (L_product);
677 var_out = saturate (L_product_arr);
/frameworks/base/graphics/java/android/graphics/
H A DColor.java638 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b)));
914 return new Color(saturate(r), saturate(g), saturate(b), saturate(a));
1228 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b)));
1231 private static float saturate(float v) { method in class:Color

Completed in 96 milliseconds