Struct libjxl :: jxl :: weighted :: State
struct State
{ ... };
State(Header header, size_t xsize, size_t ysize)
static auto AddBits(jxl::pixel_type_w x) -> jxl::pixel_type_w
auto ErrorWeight(uint64_t x, uint32_t maxweight) const -> uint32_t
template <_Bool compute_properties>
auto Predict(size_t x, size_t y, size_t xsize, jxl::pixel_type_w N, jxl::pixel_type_w W, jxl::pixel_type_w NE, jxl::pixel_type_w NW, jxl::pixel_type_w NN, jxl::Properties* properties, size_t offset) -> jxl::pixel_type_w
auto UpdateErrors(jxl::pixel_type_w val, size_t x, size_t y, size_t xsize) -> void
auto WeightedAverage(const jxl::pixel_type_w* p, std::array<uint32_t, kNumPredictors> w) const -> jxl::pixel_type_w
const uint32_t divlookup[64]
std::vector<int32_t> error
jxl::pixel_type_w pred
std::vector<uint32_t> pred_errors[4]
jxl::pixel_type_w prediction[4]