/frameworks/av/media/libaaudio/scripts/ |
D | oboe_to_aaudio.sed | 1 s/liboboe/libclarinet/g 2 s/oboeservice/clarinetservice/g 4 s/OboeAudio\.h/AAudio\.h/g 5 s/OboeService\.h/AAudioServiceDefinitions\.h/g 6 s/OboeAudioService/AAudioService/g 7 s/LOG_TAG "OboeAudio"/LOG_TAG "AAudio"/g 8 s/OBOE_AUDIO_FORMAT/AAUDIO_FORMAT/g 9 s/OBOEAUDIO/AAUDIO/g 11 s/oboe/aaudio/g 12 s/Oboe/AAudio/g [all …]
|
D | typedefs_to_int32.sed | 1 s/aaudio_device_id_t/int32_t/g 2 s/aaudio_sample_rate_t/int32_t/g 3 s/aaudio_size_frames_t/int32_t/g 4 s/aaudio_size_bytes_t/int32_t/g 5 s/aaudio_sample_rate_t/int32_t/g 7 s/aaudio_position_frames_t/int64_t/g 8 s/aaudio_nanoseconds_t/int64_t/g
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | CrossProcess.java | 41 float g = f; in createTest() local 42 if (g < 0.5f) { in createTest() 43 g = 2.0f * g * g; in createTest() 45 g = 1.0f - g; in createTest() 46 g = 1.0f - (2.0f * g * g); in createTest() 48 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest()
|
D | wbalance.rs | 31 int g = hv.g; 34 sum_g += g; 41 if (g>0){ 58 int g = hv.g; 61 tmp_g += g; 69 sum15g += g*i; 70 count15g += g; 83 out.g = sum15g/count15g; 86 out.r = out.g = out.b = 255; 95 int minimum = min(estimation.r, min(estimation.g, estimation.b)); [all …]
|
D | bwfilter.rs | 43 float g = in->g * sg; 46 localMin = fmin(g,b); 48 localMax = fmax(g,b); 51 out->r = out->g = out->b = rsClamp(avg, 0, 255);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | CrossProcess.java | 44 float g = f; in createTest() local 45 if (g < 0.5f) { in createTest() 46 g = 2.0f * g * g; in createTest() 48 g = 1.0f - g; in createTest() 49 g = 1.0f - (2.0f * g * g); in createTest() 51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest()
|
D | wbalance.rs | 31 int g = hv.g; 34 sum_g += g; 41 if (g>0){ 58 int g = hv.g; 61 tmp_g += g; 69 sum15g += g*i; 70 count15g += g; 83 out.g = sum15g/count15g; 86 out.r = out.g = out.b = 255; 95 int minimum = min(estimation.r, min(estimation.g, estimation.b)); [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | CrossProcess.java | 44 float g = f; in createTest() local 45 if (g < 0.5f) { in createTest() 46 g = 2.0f * g * g; in createTest() 48 g = 1.0f - g; in createTest() 49 g = 1.0f - (2.0f * g * g); in createTest() 51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest()
|
D | wbalance.rs | 31 int g = hv.g; 34 sum_g += g; 41 if (g>0){ 58 int g = hv.g; 61 tmp_g += g; 69 sum15g += g*i; 70 count15g += g; 83 out.g = sum15g/count15g; 86 out.r = out.g = out.b = 255; 95 int minimum = min(estimation.r, min(estimation.g, estimation.b)); [all …]
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Color.h | 29 RGB(uint8_t rIn, uint8_t gIn, uint8_t bIn) : r(rIn), g(gIn), b(bIn) {} in RGB() 32 uint8_t g = 0; member 65 double r = 0, g = 0, b = 0; in getRGB() local 69 g = v; in getRGB() 85 g = z; in getRGB() 91 g = v; in getRGB() 97 g = v; in getRGB() 103 g = y; in getRGB() 109 g = x; in getRGB() 115 g = x; in getRGB() [all …]
|
/frameworks/av/media/libstagefright/filters/ |
D | ColorConvert.cpp | 30 int32_t* r, int32_t* g, int32_t* b) { in YUVToRGB() argument 36 *g = 1192 * y - 833 * v - 400 * u; in YUVToRGB() 40 *g = min(262143, max(0, *g)); in YUVToRGB() 44 *g >>= 10; in YUVToRGB() 59 int32_t r, g, b; in convertYUV420spToARGB() local 60 YUVToRGB(y, u, v, &r, &g, &b); in convertYUV420spToARGB() 64 *dest++ = g; in convertYUV420spToARGB() 81 int32_t r, g, b; in convertYUV420spToRGB888() local 82 YUVToRGB(y, u, v, &r, &g, &b); in convertYUV420spToRGB888() 85 *dest++ = g; in convertYUV420spToRGB888() [all …]
|
/frameworks/native/services/sensorservice/ |
D | OrientationSensor.cpp | 52 vec3_t g; in process() local 55 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in process() 56 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in process() 57 g[2] = asinf ( R[2][0]) * rad2deg; in process() 58 if (g[0] < 0) in process() 59 g[0] += 360; in process() 62 outEvent->orientation.azimuth = g.x; in process() 63 outEvent->orientation.pitch = g.y; in process() 64 outEvent->orientation.roll = g.z; in process()
|
D | GravitySensor.cpp | 58 vec3_t g; in process() local 65 g = R[2] * GRAVITY_EARTH; in process() 68 outEvent->data[0] = g.x; in process() 69 outEvent->data[1] = g.y; in process() 70 outEvent->data[2] = g.z; in process()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | fp16.rs | 59 _RS_ASSERT_EQU(x.g, y.g); 60 if (x.r != y.r || x.g != y.g) { 61 rsDebug("Different half vectors v1: ", x.r, x.g); 62 rsDebug(" v2: ", y.r, y.g); 68 _RS_ASSERT_EQU(x.g, y.g); 70 if (x.r != y.r || x.g != y.g || x.b != y.b) { 71 rsDebug("Different half vectors v1: ", x.r, x.g, x.b); 72 rsDebug(" v2: ", y.r, y.g, y.b); 78 _RS_ASSERT_EQU(x.g, y.g); 81 if (x.r != y.r || x.g != y.g || x.b != y.b || x.a != y.a) { [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | colorspace.cpp | 115 int r, g, b, a, h, s, v, c_max, c_min; in JNI_COLORSPACE_METHOD() local 121 g = color_in.channel[kGreen]; in JNI_COLORSPACE_METHOD() 125 if (r > g) { in JNI_COLORSPACE_METHOD() 126 c_min = (g > b) ? b : g; in JNI_COLORSPACE_METHOD() 130 c_max = (g > b) ? g : b; in JNI_COLORSPACE_METHOD() 136 h = (g > b) ? static_cast<int>(scaler * (g - b) / delta) : in JNI_COLORSPACE_METHOD() 137 static_cast<int>(scaler * ((g - b) / delta + 6)); in JNI_COLORSPACE_METHOD() 138 } else if (c_max == g) { in JNI_COLORSPACE_METHOD() 141 h = static_cast<int>(scaler * ((r - g) / delta + 4)); in JNI_COLORSPACE_METHOD() 158 int r, g, b; in JNI_COLORSPACE_METHOD() local [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 340 private Color(float r, float g, float b, float a) { in Color() argument 341 this(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in Color() 354 private Color(float r, float g, float b, float a, @NonNull ColorSpace colorSpace) { in Color() argument 355 mComponents = new float[] { r, g, b, a }; in Color() 635 double g = eotf.applyAsDouble(mComponents[1]); in luminance() local 638 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b))); in luminance() 843 float g = green(color); in toArgb() local 848 float[] c = ColorSpace.connect(colorSpace(color)).transform(r, g, b); in toArgb() 867 float g = ((color >> 8) & 0xff) / 255.0f; in valueOf() local 870 return new Color(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in valueOf() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
D | armCOMM.h | 576 …define DEBUG_PRINTF_6(a, b, c, d, e, f, g) fprintf(DEBUG_STREAM, a, b,… argument 577 …define DEBUG_PRINTF_7(a, b, c, d, e, f, g, h) fprintf(DEBUG_STREAM, a, b,… argument 578 …define DEBUG_PRINTF_8(a, b, c, d, e, f, g, h, i) fprintf(DEBUG_STREAM, a, b,… argument 579 …define DEBUG_PRINTF_9(a, b, c, d, e, f, g, h, i, j) fprintf(DEBUG_STREAM, a, b,… argument 580 …define DEBUG_PRINTF_10(a, b, c, d, e, f, g, h, i, j, k) fprintf(DEBUG_STREAM, a, b,… argument 581 …define DEBUG_PRINTF_11(a, b, c, d, e, f, g, h, i, j, k, l) fprintf(DEBUG_STREAM, a, b,… argument 582 …define DEBUG_PRINTF_12(a, b, c, d, e, f, g, h, i, j, k, l, m) fprintf(DEBUG_STREAM, a, b,… argument 583 …define DEBUG_PRINTF_13(a, b, c, d, e, f, g, h, i, j, k, l, m, n) fprintf(DEBUG_STREAM, a, b,… argument 584 …define DEBUG_PRINTF_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) fprintf(DEBUG_STREAM, a, b,… argument 592 #define DEBUG_PRINTF_6(a, b, c, d, e, f, g) argument [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/ |
D | armCOMM.h | 576 …define DEBUG_PRINTF_6(a, b, c, d, e, f, g) fprintf(DEBUG_STREAM, a, b,… argument 577 …define DEBUG_PRINTF_7(a, b, c, d, e, f, g, h) fprintf(DEBUG_STREAM, a, b,… argument 578 …define DEBUG_PRINTF_8(a, b, c, d, e, f, g, h, i) fprintf(DEBUG_STREAM, a, b,… argument 579 …define DEBUG_PRINTF_9(a, b, c, d, e, f, g, h, i, j) fprintf(DEBUG_STREAM, a, b,… argument 580 …define DEBUG_PRINTF_10(a, b, c, d, e, f, g, h, i, j, k) fprintf(DEBUG_STREAM, a, b,… argument 581 …define DEBUG_PRINTF_11(a, b, c, d, e, f, g, h, i, j, k, l) fprintf(DEBUG_STREAM, a, b,… argument 582 …define DEBUG_PRINTF_12(a, b, c, d, e, f, g, h, i, j, k, l, m) fprintf(DEBUG_STREAM, a, b,… argument 583 …define DEBUG_PRINTF_13(a, b, c, d, e, f, g, h, i, j, k, l, m, n) fprintf(DEBUG_STREAM, a, b,… argument 584 …define DEBUG_PRINTF_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) fprintf(DEBUG_STREAM, a, b,… argument 592 #define DEBUG_PRINTF_6(a, b, c, d, e, f, g) argument [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
D | armCOMM.h | 576 …define DEBUG_PRINTF_6(a, b, c, d, e, f, g) fprintf(DEBUG_STREAM, a, b,… argument 577 …define DEBUG_PRINTF_7(a, b, c, d, e, f, g, h) fprintf(DEBUG_STREAM, a, b,… argument 578 …define DEBUG_PRINTF_8(a, b, c, d, e, f, g, h, i) fprintf(DEBUG_STREAM, a, b,… argument 579 …define DEBUG_PRINTF_9(a, b, c, d, e, f, g, h, i, j) fprintf(DEBUG_STREAM, a, b,… argument 580 …define DEBUG_PRINTF_10(a, b, c, d, e, f, g, h, i, j, k) fprintf(DEBUG_STREAM, a, b,… argument 581 …define DEBUG_PRINTF_11(a, b, c, d, e, f, g, h, i, j, k, l) fprintf(DEBUG_STREAM, a, b,… argument 582 …define DEBUG_PRINTF_12(a, b, c, d, e, f, g, h, i, j, k, l, m) fprintf(DEBUG_STREAM, a, b,… argument 583 …define DEBUG_PRINTF_13(a, b, c, d, e, f, g, h, i, j, k, l, m, n) fprintf(DEBUG_STREAM, a, b,… argument 584 …define DEBUG_PRINTF_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) fprintf(DEBUG_STREAM, a, b,… argument 592 #define DEBUG_PRINTF_6(a, b, c, d, e, f, g) argument [all …]
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
D | yuv.rs | 26 if (color.g < 0.5f) { 27 v = color.g; 28 ncolor.g = 2.0f * v * v; 30 v = 1.0f - color.g; 31 ncolor.g = 1.0f - (2.0f * v * v); 42 ncolor.g = crossProcess_tableG[color.g]; 56 color.g = color.g + t.g * 0.25f; 58 float max_value = max(new_color.r, max(new_color.g, new_color.b)); 99 crossProcess_tableG[i] = (uchar)(res.g * 255.f);
|
/frameworks/support/core-utils/java/android/support/v4/graphics/ |
D | ColorUtils.java | 54 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() local 59 return Color.argb(a, r, g, b); in compositeColors() 171 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToHSL() 174 final float gf = g / 255f; in RGBToHSL() 248 int r = 0, g = 0, b = 0; in HSLToColor() local 253 g = Math.round(255 * (x + m)); in HSLToColor() 258 g = Math.round(255 * (c + m)); in HSLToColor() 263 g = Math.round(255 * (c + m)); in HSLToColor() 268 g = Math.round(255 * (x + m)); in HSLToColor() 273 g = Math.round(255 * m); in HSLToColor() [all …]
|
/frameworks/base/libs/hwui/ |
D | FloatColor.h | 36 g = a * EOCF(((color >> 8) & 0xff) / 255.0f); in set() 47 g = EOCF(((color >> 8) & 0xff) / 255.0f); in setUnPreMultiplied() 54 || g > 0.0f in isNotBlack() 60 && MathUtils::areEqual(g, other.g) 70 float g; member
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 55 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() local 60 return Color.argb(a, r, g, b); in compositeColors() 215 @IntRange(from = 0x0, to = 0xFF) int g, @IntRange(from = 0x0, to = 0xFF) int b, in RGBToHSL() 218 final float gf = g / 255f; in RGBToHSL() 292 int r = 0, g = 0, b = 0; in HSLToColor() local 297 g = Math.round(255 * (x + m)); in HSLToColor() 302 g = Math.round(255 * (c + m)); in HSLToColor() 307 g = Math.round(255 * (c + m)); in HSLToColor() 312 g = Math.round(255 * (x + m)); in HSLToColor() 317 g = Math.round(255 * m); in HSLToColor() [all …]
|
/frameworks/rs/rsov/compiler/tests/rs_allocation/ |
D | getdimx_64.ll | 3 ; rs_allocation g; 5 ; return rsAllocationGetDimX(g); 10 ; CHECK: OpString "{\"__RSoV_GA\": {\"g\":0}}" 22 @g = common global %struct.rs_allocation.1 zeroinitializer, align 8 23 ; CHECK-NOT: %g = OpVariable %{{.*}} Uniform 35 …call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.rs_allocation.1* @g to i8*), i64… 48 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation.1* @g) #0 67 !3 = !{!"g", !"20"}
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | focus_peak.rs | 27 curPixel.g = rsGetElementAtYuv_uchar_U(gCurrentFrame, x, y); 36 tmp = rsGetElementAtYuv_uchar_U(gCurrentFrame, dx, y) - curPixel.g; 45 tmp = rsGetElementAtYuv_uchar_U(gCurrentFrame, x, dy) - curPixel.g; 60 rgb.g = mergedPixel.r - 61 mergedPixel.g * 46549 / 131072 + 44 - 64 mergedPixel.g * 1814 / 1024 - 227;
|