view Meerwald/gray.h @ 22:d8551fb39a5e default tip

Added tag v0.6 for changeset 1c4ccd635a68
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Sat, 28 Jan 2023 23:57:51 +0100
parents be303a3f5ea8
children
line wrap: on
line source

#ifndef GRAY_H
#define GRAY_H

#include "wm.h"
#include "pgm.h"

gray **alloc_grays(int cols, int rows);
gray **alloc_grays_8x8();
void free_grays(gray **grays);
void copy_grays_to_block(gray ** block_grays, gray ** image_grays, int col, int row, int width, int height);
void copy_grays_from_block(gray ** image_grays, gray ** block_grays, int col, int row, int width, int height);
void print_grays(gray **grays, int col, int row, int width, int height);
void print_grays_8x8(gray **grays);
#endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.