Home
last modified time | relevance | path

Searched refs:colorbytes (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image_write.h500 int colorbytes = has_alpha ? comp-1 : comp; in stbi_write_tga_core() local
501 …int format = colorbytes < 2 ? 3 : 2; // 3 color channels (RGB/RGBA) = 2, 1 color channel (Y/YA) = 3 in stbi_write_tga_core()
508 …"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()
513 …stbiw__writef(s, "111 221 2222 11", 0,0,format+8, 0,0,0, 0,0,x,y, (colorbytes + has_alpha) * 8, ha… in stbi_write_tga_core()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image_write.h500 int colorbytes = has_alpha ? comp-1 : comp; in stbi_write_tga_core() local
501 …int format = colorbytes < 2 ? 3 : 2; // 3 color channels (RGB/RGBA) = 2, 1 color channel (Y/YA) = 3 in stbi_write_tga_core()
508 …"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()
513 …stbiw__writef(s, "111 221 2222 11", 0,0,format+8, 0,0,0, 0,0,x,y, (colorbytes + has_alpha) * 8, ha… in stbi_write_tga_core()