• Home
  • Raw
  • Download

Lines Matching refs:bytestream

52     s->bytestream       = (uint8_t *)buf;  in pnm_decode_frame()
128 if (n * avctx->height > s->bytestream_end - s->bytestream) in pnm_decode_frame()
138 … while(s->bytestream < s->bytestream_end && (*s->bytestream < '0' || *s->bytestream > '9' )) in pnm_decode_frame()
139 s->bytestream++; in pnm_decode_frame()
140 if(s->bytestream >= s->bytestream_end) in pnm_decode_frame()
144 v = (*s->bytestream++)&1; in pnm_decode_frame()
149 c = (*s->bytestream++) - '0'; in pnm_decode_frame()
168 samplecpy(ptr, s->bytestream, n, s->maxval); in pnm_decode_frame()
172 ptr[j] = (s->bytestream[j] * f + 64) >> 7; in pnm_decode_frame()
176 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
180 s->bytestream += n; in pnm_decode_frame()
196 if (n * avctx->height * 3 / 2 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
199 samplecpy(ptr, s->bytestream, n, s->maxval); in pnm_decode_frame()
200 s->bytestream += n; in pnm_decode_frame()
208 samplecpy(ptr1, s->bytestream, n, s->maxval); in pnm_decode_frame()
209 s->bytestream += n; in pnm_decode_frame()
210 samplecpy(ptr2, s->bytestream, n, s->maxval); in pnm_decode_frame()
211 s->bytestream += n; in pnm_decode_frame()
226 if (n * avctx->height * 3 / 2 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
230 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
233 s->bytestream += n; in pnm_decode_frame()
242 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
245 s->bytestream += n; in pnm_decode_frame()
248 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
251 s->bytestream += n; in pnm_decode_frame()
259 if (avctx->width * avctx->height * 12 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
270 r[j] = av_int2float(AV_RL32(s->bytestream+0)) * scale; in pnm_decode_frame()
271 g[j] = av_int2float(AV_RL32(s->bytestream+4)) * scale; in pnm_decode_frame()
272 b[j] = av_int2float(AV_RL32(s->bytestream+8)) * scale; in pnm_decode_frame()
273 s->bytestream += 12; in pnm_decode_frame()
288 r[j] = av_int2float(AV_RB32(s->bytestream+0)) * scale; in pnm_decode_frame()
289 g[j] = av_int2float(AV_RB32(s->bytestream+4)) * scale; in pnm_decode_frame()
290 b[j] = av_int2float(AV_RB32(s->bytestream+8)) * scale; in pnm_decode_frame()
291 s->bytestream += 12; in pnm_decode_frame()
301 if (avctx->width * avctx->height * 4 > s->bytestream_end - s->bytestream) in pnm_decode_frame()
308 g[j] = av_int2float(AV_RL32(s->bytestream)) * scale; in pnm_decode_frame()
309 s->bytestream += 4; in pnm_decode_frame()
317 g[j] = av_int2float(AV_RB32(s->bytestream)) * scale; in pnm_decode_frame()
318 s->bytestream += 4; in pnm_decode_frame()
327 return s->bytestream - s->bytestream_start; in pnm_decode_frame()