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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dsunrast.c53 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen; local
70 maplength = AV_RB32(buf+28);
118 if (buf_end - buf < maplength)
121 if (depth != 8 && maplength) {
125 unsigned int len = maplength / 3;
127 if (!maplength) {
131 if (maplength % 3 || maplength > 768) {
141 buf += maplength;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dsunrast.c35 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen; local
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
[all...]
H A Dsunrastenc.c33 int maplength; ///< length (bytes) of colormap member in struct:SUNRASTContext
48 bytestream2_put_be32u(&s->p, s->maplength);
60 if (s->maplength) { // palettized
62 int len = s->maplength / 3;
124 s->length = bytestream2_tell_p(&s->p) - 32 - s->maplength;
152 s->maplength = 0;
160 s->maplength = 3 * 256;
171 s->size = 32 + s->maplength +

Completed in 56 milliseconds