about summary refs log tree commit diff
path: root/converter/other/fiasco/codec/subdivide.h
blob: dbd5620aab914c0445634a8f6f68f6b360da5bf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 *  subdivide.h
 *
 *  Written by:         Ullrich Hafner
 *
 *  This file is part of FIASCO (Fractal Image And Sequence COdec)
 *  Copyright (C) 1994-2000 Ullrich Hafner
 */

/*
 *  $Date: 2000/06/14 20:50:51 $
 *  $Author: hafner $
 *  $Revision: 5.1 $
 *  $State: Exp $
 */

#ifndef _SUBDIVIDE_H
#define _SUBDIVIDE_H

#include "types.h"
#include "cwfa.h"

real_t
subdivide (real_t max_costs, unsigned band, int y_state, range_t *range,
           wfa_t *wfa, coding_t *c, bool_t prediction, bool_t delta);
void
cut_to_bintree (real_t *dst, const word_t *src,
                unsigned src_width, unsigned src_height,
                unsigned x0, unsigned y0, unsigned width, unsigned height);

#endif /* not _SUBDIVIDE_H */