Lines Matching refs:next_cidx
250 int x,y,i, in_cidx=0, next_cidx=0, tmp_cidx;
259 fill_from_cache(ctx, NULL, &in_cidx, &next_cidx, ci, scale);
278 if(next_cidx < mb->cache_allocated){
279 mb->next_cache[next_cidx ].p[0]= cr;
280 mb->next_cache[next_cidx ].p[1]= ci;
281 mb->next_cache[next_cidx++].val = color[x + y*linesize];
382 if(next_cidx < mb->cache_allocated){
383 mb->next_cache[next_cidx ].p[0]= cr;
384 mb->next_cache[next_cidx ].p[1]= ci;
385 mb->next_cache[next_cidx++].val = c;
388 fill_from_cache(ctx, NULL, &in_cidx, &next_cidx, ci + scale/2, scale);
391 mb->cache_used = next_cidx;