Lines Matching refs:ri
37 static void roqvideo_decode_frame(RoqContext *ri, GetByteContext *gb)
59 ri->cb2x2[i].y[0] = bytestream2_get_byte(gb);
60 ri->cb2x2[i].y[1] = bytestream2_get_byte(gb);
61 ri->cb2x2[i].y[2] = bytestream2_get_byte(gb);
62 ri->cb2x2[i].y[3] = bytestream2_get_byte(gb);
63 ri->cb2x2[i].u = bytestream2_get_byte(gb);
64 ri->cb2x2[i].v = bytestream2_get_byte(gb);
68 ri->cb4x4[i].idx[j] = bytestream2_get_byte(gb);
76 av_log(ri->avctx, AV_LOG_ERROR, "Chunk does not fit in input buffer\n");
84 av_log(ri->avctx, AV_LOG_VERBOSE, "Chunk is too short\n");
101 ff_apply_motion_8x8(ri, xp, yp, mx, my);
105 qcell = ri->cb4x4 + bytestream2_get_byte(gb);
106 ff_apply_vector_4x4(ri, xp, yp, ri->cb2x2 + qcell->idx[0]);
107 ff_apply_vector_4x4(ri, xp + 4, yp, ri->cb2x2 + qcell->idx[1]);
108 ff_apply_vector_4x4(ri, xp, yp + 4, ri->cb2x2 + qcell->idx[2]);
109 ff_apply_vector_4x4(ri, xp + 4, yp + 4, ri->cb2x2 + qcell->idx[3]);
118 av_log(ri->avctx, AV_LOG_VERBOSE, "Chunk is too short\n");
134 ff_apply_motion_4x4(ri, x, y, mx, my);
138 qcell = ri->cb4x4 + bytestream2_get_byte(gb);
139 ff_apply_vector_2x2(ri, x, y, ri->cb2x2 + qcell->idx[0]);
140 ff_apply_vector_2x2(ri, x + 2, y, ri->cb2x2 + qcell->idx[1]);
141 ff_apply_vector_2x2(ri, x, y + 2, ri->cb2x2 + qcell->idx[2]);
142 ff_apply_vector_2x2(ri, x + 2, y + 2, ri->cb2x2 + qcell->idx[3]);
145 ff_apply_vector_2x2(ri, x, y, ri->cb2x2 + bytestream2_get_byte(gb));
146 ff_apply_vector_2x2(ri, x + 2, y, ri->cb2x2 + bytestream2_get_byte(gb));
147 ff_apply_vector_2x2(ri, x, y + 2, ri->cb2x2 + bytestream2_get_byte(gb));
148 ff_apply_vector_2x2(ri, x + 2, y + 2, ri->cb2x2 + bytestream2_get_byte(gb));
159 if (xpos >= ri->width) {
160 xpos -= ri->width;
163 if(ypos >= ri->height)