Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A Dpictordec.c187 int pal_idx = bytestream2_get_byte(&s->g); in decode_frame() local
188 palette[i] = ff_cga_palette[FFMIN(pal_idx, 15)]; in decode_frame()
193 int pal_idx = bytestream2_get_byte(&s->g); in decode_frame() local
194 palette[i] = ff_ega_palette[FFMIN(pal_idx, 63)]; in decode_frame()
H A 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/
H A Dstb_image.h5996 int pal_idx = (tga_bits_per_pixel == 8) ? stbi__get8(s) : stbi__get16le(s);
5997 if ( pal_idx >= tga_palette_len ) {
5999 pal_idx = 0;
6001 pal_idx *= tga_comp;
6003 raw_data[j] = tga_palette[pal_idx+j];

Completed in 13 milliseconds