Searched refs:ideal_code_length (Results 1 – 1 of 1) sorted by relevance
61 std::vector<double> ideal_code_length(histogram.size()); in RangeEncodeDecodeTest() local63 for (int i = 0; i < ideal_code_length.size(); ++i) { in RangeEncodeDecodeTest()64 ideal_code_length[i] = -std::log2((cdf[i + 1] - cdf[i]) / normalizer); in RangeEncodeDecodeTest()72 ideal_length += ideal_code_length[x]; in RangeEncodeDecodeTest()