22#ifndef _MSTAT_H_INCLUDED_
23#define _MSTAT_H_INCLUDED_
65 unsigned nmppmCrc_32u(
const unsigned int* pSrcVec,
int height,
int width,
int stride);
66__INLINE__
unsigned nmppmCrc_32s(
const nm32s * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width ,stride ); }
67__INLINE__
unsigned nmppmCrc_64u(
const nm64u * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width<<1,stride<<1); }
68__INLINE__
unsigned nmppmCrc_64s(
const nm64s * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width<<1,stride<<1); }
69__INLINE__
unsigned nmppmCrc_16u(
const nm16u * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width>>1,stride>>1); }
70__INLINE__
unsigned nmppmCrc_16s(
const nm16s * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width>>1,stride>>1); }
71__INLINE__
unsigned nmppmCrc_8u (
const nm8s * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width>>2,stride>>2); }
72__INLINE__
unsigned nmppmCrc_8s (
const nm8s * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width>>2,stride>>2); }
73__INLINE__
unsigned nmppmCrc_4u (
const nm4s * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width>>3,stride>>3); }
74__INLINE__
unsigned nmppmCrc_4s (
const nm4s * pSrcVec,
int height,
int width,
int stride) {
return nmppmCrc_32u((
const unsigned*)pSrcVec, height, width>>3,stride>>3); }
77 unsigned nmppmCrcAcc_32u (
const unsigned int* pSrcVec,
int height,
int width,
int stride,
unsigned int* crc);
int nm32s
Definition: nmtype.h:292
unsigned short nm16u
Definition: nmtype.h:481
long long nm64s
Definition: nmtype.h:375
short nm16s
Definition: nmtype.h:243
void nm4s
Definition: nmtype.h:129
unsigned long long nm64u
Definition: nmtype.h:536
char nm8s
Definition: nmtype.h:167