Lines Matching defs:ybuf
242 uint8_t *ybuf, *prev_buf, *src = s->scratch_buffer;
265 ybuf = s->y_buffer;
267 ybuf[0] = last << 1;
270 ybuf[j] = last + cur;
271 ybuf[j+1] = cur << 1;
274 ybuf[j] = last << 1;
275 prev_buf = ybuf;
276 ybuf += avctx->width;
280 ybuf[0] = last << 1;
283 ybuf[j] = last + cur;
284 ybuf[j+1] = cur << 1;
287 ybuf[j] = last << 1;
288 prev_buf = ybuf;
289 ybuf += avctx->width;
307 ybuf = s->pic.data[0];
310 ybuf[i] = (src[i] << 2) | (src[i] >> 3);
312 ybuf += s->pic.linesize[0];
321 uint8_t *ybuf, *src = s->scratch_buffer;
337 ybuf = s->y_buffer;
339 last = (ybuf[0] + (*src++ << 1)) & 0x3F;
340 ybuf[0] = last;
342 cur = (ybuf[j + 1] + (*src++ << 1)) & 0x3F;
343 ybuf[j] = (last + cur) >> 1;
344 ybuf[j+1] = cur;
347 ybuf[j] = last;
348 ybuf += avctx->width;
352 ybuf = s->pic.data[0];
355 ybuf[i] = (src[i] << 2) | (src[i] >> 3);
357 ybuf += s->pic.linesize[0];