Home
last modified time | relevance | path

Searched refs:context_map (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/brotli/src/brotli/dec/
Ddecode.c402 uint8_t** context_map, in DecodeContextMap() argument
418 *context_map = (uint8_t*)malloc((size_t)context_map_size); in DecodeContextMap()
419 if (*context_map == 0) { in DecodeContextMap()
423 memset(*context_map, 0, (size_t)context_map_size); in DecodeContextMap()
448 (*context_map)[i] = 0; in DecodeContextMap()
457 (*context_map)[i] = 0; in DecodeContextMap()
461 (*context_map)[i] = (uint8_t)(code - max_run_length_prefix); in DecodeContextMap()
466 InverseMoveToFrontTransform(*context_map, context_map_size); in DecodeContextMap()
737 uint8_t* context_map = NULL; in BrotliDecompress() local
826 &num_literal_htrees, &context_map, &br) || in BrotliDecompress()
[all …]
/external/chromium_org/third_party/brotli/src/brotli/enc/
Dencode.cc575 void EncodeContextMap(const std::vector<int>& context_map, in EncodeContextMap() argument
584 std::vector<int> transformed_symbols = MoveToFrontTransform(context_map); in EncodeContextMap()