/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_external_test.cpp | 279 std::bitset<16> color = {}; in CalcCRC() local 284 color = (color_val & 0xFC) << 8; in CalcCRC() 287 color = color_val << 8; in CalcCRC() 290 color = color_val << 6; in CalcCRC() 299 (*crc_data)[12] ^ (*crc_data)[14] ^ (*crc_data)[15] ^ color[0] ^ color[1] ^ in CalcCRC() 300 color[2] ^ color[3] ^ color[4] ^ color[5] ^ color[6] ^ color[7] ^ color[8] ^ in CalcCRC() 301 color[9] ^ color[10] ^ color[11] ^ color[12] ^ color[14] ^ color[15]; in CalcCRC() 303 temp_crc[14] = (*crc_data)[12] ^ (*crc_data)[13] ^ color[12] ^ color[13]; in CalcCRC() 304 temp_crc[13] = (*crc_data)[11] ^ (*crc_data)[12] ^ color[11] ^ color[12]; in CalcCRC() 305 temp_crc[12] = (*crc_data)[10] ^ (*crc_data)[11] ^ color[10] ^ color[11]; in CalcCRC() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display_external_test.cpp | 272 std::bitset<16> color = {}; in CalcCRC() local 277 color = (color_val & 0xFC) << 8; in CalcCRC() 280 color = color_val << 8; in CalcCRC() 283 color = color_val << 6; in CalcCRC() 292 (*crc_data)[12] ^ (*crc_data)[14] ^ (*crc_data)[15] ^ color[0] ^ color[1] ^ in CalcCRC() 293 color[2] ^ color[3] ^ color[4] ^ color[5] ^ color[6] ^ color[7] ^ color[8] ^ in CalcCRC() 294 color[9] ^ color[10] ^ color[11] ^ color[12] ^ color[14] ^ color[15]; in CalcCRC() 296 temp_crc[14] = (*crc_data)[12] ^ (*crc_data)[13] ^ color[12] ^ color[13]; in CalcCRC() 297 temp_crc[13] = (*crc_data)[11] ^ (*crc_data)[12] ^ color[11] ^ color[12]; in CalcCRC() 298 temp_crc[12] = (*crc_data)[10] ^ (*crc_data)[11] ^ color[10] ^ color[11]; in CalcCRC() [all …]
|
/hardware/qcom/sm7250/display/composer/ |
D | hwc_display_pluggable_test.cpp | 270 std::bitset<16> color = {}; in CalcCRC() local 275 color = (color_val & 0xFC) << 8; in CalcCRC() 278 color = color_val << 8; in CalcCRC() 281 color = color_val << 6; in CalcCRC() 290 (*crc_data)[12] ^ (*crc_data)[14] ^ (*crc_data)[15] ^ color[0] ^ color[1] ^ in CalcCRC() 291 color[2] ^ color[3] ^ color[4] ^ color[5] ^ color[6] ^ color[7] ^ color[8] ^ in CalcCRC() 292 color[9] ^ color[10] ^ color[11] ^ color[12] ^ color[14] ^ color[15]; in CalcCRC() 294 temp_crc[14] = (*crc_data)[12] ^ (*crc_data)[13] ^ color[12] ^ color[13]; in CalcCRC() 295 temp_crc[13] = (*crc_data)[11] ^ (*crc_data)[12] ^ color[11] ^ color[12]; in CalcCRC() 296 temp_crc[12] = (*crc_data)[10] ^ (*crc_data)[11] ^ color[10] ^ color[11]; in CalcCRC() [all …]
|
D | hwc_color_manager.cpp | 55 uint32_t argb_color = ((params.color.r << 16) & 0xff0000) | ((params.color.g << 8) & 0xff00) | in Get8BitsARGBColorValue() 56 ((params.color.b) & 0xff); in Get8BitsARGBColorValue() 190 if (solid_fill_params_.color.r_bitdepth != solid_fill_params_.color.b_bitdepth in SetSolidFill() 191 || solid_fill_params_.color.r_bitdepth != solid_fill_params_.color.g_bitdepth) { in SetSolidFill() 192 DLOGE("invalid bit depth r %d g %d b %d", solid_fill_params_.color.r_bitdepth, in SetSolidFill() 193 solid_fill_params_.color.g_bitdepth, solid_fill_params_.color.b_bitdepth); in SetSolidFill() 197 solid_fill_color.bit_depth = solid_fill_params_.color.r_bitdepth; in SetSolidFill() 198 solid_fill_color.red = solid_fill_params_.color.r; in SetSolidFill() 199 solid_fill_color.blue = solid_fill_params_.color.b; in SetSolidFill() 200 solid_fill_color.green = solid_fill_params_.color.g; in SetSolidFill()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_external_test.cpp | 279 std::bitset<16> color = {}; in CalcCRC() local 284 color = (color_val & 0xFC) << 8; in CalcCRC() 287 color = color_val << 8; in CalcCRC() 290 color = color_val << 6; in CalcCRC() 299 (*crc_data)[12] ^ (*crc_data)[14] ^ (*crc_data)[15] ^ color[0] ^ color[1] ^ in CalcCRC() 300 color[2] ^ color[3] ^ color[4] ^ color[5] ^ color[6] ^ color[7] ^ color[8] ^ in CalcCRC() 301 color[9] ^ color[10] ^ color[11] ^ color[12] ^ color[14] ^ color[15]; in CalcCRC() 303 temp_crc[14] = (*crc_data)[12] ^ (*crc_data)[13] ^ color[12] ^ color[13]; in CalcCRC() 304 temp_crc[13] = (*crc_data)[11] ^ (*crc_data)[12] ^ color[11] ^ color[12]; in CalcCRC() 305 temp_crc[12] = (*crc_data)[10] ^ (*crc_data)[11] ^ color[10] ^ color[11]; in CalcCRC() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display_pluggable_test.cpp | 270 std::bitset<16> color = {}; in CalcCRC() local 275 color = (color_val & 0xFC) << 8; in CalcCRC() 278 color = color_val << 8; in CalcCRC() 281 color = color_val << 6; in CalcCRC() 290 (*crc_data)[12] ^ (*crc_data)[14] ^ (*crc_data)[15] ^ color[0] ^ color[1] ^ in CalcCRC() 291 color[2] ^ color[3] ^ color[4] ^ color[5] ^ color[6] ^ color[7] ^ color[8] ^ in CalcCRC() 292 color[9] ^ color[10] ^ color[11] ^ color[12] ^ color[14] ^ color[15]; in CalcCRC() 294 temp_crc[14] = (*crc_data)[12] ^ (*crc_data)[13] ^ color[12] ^ color[13]; in CalcCRC() 295 temp_crc[13] = (*crc_data)[11] ^ (*crc_data)[12] ^ color[11] ^ color[12]; in CalcCRC() 296 temp_crc[12] = (*crc_data)[10] ^ (*crc_data)[11] ^ color[10] ^ color[11]; in CalcCRC() [all …]
|
/hardware/interfaces/light/utils/ |
D | main.cpp | 38 int parseArgs(int argc, char* argv[], unsigned int* color) { in parseArgs() argument 47 *color = strtoul(argv[1], &col_ptr, 0); in parseArgs() 56 *color = 0u; in parseArgs() 60 void setToColorAidl(sp<aidl::ILights> hal, unsigned int color) { in setToColorAidl() argument 62 off.color = color; in setToColorAidl() 81 void setToColorHidl(sp<V2_0::ILight> hal, unsigned int color) { in setToColorHidl() argument 83 .color = color, in setToColorHidl()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_decompress_symbolic.cpp | 52 vint4 color = (color0 * weight0) + (color1 * weight1) + vint4(32); in lerp_color_int() local 53 color = asr<6>(color); in lerp_color_int() 57 color = color * vint4(257); in lerp_color_int() 60 return color; in lerp_color_int() 224 vfloat4 color; in decompress_symbolic_block() local 240 color = float16_to_float(colorf16); in decompress_symbolic_block() 249 color = vfloat4(error_color_nan()); in decompress_symbolic_block() 254 color = float16_to_float(vint4(scb.constant_color)); in decompress_symbolic_block() 262 blk.data_r[i] = color.lane<0>(); in decompress_symbolic_block() 263 blk.data_g[i] = color.lane<1>(); in decompress_symbolic_block() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_AMD_shader_fragment_mask.adoc | 26 compressed multisampled color surfaces. 27 The fragment mask is a lookup table that associates color samples with color 32 subsequent four bits specify the color fragment index corresponding to the 33 color sample, starting from the least significant bit. 34 For example, when eight color samples are used, the color fragment index for 35 color sample 0 will be in bits 0-3 of the fragment mask, for color sample 7 38 The color fragment for a particular color sample may then be fetched with
|
D | VK_NV_framebuffer_mixed_samples.adoc | 17 sample count that is larger than the color sample count. 20 It can be useful to evaluate coverage at a higher frequency than color 22 This coverage is then "`reduced`" to a collection of covered color samples, 23 each having an opacity value corresponding to the fraction of the color 25 The opacity can optionally be blended into individual color samples. 27 Rendering with fewer color samples than depth/stencil samples greatly 28 reduces the amount of memory and bandwidth consumed by the color buffer. 37 the path into the lower frequency color buffer using the coverage 46 multiple of the number of samples in the color attachments in the 49 a set of covered raster/depth/stencil samples to a set of color samples [all …]
|
D | VK_NV_coverage_reduction_mode.adoc | 18 reduction operation is performed which generates color sample coverage from 23 * Merge: When there are more samples in the pixel coverage than color 25 coverage sample to a color sample. 26 In the merge mode, the color sample coverage is computed such that only 27 if any associated sample in the pixel coverage is covered, the color 31 * Truncate: When there are more raster samples (N) than color samples(M), 33 color samples; other raster samples are ignored. 35 When the number of raster samples is equal to the color samples, there is a 40 be used to query the various raster, color, depth/stencil sample count and
|
D | VK_EXT_swapchain_colorspace.adoc | 19 standard color spaces beyond ename:VK_COLOR_SPACE_SRGB_NONLINEAR_KHR. 21 which allows applications to use color spaces not explicitly enumerated in 29 color spaces? 31 *RESOLVED*: Pixel format is independent of color space (though some color 32 spaces really want / need floating point color components to be useful). 33 Therefore, do not plan on documenting what formats support which color 39 function for a color space? 60 ** Clarify color space transfer function usage.
|
D | VK_AMD_mixed_attachment_samples.adoc | 20 depth/stencil sample count that is larger than the color sample count. 21 Having a depth/stencil sample count larger than the color sample count 23 than color information. 24 All samples are depth/stencil tested, but only the first color sample count 25 number of samples get a corresponding color output.
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_sampler.h | 33 vk_border_color_is_custom(VkBorderColor color) in vk_border_color_is_custom() argument 35 return color == VK_BORDER_COLOR_FLOAT_CUSTOM_EXT || in vk_border_color_is_custom() 36 color == VK_BORDER_COLOR_INT_CUSTOM_EXT; in vk_border_color_is_custom() 39 VkClearColorValue vk_border_color_value(VkBorderColor color); 40 bool vk_border_color_is_int(VkBorderColor color);
|
/hardware/google/aemu/host-common/include/host-common/ |
D | MediaH264DecoderPlugin.h | 84 ColorAspects color; member 141 saveColor(stream, frame.color); in saveFrameInfo() 149 loadColor(stream, frame.color); in loadFrameInfo() 163 void saveColor(base::Stream* stream, const ColorAspects& color) const { in saveColor() 164 stream->putBe32(color.primaries); in saveColor() 165 stream->putBe32(color.range); in saveColor() 166 stream->putBe32(color.transfer); in saveColor() 167 stream->putBe32(color.space); in saveColor() 170 void loadColor(base::Stream* stream, ColorAspects& color) const { in loadColor() 171 color.primaries = stream->getBe32(); in loadColor() [all …]
|
/hardware/google/aemu/host-common/ |
D | MediaSnapshotState.cpp | 109 saveColor(stream, frame.color); in saveFrameInfo() 122 loadColor(stream, frame.color); in loadFrameInfo() 138 const ColorAspects& color) const { in saveColor() 139 stream->putBe32(color.primaries); in saveColor() 140 stream->putBe32(color.range); in saveColor() 141 stream->putBe32(color.transfer); in saveColor() 142 stream->putBe32(color.space); in saveColor() 146 ColorAspects& color) const { in loadColor() 147 color.primaries = stream->getBe32(); in loadColor() 148 color.range = stream->getBe32(); in loadColor() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/ |
D | ComposerCommandBuffer.h | 78 void setLayerFloatColor(IComposerClient::FloatColor color) { in setLayerFloatColor() argument 80 writeFloatColor(color); in setLayerFloatColor() 95 void writeFloatColor(const IComposerClient::FloatColor& color) { in writeFloatColor() argument 96 writeFloat(color.r); in writeFloatColor() 97 writeFloat(color.g); in writeFloatColor() 98 writeFloat(color.b); in writeFloatColor() 99 writeFloat(color.a); in writeFloatColor()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/ |
D | khronos.css | 25 /** Remove the gray background color from active links in IE 10. */ 51 mark { background: #ff0; color: #000; } 87 /** 1. Correct `color` not being inherited in IE 8/9. 2. Remove padding so people aren't caught out… 134 body { background: #fff; color: #222; padding: 0; margin: 0; font-family: "Helvetica Neue", "Helvet… 176 …e, .ulist > .title, .qlist > .title, .hdlist > .title { line-height: 1.4; color: black; font-weigh… 182 a { color: #0068b0; text-decoration: none; line-height: inherit; } 183 a:hover, a:focus { color: #333; } 191 …{ font-family: Noto, sans-serif; font-weight: normal; font-style: normal; color: black; text-rende… 192 …> .content > .title small, h4 small, h5 small, h6 small { font-size: 60%; color: #4d4d4d; line-hei… 215 code { font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; color: #2… [all …]
|
/hardware/qcom/display/msm8084/liblight/ |
D | lights.c | 102 return state->color & 0x00ffffff; in is_lit() 108 int color = state->color & 0x00ffffff; in rgb_to_brightness() local 109 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness() 110 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness() 153 colorRGB = state->color; in set_speaker_light_locked() 231 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_blend_operation_advanced/ |
D | advanced_blend.adoc | 30 * pname:srcPremultiplied specifies whether the source color of the blend 32 * pname:dstPremultiplied specifies whether the destination color of the 46 source color>> property is not supported, pname:srcPremultiplied must: 50 destination color>> property is not supported, pname:dstPremultiplied 62 [open,refpage='vkCmdSetColorBlendAdvancedEXT',desc='Specify the advanced color blend state dynamica… 71 * pname:firstAttachment the first color attachment the advanced blend 76 structs that specify the advanced color blend parameters for the 114 the RGB values to write to the color attachment. 115 * pname:srcPremultiplied specifies whether the source color of the blend 117 * pname:dstPremultiplied specifies whether the destination color of the [all …]
|
/hardware/qcom/display/msm8226/liblight/ |
D | lights.c | 102 return state->color & 0x00ffffff; in is_lit() 108 int color = state->color & 0x00ffffff; in rgb_to_brightness() local 109 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness() 110 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness() 153 colorRGB = state->color; in set_speaker_light_locked() 248 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
|
/hardware/qcom/display/msm8994/liblight/ |
D | lights.c | 103 return state->color & 0x00ffffff; in is_lit() 109 int color = state->color & 0x00ffffff; in rgb_to_brightness() local 110 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness() 111 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness() 154 colorRGB = state->color; in set_speaker_light_locked() 249 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
|
/hardware/qcom/display/msm8996/liblight/ |
D | lights.c | 103 return state->color & 0x00ffffff; in is_lit() 109 int color = state->color & 0x00ffffff; in rgb_to_brightness() local 110 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness() 111 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness() 154 colorRGB = state->color; in set_speaker_light_locked() 258 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/ |
D | VK_ANDROID_external_format_resolve.adoc | 53 …fpage}VkRenderingAttachmentInfo.html[VkRenderingAttachmentInfo] used as a color attachment must be… 54 …e the relevant planes by either averaging the corresponding values in the color attachment, or by … 55 …lementations may resolve a color attachment to an external format resolve attachment at any time, … 60 …** Values in the color attachment during rendering are loaded from the external format attachment,… 69 … the resolve image specified here and the actual image view used for that color resolve attachment… 70 …ormatANDROID] structure with a non-zero value must only write to a single color attachment, must n… 78 …render pass objects, color resolve attachments can similarly be repurposed for external YC~B~C~R~ … 83 …olve` property is `VK_TRUE`, the `attachment` member of the corresponding color attachment must be… 84 * If the color attachment is not `VK_ATTACHMENT_UNUSED`, it must be a single sampled attachment. 93 …erty is `VK_FALSE`, applications can bind the color attachment as they normally would with any oth… [all …]
|
/hardware/qcom/display/msm8998/liblight/ |
D | lights.c | 115 return state->color & 0x00ffffff; in is_lit() 121 int color = state->color & 0x00ffffff; in rgb_to_brightness() local 122 return ((77*((color>>16)&0x00ff)) in rgb_to_brightness() 123 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; in rgb_to_brightness() 191 colorRGB = state->color; in set_speaker_light_locked() 295 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
|