Lines Matching refs:run_count
448 int run_count=0;
488 while(run_count >= 1<<ff_log2_run[run_index]){
489 run_count -= 1<<ff_log2_run[run_index];
494 put_bits(&s->pb, 1 + ff_log2_run[run_index], run_count);
496 run_count=0;
500 run_count++;
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];
517 if(run_count)
1249 int run_count=0;
1271 if(run_count==0 && run_mode==1){
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]);
1277 else run_count=0;
1282 run_count--;
1283 if(run_count < 0){
1285 run_count=0;
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));