Home
last modified time | relevance | path

Searched refs:nb_mbs (Results 1 – 1 of 1) sorted by relevance

/external/webp/src/enc/
Dframe_enc.c115 const int nb_mbs = enc->mb_w_ * enc->mb_h_; in FinalizeSkipProba() local
118 proba->skip_proba_ = CalcSkipProba(nb_events, nb_mbs); in FinalizeSkipProba()
123 + (nb_mbs - nb_events) * VP8BitCost(0, proba->skip_proba_); in FinalizeSkipProba()
575 int nb_mbs, int percent_delta, in OneStatPass() argument
581 const uint64_t pixel_count = nb_mbs * 384; in OneStatPass()
600 } while (VP8IteratorNext(&it) && --nb_mbs > 0); in OneStatPass()
625 int nb_mbs = enc->mb_w_ * enc->mb_h_; in StatLoop() local
634 nb_mbs = (nb_mbs > 200) ? nb_mbs >> 1 : 100; in StatLoop()
636 nb_mbs = (nb_mbs > 200) ? nb_mbs >> 2 : 50; in StatLoop()
645 OneStatPass(enc, rd_opt, nb_mbs, percent_per_pass, &stats); in StatLoop()