/******************************************************************* resize interfaces *******************************************************************/ #ifndef RESIZE_H #define RESIZE_H #include "frame.h" #include "config.h" #include "sequence_header.h" typedef struct { int height; int width; int in_step; int in_offset; int out_step; int length; int tap; int **index; int **weight; } RESIZE_PARAMETER; #ifdef __cplusplus extern "C" { #endif #ifndef RESIZE_C extern FRAME *resize(FRAME *in, RESIZE_PARAMETER *prm); extern RESIZE_PARAMETER *create_resize_parameter(SEQUENCE_HEADER *seq, M2V_CONFIG *cfg); extern void release_resize_parameter(RESIZE_PARAMETER *prm); #endif #ifdef __cplusplus } #endif #endif