Lines Matching refs:depth
35 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen;
50 depth = AV_RB32(buf + 12);
78 switch (depth) {
95 av_log(avctx, AV_LOG_ERROR, "invalid depth\n");
111 if (depth > 8 && maplength) {
129 if (maplength && depth < 8) {
133 stride = (w + 15 >> 3) * depth;
140 len = (depth * w + 7) >> 3;
178 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 && depth < 8) {
182 for (x = 0; x < (w + 7 >> 3) * depth; x++) {
183 if (depth == 1) {
198 ptr2 += (w + 15 >> 3) * depth;