Lines Matching defs:depth
36 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen;
51 depth = AV_RB32(buf + 12);
84 // This also checks depth to be valid
85 switch (depth) {
102 av_log(avctx, AV_LOG_ERROR, "invalid depth\n");
112 av_assert0(w <= (INT32_MAX - 7) / depth);
115 len = (depth * w + 7) >> 3;
130 if (depth > 8 && maplength) {
148 if (maplength && depth < 8) {
152 stride = (w + 15 >> 3) * depth;
193 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 && depth < 8) {
197 for (x = 0; x < (w + 7 >> 3) * depth; x++) {
198 if (depth == 1) {
213 ptr2 += (w + 15 >> 3) * depth;