#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include "utils.c"
Go to the source code of this file.
Defines | |
#define | FIXP (1 << 16) |
#define | MY_PI 205887 |
#define | W 256 |
#define | H 256 |
Functions | |
static int64_t | int_pow (int64_t a, int p) |
static int64_t | int_sin (int64_t a) |
static int | ipol (uint8_t *src, int x, int y) |
static void | gen_image (int num, int w, int h) |
static int | init_demo (const char *filename) |
int | main (int argc, char **argv) |
Variables | |
static unsigned char | tab_r [256 *256] |
static unsigned char | tab_g [256 *256] |
static unsigned char | tab_b [256 *256] |
static int | h_cos [360] |
static int | h_sin [360] |
#define FIXP (1 << 16) |
#define H 256 |
Definition at line 116 of file rotozoom.c.
#define MY_PI 205887 |
#define W 256 |
Definition at line 115 of file rotozoom.c.
static int init_demo | ( | const char * | filename | ) | [static] |
static int64_t int_pow | ( | int64_t | a, | |
int | p | |||
) | [static] |
static int64_t int_sin | ( | int64_t | a | ) | [static] |
Definition at line 157 of file rotozoom.c.
unsigned char tab_b[256 *256] [static] |
unsigned char tab_g[256 *256] [static] |
unsigned char tab_r[256 *256] [static] |