Home
last modified time | relevance | path

Searched refs:global_color_table_size (Results 1 – 5 of 5) sorted by relevance

/dports/security/clamav/clamav-0.104.2/libclamav/
H A Dgif.c173 size_t global_color_table_size = 0; in cli_parsegif() local
224global_color_table_size = 3 * (1 << ((screen_desc.flags & GIF_SCREEN_DESC_FLAGS_MASK_SIZE_OF_GLOBA… in cli_parsegif()
225 cli_dbgmsg("GIF: Global Color Table size: %zu\n", global_color_table_size); in cli_parsegif()
227 if (offset + (size_t)global_color_table_size > map->len) { in cli_parsegif()
233 offset += global_color_table_size; in cli_parsegif()
/dports/security/clamav-lts/clamav-0.103.5/libclamav/
H A Dgif.c173 size_t global_color_table_size = 0; in cli_parsegif() local
224global_color_table_size = 3 * (1 << ((screen_desc.flags & GIF_SCREEN_DESC_FLAGS_MASK_SIZE_OF_GLOBA… in cli_parsegif()
225 cli_dbgmsg("GIF: Global Color Table size: %zu\n", global_color_table_size); in cli_parsegif()
227 if (offset + (size_t)global_color_table_size > map->len) { in cli_parsegif()
233 offset += global_color_table_size; in cli_parsegif()
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/image/codecs/
H A Dgif.py101 global_color_table_size = fields & 0x7
105 global_color_table = file.read(6 << global_color_table_size)
/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/image/codecs/
H A Dgif.py101 global_color_table_size = fields & 0x7
105 global_color_table = file.read(6 << global_color_table_size)
/dports/graphics/freeimage/FreeImage/Source/FreeImage/
H A DPluginGIF.cpp54 int global_color_table_size; member
61 GIFinfo() : read(0), global_color_table_offset(0), global_color_table_size(0), background_color(0) in GIFinfo()
558 info->global_color_table_size = 2 << (packed & GIF_PACKED_LSD_GCTSIZE); in Open()
559 io->seek_proc(handle, 3 * info->global_color_table_size, SEEK_CUR); in Open()
693 … info->global_color_table_offset != 0 && info->background_color < info->global_color_table_size ) { in Load()
862 if( info->global_color_table_size <= 2 ) bpp = 1; in Load()
863 else if( info->global_color_table_size <= 16 ) bpp = 4; in Load()
895 while( i < info->global_color_table_size ) { in Load()
977 while( i < info->global_color_table_size ) { in Load()
984 …tte", ANIMTAG_GLOBALPALETTE, FIDT_PALETTE, info->global_color_table_size, info->global_color_table… in Load()
[all …]