/hardware/google/gfxstream/guest/mesa/src/util/ |
D | register_allocate.c | 491 ra_test_adjacency_bit(struct ra_graph *g, unsigned n1, unsigned n2) in ra_test_adjacency_bit() argument 494 return BITSET_TEST(g->adjacency, index); in ra_test_adjacency_bit() 498 ra_set_adjacency_bit(struct ra_graph *g, unsigned n1, unsigned n2) in ra_set_adjacency_bit() argument 501 BITSET_SET(g->adjacency, index); in ra_set_adjacency_bit() 505 ra_clear_adjacency_bit(struct ra_graph *g, unsigned n1, unsigned n2) in ra_clear_adjacency_bit() argument 508 BITSET_CLEAR(g->adjacency, index); in ra_clear_adjacency_bit() 512 ra_add_node_adjacency(struct ra_graph *g, unsigned int n1, unsigned int n2) in ra_add_node_adjacency() argument 516 int n1_class = g->nodes[n1].class; in ra_add_node_adjacency() 517 int n2_class = g->nodes[n2].class; in ra_add_node_adjacency() 518 g->nodes[n1].q_total += g->regs->classes[n1_class]->q[n2_class]; in ra_add_node_adjacency() [all …]
|
D | u_pack_color.h | 63 util_pack_color_ub(uint8_t r, uint8_t g, uint8_t b, uint8_t a, in util_pack_color_ub() argument 69 uc->ui[0] = (r << 24) | (g << 16) | (b << 8) | a; in util_pack_color_ub() 74 uc->ui[0] = (r << 24) | (g << 16) | (b << 8) | 0xff; in util_pack_color_ub() 79 uc->ui[0] = (a << 24) | (r << 16) | (g << 8) | b; in util_pack_color_ub() 84 uc->ui[0] = (0xff << 24) | (r << 16) | (g << 8) | b; in util_pack_color_ub() 89 uc->ui[0] = (b << 24) | (g << 16) | (r << 8) | a; in util_pack_color_ub() 94 uc->ui[0] = (b << 24) | (g << 16) | (r << 8) | 0xff; in util_pack_color_ub() 99 uc->us = ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | (b >> 3); in util_pack_color_ub() 104 uc->us = ((0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); in util_pack_color_ub() 109 uc->us = ((a & 0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); in util_pack_color_ub() [all …]
|
D | register_allocate.h | 91 void ra_resize_interference_graph(struct ra_graph *g, unsigned int count); 92 void ra_set_node_class(struct ra_graph *g, unsigned int n, struct ra_class *c); 93 struct ra_class *ra_get_node_class(struct ra_graph *g, unsigned int n); 94 unsigned int ra_add_node(struct ra_graph *g, struct ra_class *c); 115 void ra_set_select_reg_callback(struct ra_graph *g, 118 void ra_add_node_interference(struct ra_graph *g, 120 void ra_reset_node_interference(struct ra_graph *g, unsigned int n); 124 bool ra_allocate(struct ra_graph *g); 130 unsigned int ra_get_node_reg(struct ra_graph *g, unsigned int n); 131 void ra_set_node_reg(struct ra_graph * g, unsigned int n, unsigned int reg); [all …]
|
/hardware/interfaces/compatibility_matrices/build/ |
D | vintf_compatibility_matrix.go | 84 g := &vintfCompatibilityMatrixRule{} 85 g.AddProperties(&g.properties) 86 android.InitAndroidArchModule(g, android.DeviceSupported, android.MultilibCommon) 87 return g 92 func (g *vintfCompatibilityMatrixRule) DepsMutator(ctx android.BottomUpMutatorContext) { 93 android.ExtractSourcesDeps(ctx, g.properties.Srcs) 94 ctx.AddDependency(ctx.Module(), kernelConfigTag, g.properties.Kernel_configs...) 98 func (g *vintfCompatibilityMatrixRule) timestampFilePath(ctx android.ModuleContext, path android.Pa… 102 func (g *vintfCompatibilityMatrixRule) generateValidateBuildAction(ctx android.ModuleContext, path … 103 timestamp := g.timestampFilePath(ctx, path) [all …]
|
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/ |
D | XKBgeom.h | 126 #define XkbShapeDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) argument 127 #define XkbShapeDoodadShape(g,d) (&(g)->shapes[(d)->shape_ndx]) argument 128 #define XkbSetShapeDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0]) argument 129 #define XkbSetShapeDoodadShape(g,d,s) ((d)->shape_ndx= (s)-&(g)->shapes[0]) argument 144 #define XkbTextDoodadColor(g,d) (&(g)->colors[(d)->color_ndx]) argument 145 #define XkbSetTextDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0]) argument 158 #define XkbIndicatorDoodadShape(g,d) (&(g)->shapes[(d)->shape_ndx]) argument 159 #define XkbIndicatorDoodadOnColor(g,d) (&(g)->colors[(d)->on_color_ndx]) argument 160 #define XkbIndicatorDoodadOffColor(g,d) (&(g)->colors[(d)->off_color_ndx]) argument 161 #define XkbSetIndicatorDoodadOnColor(g,d,c) \ argument [all …]
|
D | XKBstr.h | 91 #define XkbNumGroups(g) ((g)&0x0f) argument 92 #define XkbOutOfRangeGroupInfo(g) ((g)&0xf0) argument 93 #define XkbOutOfRangeGroupAction(g) ((g)&0xc0) argument 94 #define XkbOutOfRangeGroupNumber(g) (((g)&0x30)>>4) argument 95 #define XkbSetGroupInfo(g,w,n) (((w)&0xc0)|(((n)&3)<<4)|((g)&0x0f)) argument 96 #define XkbSetNumGroups(g,n) (((g)&0xf0)|((n)&0x0f)) argument 132 #define XkbSASetGroup(a,g) ((a)->group_XXX=(g)) argument 335 #define XkbCMKeyGroupWidth(m,k,g) (XkbCMKeyType(m,k,g)->num_levels) argument 337 #define XkbCMKeyTypeIndex(m,k,g) ((m)->key_sym_map[k].kt_index[g&0x3]) argument 338 #define XkbCMKeyType(m,k,g) (&(m)->types[XkbCMKeyTypeIndex(m,k,g)]) argument [all …]
|
/hardware/google/pixel/mm/ |
D | device_gki.mk | 3 hardware/google/pixel/mm/fstab.zram.2g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.2g \ 4 hardware/google/pixel/mm/fstab.zram.3g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.3g \ 5 hardware/google/pixel/mm/fstab.zram.4g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.4g \ 6 hardware/google/pixel/mm/fstab.zram.5g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.5g \ 7 hardware/google/pixel/mm/fstab.zram.6g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.6g \ 11 hardware/google/pixel/mm/fstab.zram.50p-1g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.50p-1g \ 12 hardware/google/pixel/mm/fstab.zram.50p-2g:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram.50p-2g
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_other.c | 233 r8g8bx_derive(int16_t r, int16_t g) in r8g8bx_derive() argument 239 return (uint8_t)sqrtf(0x7f * 0x7f - r * r - g * g) * 0xff / 0x7f; in r8g8bx_derive() 251 int16_t r, g; in util_format_r8g8bx_snorm_unpack_rgba_float() local 254 g = ((int16_t)(value << 0)) >> 8; in util_format_r8g8bx_snorm_unpack_rgba_float() 257 dst[1] = (float)(g * (1.0f/0x7f)); /* g */ in util_format_r8g8bx_snorm_unpack_rgba_float() 258 dst[2] = r8g8bx_derive(r, g) * (1.0f/0xff); /* b */ in util_format_r8g8bx_snorm_unpack_rgba_float() 274 int16_t r, g; in util_format_r8g8bx_snorm_unpack_rgba_8unorm() local 277 g = ((int16_t)(value << 0)) >> 8; in util_format_r8g8bx_snorm_unpack_rgba_8unorm() 280 dst[1] = (uint8_t)(((uint16_t)MAX2(g, 0)) * 0xff / 0x7f); /* g */ in util_format_r8g8bx_snorm_unpack_rgba_8unorm() 281 dst[2] = r8g8bx_derive(r, g); /* b */ in util_format_r8g8bx_snorm_unpack_rgba_8unorm() [all …]
|
D | u_format_yuv.h | 59 util_format_rgb_float_to_yuv(float r, float g, float b, in util_format_rgb_float_to_yuv() argument 63 const float _g = SATURATE(g); in util_format_rgb_float_to_yuv() 80 float *r, float *g, float *b) in util_format_yuv_to_rgb_float() argument 91 *g = scale * (y_factor * _y - 0.391f * _u - 0.813f * _v); in util_format_yuv_to_rgb_float() 97 util_format_rgb_8unorm_to_yuv(uint8_t r, uint8_t g, uint8_t b, in util_format_rgb_8unorm_to_yuv() argument 100 *y = (( 66 * r + 129 * g + 25 * b + 128) >> 8) + 16; in util_format_rgb_8unorm_to_yuv() 101 *u = (( -38 * r - 74 * g + 112 * b + 128) >> 8) + 128; in util_format_rgb_8unorm_to_yuv() 102 *v = (( 112 * r - 94 * g - 18 * b + 128) >> 8) + 128; in util_format_rgb_8unorm_to_yuv() 108 uint8_t *r, uint8_t *g, uint8_t *b) in util_format_yuv_to_rgb_8unorm() argument 119 *g = CLAMP(_g, 0, 255); in util_format_yuv_to_rgb_8unorm()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehiclePropertyStore.cpp | 41 MuxGuard g(mLock); in registerProperty() local 71 MuxGuard g(mLock); in writeValue() local 78 MuxGuard g(mLock); in writeValueWithCurrentTimestamp() local 86 MuxGuard g(mLock); in refreshTimestamp() local 101 MuxGuard g(mLock); in removeValue() local 110 MuxGuard g(mLock); in removeValuesForProperty() local 116 MuxGuard g(mLock); in readAllValues() local 127 MuxGuard g(mLock); in readValuesForProperty() local 138 MuxGuard g(mLock); in readValueOrNull() local 147 MuxGuard g(mLock); in readValueOrNull() local [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/ |
D | color_space.inl | 29 rgbColor.g = q; 34 rgbColor.g = hsv.z; 39 rgbColor.g = hsv.z; 44 rgbColor.g = p; 49 rgbColor.g = o; 54 rgbColor.g = o; 67 float Min = min(min(rgbColor.r, rgbColor.g), rgbColor.b); 68 float Max = max(max(rgbColor.r, rgbColor.g), rgbColor.b); 80 h = static_cast<T>(0) + T(60) * (rgbColor.g - rgbColor.b) / Delta; 81 else if(rgbColor.g == Max) [all …]
|
D | color_space_YCoCg.inl | 13 result.x/*Y */ = rgbColor.r / T(4) + rgbColor.g / T(2) + rgbColor.b / T(4); 14 result.y/*Co*/ = rgbColor.r / T(2) + rgbColor.g * T(0) - rgbColor.b / T(2); 15 result.z/*Cg*/ = - rgbColor.r / T(4) + rgbColor.g / T(2) - rgbColor.b / T(4); 27 result.g = YCoCgColor.x + YCoCgColor.z; 41 result.x/*Y */ = rgbColor.g / T(2) + (rgbColor.r + rgbColor.b) / T(4); 43 result.z/*Cg*/ = rgbColor.g - (rgbColor.r + rgbColor.b) / T(2); 54 result.g = YCoCgRColor.z + tmp; 72 result.z/*Cg*/ = rgbColor.g - tmp; 84 result.g = YCoCgRColor.z + tmp;
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | GeneratorHub.cpp | 40 std::unique_lock<std::mutex> g(mLock); in ~GeneratorHub() local 51 std::lock_guard<std::mutex> g(mLock); in registerGenerator() local 68 std::lock_guard<std::mutex> g(mLock); in unregisterGenerator() local 77 std::unique_lock<std::mutex> g(mLock); in run() local 84 mCond.wait(g, [this] { return !mEventQueue.empty() || mShuttingDownFlag.load(); }); in run() 93 if (mCond.wait_until(g, eventTime) != std::cv_status::timeout) { in run()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | RecurrentTimer.h | 63 std::lock_guard<std::mutex> g(mLock); in registerRecurrentEvent() 71 std::lock_guard<std::mutex> g(mLock); in unregisterRecurrentEvent() 105 std::unique_lock<std::mutex> g(mLock); in loop() 124 std::unique_lock<std::mutex> g(mLock); in loop() 130 mCond.wait_until(g, nextEventTime); // nextEventTime can be nanoseconds::max() in loop() 136 std::lock_guard<std::mutex> g(mLock); in stop()
|
D | ConcurrentQueue.h | 32 std::unique_lock<std::mutex> g(mLock); in waitForItems() 34 mCond.wait(g); in waitForItems() 41 MuxGuard g(mLock); in flush() 54 MuxGuard g(mLock); in push() 68 MuxGuard g(mLock); in deactivate()
|
/hardware/google/easel/amber/camera/libhdrplusclient/ |
D | HdrPlusClientUtils.cpp | 30 static status_t getRgb(uint8_t *r, uint8_t *g, uint8_t* b, uint32_t x, uint32_t y, in getRgb() argument 55 *g = std::min(std::max(yc - 0.344228f * uc - 0.717202f * vc, 0.0f), 255.0f); in getRgb() 70 *g = ((uint8_t*)buffer.data)[offset + 1]; in getRgb() 102 uint8_t r, g, b; in writePpm() local 105 status_t res = getRgb(&r, &g, &b, x, y, streamConfig, buffer); in writePpm() 110 outfile << r << g << b; in writePpm() 168 uint8_t r, g, b; in comparePpm() local 173 status_t res = getRgb(&r, &g, &b, x, y, streamConfig, buffer); in comparePpm() 183 diff += abs(static_cast<int32_t>(c) - g); in comparePpm()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 395 static void google_orientation_geomagnetic(float *g) in google_orientation_geomagnetic() argument 400 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic() 401 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic() 402 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic() 403 if (g[0] < 0) in google_orientation_geomagnetic() 404 g[0] += 360; in google_orientation_geomagnetic() 426 static void google_orientation_6_axis(float *g) in google_orientation_6_axis() argument 433 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis() 434 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis() 435 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis() [all …]
|
/hardware/google/gfxstream/host/apigen-codec-common/ |
D | X11Support.cpp | 83 static X11FunctionGetter* g = new X11FunctionGetter; in getX11Api() local 84 return g->getApi(); in getX11Api() 88 static GlxFunctionGetter* g = new GlxFunctionGetter; in getGlxApi() local 89 return g->getApi(); in getGlxApi()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/ |
D | VehiclePropertyStore.cpp | 101 std::scoped_lock<std::mutex> g(mLock); in registerProperty() local 120 std::scoped_lock<std::mutex> g(mLock); in writeValue() local 206 std::scoped_lock<std::mutex> g(mLock); in refreshTimestamps() local 261 std::scoped_lock<std::mutex> g(mLock); in removeValue() local 275 std::scoped_lock<std::mutex> g(mLock); in removeValuesForProperty() local 286 std::scoped_lock<std::mutex> g(mLock); in readAllValues() local 301 std::scoped_lock<std::mutex> g(mLock); in readValuesForProperty() local 318 std::scoped_lock<std::mutex> g(mLock); in readValue() local 333 std::scoped_lock<std::mutex> g(mLock); in readValue() local 345 std::scoped_lock<std::mutex> g(mLock); in getAllConfigs() local [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 441 static void google_orientation_geomagnetic(float *g) in google_orientation_geomagnetic() argument 446 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic() 447 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic() 448 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic() 449 if (g[0] < 0) in google_orientation_geomagnetic() 450 g[0] += 360; in google_orientation_geomagnetic() 472 static void google_orientation_6_axis(float *g) in google_orientation_6_axis() argument 479 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis() 480 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis() 481 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis() [all …]
|
/hardware/qcom/sm7250/display/gpu_tonemapper/ |
D | forward_tonemap.inl | 47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n" 51 "float g = rgb.g; \n" 54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
D | forward_tonemap.inl | 47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n" 51 "float g = rgb.g; \n" 54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
|
/hardware/qcom/display/msm8998/gpu_tonemapper/ |
D | forward_tonemap.inl | 47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n" 51 "float g = rgb.g; \n" 54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
|
/hardware/qcom/sm8150/display/gpu_tonemapper/ |
D | forward_tonemap.inl | 47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n" 51 "float g = rgb.g; \n" 54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
|
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
D | forward_tonemap.inl | 47 "float g = texture(xform, vec2(adj.g, 0.5f)).g; \n" 51 "float g = rgb.g; \n" 54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
|