Home
last modified time | relevance | path

Searched refs:has_alpha (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gchips/gralloc4/src/core/
Dformat_info.cpp41 …0, .align_w = 16, .align_h = 16, .align_w_cpu = 16, .tile_size = 1, .has_alpha = false, .is_rgb…
42 …0, .align_w = 16, .align_h = 16, .align_w_cpu = 16, .tile_size = 1, .has_alpha = false, .is_rgb…
43 …0, .align_w = 16, .align_h = 16, .align_w_cpu = 16, .tile_size = 1, .has_alpha = true, .is_rgb…
44 …0, .align_w = 16, .align_h = 16, .align_w_cpu = 16, .tile_size = 1, .has_alpha = true, .is_rgb…
45 …0, .align_w = 16, .align_h = 16, .align_w_cpu = 16, .tile_size = 1, .has_alpha = false, .is_rgb…
46 …0, .align_w = 16, .align_h = 16, .align_w_cpu = 16, .tile_size = 1, .has_alpha = true, .is_rgb…
47 …0, .align_w = 16, .align_h = 16, .align_w_cpu = 16, .tile_size = 1, .has_alpha = true, .is_rgb…
48 …1, .align_w = 2, .align_h = 2, .align_w_cpu = 16, .tile_size = 1, .has_alpha = false, .is_rgb…
49 …1, .align_w = 2, .align_h = 2, .align_w_cpu = 16, .tile_size = 1, .has_alpha = false, .is_rgb…
51 …2, .align_w = 2, .align_h = 2, ALIGN_W_CPU_DEFAULT, .tile_size = 1, .has_alpha = false, .is_rgb…
[all …]
Dformat_info.h68 bool has_alpha; /* Alpha channel present. */ member
Dmali_gralloc_formats.cpp1108 if (f_old->has_alpha) in comparable_components()
1112 !f_new->has_alpha) in comparable_components()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_image.cpp97 bool has_alpha = false; in determine_image_components() local
115 has_alpha = has_alpha || (a != 0xFF); in determine_image_components()
136 has_alpha = has_alpha || ((a ^ 0xC3FF) != 0xFFFF); in determine_image_components()
160 has_alpha = has_alpha || (a != 1.0f); in determine_image_components()
166 int image_components = 1 + (is_luma == 0 ? 2 : 0) + (has_alpha ? 1 : 0); in determine_image_components()
Dstb_image_write.h534 int has_alpha = (comp == 2 || comp == 4); in stbi_write_tga_core() local
535 int colorbytes = has_alpha ? comp-1 : comp; in stbi_write_tga_core()
542 return stbiw__outfile(s, -1, -1, x, y, comp, 0, (void *) data, has_alpha, 0, in stbi_write_tga_core()
543 …"111 221 2222 11", 0, 0, format, 0, 0, 0, 0, 0, x, y, (colorbytes + has_alpha) * 8, has_alpha * 8); in stbi_write_tga_core()
548 …f(s, "111 221 2222 11", 0,0,format+8, 0,0,0, 0,0,x,y, (colorbytes + has_alpha) * 8, has_alpha * 8); in stbi_write_tga_core()
597 stbiw__write_pixel(s, -1, comp, has_alpha, 0, begin + k * comp); in stbi_write_tga_core()
602 stbiw__write_pixel(s, -1, comp, has_alpha, 0, begin); in stbi_write_tga_core()
/hardware/google/gfxstream/guest/mesa/include/
Dkopper_interface.h97 int has_alpha; member
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image_write.h534 int has_alpha = (comp == 2 || comp == 4); in stbi_write_tga_core() local
535 int colorbytes = has_alpha ? comp-1 : comp; in stbi_write_tga_core()
542 return stbiw__outfile(s, -1, -1, x, y, comp, 0, (void *) data, has_alpha, 0, in stbi_write_tga_core()
543 …"111 221 2222 11", 0, 0, format, 0, 0, 0, 0, 0, x, y, (colorbytes + has_alpha) * 8, has_alpha * 8); in stbi_write_tga_core()
548 …f(s, "111 221 2222 11", 0,0,format+8, 0,0,0, 0,0,x,y, (colorbytes + has_alpha) * 8, has_alpha * 8); in stbi_write_tga_core()
597 stbiw__write_pixel(s, -1, comp, has_alpha, 0, begin + k * comp); in stbi_write_tga_core()
602 stbiw__write_pixel(s, -1, comp, has_alpha, 0, begin); in stbi_write_tga_core()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_x11.c101 bool has_alpha; member
716 if (surface->has_alpha) { in x11_surface_get_capabilities()
995 surface->has_alpha = visual_has_alpha(visual, visual_depth); in wsi_CreateXcbSurfaceKHR()
1027 surface->has_alpha = visual_has_alpha(visual, visual_depth); in wsi_CreateXlibSurfaceKHR()