Lines Matching full:sqsumtype
48 #define ICV_MEAN_SDV_COI_CASE( worktype, sqsumtype, \
56 sq0 += (sqsumtype)(sqr_macro(t0)) + \
57 (sqsumtype)(sqr_macro(t1)); \
63 sq0 += (sqsumtype)(sqr_macro(t0)) + \
64 (sqsumtype)(sqr_macro(t1)); \
72 sq0 += (sqsumtype)(sqr_macro(t0)); \
76 #define ICV_MEAN_SDV_CASE_C1( worktype, sqsumtype, sqr_macro, len ) \
77 ICV_MEAN_SDV_COI_CASE( worktype, sqsumtype, sqr_macro, len, 1 )
80 #define ICV_MEAN_SDV_CASE_C2( worktype, sqsumtype, \
88 sq0 += (sqsumtype)(sqr_macro(t0)); \
90 sq1 += (sqsumtype)(sqr_macro(t1)); \
94 #define ICV_MEAN_SDV_CASE_C3( worktype, sqsumtype, \
103 sq0 += (sqsumtype)(sqr_macro(t0)); \
105 sq1 += (sqsumtype)(sqr_macro(t1)); \
107 sq2 += (sqsumtype)(sqr_macro(t2)); \
111 #define ICV_MEAN_SDV_CASE_C4( worktype, sqsumtype, \
119 sq0 += (sqsumtype)(sqr_macro(t0)); \
121 sq1 += (sqsumtype)(sqr_macro(t1)); \
127 sq2 += (sqsumtype)(sqr_macro(t0)); \
129 sq3 += (sqsumtype)(sqr_macro(t1)); \
133 #define ICV_MEAN_SDV_MASK_COI_CASE( worktype, sqsumtype, \
142 sq0 += sqsumtype(sqr_macro(t0)); \
149 sq0 += sqsumtype(sqr_macro(t0)); \
156 sq0 += sqsumtype(sqr_macro(t0)); \
163 sq0 += sqsumtype(sqr_macro(t0)); \
173 sq0 += sqsumtype(sqr_macro(t0)); \
178 #define ICV_MEAN_SDV_MASK_CASE_C1( worktype, sqsumtype, sqr_macro, len ) \
179 ICV_MEAN_SDV_MASK_COI_CASE( worktype, sqsumtype, sqr_macro, len, 1 )
182 #define ICV_MEAN_SDV_MASK_CASE_C2( worktype, sqsumtype,\
192 sq0 += sqsumtype(sqr_macro(t0)); \
194 sq1 += sqsumtype(sqr_macro(t1)); \
199 #define ICV_MEAN_SDV_MASK_CASE_C3( worktype, sqsumtype,\
210 sq0 += sqsumtype(sqr_macro(t0)); \
212 sq1 += sqsumtype(sqr_macro(t1)); \
214 sq2 += sqsumtype(sqr_macro(t2)); \
219 #define ICV_MEAN_SDV_MASK_CASE_C4( worktype, sqsumtype,\
229 sq0 += sqsumtype(sqr_macro(t0)); \
231 sq1 += sqsumtype(sqr_macro(t1)); \
235 sq2 += sqsumtype(sqr_macro(t0)); \
237 sq3 += sqsumtype(sqr_macro(t1)); \
249 #define ICV_MEAN_SDV_ENTRY_C1( sumtype, sqsumtype ) \
251 sqsumtype sq0 = 0; \
254 #define ICV_MEAN_SDV_ENTRY_C2( sumtype, sqsumtype ) \
256 sqsumtype sq0 = 0, sq1 = 0; \
259 #define ICV_MEAN_SDV_ENTRY_C3( sumtype, sqsumtype ) \
261 sqsumtype sq0 = 0, sq1 = 0, sq2 = 0; \
264 #define ICV_MEAN_SDV_ENTRY_C4( sumtype, sqsumtype ) \
266 sqsumtype sq0 = 0, sq1 = 0, sq2 = 0, sq3 = 0; \
274 #define ICV_MEAN_SDV_ENTRY_BLOCK_C1( sumtype, sqsumtype, \
277 sqsumtype sqsum0 = 0; \
282 #define ICV_MEAN_SDV_ENTRY_BLOCK_C2( sumtype, sqsumtype, \
285 sqsumtype sqsum0 = 0, sqsum1 = 0; \
290 #define ICV_MEAN_SDV_ENTRY_BLOCK_C3( sumtype, sqsumtype, \
293 sqsumtype sqsum0 = 0, sqsum1 = 0, sqsum2 = 0; \
298 #define ICV_MEAN_SDV_ENTRY_BLOCK_C4( sumtype, sqsumtype, \
301 sqsumtype sqsum0 = 0, sqsum1 = 0, sqsum2 = 0, sqsum3 = 0; \
374 sumtype, sqsumtype, worktype, \
381 ICV_MEAN_SDV_ENTRY_BLOCK_C##cn( sumtype, sqsumtype, \
410 sumtype, sqsumtype, worktype ) \
416 ICV_MEAN_SDV_ENTRY_C##cn( sumtype, sqsumtype ); \
423 ICV_MEAN_SDV_CASE_C##cn( worktype, sqsumtype, \
433 sumtype, sqsumtype, worktype, \
440 ICV_MEAN_SDV_ENTRY_BLOCK_C1( sumtype, sqsumtype, \
470 sumtype, sqsumtype, worktype )\
475 ICV_MEAN_SDV_ENTRY_C1( sumtype, sqsumtype ); \
483 ICV_MEAN_SDV_COI_CASE( worktype, sqsumtype, \
493 arrtype, sumtype, sqsumtype, worktype, \
501 ICV_MEAN_SDV_ENTRY_BLOCK_C##cn( sumtype, sqsumtype, \
529 sumtype, sqsumtype, worktype)\
536 ICV_MEAN_SDV_ENTRY_C##cn( sumtype, sqsumtype ); \
542 ICV_MEAN_SDV_MASK_CASE_C##cn( worktype, sqsumtype, \
552 arrtype, sumtype, sqsumtype, worktype, \
560 ICV_MEAN_SDV_ENTRY_BLOCK_C1( sumtype, sqsumtype, \
589 sumtype, sqsumtype, worktype ) \
596 ICV_MEAN_SDV_ENTRY_C1( sumtype, sqsumtype ); \
603 ICV_MEAN_SDV_MASK_COI_CASE( worktype, sqsumtype, \
612 #define ICV_DEF_MEAN_SDV_BLOCK_ALL( flavor, arrtype, sumtype, sqsumtype,\
614 ICV_DEF_MEAN_SDV_BLOCK_FUNC_2D( flavor, 1, arrtype, sumtype, sqsumtype, \
616 ICV_DEF_MEAN_SDV_BLOCK_FUNC_2D( flavor, 2, arrtype, sumtype, sqsumtype, \
618 ICV_DEF_MEAN_SDV_BLOCK_FUNC_2D( flavor, 3, arrtype, sumtype, sqsumtype, \
620 ICV_DEF_MEAN_SDV_BLOCK_FUNC_2D( flavor, 4, arrtype, sumtype, sqsumtype, \
622 ICV_DEF_MEAN_SDV_BLOCK_FUNC_2D_COI( flavor, arrtype, sumtype, sqsumtype,\
626 sqsumtype, worktype, sqworktype, block_size, sqr_macro ) \
628 sqsumtype, worktype, sqworktype, block_size, sqr_macro ) \
630 sqsumtype, worktype, sqworktype, block_size, sqr_macro ) \
632 sqsumtype, worktype, sqworktype, block_size, sqr_macro ) \
634 sqsumtype, worktype, sqworktype, block_size, sqr_macro )
636 #define ICV_DEF_MEAN_SDV_ALL( flavor, arrtype, sumtype, sqsumtype, worktype ) \
637 ICV_DEF_MEAN_SDV_FUNC_2D( flavor, 1, arrtype, sumtype, sqsumtype, worktype ) \
638 ICV_DEF_MEAN_SDV_FUNC_2D( flavor, 2, arrtype, sumtype, sqsumtype, worktype ) \
639 ICV_DEF_MEAN_SDV_FUNC_2D( flavor, 3, arrtype, sumtype, sqsumtype, worktype ) \
640 ICV_DEF_MEAN_SDV_FUNC_2D( flavor, 4, arrtype, sumtype, sqsumtype, worktype ) \
641 ICV_DEF_MEAN_SDV_FUNC_2D_COI( flavor, arrtype, sumtype, sqsumtype, worktype ) \
643 ICV_DEF_MEAN_SDV_MASK_FUNC_2D(flavor, 1, arrtype, sumtype, sqsumtype, worktype) \
644 ICV_DEF_MEAN_SDV_MASK_FUNC_2D(flavor, 2, arrtype, sumtype, sqsumtype, worktype) \
645 ICV_DEF_MEAN_SDV_MASK_FUNC_2D(flavor, 3, arrtype, sumtype, sqsumtype, worktype) \
646 ICV_DEF_MEAN_SDV_MASK_FUNC_2D(flavor, 4, arrtype, sumtype, sqsumtype, worktype) \
647 ICV_DEF_MEAN_SDV_MASK_FUNC_2D_COI( flavor, arrtype, sumtype, sqsumtype, worktype )