Home
last modified time | relevance | path

Searched defs:g (Results 1 – 25 of 193) sorted by relevance

12345678

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Dcolor.h66 uint8_t g = (color >> COLOR_SHIFT_8) & UINT8_MAX; in MakeColorFromLinear() local
79 uint8_t g = (color >> COLOR_SHIFT_8) & UINT8_MAX; in MakeColorFromSRGB() local
93 uint32_t g = (static_cast<uint32_t>(color.y) & UINT8_MAX) << COLOR_SHIFT_8; in FromColorToLinear() local
107 …uint32_t g = (static_cast<uint32_t>(LinearToSRGBConv(color.y) * 255.f) & UINT8_MAX) << COLOR_SHIFT… in FromColorToSRGB() local
122 uint32_t g = (static_cast<uint32_t>(color.y) & UINT8_MAX) << COLOR_SHIFT_8; in FromColorRGBAToLinear() local
135 …uint32_t g = (static_cast<uint32_t>(LinearToSRGBConv(color.y) * 255.0f) & UINT8_MAX) << COLOR_SHIF… in FromColorRGBAToSRGB() local
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/
H A Dgraphic_neon_utils.h126 uint16x8_t g = vmull_u8(g2, a2) + vmull_u8(g1, da); in NeonBlendRGBA() local
139 uint16x8_t g = vmull_u8(g2, a2) + vmull_u8(g1, da); in NeonBlendXRGB() local
155 static inline void LoadBuf_ARGB8888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8… in LoadBuf_ARGB8888()
164 static inline void LoadBuf_XRGB8888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8… in LoadBuf_XRGB8888()
173 static inline void LoadBuf_RGB888(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t… in LoadBuf_RGB888()
181 static inline void LoadBuf_RGB565(uint8_t* buf, uint8x8_t& r, uint8x8_t& g, uint8x8_t& b, uint8x8_t… in LoadBuf_RGB565()
194 uint8x8_t& g, in LoadBufA_ARGB8888()
208 uint8x8_t& g, in LoadBufA_XRGB8888()
222 uint8x8_t& g, in LoadBufA_RGB888()
236 uint8x8_t& g, in LoadBufA_RGB565()
[all …]
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Dformat_helper.h38 static inline uint8_t RGBToY(uint8_t r, uint8_t g, uint8_t b) in RGBToY()
44 static inline uint8_t RGBToU(uint8_t r, uint8_t g, uint8_t b) in RGBToU()
50 static inline uint8_t RGBToV(uint8_t r, uint8_t g, uint8_t b) in RGBToV()
64 int g = (y - ((48 * (u - 128) + 120 * (v - 128)) >> 8)); in YuvToG() local
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DGainmap.java163 public void setRatioMin(float r, float g, float b) { in setRatioMin()
181 public void setRatioMax(float r, float g, float b) { in setRatioMax()
199 public void setGamma(float r, float g, float b) { in setGamma()
218 public void setEpsilonSdr(float r, float g, float b) { in setEpsilonSdr()
237 public void setEpsilonHdr(float r, float g, float b) { in setEpsilonHdr()
342 private static native void nSetRatioMin(long ptr, float r, float g, float b); in nSetRatioMin()
345 private static native void nSetRatioMax(long ptr, float r, float g, float b); in nSetRatioMax()
348 private static native void nSetGamma(long ptr, float r, float g, float b); in nSetGamma()
351 private static native void nSetEpsilonSdr(long ptr, float r, float g, float b); in nSetEpsilonSdr()
354 private static native void nSetEpsilonHdr(long ptr, float r, float g, float b); in nSetEpsilonHdr()
H A DColor.java339 private Color(float r, float g, float b, float a) { in Color()
634 double g = eotf.applyAsDouble(mComponents[1]); in luminance() local
842 float g = green(color); in toArgb() local
866 float g = ((color >> 8) & 0xff) / 255.0f; in valueOf() local
896 public static Color valueOf(float r, float g, float b) { in valueOf()
1061 @HalfFloat short g = Half.toHalf(green); in pack() local
1087 float g = ((color >> 8) & 0xff) / 255.0f; in convert() local
1111 float g = green(color); in convert() local
1168 float g = green(color); in convert() local
1224 double g = eotf.applyAsDouble(green(color)); in luminance() local
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dcolor.cpp29 Color::Color(uint32_t r, uint32_t g, uint32_t b, uint32_t a) noexcept : alpha_(a), red_(r), green_(… in Color()
65 void Color::SetGreen(uint32_t g) in SetGreen()
114 void Color::SetGreenF(scalar g) in SetGreenF()
129 void Color::SetRgb(uint32_t r, uint32_t g, uint32_t b, uint32_t a) in SetRgb()
137 void Color::SetRgbF(scalar r, scalar g, scalar b, scalar a) in SetRgbF()
/aosp14/frameworks/base/core/java/com/android/internal/util/function/pooled/
H A DOmniFunction.java69 abstract R invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k); in invoke()
151 public R apply(A a, B b, C c, D d, E e, F f, G g) { in apply()
156 public R apply(A a, B b, C c, D d, E e, F f, G g, H h) { in apply()
161 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i) { in apply()
166 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j) { in apply()
171 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k) { in apply()
191 public void accept(A a, B b, C c, D d, E e, F f, G g) { in accept()
196 public void accept(A a, B b, C c, D d, E e, F f, G g, H h) { in accept()
201 public void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i) { in accept()
206 public void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j) { in accept()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/graphics/cam/
H A DCamUtils.java139 int g = delinearized(linearG); in argbFromXyz() local
147 int g = delinearized(linrgb[1]); in argbFromLinrgb() local
153 public static int argbFromLinrgbComponents(double r, double g, double b) { in argbFromLinrgbComponents()
239 final float g = linearized(Color.green(argb)); in yFromInt() local
249 final float g = linearized(Color.green(argb)); in xyzFromInt() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolor_fuzzer/
H A Drscolor_fuzzer.cpp65 uint32_t g = GetData<uint32_t>(); in DoRSColor() local
91 uint32_t g = GetData<uint32_t>(); in DoOperator() local
147 uint32_t g = GetData<uint32_t>(); in DoNoParameters() local
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_ColorSpace.cpp100 uint8_t g = color >> 40 & 0xff; in convertColorLong() local
108 float g = halfToFloat((uint16_t)(color >> 32 & 0xffff)); in convertColorLong() local
129 jfloat d, jfloat e, jfloat f, jfloat g, jfloatArray xyzD50) { in ColorSpace_creator()
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/export/
H A Dcolor.h40 float g = 0.0f; variable
/aosp14/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGalleryLtr.java31 Gallery g = (Gallery) v.findViewById(R.id.galleryview); in onCreateView() local
H A DBiDiTestGalleryRtl.java31 Gallery g = (Gallery) v.findViewById(R.id.galleryview); in onCreateView() local
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/display/
H A D_layer_color_v10.md49 ### g subsection
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/light/
H A D_r_g_b_color_v10.md49 ### g subsection
H A D_w_r_g_b_color_v10.md39 ### g subsection
/aosp14/frameworks/base/core/java/com/android/internal/util/function/
H A DHeptConsumer.java27 void accept(A a, B b, C c, D d, E e, F f, G g); in accept()
H A DHeptFunction.java27 R apply(A a, B b, C c, D d, E e, F f, G g); in apply()
H A DHeptPredicate.java27 boolean test(A a, B b, C c, D d, E e, F f, G g); in test()
H A DOctConsumer.java27 void accept(A a, B b, C c, D d, E e, F f, G g, H h); in accept()
H A DOctFunction.java27 R apply(A a, B b, C c, D d, E e, F f, G g, H h); in apply()
H A DOctPredicate.java27 boolean test(A a, B b, C c, D d, E e, F f, G g, H h); in test()
H A DNonaConsumer.java27 void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i); in accept()
H A DNonaFunction.java27 R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i); in apply()
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/
H A Dcolor.cpp47 Color::Color(float r, float g, float b, float a) in Color()
50 Color::Color(float r, float g, float b, float a, const ColorSpaceName name) in Color()

12345678