Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/harfbuzz/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 …nsigned int count = hb_min ((unsigned) hb_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. */
/third_party/harfbuzz/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 + palette_colors.sub_array (start_offset, color_count) in get_palette_colors()
146 | hb_sink (hb_array (colors, *color_count)) in get_palette_colors()
Dhb-ot-color.h87 unsigned int *color_count, /* IN/OUT. May be NULL. */
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cpal-table.hh69 unsigned int color_count) const in get_color_name_id()
72 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
78 unsigned color_count, in serialize()
94 const hb_array_t<const NameID> colorLabels = (base+colorLabelsZ).as_array (color_count); in serialize()
117 unsigned int color_count) const in sanitize()
123 (!colorLabelsZ || (base+colorLabelsZ).sanitize (c, color_count))); in sanitize()
170 unsigned int *color_count, /* IN/OUT. May be NULL. */ in get_palette_colors()
175 if (color_count) *color_count = 0; in get_palette_colors()
182 if (color_count) in get_palette_colors()
184 + palette_colors.sub_array (start_offset, color_count) in get_palette_colors()
[all …]
Dhb-ot-color.h87 unsigned int *color_count, /* IN/OUT. May be NULL. */
/third_party/ffmpeg/libavformat/
Dqtpalette.c343 uint32_t color_count, color_start, color_end; in ff_get_qtpalette() local
351 color_count = 1 << bit_depth; in ff_get_qtpalette()
353 color_dec = 256 / (color_count - 1); in ff_get_qtpalette()
354 for (i = 0; i < color_count; i++) { in ff_get_qtpalette()
366 color_count = 1 << bit_depth; in ff_get_qtpalette()
375 for (i = 0; i < color_count; i++) { in ff_get_qtpalette()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c79 for (uint32_t j = 0; j < subpass->color_count; j++) { in lvp_render_pass_compile()
107 for (uint32_t j = 0; j < subpass->color_count; j++) { in lvp_render_pass_compile()
122 for (uint32_t k = 0; k < subpass->color_count; ++k) { in lvp_render_pass_compile()
220 subpass->color_count = desc->colorAttachmentCount; in lvp_CreateRenderPass2()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c61 for (uint32_t j = 0; j < subpass->color_count; j++) { in pass_find_subpass_range_for_attachments()
108 for (uint32_t j = 0; j < subpass->color_count; j++) { in pass_find_subpass_range_for_attachments()
183 subpass->color_count = desc->colorAttachmentCount; in v3dv_CreateRenderPass()
298 const uint32_t color_attachment_count = subpass->color_count; in subpass_get_granularity()
Dv3dv_meta_clear.c620 const uint32_t color_count = pass->subpasses[subpass_idx].color_count; in create_color_clear_pipeline() local
621 assert(rt_idx < color_count); in create_color_clear_pipeline()
624 for (uint32_t i = 0; i < color_count; i++) { in create_color_clear_pipeline()
634 .attachmentCount = color_count, in create_color_clear_pipeline()
693 .attachmentCount = pass->subpasses[subpass_idx].color_count, in create_depth_clear_pipeline()
1006 assert(rt_idx < subpass->color_count); in emit_subpass_color_clear_rects()
Dv3dvx_pipeline.c90 if (pipeline->subpass->color_count == 0) in pack_blend()
93 assert(pipeline->subpass->color_count == cb_info->attachmentCount); in pack_blend()
97 for (uint32_t i = 0; i < pipeline->subpass->color_count; i++) { in pack_blend()
Dv3dvx_cmd_buffer.c194 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_render_pass_emit_loads()
508 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_render_pass_emit_stores()
768 config.number_of_render_targets = MAX2(subpass->color_count, 1); in v3dX()
840 for (uint32_t i = 0; i < subpass->color_count; i++) { in v3dX()
2260 if (rt >= subpass->color_count) in v3dX()
Dv3dvx_device.c250 for (uint32_t i = 0; i < subpass->color_count; i++) { in v3dX()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pass.c233 for (uint32_t j = 0; j < subpass->color_count; j++) { in radv_render_pass_compile()
258 for (uint32_t j = 0; j < subpass->color_count; j++) { in radv_render_pass_compile()
272 for (uint32_t k = 0; k < subpass->color_count; ++k) { in radv_render_pass_compile()
443 subpass->color_count = desc->colorAttachmentCount; in radv_CreateRenderPass2()
Dradv_meta_resolve.c682 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_hw()
715 .color_count = 2, in radv_cmd_buffer_resolve_subpass_hw()
811 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass()
869 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_decompress_resolve_subpass_src()
Dradv_meta_resolve_fs.c1089 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_fs()
1100 .color_count = 1, in radv_cmd_buffer_resolve_subpass_fs()
1156 .color_count = 0, in radv_depth_stencil_resolve_subpass_fs()
Dradv_meta_clear.c431 assert(clear_att->colorAttachment < subpass->color_count); in emit_color_clear()
438 .color_count = 1, in emit_color_clear()
784 .color_count = 0, in emit_depthstencil_clear()
1934 assert(subpass_att < subpass->color_count); in emit_clear()
1994 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_subpass_needs_clear()
2060 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_cmd_buffer_clear_subpass()
/third_party/mesa3d/src/intel/vulkan/
Danv_pass.c124 for (uint32_t j = 0; j < subpass->color_count; j++) { in anv_render_pass_compile()
379 subpass->color_count = desc->colorAttachmentCount; in anv_CreateRenderPass2()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pass.c397 for (unsigned j = 0; j < subpass->color_count; j++) { in tu_render_pass_patch_input_gmem()
445 for (unsigned j = 0; j < subpass->color_count; j++) { in tu_render_pass_check_feedback_loop()
704 subpass->color_count = desc->colorAttachmentCount; in tu_CreateRenderPass2()
/third_party/libpng/contrib/tools/
Dgenpng.c109 #define color_count ((sizeof colors)/(sizeof colors[0])) macro
114 int icolor = color_count; in color_of()
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dgenpng.c109 #define color_count ((sizeof colors)/(sizeof colors[0])) macro
114 int icolor = color_count; in color_of()
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dgenpng.c109 #define color_count ((sizeof colors)/(sizeof colors[0])) macro
114 int icolor = color_count; in color_of()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd_vgpu10.c343 unsigned color_count, in SVGA3D_vgpu10_SetRenderTargets() argument
347 const unsigned surf_count = color_count + 1; in SVGA3D_vgpu10_SetRenderTargets()
358 color_count * sizeof(SVGA3dRenderTargetViewId), in SVGA3D_vgpu10_SetRenderTargets()
382 for (i = 0; i < color_count; i++) { in SVGA3D_vgpu10_SetRenderTargets()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_pass.c114 subpass->color_count = desc->colorAttachmentCount; in panvk_CreateRenderPass2()
Dpanvk_cmd_buffer.c360 fbinfo->rt_count = subpass->color_count; in panvk_cmd_fb_info_set_subpass()
363 for (unsigned cb = 0; cb < subpass->color_count; cb++) { in panvk_cmd_fb_info_set_subpass()

12