/*
 *  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: 2019/05/31 19:44:44 $
 *  $Author: ckyos9(Rachel_King) $
 *  $Revision: 1.1.1.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 */

