Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/extensions/
DXKBgeom.h126 #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 …]
DXKBstr.h91 #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 …]
/device/generic/goldfish/camera/
DConverters.h94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | (g)) << 5) | (r)) argument
96 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(b) << 8) | (g)) << 8) | (r)) argument
111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b) argument
113 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(r) << 8) | g) << 8) | b) argument
122 uint8_t r; uint8_t g; uint8_t b; uint8_t a; member
124 uint8_t a; uint8_t b; uint8_t g; uint8_t r;
147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16) argument
148 #define RGB2U(r, g, b) (uint8_t)(((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128) argument
149 #define RGB2V(r, g, b) (uint8_t)(((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128) argument
153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV() argument
[all …]
/device/generic/vulkan-cereal/third-party/angle/src/tests/test_utils/
DANGLETest.h82 constexpr GLColorRGB(GLubyte r, GLubyte g, GLubyte b) : R(r), G(g), B(b) {} in GLColorRGB()
100 constexpr GLColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a) : R(r), G(g), B(b), A(a) {} in GLColor()
131 constexpr GLColor16UI(GLushort r, GLushort g, GLushort b, GLushort a) : R(r), G(g), B(b), A(a) in GLColor16UI()
140 constexpr GLColor32F(GLfloat r, GLfloat g, GLfloat b, GLfloat a) : R(r), G(g), B(b), A(a) {} in GLColor32F()
160 GLColor MakeGLColor(TR r, TG g, TB b, TA a) in MakeGLColor() argument
162 return GLColor(static_cast<GLubyte>(r), static_cast<GLubyte>(g), static_cast<GLubyte>(b), in MakeGLColor()
175 GLColor32F MakeGLColor32F(TR r, TG g, TB b, TA a) in MakeGLColor32F() argument
177 return GLColor32F(static_cast<GLfloat>(r), static_cast<GLfloat>(g), static_cast<GLfloat>(b), in MakeGLColor32F()
194 #define EXPECT_PIXEL_EQ(x, y, r, g, b, a) \ argument
195 EXPECT_EQ(angle::MakeGLColor(r, g, b, a), angle::ReadColor(x, y))
[all …]
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DDebug.cpp317 Group g; in pushGroup() local
318 g.source = source; in pushGroup()
319 g.id = id; in pushGroup()
320 g.message = std::move(message); in pushGroup()
321 mGroups.push_back(std::move(g)); in pushGroup()
329 Group g = mGroups.back(); in popGroup() local
332 insertMessage(g.source, GL_DEBUG_TYPE_POP_GROUP, g.id, GL_DEBUG_SEVERITY_NOTIFICATION, in popGroup()
333 g.message, gl::LOG_INFO); in popGroup()
385 Group g; in pushDefaultGroup() local
386 g.source = GL_NONE; in pushDefaultGroup()
[all …]
Dangletypes_unittest.cpp28 bool r, g, b, a; in checkInitState() local
29 blendStateExt.getColorMaskIndexed(i, &r, &g, &b, &a); in checkInitState()
31 ASSERT_TRUE(g); in checkInitState()
108 bool r, g, b, a; in TEST() local
109 blendStateExt.getColorMaskIndexed(3, &r, &g, &b, &a); in TEST()
111 ASSERT_TRUE(g); in TEST()
/device/generic/vulkan-cereal/include/glm/gtx/
Dcolor_space.inl29 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 …]
Dcolor_space_YCoCg.inl13 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;
/device/generic/vulkan-cereal/third-party/googletest/googlemock/test/
Dgmock-pp-string_test.cc177 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g))); in TEST()
179 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g, h))); in TEST()
181 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g, h, i))); in TEST()
184 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g, h, i, j))); in TEST()
187 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g, h, i, j, k))); in TEST()
190 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g, h, i, j, k, l))); in TEST()
193 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g, h, i, j, k, l, m))); in TEST()
197 GMOCK_PP_FOR_EACH(JOINER, X, (a, b, c, d, e, f, g, h, i, j, k, l, m, n))); in TEST()
202 (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o))); in TEST()
/device/generic/vulkan-cereal/protocols/vulkan/xml/
Dmake_ext_dependency.py168 g = DiGraph() variable
187 g.add_edge(name, dep)
189 g.add_node(name)
207 for ext in sorted(g.nodes()):
208 children = list(g.descendants(ext))
234 for ext in sorted(g.nodes()):
235 children = list(g.descendants(ext))
/device/generic/vulkan-cereal/protocols/vulkan/scripts/
Dmake_ext_dependency.py168 g = DiGraph() variable
187 g.add_edge(name, dep)
189 g.add_node(name)
207 for ext in sorted(g.nodes()):
208 children = list(g.descendants(ext))
234 for ext in sorted(g.nodes()):
235 children = list(g.descendants(ext))
/device/google/contexthub/lib/nanohub/
Dsha2.c68 uint32_t i, a, b, c, d, e, f, g, h; in sha2processBlock() local
88 g = state->h[6]; in sha2processBlock()
94 uint32_t ch = (e & f) ^ ((~e) & g); in sha2processBlock()
100 h = g; in sha2processBlock()
101 g = f; in sha2processBlock()
117 state->h[6] += g; in sha2processBlock()
/device/linaro/dragonboard/qcom/pd-mapper/
Dassoc.c42 unsigned long g; in assoc_hash() local
47 g = hash & 0xF0000000L; in assoc_hash()
48 if (g) in assoc_hash()
49 hash ^= g >> 24; in assoc_hash()
50 hash &= ~g; in assoc_hash()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/gl/glx/
DFBConfigCompatibility.md55 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat Result
79 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
100 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
132 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
152 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
169 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
183 id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
/device/generic/car/tools/
DREADME.md6 - Link it into an Android source tree, e.g.:
26 * You should edit the xml, e.g. ZIP_FILE_SIZE, SHASUM, zip url & etc. accordingly.
42 …al_avd.sh allows you to setup and run multiple AVDs. You can crease a script for each of them. e.g.
52 …ted as the following default settings at the 1st run. You can also change them at the 1st run, e.g.
65 The AVD can also be changed by editing the AVD config.ini directily, e.g. at:
71 …rtup options](https://developer.android.com/studio/run/emulator-commandline#common) as needed. E.g.
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/
DX11Support.cpp74 static X11FunctionGetter* g = new X11FunctionGetter; in getX11Api() local
75 return g->getApi(); in getX11Api()
79 static GlxFunctionGetter* g = new GlxFunctionGetter; in getGlxApi() local
80 return g->getApi(); in getGlxApi()
/device/generic/car/emulator/usbpt/protocan/protocanbus/
DVehicleBus.cpp38 std::lock_guard<std::mutex> g(mLock); in setOnNewPropValuesCallback() local
54 std::lock_guard<std::mutex> g(mLock); in unsetOnNewPropValuesCallback() local
69 std::lock_guard<std::mutex> g(mLock); in sendPropertyEvent() local
91 std::lock_guard<std::mutex> g(mLock); in handleBinderDied() local
/device/generic/vulkan-cereal/third-party/angle/infra/
DREADME.md15 [`https://ci.chromium.org/p/chromium/g/tryserver.chromium.angle/builders`](https://ci.chromium.org/…
29 This build ran 82 test steps across 3 GPU families. In some cases (e.g.
56 [https://ci.chromium.org/p/angle/g/ci/console](https://ci.chromium.org/p/angle/g/ci/console)
60 [https://ci.chromium.org/p/angle/g/try/builders](https://ci.chromium.org/p/angle/g/try/builders)
DANGLEWrangling.md5 …1. Keep the [ANGLE Try Waterfall](https://ci.chromium.org/p/chromium/g/tryserver.chromium.angle/bu…
8 [Chromium GPU FYI Waterfall](https://ci.chromium.org/p/chromium/g/chromium.gpu.fyi/console)
12 …1. Keep the [SwANGLE Try Waterfall](https://luci-milo.appspot.com/p/chromium/g/tryserver.chromium.…
26 [ANGLE Try Waterfall](https://ci.chromium.org/p/chromium/g/tryserver.chromium.angle/builders) healt…
34 [build.chromium.org](https://ci.chromium.org/p/chromium/g/main/console) to find the current ANGLE
40 [g.co/bugatrooper](http://g.co/bugatrooper).
48 The [Chromium GPU FYI Waterfall](https://ci.chromium.org/p/chromium/g/chromium.gpu.fyi/console)
141 [CI](https://luci-milo.appspot.com/p/chromium/g/chromium.swangle/builders) and
142 [Try](https://luci-milo.appspot.com/p/chromium/g/tryserver.chromium.swangle/builders) bots.
/device/generic/vulkan-cereal/host-common/
DMediaH264DecoderDefault.cpp56 std::lock_guard<std::mutex> g(mMapLock); in getDecoder() local
67 std::lock_guard<std::mutex> g(mIdLock); in createId() local
74 std::lock_guard<std::mutex> g(mMapLock); in addDecoder() local
86 std::lock_guard<std::mutex> g(mMapLock); in updateDecoder() local
97 std::lock_guard<std::mutex> g(mMapLock); in removeDecoder() local
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/d3d/d3d11/shaders/
DResolveDepthStencil.hlsl43 depthStencil.g = float(Stencil.Load(coord, 0).g);
55 stencil.g = float(Stencil.Load(coord, 0).g);
/device/generic/vulkan-cereal/stream-servers/vulkan/
DEtc2ShaderLib.comp163 rgb1.g = int(convert4To8(((high >> 24) << 1) | ((high >> 20) & 1)));
166 rgb2.g = int(convert4To8(high >> 7));
171 intenseIdx |= uint(((rgb1.r << 16) | (rgb1.g << 8) | rgb1.b) >=
172 ((rgb2.r << 16) | (rgb2.g << 8) | rgb2.b));
185 rgbo.g = int(convert7To8(((high >> 24) << 6) | ((high >> 17) & 63)));
189 rgbh.g = int(convert7To8(low >> 25));
192 rgbv.g = int(convert7To8(low >> 6));
209 int g,
245 pOut[q] = ivec4(_clamp(int(r) + delta), _clamp(int(g) + delta),
/device/linaro/hikey/factory-images/
Dgenerate-factory-images-hikey.sh38 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/ptable-aosp-8g.img tmp/$PRODUCT-$VERSION/
39 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/ptable-aosp-4g.img tmp/$PRODUCT-$VERSION/
78 PTABLE=ptable-aosp-8g.img
83 PTABLE=ptable-aosp-4g.img
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c346 struct Vec3 g, a; in updateOutput() local
367 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput()
368 vec3ScalarMul(&g, kGravityEarth); in updateOutput()
371 g.x, in updateOutput()
372 g.y, in updateOutput()
373 g.z)) { in updateOutput()
383 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput()
384 vec3ScalarMul(&g, kGravityEarth); in updateOutput()
392 a.x - g.x, in updateOutput()
393 a.y - g.y, in updateOutput()
[all …]
/device/generic/vulkan-cereal/stream-servers/tests/
DGLTestUtils.cpp108 TestTexture createTestTextureRGB888SingleColor(int width, int height, float r, float g, float b) { in createTestTextureRGB888SingleColor() argument
116 res[i * bpp * width + j * bpp + 1] = clamp(g, 0.0f, 1.0f) * 255.0f; in createTestTextureRGB888SingleColor()
124 TestTexture createTestTextureRGBA8888SingleColor(int width, int height, float r, float g, float b, … in createTestTextureRGBA8888SingleColor() argument
132 res[i * bpp * width + j * bpp + 1] = clamp(g, 0.0f, 1.0f) * 255.0f; in createTestTextureRGBA8888SingleColor()

12345678910>>...20