Lines Matching refs:depth
132 int depth, GetByteContext *gb)
138 unsigned int width= FFABS(pic->linesize[0]) / (depth >> 3);
171 output = pic->data[0] + line * pic->linesize[0] + pos * (depth >> 3);
175 if ((pic->linesize[0] > 0 && output + p2 * (depth >> 3) > output_end) ||
176 (pic->linesize[0] < 0 && 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 for(i = 0; i < p2 * (depth >> 3); i++) {
189 if(depth == 8 && (p2 & 1)) {
192 } else if (depth == 16) {
197 } else if (depth == 32) {
206 switch(depth){
218 if ((pic->linesize[0] > 0 && output + p1 * (depth >> 3) > output_end) ||
219 (pic->linesize[0] < 0 && output + p1 * (depth >> 3) < output_end))
222 switch(depth){
247 int depth, GetByteContext *gb)
249 switch(depth){
256 return msrle_decode_8_16_24_32(avctx, pic, depth, gb);
258 av_log(avctx, AV_LOG_ERROR, "Unknown depth %d\n", depth);