Searched refs:context_map (Results 1 – 2 of 2) sorted by relevance
402 uint8_t** context_map, in DecodeContextMap() argument418 *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() local826 &num_literal_htrees, &context_map, &br) || in BrotliDecompress()[all …]
575 void EncodeContextMap(const std::vector<int>& context_map, in EncodeContextMap() argument584 std::vector<int> transformed_symbols = MoveToFrontTransform(context_map); in EncodeContextMap()