summaryrefslogtreecommitdiff
path: root/common/pamdump.h
blob: af83f8ba183d9af1a5d13cd7edb8beac83fafd17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef PAMDUMP_H
#define PAMDUMP_H

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>

void dump_pam(const uint32_t *ptr, unsigned pitch, bool alpha,
	unsigned x1, unsigned y1, unsigned x2, unsigned y2,
	const char *fmt, ...)
	__attribute__ ((__format__ (__printf__, 8, 9)));

#endif