Home
last modified time | relevance | path

Searched refs:color_info (Results 1 – 3 of 3) sorted by relevance

/external/ImageMagick/MagickCore/
Dcolor.c871 *color_info; in AcquireColorCache() local
877 color_info=(ColorInfo *) AcquireMagickMemory(sizeof(*color_info)); in AcquireColorCache()
878 if (color_info == (ColorInfo *) NULL) in AcquireColorCache()
884 (void) memset(color_info,0,sizeof(*color_info)); in AcquireColorCache()
885 color_info->path=(char *) "[built-in]"; in AcquireColorCache()
886 color_info->name=(char *) p->name; in AcquireColorCache()
887 GetPixelInfo((Image *) NULL,&color_info->color); in AcquireColorCache()
888 color_info->color.red=(double) ScaleCharToQuantum(p->red); in AcquireColorCache()
889 color_info->color.green=(double) ScaleCharToQuantum(p->green); in AcquireColorCache()
890 color_info->color.blue=(double) ScaleCharToQuantum(p->blue); in AcquireColorCache()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c814 unsigned color_info; in r600_init_color_surface() local
837 color_info = 0; in r600_init_color_surface()
841 color_info = S_0280A0_ARRAY_MODE(V_038000_ARRAY_LINEAR_ALIGNED); in r600_init_color_surface()
844 color_info = S_0280A0_ARRAY_MODE(V_038000_ARRAY_1D_TILED_THIN1); in r600_init_color_surface()
847 color_info = S_0280A0_ARRAY_MODE(V_038000_ARRAY_2D_TILED_THIN1); in r600_init_color_surface()
904 color_info |= S_0280A0_FORMAT(format) | in r600_init_color_surface()
926 G_0280A0_BLEND_CLAMP(color_info) && in r600_init_color_surface()
928 !G_0280A0_BLEND_FLOAT32(color_info)) { in r600_init_color_surface()
929 color_info |= S_0280A0_SOURCE_FORMAT(V_0280A0_EXPORT_NORM); in r600_init_color_surface()
943 color_info |= S_0280A0_SOURCE_FORMAT(V_0280A0_EXPORT_NORM); in r600_init_color_surface()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c2350 unsigned color_info, color_attrib; in si_initialize_color_surface() local
2418 color_info = S_028C70_FORMAT(format) | in si_initialize_color_surface()
2442 color_info |= S_028C70_COMPRESSION(1); in si_initialize_color_surface()
2496 surf->cb_color_info = color_info; in si_initialize_color_surface()