Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
histogram.h File Reference
#include <string.h>
#include "../common/constants.h"
#include "../common/context.h"
#include "../common/platform.h"
#include <brotli/types.h>
#include "./block_splitter.h"
#include "./command.h"
#include "./histogram_inc.h"

Go to the source code of this file.

Macros

#define BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS   544
 
#define FN(X)
 
#define DATA_SIZE   BROTLI_NUM_LITERAL_SYMBOLS
 
#define DataType   uint8_t
 
#define FN(X)
 
#define DataType   uint16_t
 
#define DATA_SIZE   BROTLI_NUM_COMMAND_SYMBOLS
 
#define FN(X)
 
#define DATA_SIZE   BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS
 

Functions

BROTLI_INTERNAL void BrotliBuildHistogramsWithContext (const Command *cmds, const size_t num_commands, const BlockSplit *literal_split, const BlockSplit *insert_and_copy_split, const BlockSplit *dist_split, const uint8_t *ringbuffer, size_t pos, size_t mask, uint8_t prev_byte, uint8_t prev_byte2, const ContextType *context_modes, HistogramLiteral *literal_histograms, HistogramCommand *insert_and_copy_histograms, HistogramDistance *copy_dist_histograms)
 

Macro Definition Documentation

◆ BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS

#define BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS   544

◆ DATA_SIZE [1/3]

#define DATA_SIZE   BROTLI_NUM_LITERAL_SYMBOLS

◆ DATA_SIZE [2/3]

#define DATA_SIZE   BROTLI_NUM_COMMAND_SYMBOLS

◆ DATA_SIZE [3/3]

#define DATA_SIZE   BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS

◆ DataType [1/2]

#define DataType   uint8_t

◆ DataType [2/2]

#define DataType   uint16_t

◆ FN [1/3]

#define FN ( X)
Value:
#define Literal
Definition LzmaDec.c:150
#define X(name, r, bit)
Definition cpu.h:110

◆ FN [2/3]

#define FN ( X)
Value:
Definition command.h:107

◆ FN [3/3]

#define FN ( X)
Value:
X ## Distance

Function Documentation

◆ BrotliBuildHistogramsWithContext()

BROTLI_INTERNAL void BrotliBuildHistogramsWithContext ( const Command * cmds,
const size_t num_commands,
const BlockSplit * literal_split,
const BlockSplit * insert_and_copy_split,
const BlockSplit * dist_split,
const uint8_t * ringbuffer,
size_t pos,
size_t mask,
uint8_t prev_byte,
uint8_t prev_byte2,
const ContextType * context_modes,
HistogramLiteral * literal_histograms,
HistogramCommand * insert_and_copy_histograms,
HistogramDistance * copy_dist_histograms )