Home
last modified time | relevance | path

Searched refs:color_count (Results 1 – 22 of 22) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-color-cpal-table.hh70 unsigned int color_count) const in get_color_name_id()
73 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
80 unsigned int color_count) const in sanitize()
86 (!colorLabelsZ || (base+colorLabelsZ).sanitize (c, color_count))); in sanitize()
131 unsigned int *color_count, /* IN/OUT. May be NULL. */ in get_palette_colors()
136 if (color_count) *color_count = 0; in get_palette_colors()
143 if (color_count) in get_palette_colors()
145 …hb_array_t<const BGRAColor> segment_colors = palette_colors.sub_array (start_offset, *color_count); in get_palette_colors()
147 unsigned int count = MIN<unsigned int> (MAX<int> (numColors - start_offset, 0), *color_count); in get_palette_colors()
148 *color_count = count; in get_palette_colors()
Dhb-ot-color.h85 unsigned int *color_count, /* IN/OUT. May be NULL. */
/external/libxcam/modules/isp/
Daiq3a_utils.cpp35 uint32_t color_count = (from_info.grid_pixel_size / 2) * (from_info.grid_pixel_size / 2); in translate_3a_stats() local
42 from->stats [i * from_info.aligned_width + j].avg_y * color_count; in translate_3a_stats()
44 from->stats [i * from_info.aligned_width + j].avg_gr * color_count; in translate_3a_stats()
46 from->stats [i * from_info.aligned_width + j].avg_r * color_count; in translate_3a_stats()
48 from->stats [i * from_info.aligned_width + j].avg_b * color_count; in translate_3a_stats()
50 from->stats [i * from_info.aligned_width + j].avg_gb * color_count; in translate_3a_stats()
/external/skia/src/compute/skc/
Dstyling.c349 uint32_t const color_count = ds_count + 1; in skc_styling_layer_fill_gradient_encoder() local
352 union skc_styling_cmd * color_g = color_r + color_count; in skc_styling_layer_fill_gradient_encoder()
353 union skc_styling_cmd * color_b = color_r + color_count * 2; in skc_styling_layer_fill_gradient_encoder()
354 union skc_styling_cmd * color_a = color_r + color_count * 3; in skc_styling_layer_fill_gradient_encoder()
/external/skqp/src/compute/skc/
Dstyling.c349 uint32_t const color_count = ds_count + 1; in skc_styling_layer_fill_gradient_encoder() local
352 union skc_styling_cmd * color_g = color_r + color_count; in skc_styling_layer_fill_gradient_encoder()
353 union skc_styling_cmd * color_b = color_r + color_count * 2; in skc_styling_layer_fill_gradient_encoder()
354 union skc_styling_cmd * color_a = color_r + color_count * 3; in skc_styling_layer_fill_gradient_encoder()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_cs.c507 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_cs()
531 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_cs()
549 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_cs()
Dradv_meta_resolve.c613 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass()
641 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass()
657 .color_count = 2, in radv_cmd_buffer_resolve_subpass()
Dradv_meta_resolve_fs.c621 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_fs()
643 .color_count = 1, in radv_cmd_buffer_resolve_subpass_fs()
Dradv_meta_clear.c360 assert(clear_att->colorAttachment < subpass->color_count); in emit_color_clear()
368 .color_count = 1, in emit_color_clear()
1089 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_subpass_needs_clear()
1143 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_cmd_buffer_clear_subpass()
Dradv_pass.c112 subpass->color_count = desc->colorAttachmentCount; in radv_CreateRenderPass()
Dradv_pipeline.c432 for (unsigned i = 0; i < (single_cb_enable ? 1 : subpass->color_count); ++i) { in radv_pipeline_compute_spi_color_formats()
497 for (unsigned i = 0; i < subpass->color_count; ++i) { in radv_pipeline_compute_get_int_clamp()
1095 for (unsigned i = 0; i < subpass->color_count; ++i) { in radv_pipeline_init_dynamic_state()
2335 for (unsigned i = 0; i < subpass->color_count; i++) { in radv_compute_bin_size()
Dradv_private.h1613 uint32_t color_count; member
Dradv_cmd_buffer.c1511 …if (i >= subpass->color_count || subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED)… in radv_emit_framebuffer_state()
2117 for (unsigned i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_set_subpass()
/external/libpng/contrib/tools/
Dgenpng.c109 #define color_count ((sizeof colors)/(sizeof colors[0])) macro
114 int icolor = color_count; in color_of()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd_vgpu10.c342 unsigned color_count, in SVGA3D_vgpu10_SetRenderTargets() argument
346 const unsigned surf_count = color_count + 1; in SVGA3D_vgpu10_SetRenderTargets()
357 color_count * sizeof(SVGA3dRenderTargetViewId), in SVGA3D_vgpu10_SetRenderTargets()
381 for (i = 0; i < color_count; i++) { in SVGA3D_vgpu10_SetRenderTargets()
Dsvga_cmd.h379 unsigned color_count,
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp96 int color_count = kSingleColorPerPatch; in GetShadingBBox() local
98 color_count = kQuadColorsPerPatch; in GetShadingBBox()
110 color_count -= 2; in GetShadingBBox()
126 nBits *= color_count; in GetShadingBBox()
/external/mesa3d/src/intel/vulkan/
Danv_pass.c109 subpass->color_count = desc->colorAttachmentCount; in anv_CreateRenderPass()
Danv_pipeline.c319 key->nr_color_regions = pipeline->subpass->color_count; in populate_wm_prog_key()
1132 for (unsigned i = 0; i < subpass->color_count; ++i) { in copy_non_dynamic_state()
1225 if (subpass && subpass->color_count > 0) in anv_pipeline_validate_create_info()
Danv_blorp.c1121 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in subpass_needs_clear()
1165 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in anv_cmd_buffer_clear_subpass()
1530 for (uint32_t i = 0; i < subpass->color_count; ++i) { in anv_cmd_buffer_resolve_subpass()
DgenX_cmd_buffer.c1628 if (binding->index < subpass->color_count) { in emit_binding_table()
3118 for (uint32_t i = 0; i < state->subpass->color_count; ++i) { in cmd_buffer_subpass_sync_fast_clear_values()
Danv_private.h2806 uint32_t color_count; member