Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/include/
H A Dgif_encoder.h23 const int NUM_OF_RGB = 3; variable
33 uint8_t rgb[NUM_OF_RGB];
40 uint8_t rgbMin[NUM_OF_RGB];
41 uint8_t rgbWidth[NUM_OF_RGB];
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_encoder.cpp389 for (int j = 0; j < NUM_OF_RGB; j++) { in InitColorSubdivMap()
483 entry1->rgb[(g_sortRGBAxis + G_IN_RGB) % NUM_OF_RGB] * COLOR_OF_GIF + in SortCmpRtn()
484 entry1->rgb[(g_sortRGBAxis + B_IN_RGB) % NUM_OF_RGB]; in SortCmpRtn()
486 entry2->rgb[(g_sortRGBAxis + G_IN_RGB) % NUM_OF_RGB] * COLOR_OF_GIF + in SortCmpRtn()
487 entry2->rgb[(g_sortRGBAxis + B_IN_RGB) % NUM_OF_RGB]; in SortCmpRtn()
498 for (int j = 0; j < NUM_OF_RGB; j++) { in PrepareSort()
542 for (int i = 0; i < NUM_OF_RGB; i++) { in SubdivColorByPartition()