Lines Matching refs:npal
105 int bits_per_plane, bpp, etype, esize, npal, pos_after_pal;
161 npal = 4;
162 for (i = 0; i < npal; i++)
165 npal = FFMIN(esize, 16);
166 for (i = 0; i < npal; i++) {
171 npal = FFMIN(esize, 16);
172 for (i = 0; i < npal; i++) {
177 npal = FFMIN(esize / 3, 256);
178 for (i = 0; i < npal; i++)
182 npal = 2;
186 npal = 4;
187 for (i = 0; i < npal; i++)
190 npal = 16;
191 memcpy(palette, ff_cga_palette, npal * 4);
195 memset(palette + npal, 0, AVPALETTE_SIZE - npal * 4);