HomeSort by relevance Sort by last modified time
    Searched full:contrast (Results 1 - 25 of 641) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/media/mca/filterpacks/native/imageproc/
contrast.c 25 float contrast; member in struct:__anon19826
37 if (strcmp(key, "contrast") == 0)
38 ((ContrastParameters*)user_data)->contrast = atof(value);
51 LOGE("Contrast: Incorrect input count! Expected 1 but got %d!", input_count);
57 LOGE("Contrast: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size);
65 LOGE("Contrast: No input or output pointer found!");
71 const float contrast = params->contrast; local
73 // Run the contrast adjustment
78 px *= contrast;
    [all...]
  /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/legacy/src/core/
SkDeviceProfile.cpp 19 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast,
22 fContrastScale = pin(contrast, 0, 1);
34 float contrast,
37 return SkNEW_ARGS(SkDeviceProfile, (gammaExp, contrast, config, level));
  /external/skia/src/core/
SkDeviceProfile.cpp 27 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast,
30 fContrastScale = pin(contrast, 0, 1);
42 float contrast,
45 return SkNEW_ARGS(SkDeviceProfile, (gammaExp, contrast, config, level));
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.
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;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
ContrastFilter.java 40 "uniform float contrast;\n" +
45 " color *= contrast;\n" +
51 super(name, "contrast");
56 return new NativeProgram("filterpack_imageproc", "contrast");
  /external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/
SoftParticle.frag 2 uniform float m_Softness; // Power used in the contrast function
13 float Contrast(float d){
48 c.a = c.a * stdDiff(zdiff);// Contrast(zdiff);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterContrast.java 26 mName = "Contrast";
32 representation.setName("Contrast");
34 representation.setTextId(R.string.contrast);
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
ShaderProgram.h 153 float contrast() { return m_contrast; } function in class:WebCore::ShaderProgram
156 float contrast = c; local
157 if (contrast < 0)
158 contrast = 0;
159 if (contrast > MAX_CONTRAST)
160 contrast = MAX_CONTRAST;
161 m_contrast = contrast;
  /external/skia/legacy/include/core/
SkDeviceProfile.h 35 * contrastScale will be pinned between 0.0 and 1.0. For no contrast
71 * contrast correction).
80 * that applies the gamma/contrast settings to linear coverage values.
  /external/chromium/chrome/browser/extensions/
extension_message_handler.h 16 // ExtensionHost/BackgroundContents. Contrast this with ExtensionTabHelper,
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_SetGamma.3 11 Sets the "gamma function" for the display of each color component\&. Gamma controls the brightness/contrast of colors displayed on the screen\&. A gamma value of 1\&.0 is identity (i\&.e\&., no adjustment is made)\&.
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Contrast.java 23 public class Contrast extends TestBase {
contrast.rs 28 void contrast(const uchar4 *in, uchar4 *out)
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Contrast.java 22 public class Contrast extends TestBase {
contrast.rs 27 void contrast(const uchar4 *in, uchar4 *out)
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Contrast.java 23 public class Contrast extends TestBase {
contrast.rs 27 void contrast(const uchar4 *in, uchar4 *out)
  /development/samples/HelloEffects/res/values/
strings.xml 22 <string name="contrast">Contrast</string>
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
TextureGenerator.java 276 * This method applies brightness and contrast for RGB textures.
281 texres.red = (texres.red - 0.5f) * bacd.contrast + bacd.brightness;
285 texres.green =(texres.green - 0.5f) * bacd.contrast + bacd.brightness;
289 texres.blue = (texres.blue - 0.5f) * bacd.contrast + bacd.brightness;
296 * This method applies brightness and contrast for Luminance textures.
298 * @param contrast
301 protected void applyBrightnessAndContrast(TexturePixel texres, float contrast, float brightness) {
302 texres.intensity = (texres.intensity - 0.5f) * contrast + brightness;
394 * This class contains brightness and contrast data.
398 public final float contrast; field in class:TextureGenerator.BrightnessAndContrastData
    [all...]
  /external/clang/test/CodeGen/
bool-bitfield.c 9 int contrast; member in struct:SysParams
  /external/guava/guava/src/com/google/common/util/concurrent/
ListeningScheduledExecutorService.java 26 * {@code schedule*} methods, by contrast, need not implement {@code
  /external/kernel-headers/original/linux/
calc64.h 13 * referenced by remainder (data type long *). In contrast to the
  /frameworks/base/media/mca/filterpacks/
Android.mk 45 native/imageproc/contrast.c \

Completed in 1216 milliseconds

1 2 3 4 5 6 7 8 91011>>