/*
 *  DSPPAD_RT Helper function for Pad block.
 *
 *  Copyright 1995-2000 The MathWorks, Inc.
 *  $Revision: 1.1 $  $Date: 2000/08/09 01:02:52 $
 */
#include "dsp_rt.h"

/*
 * Argument and function pointer caches:
 */
typedef struct {
    const void *u;
    void       *y;
    real_T      padValueRe;
    creal_T     padValueCplx;
    int_T       numInpRows;
    int_T       numInpCols;
    int_T       numOutRows;
    int_T       numOutCols;

    union {
        int_T numExtraRows;
        int_T bytesPerElement;
        int_T bytesPerInpCol;
    } opt1;

    union {
        int_T numExtraCols;
        int_T outputWidth;
        int_T bytesPerOutCol;
    } opt2;

} ArgsCache;

extern void padRowsColsDD(ArgsCache *args);
extern void padColsDD(ArgsCache *args);
extern void padRowsDD(ArgsCache *args);
extern void padRowsColsZZ(ArgsCache *args);
extern void padColsZZ(ArgsCache *args);
extern void padRowsZZ(ArgsCache *args);
extern void padRowsColsDZ(ArgsCache *args);
extern void padColsDZ(ArgsCache *args);
extern void padRowsDZ(ArgsCache *args);
extern void padCopyOnlyTruncateRows(ArgsCache *args);
extern void padCopyOnlyTruncateCols(ArgsCache *args);

/* [EOF] dsppad_rt.h */
