Searched refs:npal (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | pictordec.c | 127 int bits_per_plane, bpp, etype, esize, npal, pos_after_pal; in decode_frame() local 181 npal = 4; in decode_frame() 182 for (i = 0; i < npal; i++) in decode_frame() 185 npal = FFMIN(esize, 16); in decode_frame() 186 for (i = 0; i < npal; i++) { in decode_frame() 191 npal = FFMIN(esize, 16); in decode_frame() 192 for (i = 0; i < npal; i++) { in decode_frame() 197 npal = FFMIN(esize / 3, 256); in decode_frame() 198 for (i = 0; i < npal; i++) { in decode_frame() 204 npal = 2; in decode_frame() [all …]
|
D | g2meet.c | 1019 const uint8_t *pal, int npal, int tidx) in kempf_restore_buf() argument 1029 if (npal <= 2) nb = 1; in kempf_restore_buf() 1030 else if (npal <= 4) nb = 2; in kempf_restore_buf() 1031 else if (npal <= 16) nb = 4; in kempf_restore_buf() 1054 int hdr, zsize, npal, tidx = -1, ret; in kempf_decode_tile() local 1090 npal = *src++ + 1; in kempf_decode_tile() 1091 if (src_end - src < npal * 3) in kempf_decode_tile() 1093 memcpy(pal, src, npal * 3); in kempf_decode_tile() 1094 src += npal * 3; in kempf_decode_tile() 1096 for (i = 0; i < npal; i++) { in kempf_decode_tile() [all …]
|