Lines Matching refs:bytestream

55     s->bytestream       = (uint8_t *)buf;
131 if (n * avctx->height > s->bytestream_end - s->bytestream)
141 while(s->bytestream < s->bytestream_end && (*s->bytestream < '0' || *s->bytestream > '9' ))
142 s->bytestream++;
143 if(s->bytestream >= s->bytestream_end)
147 v = (*s->bytestream++)&1;
152 c = (*s->bytestream++) - '0';
171 samplecpy(ptr, s->bytestream, n, s->maxval);
175 ptr[j] = (s->bytestream[j] * f + 64) >> 7;
179 v = AV_RB16(s->bytestream + 2*j);
183 s->bytestream += n;
199 if (n * avctx->height * 3 / 2 > s->bytestream_end - s->bytestream)
202 samplecpy(ptr, s->bytestream, n, s->maxval);
203 s->bytestream += n;
211 samplecpy(ptr1, s->bytestream, n, s->maxval);
212 s->bytestream += n;
213 samplecpy(ptr2, s->bytestream, n, s->maxval);
214 s->bytestream += n;
229 if (n * avctx->height * 3 / 2 > s->bytestream_end - s->bytestream)
233 v = AV_RB16(s->bytestream + 2*j);
236 s->bytestream += n;
245 v = AV_RB16(s->bytestream + 2*j);
248 s->bytestream += n;
251 v = AV_RB16(s->bytestream + 2*j);
254 s->bytestream += n;
263 if (avctx->width * avctx->height * 12 > s->bytestream_end - s->bytestream)
274 r[j] = av_int2float(AV_RL32(s->bytestream+0)) * scale;
275 g[j] = av_int2float(AV_RL32(s->bytestream+4)) * scale;
276 b[j] = av_int2float(AV_RL32(s->bytestream+8)) * scale;
277 s->bytestream += 12;
292 r[j] = av_int2float(AV_RB32(s->bytestream+0)) * scale;
293 g[j] = av_int2float(AV_RB32(s->bytestream+4)) * scale;
294 b[j] = av_int2float(AV_RB32(s->bytestream+8)) * scale;
295 s->bytestream += 12;
304 if (avctx->width * avctx->height * 6 > s->bytestream_end - s->bytestream)
315 r[j] = av_int2float(half2float(AV_RL16(s->bytestream+0),
319 g[j] = av_int2float(half2float(AV_RL16(s->bytestream+2),
323 b[j] = av_int2float(half2float(AV_RL16(s->bytestream+4),
327 s->bytestream += 6;
342 r[j] = av_int2float(half2float(AV_RB16(s->bytestream+0),
346 g[j] = av_int2float(half2float(AV_RB16(s->bytestream+2),
350 b[j] = av_int2float(half2float(AV_RB16(s->bytestream+4),
354 s->bytestream += 6;
365 if (avctx->width * avctx->height * 4 > s->bytestream_end - s->bytestream)
372 g[j] = av_int2float(AV_RL32(s->bytestream)) * scale;
373 s->bytestream += 4;
381 g[j] = av_int2float(AV_RB32(s->bytestream)) * scale;
382 s->bytestream += 4;
388 if (avctx->width * avctx->height * 2 > s->bytestream_end - s->bytestream)
395 g[j] = av_int2float(half2float(AV_RL16(s->bytestream),
399 s->bytestream += 2;
407 g[j] = av_int2float(half2float(AV_RB16(s->bytestream),
411 s->bytestream += 2;
421 return s->bytestream - s->bytestream_start;