#include "src/symbol_decoder_context.h"
#include <cassert>
#include <cstring>
#include <type_traits>
namespace libgav1 {
namespace {
#include "src/symbol_decoder_context_cdfs.inc"
uint8_t GetQuantizerContext(int base_quantizer_index) { … }
void ResetPartitionCounters(SymbolDecoderContext* const context) { … }
void ResetPaletteColorIndexCounters(SymbolDecoderContext* const context) { … }
void ResetTxTypeCounters(SymbolDecoderContext* const context) { … }
void ResetTxDepthCounters(SymbolDecoderContext* const context) { … }
void ResetUVModeCounters(SymbolDecoderContext* const context) { … }
}
#define CDF_COPY …
void SymbolDecoderContext::Initialize(int base_quantizer_index) { … }
void SymbolDecoderContext::ResetIntraFrameYModeCdf() { … }
#undef CDF_COPY
#define RESET_COUNTER_1D …
#define RESET_COUNTER_2D …
#define RESET_COUNTER_3D …
#define RESET_COUNTER_4D …
void SymbolDecoderContext::ResetCounters() { … }
#undef RESET_COUNTER_1D
#undef RESET_COUNTER_2D
#undef RESET_COUNTER_3D
#undef RESET_COUNTER_4D
int SymbolDecoderContext::PartitionCdfSize(int block_size_log2) { … }
}