Home
last modified time | relevance | path

Searched refs:lgblock (Results 1 – 7 of 7) sorted by relevance

/external/brotli/c/enc/
Dquality.h76 int lgblock = params->lgblock; in ComputeLgBlock() local
79 lgblock = params->lgwin; in ComputeLgBlock()
81 lgblock = 14; in ComputeLgBlock()
82 } else if (lgblock == 0) { in ComputeLgBlock()
83 lgblock = 16; in ComputeLgBlock()
84 if (params->quality >= 9 && params->lgwin > lgblock) { in ComputeLgBlock()
85 lgblock = BROTLI_MIN(int, 18, params->lgwin); in ComputeLgBlock()
88 lgblock = BROTLI_MIN(int, BROTLI_MAX_INPUT_BLOCK_BITS, in ComputeLgBlock()
89 BROTLI_MAX(int, BROTLI_MIN_INPUT_BLOCK_BITS, lgblock)); in ComputeLgBlock()
91 return lgblock; in ComputeLgBlock()
[all …]
Dparams.h35 int lgblock; member
Dringbuffer.h59 int tail_bits = params->lgblock; in RingBufferSetup()
Dencode.c120 return (size_t)1 << s->params.lgblock; in InputBlockSize()
153 state->params.lgblock = (int)value; in BrotliEncoderSetParameter()
684 s->params.lgblock = ComputeLgBlock(&s->params); in EnsureInitialized()
714 params->lgblock = 0; in BrotliEncoderInitParams()
1200 params.lgblock = ComputeLgBlock(&params); in BrotliCompressBufferQuality10()
1202 max_block_size = (size_t)1 << params.lgblock; in BrotliCompressBufferQuality10()
/external/brotli/python/
Dbrotli.py26 def compress(string, mode=MODE_GENERIC, quality=11, lgwin=22, lgblock=0): argument
49 lgblock=lgblock)
D_brotli.cc76 static int lgblock_convertor(PyObject *o, int *lgblock) { in lgblock_convertor() argument
82 if (!as_bounded_int(o, lgblock, 0, 24) || (*lgblock != 0 && *lgblock < 16)) { in lgblock_convertor()
175 int lgblock = -1; in brotli_Compressor_init() local
185 &lgblock_convertor, &lgblock); in brotli_Compressor_init()
197 if (lgblock != -1) in brotli_Compressor_init()
198 BrotliEncoderSetParameter(self->enc, BROTLI_PARAM_LGBLOCK, (uint32_t)lgblock); in brotli_Compressor_init()
Dbro.py150 lgblock=options.lgblock)