☰
BlockCtxMap
struct
BlockCtxMap
Static Data Members
kDefaultCtxMap
Static Methods
BlockCtxMap
Methods
Context
NonZeroContext
NumACContexts
ZeroDensityContextsOffset
Data Members
ctx_map
dc_thresholds
num_ctxs
num_dc_ctxs
qf_thresholds
Struct
libjxl
::
jxl
::
BlockCtxMap
struct
BlockCtxMap
{ ... };
Static Data Members
static
const
uint8_t
kDefaultCtxMap
[39]
Static Methods
BlockCtxMap
()
Methods
auto
Context
(int dc_idx, uint32_t qf, size_t ord, size_t c) const -> size_t
auto
NonZeroContext
(uint32_t non_zeros, uint32_t block_ctx) const -> uint32_t
auto
NumACContexts
() const -> uint32_t
auto
ZeroDensityContextsOffset
(uint32_t block_ctx) const -> uint32_t
Data Members
std::vector<uint8_t>
ctx_map
std::vector<int>
dc_thresholds
[3]
size_t
num_ctxs
size_t
num_dc_ctxs
std::vector<uint32_t>
qf_thresholds