Lines Matching refs:depth
132 int depth, GetByteContext *gb)
138 unsigned int width= FFABS(pic->linesize[0]) / (depth >> 3);
173 output = pic->data[0] + line * pic->linesize[0] + pos * (depth >> 3);
178 if (output + p2 * (depth >> 3) > output_end) {
179 bytestream2_skip(gb, 2 * (depth >> 3));
181 } else if (bytestream2_get_bytes_left(gb) < p2 * (depth >> 3)) {
186 if ((depth == 8) || (depth == 24)) {
187 bytestream2_get_bufferu(gb, output, p2 * (depth >> 3));
188 output += p2 * (depth >> 3);
191 if(depth == 8 && (p2 & 1)) {
194 } else if (depth == 16) {
199 } else if (depth == 32) {
208 if (output + p1 * (depth >> 3) > output_end)
211 switch(depth){
252 int depth, GetByteContext *gb)
254 switch(depth){
261 return msrle_decode_8_16_24_32(avctx, pic, depth, gb);
263 av_log(avctx, AV_LOG_ERROR, "Unknown depth %d\n", depth);