about summary refs log tree commit diff
path: root/converter/other/fiasco/codec/mwfa.h
blob: 1e35eef24ee8932821b14e8900cab9ec3c7c5e16 (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
34
35
36
37
38
39
40
41
42
43
44
/*
 *  mwfa.h
 *
 *  Written by:         Michael Unger
 *                      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 _MWFA_H
#define _MWFA_H

#include "types.h"
#include "image.h"
#include "wfa.h"
#include "cwfa.h"

void
fill_norms_table (unsigned x0, unsigned y0, unsigned level,
                  const wfa_info_t *wi, motion_t *mt);
void
find_B_frame_mc (word_t *mcpe, real_t price, range_t *range,
                 const wfa_info_t *wi, const motion_t *mt);
void
find_P_frame_mc (word_t *mcpe, real_t price, range_t *range,
                 const wfa_info_t *wi, const motion_t *mt);
void
subtract_mc (image_t *image, const image_t *past, const image_t *future,
             const wfa_t *wfa);
void
free_motion (motion_t *mt);
motion_t *
alloc_motion (const wfa_info_t *wi);

#endif /* not _MWFA_H */