Lines Matching refs:flagsp
71 static INLINE void opj_t1_update_flags(opj_flag_t *flagsp, OPJ_UINT32 ci,
82 opj_flag_t *flagsp,
89 opj_flag_t *flagsp,
135 opj_flag_t *flagsp,
141 opj_flag_t *flagsp,
153 opj_flag_t *flagsp,
293 #define opj_t1_update_flags_macro(flags, flagsp, ci, s, stride, vsc) \ argument
296 flagsp[-1] |= T1_SIGMA_5 << (3U * ci); \
302 flagsp[1] |= T1_SIGMA_3 << (3U * ci); \
306 opj_flag_t* north = flagsp - (stride); \
314 opj_flag_t* south = flagsp + (stride); \
322 static INLINE void opj_t1_update_flags(opj_flag_t *flagsp, OPJ_UINT32 ci, in opj_t1_update_flags() argument
326 opj_t1_update_flags_macro(*flagsp, flagsp, ci, s, stride, vsc); in opj_t1_update_flags()
333 opj_flag_t *flagsp, in opj_t1_enc_sigpass_step() argument
346 OPJ_UINT32 const flags = *flagsp; in opj_t1_enc_sigpass_step()
363 *flagsp, in opj_t1_enc_sigpass_step()
364 flagsp[-1], flagsp[1], in opj_t1_enc_sigpass_step()
383 opj_t1_update_flags(flagsp, ci, v, t1->w + 2, vsc); in opj_t1_enc_sigpass_step()
385 *flagsp |= T1_PI_THIS << (ci * 3U); in opj_t1_enc_sigpass_step()
391 opj_flag_t *flagsp, in opj_t1_dec_sigpass_step_raw() argument
400 OPJ_UINT32 const flags = *flagsp; in opj_t1_dec_sigpass_step_raw()
407 opj_t1_update_flags(flagsp, ci, v, t1->w + 2, vsc); in opj_t1_dec_sigpass_step_raw()
409 *flagsp |= T1_PI_THIS << (ci * 3U); in opj_t1_dec_sigpass_step_raw()
413 #define opj_t1_dec_sigpass_step_mqc_macro(flags, flagsp, flags_stride, data, \ argument
425 flagsp[-1], flagsp[1], \
433 opj_t1_update_flags_macro(flags, flagsp, ci, v, flags_stride, vsc); \
441 opj_flag_t *flagsp, in opj_t1_dec_sigpass_step_mqc() argument
451 opj_t1_dec_sigpass_step_mqc_macro(*flagsp, flagsp, flags_stride, datap, in opj_t1_dec_sigpass_step_mqc()
565 opj_flag_t *flagsp = &T1_FLAGS(0, 0); in opj_t1_dec_sigpass_raw() local
571 for (k = 0; k < (t1->h & ~3U); k += 4, flagsp += 2, data += 3 * l_w) { in opj_t1_dec_sigpass_raw()
572 for (i = 0; i < l_w; ++i, ++flagsp, ++data) { in opj_t1_dec_sigpass_raw()
573 opj_flag_t flags = *flagsp; in opj_t1_dec_sigpass_raw()
577 flagsp, in opj_t1_dec_sigpass_raw()
584 flagsp, in opj_t1_dec_sigpass_raw()
591 flagsp, in opj_t1_dec_sigpass_raw()
598 flagsp, in opj_t1_dec_sigpass_raw()
607 for (i = 0; i < l_w; ++i, ++flagsp, ++data) { in opj_t1_dec_sigpass_raw()
611 flagsp, in opj_t1_dec_sigpass_raw()
626 register opj_flag_t *flagsp = &t1->flags[(flags_stride) + 1]; \
634 for (k = 0; k < (h & ~3u); k += 4, data += 3*l_w, flagsp += 2) { \
635 for (i = 0; i < l_w; ++i, ++data, ++flagsp) { \
636 opj_flag_t flags = *flagsp; \
639 flags, flagsp, flags_stride, data, \
642 flags, flagsp, flags_stride, data, \
645 flags, flagsp, flags_stride, data, \
648 flags, flagsp, flags_stride, data, \
650 *flagsp = flags; \
656 for (i = 0; i < l_w; ++i, ++data, ++flagsp) { \
658 opj_t1_dec_sigpass_step_mqc(t1, flagsp, \
719 opj_flag_t *flagsp, in opj_t1_enc_refpass_step() argument
732 (*flagsp >> (ci * 3U)); in opj_t1_enc_refpass_step()
748 *flagsp |= T1_MU_THIS << (ci * 3U); in opj_t1_enc_refpass_step()
755 opj_flag_t *flagsp, in opj_t1_dec_refpass_step_raw() argument
764 if ((*flagsp & ((T1_SIGMA_THIS | T1_PI_THIS) << (ci * 3U))) == in opj_t1_dec_refpass_step_raw()
768 *flagsp |= T1_MU_THIS << (ci * 3U); in opj_t1_dec_refpass_step_raw()
787 opj_flag_t *flagsp, in opj_t1_dec_refpass_step_mqc() argument
795 opj_t1_dec_refpass_step_mqc_macro(*flagsp, datap, 0, ci, in opj_t1_dec_refpass_step_mqc()
914 opj_flag_t *flagsp = &T1_FLAGS(0, 0); in opj_t1_dec_refpass_raw() local
918 for (k = 0; k < (t1->h & ~3U); k += 4, flagsp += 2, data += 3 * l_w) { in opj_t1_dec_refpass_raw()
919 for (i = 0; i < l_w; ++i, ++flagsp, ++data) { in opj_t1_dec_refpass_raw()
920 opj_flag_t flags = *flagsp; in opj_t1_dec_refpass_raw()
924 flagsp, in opj_t1_dec_refpass_raw()
930 flagsp, in opj_t1_dec_refpass_raw()
936 flagsp, in opj_t1_dec_refpass_raw()
942 flagsp, in opj_t1_dec_refpass_raw()
950 for (i = 0; i < l_w; ++i, ++flagsp, ++data) { in opj_t1_dec_refpass_raw()
954 flagsp, in opj_t1_dec_refpass_raw()
968 register opj_flag_t *flagsp = &t1->flags[flags_stride + 1]; \
975 for (k = 0; k < (h & ~3u); k += 4, data += 3*l_w, flagsp += 2) { \
976 for (i = 0; i < l_w; ++i, ++data, ++flagsp) { \
977 opj_flag_t flags = *flagsp; \
991 *flagsp = flags; \
997 for (i = 0; i < l_w; ++i, ++data, ++flagsp) { \
999 opj_t1_dec_refpass_step_mqc(t1, flagsp, data + j * l_w, poshalf, j); \
1035 opj_flag_t *flagsp, in opj_t1_enc_clnpass_step() argument
1052 if ((*flagsp & check) == check) { in opj_t1_enc_clnpass_step()
1054 *flagsp &= ~(T1_PI_0 | T1_PI_1 | T1_PI_2 | T1_PI_3); in opj_t1_enc_clnpass_step()
1056 *flagsp &= ~(T1_PI_1 | T1_PI_2 | T1_PI_3); in opj_t1_enc_clnpass_step()
1058 *flagsp &= ~(T1_PI_2 | T1_PI_3); in opj_t1_enc_clnpass_step()
1060 *flagsp &= ~(T1_PI_3); in opj_t1_enc_clnpass_step()
1070 flags = *flagsp; in opj_t1_enc_clnpass_step()
1089 *flagsp, in opj_t1_enc_clnpass_step()
1090 flagsp[-1], flagsp[1], in opj_t1_enc_clnpass_step()
1107 opj_t1_update_flags(flagsp, ci, v, t1->w + 2U, vsc); in opj_t1_enc_clnpass_step()
1110 *flagsp &= ~(T1_PI_THIS << (3U * ci)); in opj_t1_enc_clnpass_step()
1116 flags, flagsp, flags_stride, data, \ argument
1131 flags, flagsp[-1], flagsp[1], \
1137 opj_t1_update_flags_macro(flags, flagsp, ci, v, flags_stride, vsc); \
1145 opj_flag_t *flagsp, in opj_t1_dec_clnpass_step() argument
1155 *flagsp, flagsp, t1->w + 2U, datap, in opj_t1_dec_clnpass_step()
1252 register opj_flag_t *flagsp = &t1->flags[flags_stride + 1]; \
1258 for (k = 0; k < (h & ~3u); k += 4, data += 3*l_w, flagsp += 2) { \
1259 for (i = 0; i < l_w; ++i, ++data, ++flagsp) { \
1260 opj_flag_t flags = *flagsp; \
1275 flags, flagsp, flags_stride, data, \
1282 flags, flagsp, flags_stride, data, \
1289 flags, flagsp, flags_stride, data, \
1296 flags, flagsp, flags_stride, data, \
1303 flags, flagsp, flags_stride, data, \
1307 flags, flagsp, flags_stride, data, \
1311 flags, flagsp, flags_stride, data, \
1315 flags, flagsp, flags_stride, data, \
1319 *flagsp = flags & ~(T1_PI_0 | T1_PI_1 | T1_PI_2 | T1_PI_3); \
1324 for (i = 0; i < l_w; ++i, ++flagsp, ++data) { \
1326 opj_t1_dec_clnpass_step(t1, flagsp, data + j * l_w, oneplushalf, j, vsc); \
1328 *flagsp &= ~(T1_PI_0 | T1_PI_1 | T1_PI_2 | T1_PI_3); \