/frameworks/base/media/mca/filterpacks/native/imageproc/ |
contrast.c | 25 float contrast; member in struct:__anon16957 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/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));
|
/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);
|
/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;
|
TilesManager.h | 130 void setInvertedScreenContrast(float contrast) 132 m_shader.setContrast(contrast);
|
/external/skia/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,
|
/development/samples/HelloEffects/res/values/ |
strings.xml | 22 <string name="contrast">Contrast</string>
|
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
version.sgml | 30 GLib library you have linked against. Contrast with the 44 GLib library you have linked against. Contrast with the 58 have linked against. Contrast with the #GLIB_MICRO_VERSION macro, which
|
/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...] |
/gdk/samples/PhotoEditor/jni/ |
crossprocess.cpp | 57 // Enhance red contrast 66 // Enhance green contrast
|
/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 \
|
/external/opencv/cv/src/ |
cvcalccontrasthistogram.cpp | 54 // Purpose: Calculating the histogram of contrast from one-channel images 120 // calculate contrast for the right-left pair 134 // calculate contrast for the top-down pair 167 // Purpose: Calculating the mask histogram of contrast from one-channel images 240 // calculate contrast for the right-left pair 258 // calculate contrast for the top-down pair
|
/development/samples/HelloEffects/res/menu/ |
options_menu.xml | 33 <item android:id="@+id/contrast" 34 android:title="@string/contrast"
|
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebPreferencesPrivate.idl | 70 HRESULT setFontSmoothingContrast([in] float contrast); 71 HRESULT fontSmoothingContrast([out, retval] float* contrast);
|
/frameworks/base/docs/html/design/building-blocks/ |
grid-lists.jd | 7 that represent themselves through images. In contrast to simple lists, grid lists may scroll either 76 control the contrast and ensures legibility of the labels while letting the content "shine through".</p>
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
AccessibilityPreferencesFragment.java | 92 void updateInvertedContrastSummary(Preference pref, int contrast) { 93 pref.setSummary(mFormat.format(contrast / 100.0));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
merge.h | 44 * reach @c end, in contrast to the usual variant. 91 * reach @c end, in contrast to the usual variant. 160 * reach @c end, in contrast to the usual variant. 214 * reach @c end, in contrast to the usual variant.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/dvb/ |
video.h | 165 uint8_t contrast1; /* 7- 4 Pattern pixel contrast */ 166 /* 3- 0 Background pixel contrast */ 167 uint8_t contrast2; /* 7- 4 Emphasis pixel-2 contrast */ 168 /* 3- 0 Emphasis pixel-1 contrast */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
video.h | 165 uint8_t contrast1; /* 7- 4 Pattern pixel contrast */ 166 /* 3- 0 Background pixel contrast */ 167 uint8_t contrast2; /* 7- 4 Emphasis pixel-2 contrast */ 168 /* 3- 0 Emphasis pixel-1 contrast */
|