/*
 * File: _coder_MLS_api.h
 *
 * MATLAB Coder version            : 3.4
 * C/C++ source code generated on  : 27-Feb-2019 07:49:44
 */

#ifndef _CODER_MLS_API_H
#define _CODER_MLS_API_H

/* Include Files */
#include "tmwtypes.h"
#include "mex.h"
#include "emlrt.h"
#include <stddef.h>
#include <stdlib.h>
#include "_coder_MLS_api.h"

/* Type Definitions */
#ifndef struct_emxArray_char_T
#define struct_emxArray_char_T

struct emxArray_char_T
{
  char_T *data;
  int32_T *size;
  int32_T allocatedSize;
  int32_T numDimensions;
  boolean_T canFreeData;
};

#endif                                 /*struct_emxArray_char_T*/

#ifndef typedef_emxArray_char_T
#define typedef_emxArray_char_T

typedef struct emxArray_char_T emxArray_char_T;

#endif                                 /*typedef_emxArray_char_T*/

#ifndef struct_emxArray_real_T
#define struct_emxArray_real_T

struct emxArray_real_T
{
  real_T *data;
  int32_T *size;
  int32_T allocatedSize;
  int32_T numDimensions;
  boolean_T canFreeData;
};

#endif                                 /*struct_emxArray_real_T*/

#ifndef typedef_emxArray_real_T
#define typedef_emxArray_real_T

typedef struct emxArray_real_T emxArray_real_T;

#endif                                 /*typedef_emxArray_real_T*/

#ifndef typedef_struct0_T
#define typedef_struct0_T

typedef struct {
  emxArray_real_T *w_i;
  emxArray_real_T *sum_w_i;
  emxArray_real_T *p_ast;
  emxArray_real_T *Similarity;
} struct0_T;

#endif                                 /*typedef_struct0_T*/

/* Variable Declarations */
extern emlrtCTX emlrtRootTLSGlobal;
extern emlrtContext emlrtContextGlobal;

/* Function Declarations */
extern void MLS(uint8_T oldImg[921600], emxArray_char_T *type, real_T alpha,
                emxArray_real_T *p, emxArray_real_T *q, emxArray_real_T *v,
                real_T imgSize[2], real_T grid_size[2], struct0_T *pre, uint8_T
                newImg[921600]);
extern void MLS_api(const mxArray *prhs[9], const mxArray *plhs[5]);
extern void MLS_atexit(void);
extern void MLS_initialize(void);
extern void MLS_terminate(void);
extern void MLS_xil_terminate(void);

#endif

/*
 * File trailer for _coder_MLS_api.h
 *
 * [EOF]
 */
