Lines Matching defs:ybuf
285 uint8_t *ybuf, *prev_buf, *src = s->scratch_buffer;
308 ybuf = s->y_buffer;
310 ybuf[0] = last << 1;
313 ybuf[j] = last + cur;
314 ybuf[j+1] = cur << 1;
317 ybuf[j] = last << 1;
318 prev_buf = ybuf;
319 ybuf += avctx->width;
323 ybuf[0] = last << 1;
326 ybuf[j] = last + cur;
327 ybuf[j+1] = cur << 1;
330 ybuf[j] = last << 1;
331 prev_buf = ybuf;
332 ybuf += avctx->width;
350 ybuf = s->pic->data[0];
353 ybuf[i] = (src[i] << 2) | (src[i] >> 3);
355 ybuf += s->pic->linesize[0];
364 uint8_t *ybuf, *src = s->scratch_buffer;
380 ybuf = s->y_buffer;
382 last = (ybuf[0] + (*src++ << 1)) & 0x3F;
383 ybuf[0] = last;
385 cur = (ybuf[j + 1] + (*src++ << 1)) & 0x3F;
386 ybuf[j] = (last + cur) >> 1;
387 ybuf[j+1] = cur;
390 ybuf[j] = last;
391 ybuf += avctx->width;
395 ybuf = s->pic->data[0];
398 ybuf[i] = (src[i] << 2) | (src[i] >> 3);
400 ybuf += s->pic->linesize[0];