blob: 30546836dc57ab384312d87b6fb090bb8f9bc78e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* See LICENSE file for copyright and license details. */
#include "libquanta.h"
#include <errno.h>
#include <limits.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#define PALETTE_BASE_SIZE offsetof(struct libquanta_palette, palette)
#define PALETTE_VALUE_TYPE uint64_t
#define PALETTE_VALUE_SIZE sizeof(PALETTE_VALUE_TYPE)
#define PALETTE_VALUE_MAX_BITS 64U
|