/*******************************************************************
                         resize interfaces
 *******************************************************************/
#ifndef RESIZE_H
#define RESIZE_H

#include "frame.h"

typedef struct {
	int width;

	int *weight;
	int *coordinates;
} H_RESIZE_PARAMETER;

#ifdef __cplusplus
extern "C" {
#endif

#ifndef RESIZE_C
extern void h_resize(FRAME *in, FRAME *out, H_RESIZE_PARAMETER *prm);
extern H_RESIZE_PARAMETER *create_h_resize_parameter(int original_width, int result_width);
extern void release_h_resize_parameter(H_RESIZE_PARAMETER *prm);
#endif

#ifdef __cplusplus
}
#endif

#endif
		