Lines Matching refs:sfwork
1012 tryGlobalStepsize(const algo_t * that, const int sfwork[SFBMAX],
1019 gain = sfwork[i] + delta;
1041 searchGlobalStepsizeMax(const algo_t * that, const int sfwork[SFBMAX],
1054 nbits = tryGlobalStepsize(that, sfwork, vbrsfmin, curr - gain);
1068 nbits = tryGlobalStepsize(that, sfwork, vbrsfmin, curr - gain);
1075 sfDepth(const int sfwork[SFBMAX])
1080 int const di = 255 - sfwork[i];
1084 assert(sfwork[i] >= 0);
1085 assert(sfwork[i] <= 255);
1094 cutDistribution(const int sfwork[SFBMAX], int sf_out[SFBMAX], int cut)
1098 int const x = sfwork[i];
1105 flattenDistribution(const int sfwork[SFBMAX], int sf_out[SFBMAX], int dm, int k, int p)
1111 int const di = p - sfwork[i];
1112 x = sfwork[i] + (k * di) / dm;
1129 x = sfwork[i];
1155 outOfBitsStrategy(algo_t const* that, const int sfwork[SFBMAX], const int vbrsfmin[SFBMAX], int target)
1158 int const dm = sfDepth(sfwork);
1169 int const sfmax = flattenDistribution(sfwork, wrk, dm, bi, p);
1187 int const sfmax = flattenDistribution(sfwork, wrk, dm, bi_ok, p);
1201 int const sfmax = flattenDistribution(sfwork, wrk, dm, dm, bi);
1219 int const sfmax = flattenDistribution(sfwork, wrk, dm, dm, bi_ok);
1301 int *sfwork = sfwork_[gr][ch];
1305 vbrmax = block_sf(that, l3_xmin[gr][ch], sfwork, vbrsfmin);
1306 that->alloc(that, sfwork, vbrsfmin, vbrmax);
1559 int *sfwork = sfwork_[gr][ch];
1561 cutDistribution(sfwork, sfwork, that->cod_info->global_gain);
1562 outOfBitsStrategy(that, sfwork, vbrsfmin, max_nbits_ch[gr][ch]);