/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_AdjustContrastv2.pbtxt | 15 A float multiplier for adjusting contrast. 21 The contrast-adjusted image or images. 24 summary: "Adjust the contrast of one or more images." 30 Contrast is adjusted independently for each channel of each image.
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
contrast.c | 26 float contrast; member in struct:__anon45872 38 if (strcmp(key, "contrast") == 0) 39 ((ContrastParameters*)user_data)->contrast = atof(value); 52 LOGE("Contrast: Incorrect input count! Expected 1 but got %d!", input_count); 58 LOGE("Contrast: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 66 LOGE("Contrast: No input or output pointer found!"); 72 const float contrast = params->contrast; local 74 // Run the contrast adjustment 79 px *= contrast; [all...] |
/external/skia/include/effects/ |
SkHighContrastFilter.h | 17 * Provides transformations to improve contrast for users with low vision. 36 SkScalar contrast) 39 fContrast(contrast) {} 55 // After grayscale and inverting, the contrast can be adjusted linearly. 61 * Color filter that provides transformations to improve contrast 69 * - Increasing the resulting contrast. 72 * not valid, e.g. if you try to call it with a contrast outside the range of
|
/external/skqp/include/effects/ |
SkHighContrastFilter.h | 17 * Provides transformations to improve contrast for users with low vision. 36 SkScalar contrast) 39 fContrast(contrast) {} 55 // After grayscale and inverting, the contrast can be adjusted linearly. 61 * Color filter that provides transformations to improve contrast 69 * - Increasing the resulting contrast. 72 * not valid, e.g. if you try to call it with a contrast outside the range of
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorMatrixSample.java | 55 private static void setContrast(ColorMatrix cm, float contrast) { 56 float scale = contrast + 1.f; 65 private static void setContrastTranslateOnly(ColorMatrix cm, float contrast) { 66 float scale = contrast + 1.f; 75 private static void setContrastScaleOnly(ColorMatrix cm, float contrast) { 76 float scale = contrast + 1.f; 102 //convert our animated angle [-180...180] to a contrast value of [-1..1] 103 float contrast = mAngle / 180.f; local 105 setContrast(cm, contrast); 109 setContrastScaleOnly(cm, contrast); [all...] |
/external/skia/src/core/ |
SkDeviceProfile.cpp | 26 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast, 29 fContrastScale = pin(contrast, 0, 1); 41 float contrast, 44 return new SkDeviceProfile(gammaExp, contrast, config, level);
|
SkMaskGamma.cpp | 71 static float apply_contrast(float srca, float contrast) { 72 return srca + ((1.0f - srca) * contrast * srca); 75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 87 //Contrast value tapers off to 0 as the src luminance becomes white 88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst;
|
SkDeviceProfile.h | 37 * contrastScale will be pinned between 0.0 and 1.0. For no contrast 73 * contrast correction). 82 * that applies the gamma/contrast settings to linear coverage values.
|
/external/skqp/src/core/ |
SkDeviceProfile.cpp | 26 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast, 29 fContrastScale = pin(contrast, 0, 1); 41 float contrast, 44 return new SkDeviceProfile(gammaExp, contrast, config, level);
|
SkMaskGamma.cpp | 71 static float apply_contrast(float srca, float contrast) { 72 return srca + ((1.0f - srca) * contrast * srca); 75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 87 //Contrast value tapers off to 0 as the src luminance becomes white 88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst;
|
SkDeviceProfile.h | 37 * contrastScale will be pinned between 0.0 and 1.0. For no contrast 73 * contrast correction). 82 * that applies the gamma/contrast settings to linear coverage values.
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
ContrastFilter.java | 33 "uniform float contrast;\n" + 38 " color *= contrast;\n" + 44 super(name, "contrast"); 49 return new NativeProgram("filterpack_imageproc", "contrast");
|
/frameworks/base/tests/Internal/src/com/android/internal/graphics/ |
ColorUtilsTest.java | 33 assertTrue("Alpha doesn't need to be 255 to satisfy contrast", alpha < 255); 37 double contrast = ColorUtils.calculateContrast(Color.WHITE, worstCase); local 38 assertTrue("Blended color should satisfy contrast", contrast >= 4.5);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterContrast.java | 24 private static final String SERIALIZATION_NAME = "CONTRAST"; 27 mName = "Contrast"; 33 representation.setName("Contrast"); 37 representation.setTextId(R.string.contrast);
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
ColorChecker.java | 54 * @param minAllowedContrastRatio The minimum contrast ratio 59 * either black or white will be returned, whichever has a higher contrast. 71 Log.w(TAG, "Tint color does not meet contrast requirements. Using white."); 74 Log.w(TAG, "Tint color does not meet contrast requirements. Using black."); 80 * Returns the contrast radio between the two given colors. 87 * Returns the contrast ratio between the two luminances. Luminances maps to colors and is the
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconPalette.java | 58 * Resolves a color such that it has enough contrast to be used as the 61 * @return a color of the same hue with enough contrast against the background. 73 "Enhanced contrast of notification for %s " + 103 * Finds a text color with sufficient contrast over bg that has the same hue as the original 112 * Finds a suitable color such that there's enough contrast. 115 * @param bg the color to ensure contrast against. 116 * @param minRatio the minimum contrast ratio required. 118 * contrast ratio.
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
ImageGoodnessFilter.java | 213 float colorfulness, float contrast, float score) { 215 + 0.3102f * contrast + 0.0314f * vectorAccel + -0.0094f * score + 0.0227f * 336 private float contrastScore(float contrast) { 338 contrastMean = contrast; 342 contrastMean = contrastMean * (1 - DECAY) + contrast * DECAY; 343 contrastVar = contrastVar * (1 - DECAY) + (contrast - contrastMean) * 344 (contrast - contrastMean) * DECAY; 347 } else if (contrast < contrastMean && contrastVar > MEDIUM_VARIANCE) { 349 } else if (contrast < contrastMean) { 351 } else if (contrast > contrastMean && contrastVar > 100) [all...] |
/external/libunwind/scripts/ |
make-L-files | 7 # In contrast, libunwind-tests should always get compiled.
|
/external/tensorflow/tensorflow/docs_src/api_guides/python/ |
sparse_ops.md | 11 in multiple dimensions. Contrast this representation with `IndexedSlices`,
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
contrast.h | 16 // Native function to extract contrast from image (handed down as ByteBuffer).
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
Contrast.java | 23 public class Contrast extends TestBase {
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
Contrast.java | 22 public class Contrast extends TestBase {
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
Contrast.java | 23 public class Contrast extends TestBase {
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
contrast_f.rs | 30 float4 RS_KERNEL contrast(float4 in) {
|
/frameworks/support/compat/src/androidTest/res/font/ |
samplexmlfontforparsing.xml | 6 <font app:fontStyle="italic" app:fontWeight="400" app:fontVariationSettings="'contrast' 0.5"
|