Lines Matching defs:ref
1481 int ref = 0;
1497 ref++;
1499 if(ref >= 32 /*h->ref_list[list]*/){
1503 return ref;
2114 int i, j, sub_partition_count[4], list, ref[2][4];
2146 ref[list][i] = decode_cabac_mb_ref(sl, list, 4 * i);
2147 if (ref[list][i] >= rc) {
2148 av_log(h->avctx, AV_LOG_ERROR, "Reference %d >= %d\n", ref[list][i], rc);
2152 ref[list][i] = 0;
2154 ref[list][i] = -1;
2157 sl->ref_cache[list][scan8[4 * i] + 8] = sl->ref_cache[list][scan8[4 * i] + 9] = ref[list][i];
2230 int ref;
2233 ref= decode_cabac_mb_ref(sl, list, 0);
2234 if (ref >= rc) {
2235 av_log(h->avctx, AV_LOG_ERROR, "Reference %d >= %d\n", ref, rc);
2239 ref=0;
2240 fill_rectangle(&sl->ref_cache[list][ scan8[0] ], 4, 4, 8, ref, 1);
2259 int ref;
2262 ref= decode_cabac_mb_ref(sl, list, 8 * i);
2263 if (ref >= rc) {
2264 av_log(h->avctx, AV_LOG_ERROR, "Reference %d >= %d\n", ref, rc);
2268 ref=0;
2269 fill_rectangle(&sl->ref_cache[list][ scan8[0] + 16*i ], 4, 2, 8, ref, 1);
2295 int ref;
2298 ref = decode_cabac_mb_ref(sl, list, 4 * i);
2299 if (ref >= rc) {
2300 av_log(h->avctx, AV_LOG_ERROR, "Reference %d >= %d\n", ref, rc);
2304 ref=0;
2305 fill_rectangle(&sl->ref_cache[list][ scan8[0] + 2*i ], 2, 4, 8, ref, 1);