/external/libhevc/common/ |
D | ihevc_itrans.c | 97 WORD32 i4_shift, in ihevc_itrans_4x4_ttype1() argument 103 add = 1 << (i4_shift - 1); in ihevc_itrans_4x4_ttype1() 121 CLIP_S16((29 * c[0] + 55 * c[1] + c[3] + add) >> i4_shift); in ihevc_itrans_4x4_ttype1() 123 CLIP_S16((55 * c[2] - 29 * c[1] + c[3] + add) >> i4_shift); in ihevc_itrans_4x4_ttype1() 125 … CLIP_S16((74 * (pi2_src[0] - pi2_src[2 * src_strd] + pi2_src[3 * src_strd]) + add) >> i4_shift); in ihevc_itrans_4x4_ttype1() 127 CLIP_S16((55 * c[0] + 29 * c[2] - c[3] + add) >> i4_shift); in ihevc_itrans_4x4_ttype1() 180 WORD32 i4_shift, in ihevc_itrans_4x4() argument 187 add = 1 << (i4_shift - 1); in ihevc_itrans_4x4() 210 CLIP_S16(((e[0] + o[0] + add) >> i4_shift)); in ihevc_itrans_4x4() 212 CLIP_S16(((e[1] + o[1] + add) >> i4_shift)); in ihevc_itrans_4x4() [all …]
|
D | ihevc_trans.h | 41 WORD32 i4_shift, 47 WORD32 i4_shift, 53 WORD32 i4_shift, 59 WORD32 i4_shift, 65 WORD32 i4_shift,
|
D | ihevc_itrans.h | 41 WORD32 i4_shift, 47 WORD32 i4_shift, 53 WORD32 i4_shift, 59 WORD32 i4_shift, 65 WORD32 i4_shift,
|
/external/libhevc/common/x86/ |
D | ihevc_itrans_recon_sse42_intr.c | 148 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_4x4_ttype1_sse42() local 209 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_4x4_ttype1_sse42() 221 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_4x4_ttype1_sse42() 256 i4_shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_4x4_ttype1_sse42() 300 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_4x4_ttype1_sse42() 312 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_4x4_ttype1_sse42() 478 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_4x4_sse42() local 516 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_4x4_sse42() 531 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_4x4_sse42() 581 i4_shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_4x4_sse42() [all …]
|
D | ihevc_itrans_recon_ssse3_intr.c | 155 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_4x4_ttype1_ssse3() local 234 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_4x4_ttype1_ssse3() 270 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_4x4_ttype1_ssse3() 305 i4_shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_4x4_ttype1_ssse3() 372 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_4x4_ttype1_ssse3() 408 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_4x4_ttype1_ssse3() 585 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_4x4_ssse3() local 649 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_4x4_ssse3() 664 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_4x4_ssse3() 714 i4_shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_4x4_ssse3() [all …]
|
D | ihevc_itrans_recon_32x32_ssse3_intr.c | 223 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_32x32_ssse3() local 1841 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_ssse3() 1842 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_ssse3() 1871 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_ssse3() 1872 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_ssse3() 1901 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_ssse3() 1902 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_ssse3() 1930 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_ssse3() 1931 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_ssse3() 1959 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_ssse3() [all …]
|
D | ihevc_32x32_itrans_recon_sse42_intr.c | 215 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_32x32_sse42() local 1830 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_sse42() 1831 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_sse42() 1860 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_sse42() 1861 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_sse42() 1890 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_sse42() 1891 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_sse42() 1919 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_sse42() 1920 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_32x32_sse42() 1948 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_32x32_sse42() [all …]
|
D | ihevc_16x16_itrans_recon_sse42_intr.c | 173 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_16x16_sse42() local 874 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_sse42() 875 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_sse42() 1084 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_sse42() 1085 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_sse42() 1332 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_sse42() 1333 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_sse42() 1700 i4_shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_16x16_sse42() 2447 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_sse42() 2448 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_sse42() [all …]
|
D | ihevc_itrans_recon_16x16_ssse3_intr.c | 177 WORD32 i4_shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_16x16_ssse3() local 878 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_ssse3() 879 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_ssse3() 1088 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_ssse3() 1089 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_ssse3() 1336 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_ssse3() 1337 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_ssse3() 1703 i4_shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_16x16_ssse3() 2450 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in ihevc_itrans_recon_16x16_ssse3() 2451 m_count = _mm_cvtsi32_si128(i4_shift); in ihevc_itrans_recon_16x16_ssse3() [all …]
|
/external/libmpeg2/common/ |
D | impeg2_idct.c | 198 WORD32 i4_shift; in impeg2_idct_recon() local 221 i4_shift = IDCT_STG1_SHIFT; in impeg2_idct_recon() 222 i4_add = 1 << (i4_shift - 1); in impeg2_idct_recon() 253 CLIP_S16(((ai4_e[k] + ai4_o[k] + i4_add) >> i4_shift)); in impeg2_idct_recon() 255 CLIP_S16(((ai4_e[3 - k] - ai4_o[3 - k] + i4_add) >> i4_shift)); in impeg2_idct_recon() 266 i4_shift = IDCT_STG2_SHIFT; in impeg2_idct_recon() 267 i4_add = 1 << (i4_shift - 1); in impeg2_idct_recon() 292 CLIP_S16(((ai4_e[k] + ai4_o[k] + i4_add) >> i4_shift)); in impeg2_idct_recon() 295 CLIP_S16(((ai4_e[3 - k] - ai4_o[3 - k] + i4_add) >> i4_shift)); in impeg2_idct_recon() 337 CLIP_S16(((ai4_e[k] + ai4_o[k] + i4_add) >> i4_shift)); in impeg2_idct_recon() [all …]
|
/external/libmpeg2/common/x86/ |
D | impeg2_idct_recon_sse42_intr.c | 189 WORD32 i4_shift = IDCT_STG1_SHIFT; in impeg2_idct_recon_sse42() local 281 m_rdng_factor = _mm_cvtsi32_si128((1 << (i4_shift - 1))); in impeg2_idct_recon_sse42() 300 m_temp_reg_62 = _mm_srai_epi32(m_temp_reg_62, i4_shift); in impeg2_idct_recon_sse42() 302 m_temp_reg_66 = _mm_srai_epi32(m_temp_reg_66, i4_shift); in impeg2_idct_recon_sse42() 330 m_temp_reg_62 = _mm_srai_epi32(m_temp_reg_62, i4_shift); in impeg2_idct_recon_sse42() 331 m_temp_reg_66 = _mm_srai_epi32(m_temp_reg_66, i4_shift); in impeg2_idct_recon_sse42() 360 m_temp_reg_62 = _mm_srai_epi32(m_temp_reg_62, i4_shift); in impeg2_idct_recon_sse42() 361 m_temp_reg_66 = _mm_srai_epi32(m_temp_reg_66, i4_shift); in impeg2_idct_recon_sse42() 386 m_temp_reg_62 = _mm_srai_epi32(m_temp_reg_62, i4_shift); in impeg2_idct_recon_sse42() 387 m_temp_reg_66 = _mm_srai_epi32(m_temp_reg_66, i4_shift); in impeg2_idct_recon_sse42() [all …]
|
/external/libmpeg2/decoder/ |
D | impeg2d_mv_dec.c | 86 WORD32 i4_shift = ai2_shifts[i]; in impeg2d_dec_1mv() local 95 ai2_mv[i] = (ai2_pred_mv[i] >> i4_shift); in impeg2d_dec_1mv() 97 ai2_pred_mv[i] = (ai2_mv[i] << i4_shift); in impeg2d_dec_1mv() 133 ai2_mv[i] = (ai2_pred_mv[i] >> i4_shift) + i2_delta; in impeg2d_dec_1mv() 144 ai2_pred_mv[i] = (ai2_mv[i] << i4_shift); in impeg2d_dec_1mv()
|