Lines Matching defs:ref
109 avmv->source= -1 - bn->ref;
168 set_blocks(s, level, x, y, null_block.color[0], null_block.color[1], null_block.color[2], null_block.mx, null_block.my, null_block.ref, BLOCK_INTRA);
177 unsigned ref = 0;
178 int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref);
202 ref= get_symbol(&s->c, &s->block_state[128 + 1024 + 32*ref_context], 0);
203 if (ref >= s->ref_frames) {
204 av_log(s->avctx, AV_LOG_ERROR, "Invalid ref\n");
207 pred_mv(s, &mx, &my, ref, left, top, tr);
208 mx+= (unsigned)get_symbol(&s->c, &s->block_state[128 + 32*(mx_context + 16*!!ref)], 1);
209 my+= (unsigned)get_symbol(&s->c, &s->block_state[128 + 32*(my_context + 16*!!ref)], 1);
211 set_blocks(s, level, x, y, l, cb, cr, mx, my, ref, type);