Lines Matching defs:nt

120 * @param[in] nt
139 WORD32 nt,
146 WORD32 total_samples = (4 * nt) + 1;
182 pu1_dst[(4 * nt)] = *pu1_top_left; // U top-left sample
183 pu1_dst[(4 * nt) + 1] = *(pu1_top_left + 1); // V top-left sample
188 for(i = 0, j = 0; i < (2 * nt); i += 2)
190 pu1_dst[(4 * nt) - 2 - i] = pu1_left[j * src_strd]; // U left samples
191 pu1_dst[(4 * nt) - 1 - i] = pu1_left[(j * src_strd) + 1]; // V left samples
198 for(i = (2 * nt), j = nt; i < (4 * nt); i += 2)
200 pu1_dst[(4 * nt) - 2 - i] = pu1_left[j * src_strd]; // U left samples
201 pu1_dst[(4 * nt) - 1 - i] = pu1_left[(j * src_strd) + 1]; // V left samples
208 ihevc_memcpy_mul_8(&pu1_dst[(4 * nt) + 2], pu1_top, 2 * nt);
215 ihevc_memcpy_mul_8(&pu1_dst[(4 * nt) + 2 + 2 * nt], pu1_top + 2 * nt, 2 * nt);
219 if(nt == 4)
246 idx = (nt * next);
254 idx = (nt * (next - 1)) + 1;
262 UWORD16 *pu2_dst = (UWORD16 *)&pu1_dst[(2 * nt) - 2];
263 ihevc_memset_16bit((UWORD16 *)&pu1_dst[(2 * nt)], pu2_dst[0], nt);
269 pu1_dst[4 * nt] = pu1_dst[(4 * nt) - 2];
270 pu1_dst[(4 * nt) + 1] = pu1_dst[(4 * nt) - 1];
274 UWORD16 *pu2_dst = (UWORD16 *)&pu1_dst[(4 * nt)];
275 ihevc_memset_16bit((UWORD16 *)&pu1_dst[(4 * nt) + 2], pu2_dst[0], nt);
281 UWORD16 *pu2_dst = (UWORD16 *)&pu1_dst[(6 * nt)];
282 ihevc_memset_16bit((UWORD16 *)&pu1_dst[(6 * nt) + 2], pu2_dst[0], nt);
287 else if(nt == 8)
360 else if(nt == 16)
452 * @param[in] nt
471 WORD32 nt,
480 switch(nt)
494 two_nt = 2 * nt;
495 three_nt = 3 * nt;
497 for(row = 0; row < nt; row++)
499 for(col = 0; col < (2 * nt); col += 2)
501 pu1_dst[row * dst_strd + col] = ((nt - 1 - col / 2)
504 + (nt - 1 - row) * pu1_ref[2 * (two_nt + 1) + col]
505 + (row + 1) * pu1_ref[2 * (nt - 1)] + nt) >> (log2nt + 1);
507 pu1_dst[row * dst_strd + col + 1] = ((nt - 1 - col / 2)
510 + (nt - 1 - row) * pu1_ref[2 * (two_nt + 1) + col + 1]
511 + (row + 1) * pu1_ref[2 * (nt - 1) + 1] + nt) >> (log2nt + 1);
540 * @param[in] nt
559 WORD32 nt,
570 switch(nt)
592 for(i = (2 * nt); i < (4 * nt); i += 2)
597 for(i = ((4 * nt) + 2); i < ((6 * nt) + 2); i += 2)
604 dc_val_u = (acc_dc_u + nt) >> (log2nt + 1);
605 dc_val_v = (acc_dc_v + nt) >> (log2nt + 1);
609 for(row = 0; row < nt; row++)
611 for(col = 0; col < (2 * nt); col += 2)
644 * @param[in] nt
663 WORD32 nt,
671 for(row = 0; row < nt; row++)
673 for(col = 0; col < (2 * nt); col += 2)
675 pu1_dst[(row * dst_strd) + col] = pu1_ref[(4 * nt) - 2 - 2 * row];
676 pu1_dst[(row * dst_strd) + col + 1] = pu1_ref[(4 * nt) - 1 - 2 * row];
706 * @param[in] nt
725 WORD32 nt,
732 for(row = 0; row < nt; row++)
734 for(col = 0; col < (2 * nt); col += 2)
736 pu1_dst[(row * dst_strd) + col] = pu1_ref[(4 * nt) + 2 + col];
737 pu1_dst[(row * dst_strd) + col + 1] = pu1_ref[(4 * nt) + 3 + col];
766 * @param[in] nt
785 WORD32 nt,
796 for(col = 0; col < (2 * nt); col += 2)
800 for(row = 0; row < nt; row++)
802 pu1_dst[col + (row * dst_strd)] = pu1_ref[(4 * nt) - 2 * row - idx_u - 3];
803 pu1_dst[(col + 1) + (row * dst_strd)] = pu1_ref[(4 * nt) - 2 * row - idx_v - 1];
833 * @param[in] nt
852 WORD32 nt,
868 for(row = 0; row < nt; row++)
872 for(col = 0; col < (2 * nt); col += 2)
874 pu1_dst[col + (row * dst_strd)] = pu1_ref[(4 * nt) + col + 2 * idx + 2];
875 pu1_dst[(col + 1) + (row * dst_strd)] = pu1_ref[(4 * nt) + (col + 1) + 2 * idx + 2];
906 * @param[in] nt
925 WORD32 nt,
942 for(col = 0; col < (2 * nt); col += 2)
953 for(row = 0; row < nt; row++)
955 ref_main_idx_u = (4 * nt) - 2 * row - 2 * idx_u - 2;
956 ref_main_idx_v = (4 * nt) - 2 * row - 2 * idx_v - 1;
995 * @param[in] nt
1014 WORD32 nt,
1040 ref_main = ref_temp + 2 * nt;
1041 for(k = 0; k < (2 * (nt + 1)); k += 2)
1043 ref_temp[k + (2 * (nt - 1))] = pu1_ref[(4 * nt) - k];
1044 ref_temp[k + 1 + (2 * (nt - 1))] = pu1_ref[(4 * nt) - k + 1];
1047 ref_main = ref_temp + (2 * (nt - 1));
1048 ref_idx = (nt * intra_pred_ang) >> 5;
1056 ref_main[k] = pu1_ref[(4 * nt) + ((inv_ang_sum >> 8) << 1)];
1057 ref_main[k + 1] = pu1_ref[((4 * nt) + 1) + ((inv_ang_sum >> 8) << 1)];
1062 for(col = 0; col < (2 * nt); col += 2)
1072 for(row = 0; row < nt; row++)
1115 * @param[in] nt
1134 WORD32 nt,
1153 ref_main = ref_temp + 2 * nt;
1154 for(k = 0; k < (2 * (nt + 1)); k += 2)
1156 ref_temp[k + (2 * (nt - 1))] = pu1_ref[(4 * nt) + k];
1157 ref_temp[k + 1 + (2 * (nt - 1))] = pu1_ref[(4 * nt) + k + 1];
1161 ref_idx = (nt * intra_pred_ang) >> 5;
1163 ref_main = ref_temp + (2 * (nt - 1));
1170 ref_main[k] = pu1_ref[(4 * nt) - (inv_ang_sum >> 8) * 2];
1171 ref_main[k + 1] = pu1_ref[((4 * nt) + 1) - (inv_ang_sum >> 8) * 2];
1174 for(row = 0; row < nt; row++)
1181 for(col = 0; col < (2 * nt); col += 2)
1223 * @param[in] nt
1242 WORD32 nt,
1254 for(row = 0; row < nt; row++)
1262 for(col = 0; col < (2 * nt); col += 2)
1264 ref_main_idx_u = (4 * nt) + col + 2 * idx + 2;
1265 ref_main_idx_v = (4 * nt) + (col + 1) + 2 * idx + 2;