📄 ippdefs.h
字号:
typedef struct {
Ipp16s re;
Ipp16s im;
} Ipp16sc;
typedef struct {
Ipp32s re;
Ipp32s im;
} Ipp32sc;
typedef struct {
Ipp32f re;
Ipp32f im;
} Ipp32fc;
typedef struct {
Ipp64s re;
Ipp64s im;
} Ipp64sc;
typedef struct {
Ipp64f re;
Ipp64f im;
} Ipp64fc;
typedef enum {
ippRndZero,
ippRndNear
} IppRoundMode;
typedef enum {
ippAlgHintNone,
ippAlgHintFast,
ippAlgHintAccurate
} IppHintAlgorithm;
typedef enum {
ippCmpLess,
ippCmpLessEq,
ippCmpEq,
ippCmpGreaterEq,
ippCmpGreater
} IppCmpOp;
enum {
IPP_FFT_DIV_FWD_BY_N = 1,
IPP_FFT_DIV_INV_BY_N = 2,
IPP_FFT_DIV_BY_SQRTN = 4,
IPP_FFT_NODIV_BY_ANY = 8
};
typedef enum {
ipp1u,
ipp8u, ipp8s,
ipp16u, ipp16s, ipp16sc,
ipp32u, ipp32s, ipp32sc,
ipp32f, ipp32fc,
ipp64u, ipp64s, ipp64sc,
ipp64f, ipp64fc
} IppDataType;
typedef struct {
int x;
int y;
int width;
int height;
} IppiRect;
typedef struct {
int x;
int y;
} IppiPoint;
typedef struct {
int width;
int height;
} IppiSize;
enum {
IPP_UPPER = 1,
IPP_LEFT = 2,
IPP_CENTER = 4,
IPP_RIGHT = 8,
IPP_LOWER = 16,
IPP_UPPER_LEFT = 32,
IPP_UPPER_RIGHT = 64,
IPP_LOWER_LEFT = 128,
IPP_LOWER_RIGHT = 256
};
typedef enum { ippFalse = 0, ippTrue = 1 } IppBool;
typedef enum {ippWinBartlett,ippWinBlackman,ippWinHamming,ippWinHann,ippWinRect} IppWinType;
/* /////////////////////////////////////////////////////////////////////////////
// The following enumerator defines a status of IPP operations
// negative value means error
*/
typedef enum {
/* errors */
ippStsNotSupportedModeErr = -9999, /* The requested mode is currently not supported */
ippStsCpuNotSupportedErr = -9998, /* The target cpu is not supported */
ippStsNotPosDefErr = -179, /* Not positive-definite matrix */
ippStsEphemeralKeyErr = -178, /* ECC: Bad ephemeral key */
ippStsMessageErr = -177, /* ECC: Bad message digest */
ippStsShareKeyErr = -176, /* ECC: Invalid share key */
ippStsIvalidPublicKey = -175, /* ECC: Invalid public key */
ippStsIvalidPrivateKey = -174, /* ECC: Invalid private key */
ippStsOutOfECErr = -173, /* ECC: Point out of EC */
ippStsECCInvalidFlagErr = -172, /* ECC: Invalid Flag */
ippStsMP3FrameHeaderErr = -171, /* Error in fields IppMP3FrameHeader structure */
ippStsMP3SideInfoErr = -170, /* Error in fields IppMP3SideInfo structure */
ippStsBlockStepErr = -169, /* Step for Block less than 8 */
ippStsMBStepErr = -168, /* Step for MB less than 16 */
ippStsAacPrgNumErr = -167, /* AAC: Invalid number of elements for one program */
ippStsAacSectCbErr = -166, /* AAC: Invalid section codebook */
ippStsAacSfValErr = -164, /* AAC: Invalid scalefactor value */
ippStsAacCoefValErr = -163, /* AAC: Invalid quantized coefficient value */
ippStsAacMaxSfbErr = -162, /* AAC: Invalid coefficient index */
ippStsAacPredSfbErr = -161, /* AAC: Invalid predicted coefficient index */
ippStsAacPlsDataErr = -160, /* AAC: Invalid pulse data attributes */
ippStsAacGainCtrErr = -159, /* AAC: Gain control not supported */
ippStsAacSectErr = -158, /* AAC: Invalid number of sections */
ippStsAacTnsNumFiltErr = -157, /* AAC: Invalid number of TNS filters */
ippStsAacTnsLenErr = -156, /* AAC: Invalid TNS region length */
ippStsAacTnsOrderErr = -155, /* AAC: Invalid order of TNS filter */
ippStsAacTnsCoefResErr = -154, /* AAC: Invalid bit-resolution for TNS filter coefficients */
ippStsAacTnsCoefErr = -153, /* AAC: Invalid TNS filter coefficients */
ippStsAacTnsDirectErr = -152, /* AAC: Invalid TNS filter direction */
ippStsAacTnsProfileErr = -151, /* AAC: Invalid TNS profile */
ippStsAacErr = -150, /* AAC: Internal error */
ippStsAacBitOffsetErr = -149, /* AAC: Invalid current bit offset in bitstream */
ippStsAacAdtsSyncWordErr = -148, /* AAC: Invalid ADTS syncword */
ippStsAacSmplRateIdxErr = -147, /* AAC: Invalid sample rate index */
ippStsAacWinLenErr = -146, /* AAC: Invalid window length (not short or long) */
ippStsAacWinGrpErr = -145, /* AAC: Invalid number of groups for current window length */
ippStsAacWinSeqErr = -144, /* AAC: Invalid window sequence range */
ippStsAacComWinErr = -143, /* AAC: Invalid common window flag */
ippStsAacStereoMaskErr = -142, /* AAC: Invalid stereo mask */
ippStsAacChanErr = -141, /* AAC: Invalid channel number */
ippStsAacMonoStereoErr = -140, /* AAC: Invalid mono-stereo flag */
ippStsAacStereoLayerErr = -139, /* AAC: Invalid this Stereo Layer flag */
ippStsAacMonoLayerErr = -138, /* AAC: Invalid this Mono Layer flag */
ippStsAacScalableErr = -137, /* AAC: Invalid scalable object flag */
ippStsAacObjTypeErr = -136, /* AAC: Invalid audio object type */
ippStsAacWinShapeErr = -135, /* AAC: Invalid window shape */
ippStsAacPcmModeErr = -134, /* AAC: Invalid PCM output interleaving indicator */
ippStsVLCUsrTblHeaderErr = -133, /* VLC: Invalid header inside table */
ippStsVLCUsrTblUnsupportedFmtErr = -132, /* VLC: Unsupported table format */
ippStsVLCUsrTblEscAlgTypeErr = -131, /* VLC: Unsupported Ecs-algorithm */
ippStsVLCUsrTblEscCodeLengthErr = -130, /* VLC: Incorrect Esc-code length inside table header */
ippStsVLCUsrTblCodeLengthErr = -129, /* VLC: Unsupported code length inside table */
ippStsVLCInternalTblErr = -128, /* VLC: Invalid internal table */
ippStsVLCInputDataErr = -127, /* VLC: Invalid input data */
ippStsVLCAACEscCodeLengthErr = -126, /* VLC: Invalid AAC-Esc code length */
ippStsNoiseRangeErr = -125, /* Noise value for Wiener Filter is out range. */
ippStsUnderRunErr = -124, /* Data under run error */
ippStsPaddingErr = -123, /* Detected padding error shows the possible data corruption */
ippStsCFBSizeErr = -122, /* Wrong value for crypto CFB block size */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -