• Home
  • Raw
  • Download

Lines Matching +full:- +full:k

9 * http://www.apache.org/licenses/LICENSE-2.0
31 * - ihevc_itrans_recon_16x16()
108 WORD32 j, k; in ihevc_itrans_recon_16x16() local
128 if((zero_rows & 0xFFF0) == 0xFFF0) /* First 4 rows of input are non-zero */ in ihevc_itrans_recon_16x16()
132 … /**********************************START - IT_RECON_16x16****************************************/ in ihevc_itrans_recon_16x16()
136 add = 1 << (shift - 1); in ihevc_itrans_recon_16x16()
148 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
150 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_src[src_strd] in ihevc_itrans_recon_16x16()
151 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
154 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
156 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_src[2 * src_strd]; in ihevc_itrans_recon_16x16()
164 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
166 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
167 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
169 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
171 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
172 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
174 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
176 pi2_tmp[k] = in ihevc_itrans_recon_16x16()
177 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
178 pi2_tmp[k + 8] = in ihevc_itrans_recon_16x16()
179 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
191 add = 1 << (shift - 1); in ihevc_itrans_recon_16x16()
193 …if((zero_rows_2nd_stage & 0xFFF0) == 0xFFF0) /* First 4 rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
198 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
200 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
201 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
204 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
206 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size]; in ihevc_itrans_recon_16x16()
214 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
216 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
217 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
219 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
221 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
222 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
224 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
228 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
229 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
231 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
232 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
239 …if((zero_rows_2nd_stage & 0xFF00) == 0xFF00) /* First 4 rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
244 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
246 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
247 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
249 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
251 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
254 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
256 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size] in ihevc_itrans_recon_16x16()
257 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
266 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
268 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
269 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
271 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
273 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
274 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
276 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
280 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
281 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
283 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
284 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
291 else /* All rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
296 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
298 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
299 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
301 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
303 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
305 + g_ai2_ihevc_trans_16[9][k] in ihevc_itrans_recon_16x16()
307 + g_ai2_ihevc_trans_16[11][k] in ihevc_itrans_recon_16x16()
309 + g_ai2_ihevc_trans_16[13][k] in ihevc_itrans_recon_16x16()
311 + g_ai2_ihevc_trans_16[15][k] in ihevc_itrans_recon_16x16()
314 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
316 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size] in ihevc_itrans_recon_16x16()
317 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
319 + g_ai2_ihevc_trans_16[10][k] in ihevc_itrans_recon_16x16()
321 + g_ai2_ihevc_trans_16[14][k] in ihevc_itrans_recon_16x16()
340 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
342 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
343 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
345 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
347 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
348 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
350 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
354 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
355 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
357 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
358 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
366 … /************************************END - IT_RECON_16x16****************************************/ in ihevc_itrans_recon_16x16()
369 else if((zero_rows & 0xFF00) == 0xFF00) /* First 8 rows of input are non-zero */ in ihevc_itrans_recon_16x16()
373 … /**********************************START - IT_RECON_16x16****************************************/ in ihevc_itrans_recon_16x16()
377 add = 1 << (shift - 1); in ihevc_itrans_recon_16x16()
389 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
391 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_src[src_strd] in ihevc_itrans_recon_16x16()
392 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
394 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
396 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
399 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
401 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_src[2 * src_strd] in ihevc_itrans_recon_16x16()
402 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
411 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
413 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
414 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
416 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
418 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
419 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
421 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
423 pi2_tmp[k] = in ihevc_itrans_recon_16x16()
424 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
425 pi2_tmp[k + 8] = in ihevc_itrans_recon_16x16()
426 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
438 add = 1 << (shift - 1); in ihevc_itrans_recon_16x16()
440 …if((zero_rows_2nd_stage & 0xFFF0) == 0xFFF0) /* First 4 rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
445 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
447 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
448 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
451 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
453 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size]; in ihevc_itrans_recon_16x16()
461 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
463 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
464 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
466 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
468 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
469 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
471 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
475 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
476 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
478 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
479 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
486 …if((zero_rows_2nd_stage & 0xFF00) == 0xFF00) /* First 4 rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
491 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
493 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
494 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
496 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
498 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
501 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
503 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size] in ihevc_itrans_recon_16x16()
504 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
513 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
515 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
516 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
518 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
520 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
521 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
523 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
527 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
528 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
530 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
531 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
538 else /* All rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
543 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
545 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
546 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
548 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
550 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
552 + g_ai2_ihevc_trans_16[9][k] in ihevc_itrans_recon_16x16()
554 + g_ai2_ihevc_trans_16[11][k] in ihevc_itrans_recon_16x16()
556 + g_ai2_ihevc_trans_16[13][k] in ihevc_itrans_recon_16x16()
558 + g_ai2_ihevc_trans_16[15][k] in ihevc_itrans_recon_16x16()
561 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
563 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size] in ihevc_itrans_recon_16x16()
564 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
566 + g_ai2_ihevc_trans_16[10][k] in ihevc_itrans_recon_16x16()
568 + g_ai2_ihevc_trans_16[14][k] in ihevc_itrans_recon_16x16()
587 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
589 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
590 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
592 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
594 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
595 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
597 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
601 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
602 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
604 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
605 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
613 … /************************************END - IT_RECON_16x16****************************************/ in ihevc_itrans_recon_16x16()
616 else /* All rows of input are non-zero */ in ihevc_itrans_recon_16x16()
620 … /**********************************START - IT_RECON_16x16****************************************/ in ihevc_itrans_recon_16x16()
624 add = 1 << (shift - 1); in ihevc_itrans_recon_16x16()
636 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
638 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_src[src_strd] in ihevc_itrans_recon_16x16()
639 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
641 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
643 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
645 + g_ai2_ihevc_trans_16[9][k] in ihevc_itrans_recon_16x16()
647 + g_ai2_ihevc_trans_16[11][k] in ihevc_itrans_recon_16x16()
649 + g_ai2_ihevc_trans_16[13][k] in ihevc_itrans_recon_16x16()
651 + g_ai2_ihevc_trans_16[15][k] in ihevc_itrans_recon_16x16()
654 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
656 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_src[2 * src_strd] in ihevc_itrans_recon_16x16()
657 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
659 + g_ai2_ihevc_trans_16[10][k] in ihevc_itrans_recon_16x16()
661 + g_ai2_ihevc_trans_16[14][k] in ihevc_itrans_recon_16x16()
682 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
684 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
685 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
687 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
689 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
690 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
692 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
694 pi2_tmp[k] = in ihevc_itrans_recon_16x16()
695 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
696 pi2_tmp[k + 8] = in ihevc_itrans_recon_16x16()
697 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
709 add = 1 << (shift - 1); in ihevc_itrans_recon_16x16()
711 …if((zero_rows_2nd_stage & 0xFFF0) == 0xFFF0) /* First 4 rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
716 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
718 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
719 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
722 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
724 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size]; in ihevc_itrans_recon_16x16()
732 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
734 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
735 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
737 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
739 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
740 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
742 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
746 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
747 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
749 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
750 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
757 …if((zero_rows_2nd_stage & 0xFF00) == 0xFF00) /* First 4 rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
762 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
764 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
765 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
767 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
769 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
772 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
774 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size] in ihevc_itrans_recon_16x16()
775 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
784 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
786 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
787 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
789 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
791 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
792 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
794 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
798 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
799 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
801 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
802 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
809 else /* All rows of output of 1st stage are non-zero */ in ihevc_itrans_recon_16x16()
814 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
816 o[k] = g_ai2_ihevc_trans_16[1][k] * pi2_tmp[trans_size] in ihevc_itrans_recon_16x16()
817 + g_ai2_ihevc_trans_16[3][k] in ihevc_itrans_recon_16x16()
819 + g_ai2_ihevc_trans_16[5][k] in ihevc_itrans_recon_16x16()
821 + g_ai2_ihevc_trans_16[7][k] in ihevc_itrans_recon_16x16()
823 + g_ai2_ihevc_trans_16[9][k] in ihevc_itrans_recon_16x16()
825 + g_ai2_ihevc_trans_16[11][k] in ihevc_itrans_recon_16x16()
827 + g_ai2_ihevc_trans_16[13][k] in ihevc_itrans_recon_16x16()
829 + g_ai2_ihevc_trans_16[15][k] in ihevc_itrans_recon_16x16()
832 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
834 eo[k] = g_ai2_ihevc_trans_16[2][k] * pi2_tmp[2 * trans_size] in ihevc_itrans_recon_16x16()
835 + g_ai2_ihevc_trans_16[6][k] in ihevc_itrans_recon_16x16()
837 + g_ai2_ihevc_trans_16[10][k] in ihevc_itrans_recon_16x16()
839 + g_ai2_ihevc_trans_16[14][k] in ihevc_itrans_recon_16x16()
858 for(k = 0; k < 2; k++) in ihevc_itrans_recon_16x16()
860 ee[k] = eee[k] + eeo[k]; in ihevc_itrans_recon_16x16()
861 ee[k + 2] = eee[1 - k] - eeo[1 - k]; in ihevc_itrans_recon_16x16()
863 for(k = 0; k < 4; k++) in ihevc_itrans_recon_16x16()
865 e[k] = ee[k] + eo[k]; in ihevc_itrans_recon_16x16()
866 e[k + 4] = ee[3 - k] - eo[3 - k]; in ihevc_itrans_recon_16x16()
868 for(k = 0; k < 8; k++) in ihevc_itrans_recon_16x16()
872 CLIP_S16(((e[k] + o[k] + add) >> shift)); in ihevc_itrans_recon_16x16()
873 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
875 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); in ihevc_itrans_recon_16x16()
876 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
884 … /************************************END - IT_RECON_16x16****************************************/ in ihevc_itrans_recon_16x16()