Searched refs:npal (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | pictordec.c | 129 int bits_per_plane, bpp, etype, esize, npal, pos_after_pal; in decode_frame() local 183 npal = 4; in decode_frame() 184 for (i = 0; i < npal; i++) in decode_frame() 187 npal = FFMIN(esize, 16); in decode_frame() 188 for (i = 0; i < npal; i++) { in decode_frame() 193 npal = FFMIN(esize, 16); in decode_frame() 194 for (i = 0; i < npal; i++) { in decode_frame() 199 npal = FFMIN(esize / 3, 256); in decode_frame() 200 for (i = 0; i < npal; i++) { in decode_frame() 206 npal = 2; in decode_frame() [all …]
|
D | g2meet.c | 1017 const uint8_t *pal, int npal, int tidx) in kempf_restore_buf() argument 1027 if (npal <= 2) nb = 1; in kempf_restore_buf() 1028 else if (npal <= 4) nb = 2; in kempf_restore_buf() 1029 else if (npal <= 16) nb = 4; in kempf_restore_buf() 1052 int hdr, zsize, npal, tidx = -1, ret; in kempf_decode_tile() local 1088 npal = *src++ + 1; in kempf_decode_tile() 1089 if (src_end - src < npal * 3) in kempf_decode_tile() 1091 memcpy(pal, src, npal * 3); in kempf_decode_tile() 1092 src += npal * 3; in kempf_decode_tile() 1094 for (i = 0; i < npal; i++) { in kempf_decode_tile() [all …]
|