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