Lines Matching refs:depth
130 int depth, GetByteContext *gb)
136 unsigned int width= FFABS(pic->linesize[0]) / (depth >> 3);
171 output = pic->data[0] + line * pic->linesize[0] + pos * (depth >> 3);
176 if (output + p2 * (depth >> 3) > output_end) {
177 bytestream2_skip(gb, 2 * (depth >> 3));
179 } else if (bytestream2_get_bytes_left(gb) < p2 * (depth >> 3)) {
184 if ((depth == 8) || (depth == 24)) {
185 bytestream2_get_bufferu(gb, output, p2 * (depth >> 3));
186 output += p2 * (depth >> 3);
189 if(depth == 8 && (p2 & 1)) {
192 } else if (depth == 16) {
197 } else if (depth == 32) {
206 if (output + p1 * (depth >> 3) > output_end)
209 switch(depth){
250 int depth, GetByteContext *gb)
252 switch(depth){
259 return msrle_decode_8_16_24_32(avctx, pic, depth, gb);
261 av_log(avctx, AV_LOG_ERROR, "Unknown depth %d\n", depth);