1/*
2 * Copyright (c) 2013, ETH Zurich.
3 * All rights reserved.
4 *
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, CAB F.78, Universitaetstr 6, CH-8092 Zurich.
8 */
9
10#ifndef FDIF_H_
11#define FDIF_H_
12
13#include <stdio.h>
14#include <barrelfish/types.h>
15
16void play_with_fdif(void);
17
18struct gimage {
19  uint32_t       width;
20  uint32_t       height;
21  uint32_t       bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */
22  uint8_t    pixel_data[320 * 240];
23};
24
25//#define FDIF_DEBUG_ON 1
26
27#if defined(FDIF_DEBUG_ON) || defined(GLOBAL_DEBUG)
28#define FDIF_DEBUG(x...) debug_printf(x)
29#else
30#define FDIF_DEBUG(x...) ((void)0)
31#endif
32
33
34#endif // FDIF_H_
35