Home
last modified time | relevance | path

Searched refs:pal_idx (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpictordec.c189 int pal_idx = bytestream2_get_byte(&s->g); in decode_frame() local
190 palette[i] = ff_cga_palette[FFMIN(pal_idx, 15)]; in decode_frame()
195 int pal_idx = bytestream2_get_byte(&s->g); in decode_frame() local
196 palette[i] = ff_ega_palette[FFMIN(pal_idx, 63)]; in decode_frame()
Dsga.c112 int pal_idx = s->palmapindex_data[y * s->tiles_w + x] * 16; in decode_index_palmap() local
117 dst[xx] = pal_idx + tt[xx]; in decode_index_palmap()
147 int pal_idx = ((tilemap >> 13) & 3) * 16; in decode_index_tilemap() local
171 dst[xx] = pal_idx + tile[xx + yy * 8]; in decode_index_tilemap()
/third_party/astc-encoder/Source/
Dstb_image.h5912 int pal_idx = (tga_bits_per_pixel == 8) ? stbi__get8(s) : stbi__get16le(s); in stbi__tga_load() local
5913 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()