Lines Matching refs:daw
89 uint32_t daw, dah; in RGA_gen_two_pro() local
92 daw = dah = 0; in RGA_gen_two_pro()
116 daw = (msg->src.act_w + 1) >> 1; in RGA_gen_two_pro()
117 if((IS_YUV_420(msg->dst.format)) && (daw & 1)) { in RGA_gen_two_pro()
118 daw -= 1; in RGA_gen_two_pro()
119 msg->src.act_w = daw << 1; in RGA_gen_two_pro()
123 daw = (msg->src.act_w + 3) >> 2; in RGA_gen_two_pro()
124 if((IS_YUV_420(msg->dst.format)) && (daw & 1)) { in RGA_gen_two_pro()
125 daw -= 1; in RGA_gen_two_pro()
126 msg->src.act_w = daw << 2; in RGA_gen_two_pro()
130 daw = (msg->src.act_w + 7) >> 3; in RGA_gen_two_pro()
131 if((IS_YUV_420(msg->dst.format)) && (daw & 1)) { in RGA_gen_two_pro()
132 daw -= 1; in RGA_gen_two_pro()
133 msg->src.act_w = daw << 3; in RGA_gen_two_pro()
138 daw = msg->src.act_w; in RGA_gen_two_pro()
142 stride = (pl * daw + 3) & (~3); in RGA_gen_two_pro()
143 msg->dst.act_w = daw; in RGA_gen_two_pro()