• Home
  • Raw
  • Download

Lines Matching refs:bytestream

54     const uint8_t *bytestream = avpkt->data;  in vcr1_decode_frame()  local
55 const uint8_t *bytestream_end = bytestream + avpkt->size; in vcr1_decode_frame()
69 a->delta[i] = *bytestream++; in vcr1_decode_frame()
70 bytestream++; in vcr1_decode_frame()
81 av_assert0 (bytestream_end - bytestream >= 4 + avctx->width); in vcr1_decode_frame()
84 a->offset[i] = *bytestream++; in vcr1_decode_frame()
86 offset = a->offset[0] - a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame()
88 luma[0] = offset += a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame()
89 luma[1] = offset += a->delta[bytestream[2] >> 4]; in vcr1_decode_frame()
90 luma[2] = offset += a->delta[bytestream[0] & 0xF]; in vcr1_decode_frame()
91 luma[3] = offset += a->delta[bytestream[0] >> 4]; in vcr1_decode_frame()
94 *cb++ = bytestream[3]; in vcr1_decode_frame()
95 *cr++ = bytestream[1]; in vcr1_decode_frame()
97 bytestream += 4; in vcr1_decode_frame()
100 av_assert0 (bytestream_end - bytestream >= avctx->width / 2); in vcr1_decode_frame()
102 offset = a->offset[y & 3] - a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame()
105 luma[0] = offset += a->delta[bytestream[2] & 0xF]; in vcr1_decode_frame()
106 luma[1] = offset += a->delta[bytestream[2] >> 4]; in vcr1_decode_frame()
107 luma[2] = offset += a->delta[bytestream[3] & 0xF]; in vcr1_decode_frame()
108 luma[3] = offset += a->delta[bytestream[3] >> 4]; in vcr1_decode_frame()
109 luma[4] = offset += a->delta[bytestream[0] & 0xF]; in vcr1_decode_frame()
110 luma[5] = offset += a->delta[bytestream[0] >> 4]; in vcr1_decode_frame()
111 luma[6] = offset += a->delta[bytestream[1] & 0xF]; in vcr1_decode_frame()
112 luma[7] = offset += a->delta[bytestream[1] >> 4]; in vcr1_decode_frame()
114 bytestream += 4; in vcr1_decode_frame()
121 return bytestream - avpkt->data; in vcr1_decode_frame()