/external/libavc/common/ |
D | ih264_ihadamard_scaling.c | 92 UWORD32 u4_qp_div_6, in ih264_ihadamard_scaling_4x4() argument 99 WORD32 rnd_fact = (u4_qp_div_6 < 6) ? (1 << (5 - u4_qp_div_6)) : 0; in ih264_ihadamard_scaling_4x4() 149 INV_QUANT(pi4_tmp_ptr[i], pu2_iscal_mat[0], pu2_weigh_mat[0], u4_qp_div_6, in ih264_ihadamard_scaling_4x4() 159 UWORD32 u4_qp_div_6, in ih264_ihadamard_scaling_2x2_uv() argument 182 INV_QUANT(i4_x4,pu2_iscal_mat[0],pu2_weigh_mat[0],u4_qp_div_6,0,5); in ih264_ihadamard_scaling_2x2_uv() 183 INV_QUANT(i4_x5,pu2_iscal_mat[0],pu2_weigh_mat[0],u4_qp_div_6,0,5); in ih264_ihadamard_scaling_2x2_uv() 184 INV_QUANT(i4_x6,pu2_iscal_mat[0],pu2_weigh_mat[0],u4_qp_div_6,0,5); in ih264_ihadamard_scaling_2x2_uv() 185 INV_QUANT(i4_x7,pu2_iscal_mat[0],pu2_weigh_mat[0],u4_qp_div_6,0,5); in ih264_ihadamard_scaling_2x2_uv() 207 INV_QUANT(i4_y4,pu2_iscal_mat[0],pu2_weigh_mat[0],u4_qp_div_6,0,5); in ih264_ihadamard_scaling_2x2_uv() 208 INV_QUANT(i4_y5,pu2_iscal_mat[0],pu2_weigh_mat[0],u4_qp_div_6,0,5); in ih264_ihadamard_scaling_2x2_uv() [all …]
|
D | ih264_iquant_itrans_recon.c | 113 UWORD32 u4_qp_div_6, in ih264_iquant_itrans_recon_4x4() argument 126 WORD16 rnd_fact = (u4_qp_div_6 < 4) ? 1 << (3 - u4_qp_div_6) : 0; in ih264_iquant_itrans_recon_4x4() 133 INV_QUANT(q0, pu2_iscal_mat[0], pu2_weigh_mat[0], u4_qp_div_6, rnd_fact, in ih264_iquant_itrans_recon_4x4() 139 INV_QUANT(q2, pu2_iscal_mat[2], pu2_weigh_mat[2], u4_qp_div_6, rnd_fact, in ih264_iquant_itrans_recon_4x4() 146 INV_QUANT(q1, pu2_iscal_mat[1], pu2_weigh_mat[1], u4_qp_div_6, rnd_fact, in ih264_iquant_itrans_recon_4x4() 150 INV_QUANT(q3, pu2_iscal_mat[3], pu2_weigh_mat[3], u4_qp_div_6, rnd_fact, in ih264_iquant_itrans_recon_4x4() 220 UWORD32 u4_qp_div_6, in ih264_iquant_itrans_recon_4x4_dc() argument 229 WORD16 rnd_fact = (u4_qp_div_6 < 4) ? 1 << (3 - u4_qp_div_6) : 0; in ih264_iquant_itrans_recon_4x4_dc() 235 INV_QUANT(q0, pu2_iscal_mat[0], pu2_weigh_mat[0], u4_qp_div_6, rnd_fact, 4); in ih264_iquant_itrans_recon_4x4_dc() 691 UWORD32 u4_qp_div_6, in ih264_iquant_itrans_recon_chroma_4x4() argument [all …]
|
D | ih264_trans_macros.h | 98 #define INV_QUANT(i4_value, quant_scale, weight_scale, u4_qp_div_6, rndfactor, qbits)\ argument 103 i4_value <<= u4_qp_div_6;\
|
D | ih264_trans_quant_itrans_iquant.h | 127 UWORD32 u4_qp_div_6, 161 UWORD32 u4_qp_div_6,
|
/external/libavc/common/x86/ |
D | ih264_ihadamard_scaling_sse42.c | 93 UWORD32 u4_qp_div_6, in ih264_ihadamard_scaling_4x4_sse42() argument 99 __m128i add_rshift = _mm_set1_epi32((1 << (5 - u4_qp_div_6))); in ih264_ihadamard_scaling_4x4_sse42() 179 if(u4_qp_div_6 >= 6) in ih264_ihadamard_scaling_4x4_sse42() 181 src_r0 = _mm_slli_epi32(src_r0, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_sse42() 182 src_r1 = _mm_slli_epi32(src_r1, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_sse42() 183 src_r2 = _mm_slli_epi32(src_r2, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_sse42() 184 src_r3 = _mm_slli_epi32(src_r3, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_sse42() 192 src_r0 = _mm_srai_epi32(temp0, 6 - u4_qp_div_6); in ih264_ihadamard_scaling_4x4_sse42() 193 src_r1 = _mm_srai_epi32(temp1, 6 - u4_qp_div_6); in ih264_ihadamard_scaling_4x4_sse42() 194 src_r2 = _mm_srai_epi32(temp2, 6 - u4_qp_div_6); in ih264_ihadamard_scaling_4x4_sse42() [all …]
|
D | ih264_ihadamard_scaling_ssse3.c | 92 UWORD32 u4_qp_div_6, in ih264_ihadamard_scaling_4x4_ssse3() argument 99 __m128i add_rshift = _mm_set1_epi32((1 << (5 - u4_qp_div_6))); in ih264_ihadamard_scaling_4x4_ssse3() 186 if(u4_qp_div_6 >= 6) in ih264_ihadamard_scaling_4x4_ssse3() 188 src_r0 = _mm_slli_epi32(src_r0, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_ssse3() 189 src_r1 = _mm_slli_epi32(src_r1, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_ssse3() 190 src_r2 = _mm_slli_epi32(src_r2, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_ssse3() 191 src_r3 = _mm_slli_epi32(src_r3, u4_qp_div_6 - 6); in ih264_ihadamard_scaling_4x4_ssse3() 199 src_r0 = _mm_srai_epi32(temp0, 6 - u4_qp_div_6); in ih264_ihadamard_scaling_4x4_ssse3() 200 src_r1 = _mm_srai_epi32(temp1, 6 - u4_qp_div_6); in ih264_ihadamard_scaling_4x4_ssse3() 201 src_r2 = _mm_srai_epi32(temp2, 6 - u4_qp_div_6); in ih264_ihadamard_scaling_4x4_ssse3() [all …]
|
D | ih264_iquant_itrans_recon_sse42.c | 107 UWORD32 u4_qp_div_6, in ih264_iquant_itrans_recon_4x4_sse42() argument 121 __m128i add_rshift = _mm_set1_epi32((1 << (3 - u4_qp_div_6))); in ih264_iquant_itrans_recon_4x4_sse42() 154 if (u4_qp_div_6 >= 4) { in ih264_iquant_itrans_recon_4x4_sse42() 155 resq_r0 = _mm_slli_epi32(temp4, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_sse42() 156 resq_r1 = _mm_slli_epi32(temp5, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_sse42() 157 resq_r2 = _mm_slli_epi32(temp6, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_sse42() 158 resq_r3 = _mm_slli_epi32(temp7, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_sse42() 164 resq_r0 = _mm_srai_epi32(temp4, 4 - u4_qp_div_6); in ih264_iquant_itrans_recon_4x4_sse42() 165 resq_r1 = _mm_srai_epi32(temp5, 4 - u4_qp_div_6); in ih264_iquant_itrans_recon_4x4_sse42() 166 resq_r2 = _mm_srai_epi32(temp6, 4 - u4_qp_div_6); in ih264_iquant_itrans_recon_4x4_sse42() [all …]
|
D | ih264_iquant_itrans_recon_dc_ssse3.c | 108 UWORD32 u4_qp_div_6, in ih264_iquant_itrans_recon_4x4_dc_ssse3() argument 115 WORD16 i_macro, rnd_fact = (u4_qp_div_6 < 4) ? 1 << (3 - u4_qp_div_6) : 0; in ih264_iquant_itrans_recon_4x4_dc_ssse3() 125 INV_QUANT(q0, pu2_iscal_mat[0], pu2_weigh_mat[0], u4_qp_div_6, rnd_fact, 4); in ih264_iquant_itrans_recon_4x4_dc_ssse3() 395 UWORD32 u4_qp_div_6, in ih264_iquant_itrans_recon_chroma_4x4_dc_ssse3() argument 411 UNUSED (u4_qp_div_6); in ih264_iquant_itrans_recon_chroma_4x4_dc_ssse3()
|
D | ih264_iquant_itrans_recon_ssse3.c | 107 UWORD32 u4_qp_div_6, in ih264_iquant_itrans_recon_4x4_ssse3() argument 121 __m128i add_rshift = _mm_set1_epi32((1 << (3 - u4_qp_div_6))); in ih264_iquant_itrans_recon_4x4_ssse3() 155 if (u4_qp_div_6 >= 4) { in ih264_iquant_itrans_recon_4x4_ssse3() 156 resq_r0 = _mm_slli_epi32(temp4, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_ssse3() 157 resq_r1 = _mm_slli_epi32(temp5, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_ssse3() 158 resq_r2 = _mm_slli_epi32(temp6, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_ssse3() 159 resq_r3 = _mm_slli_epi32(temp7, u4_qp_div_6 - 4); in ih264_iquant_itrans_recon_4x4_ssse3() 165 resq_r0 = _mm_srai_epi32(temp4, 4 - u4_qp_div_6); in ih264_iquant_itrans_recon_4x4_ssse3() 166 resq_r1 = _mm_srai_epi32(temp5, 4 - u4_qp_div_6); in ih264_iquant_itrans_recon_4x4_ssse3() 167 resq_r2 = _mm_srai_epi32(temp6, 4 - u4_qp_div_6); in ih264_iquant_itrans_recon_4x4_ssse3() [all …]
|
/external/libavc/common/arm/ |
D | ih264_iquant_itrans_recon_dc_a9.s | 62 @ * @param[in] u4_qp_div_6 94 @ UWORD32 u4_qp_div_6, 106 @r7 => u4_qp_div_6 119 @if u4_qp_div_6 is lesser than 4 then shift value will be neagative and do negative left shift, in … 120 @if u4_qp_div_6 is greater than 4 then shift value will be positive and do left shift, here rnd_fac… 130 ldr r7, [sp, #44] @Loads u4_qp_div_6 135 lsl r6, r6, r7 @(pi2_src[0]*pu2_iscal_mat[0]*pu2_weigh_mat[0])<<u4_qp_div_6 136 … r6, r6, #8 @(pi2_src[0]*pu2_iscal_mat[0]*pu2_weigh_mat[0])<<u4_qp_div_6 + rnd_fact 137 … r6, #4 @q0 = (pi2_src[0]*pu2_iscal_mat[0]*pu2_weigh_mat[0] + rnd_fact)<<(u4_qp_div_6-4) 192 @ * @param[in] u4_qp_div_6 [all …]
|
D | ih264_ihadamard_scaling_a9.s | 61 @ * @param[in] u4_qp_div_6 80 @ UWORD32 u4_qp_div_6, 87 @r4 => u4_qp_div_6 99 @if u4_qp_div_6 is lesser than 4 then shift value will be neagative and do negative left shift, in … 100 @if u4_qp_div_6 is greater than 4 then shift value will be positive and do left shift, here rnd_fac… 103 ldr r4, [sp, #40] @ Loads u4_qp_div_6 104 vdup.s32 q10, r4 @ Populate the u4_qp_div_6 in Q10 184 @ * @param[in] u4_qp_div_6 200 @ UWORD32 u4_qp_div_6,
|
D | ih264_iquant_itrans_recon_a9.s | 61 @ * @param[in] u4_qp_div_6 93 @ UWORD32 u4_qp_div_6, 105 @r7 => u4_qp_div_6 119 @if u4_qp_div_6 is lesser than 4 then shift value will be neagative and do negative left shift, in … 120 @if u4_qp_div_6 is greater than 4 then shift value will be positive and do left shift, here rnd_fac… 123 ldr r7, [sp, #52] @Loads u4_qp_div_6 125 vdup.s32 q15, r7 @Populate the u4_qp_div_6 in Q15 248 @ * @param[in] u4_qp_div_6 280 @ UWORD32 u4_qp_div_6, 291 @r7 => u4_qp_div_6 [all …]
|