Lines Matching refs:maplength
35 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen;
53 maplength = AV_RB32(buf + 28);
80 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_MONOWHITE;
83 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_NONE;
86 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_GRAY8;
108 if (buf_end - buf < maplength)
111 if (depth > 8 && maplength) {
114 } else if (maplength) {
115 unsigned int len = maplength / 3;
117 if (maplength % 3 || maplength > 768) {
127 buf += maplength;
129 if (maplength && depth < 8) {