Lines Matching defs:run_index
179 int run_index;
447 int run_index= s->run_index;
488 while(run_count >= 1<<ff_log2_run[run_index]){
489 run_count -= 1<<ff_log2_run[run_index];
490 run_index++;
494 put_bits(&s->pb, 1 + ff_log2_run[run_index], run_count);
495 if(run_index) run_index--;
504 // printf("count:%d index:%d, mode:%d, x:%d y:%d pos:%d\n", run_count, run_index, run_mode, x, y, (int)put_bits_count(&s->pb));
511 while(run_count >= 1<<ff_log2_run[run_index]){
512 run_count -= 1<<ff_log2_run[run_index];
513 run_index++;
520 s->run_index= run_index;
529 s->run_index=0;
559 s->run_index=0;
1251 int run_index= s->run_index;
1273 run_count = 1<<ff_log2_run[run_index];
1274 if(x + run_count <= w) run_index++;
1276 if(ff_log2_run[run_index]) run_count = get_bits(&s->gb, ff_log2_run[run_index]);
1278 if(run_index) run_index--;
1293 // printf("count:%d index:%d, mode:%d, x:%d y:%d pos:%d\n", run_count, run_index, run_mode, x, y, get_bits_count(&s->gb));
1300 s->run_index= run_index;
1309 s->run_index=0;
1346 s->run_index=0;