Searched refs:pal_idx (Results 1 – 3 of 3) sorted by relevance
189 int pal_idx = bytestream2_get_byte(&s->g); in decode_frame() local190 palette[i] = ff_cga_palette[FFMIN(pal_idx, 15)]; in decode_frame()195 int pal_idx = bytestream2_get_byte(&s->g); in decode_frame() local196 palette[i] = ff_ega_palette[FFMIN(pal_idx, 63)]; in decode_frame()
112 int pal_idx = s->palmapindex_data[y * s->tiles_w + x] * 16; in decode_index_palmap() local117 dst[xx] = pal_idx + tt[xx]; in decode_index_palmap()147 int pal_idx = ((tilemap >> 13) & 3) * 16; in decode_index_tilemap() local171 dst[xx] = pal_idx + tile[xx + yy * 8]; in decode_index_tilemap()
5912 int pal_idx = (tga_bits_per_pixel == 8) ? stbi__get8(s) : stbi__get16le(s); in stbi__tga_load() local5913 if ( pal_idx >= tga_palette_len ) { in stbi__tga_load()5915 pal_idx = 0; in stbi__tga_load()5917 pal_idx *= tga_comp; in stbi__tga_load()5919 raw_data[j] = tga_palette[pal_idx+j]; in stbi__tga_load()