Lines Matching refs:p1
467 register vec_u8 p1,
477 tempmask = diff_lt_altivec(p1, p0, beta);
485 // out: newp1 = clip((p2 + ((p0 + q0 + 1) >> 1)) >> 1, p1-tc0, p1+tc0)
487 register vec_u8 p1,
505 max = vec_adds(p1, tc0);
506 min = vec_subs(p1, tc0);
512 #define h264_deblock_p0_q0(p0, p1, q0, q1, tc0masked) { \
526 stage1 = vec_avg(p1, q1minus); /* (p1 - q1 + 256)>>1 */ \
527 stage2 = vec_sr(stage1, vec_splat_u8(1)); /* (p1 - q1 + 256)>>2 = 64 + (p1 - q1) >> 2 */ \
531 stage2 = vec_avg(stage2, pq0bit); /* 32 + ((q0 - p0)&1 + (p1 - q1) >> 2 + 1) >> 1 */ \
532 stage2 = vec_adds(stage2, stage1); /* 160 + ((p0 - q0) + (p1 - q1) >> 2 + 1) >> 1 */ \
544 #define h264_loop_filter_luma_altivec(p2, p1, p0, q0, q1, q2, alpha, beta, tc0) { \
562 mask = h264_deblock_mask(p0, p1, q0, q1, alphavec, betavec); /*if in block */ \
575 newp1 = h264_deblock_q1(p0, p1, p2, q0, tc0masked); \
585 h264_deblock_p0_q0(p0, p1, q0, q1, finaltc0); \
586 p1 = newp1; \
594 register vec_u8 p1 = vec_ld(-2*stride, pix);
599 h264_loop_filter_luma_altivec(p2, p1, p0, q0, q1, q2, alpha, beta, tc0);
600 vec_st(p1, -2*stride, pix);