mesa/src/intel/tools/error_decode_lib.h
Dylan Baker da14c0af67 intel/tools: move ascii85_decode to common code
We have 3 copies of this function, so put it in the shared static
library.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34118>
2025-04-02 19:26:55 +00:00

15 lines
310 B
C

/*
* Copyright 2024-2025 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <stdint.h>
#include <stdbool.h>
const char *ascii85_decode_char(const char *in, uint32_t *v);
int zlib_inflate(uint32_t **ptr, int len);
int ascii85_decode(const char *in, uint32_t **out, bool inflate);