/external/libhevc/common/ |
D | ihevc_sao.c | 238 WORD32 edge_idx; in ihevc_sao_edge_offset_class0() local 241 edge_idx = 2 + u1_sign_left + u1_sign_right; in ihevc_sao_edge_offset_class0() 244 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col]; in ihevc_sao_edge_offset_class0() 246 if(0 != edge_idx) in ihevc_sao_edge_offset_class0() 248 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class0() 325 WORD32 edge_idx; in ihevc_sao_edge_offset_class0_chroma() local 332 edge_idx = 2 + u1_sign_left_u + u1_sign_right_u; in ihevc_sao_edge_offset_class0_chroma() 339 edge_idx = 2 + u1_sign_left_v + u1_sign_right_v; in ihevc_sao_edge_offset_class0_chroma() 343 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1]; in ihevc_sao_edge_offset_class0_chroma() 345 if(0 != edge_idx) in ihevc_sao_edge_offset_class0_chroma() [all …]
|
/external/libhevc/common/arm/ |
D | ihevc_sao_edge_offset_class1.s | 168 VADD.I8 Q6,Q0,Q8 @edge_idx = vaddq_s8(const_2, sign_up) 171 VADD.I8 Q6,Q6,Q10 @edge_idx = vaddq_s8(edge_idx, sign_down) 175 VTBL.8 D12,{D6},D12 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 179 VTBL.8 D13,{D6},D13 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 180 VADD.I8 Q11,Q0,Q8 @II edge_idx = vaddq_s8(const_2, sign_up) 184 VTBL.8 D12,{D7},D12 @offset = vtbl1_s8(offset_tbl, vget_low_s8(edge_idx)) 185 VADD.I8 Q11,Q11,Q4 @II edge_idx = vaddq_s8(edge_idx, sign_down) 189 VTBL.8 D22,{D6},D22 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 193 VTBL.8 D23,{D6},D23 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 198 VTBL.8 D13,{D7},D13 @offset = vtbl1_s8(offset_tbl, vget_high_s8(edge_idx)) [all …]
|
D | ihevc_sao_edge_offset_class1_chroma.s | 172 VADD.I8 Q6,Q0,Q8 @edge_idx = vaddq_s8(const_2, sign_up) 175 VADD.I8 Q6,Q6,Q10 @edge_idx = vaddq_s8(edge_idx, sign_down) 179 VTBL.8 D12,{D6},D12 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 183 VTBL.8 D13,{D6},D13 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 184 VADD.I8 Q11,Q0,Q8 @II edge_idx = vaddq_s8(const_2, sign_up) 189 VTBL.8 D12,{D7},D12 @offset = vtbl1_s8(offset_tbl, vget_low_s8(edge_idx)) 190 VADD.I8 Q11,Q11,Q14 @II edge_idx = vaddq_s8(edge_idx, sign_down) 197 VTBL.8 D22,{D6},D22 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 201 VTBL.8 D23,{D6},D23 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 205 @VTBL.8 D13,D7,D13 @offset = vtbl1_s8(offset_tbl, vget_high_s8(edge_idx)) [all …]
|
D | ihevc_sao_edge_offset_class3.s | 145 ADD r11,r11,#2 @edge_idx 147 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 148 CMP r12,#0 @0 != edge_idx 150 LDRSB r10,[r6,r12] @pi1_sao_offset[edge_idx] 151 ADD r9,r9,r10 @pu1_src[0] + pi1_sao_offset[edge_idx] 152 … @u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 188 ADD r11,r11,#2 @edge_idx 190 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 193 LDRSB r11,[r6,r12] @pi1_sao_offset[edge_idx] 194 ADD r10,r10,r11 @pu1_src[(ht - 1) * src_strd] + pi1_sao_offset[edge_idx] [all …]
|
D | ihevc_sao_edge_offset_class2.s | 142 ADD r4,r4,#2 @edge_idx 144 LDRSB r12,[r14,r4] @edge_idx = gi1_table_edge_idx[edge_idx] 145 CMP r12,#0 @0 != edge_idx 147 LDRSB r10,[r6,r12] @pi1_sao_offset[edge_idx] 148 ADD r9,r9,r10 @pu1_src[0] + pi1_sao_offset[edge_idx] 149 … @u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 176 ADD r11,r11,#2 @edge_idx 181 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 184 LDRSB r11,[r6,r12] @pi1_sao_offset[edge_idx] 185 … r10,r10,r11 @pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx] [all …]
|
D | ihevc_sao_edge_offset_class0.s | 205 VADD.I8 Q7,Q1,Q10 @edge_idx = vaddq_s8(const_2, sign_left) 208 VADD.I8 Q7,Q7,Q11 @edge_idx = vaddq_s8(edge_idx, sign_right) 212 VTBL.8 D14,{D10},D14 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 216 VTBL.8 D15,{D10},D15 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 219 VAND Q7,Q7,Q4 @edge_idx = vandq_s8(edge_idx, au1_mask) 220 VTBL.8 D16,{D11},D14 @offset = vtbl1_s8(offset_tbl, vget_low_s8(edge_idx)) 223 VADD.I8 Q14,Q1,Q10 @II edge_idx = vaddq_s8(const_2, sign_left) 224 VADD.I8 Q14,Q14,Q11 @II edge_idx = vaddq_s8(edge_idx, sign_right) 227 VTBL.8 D28,{D10},D28 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 230 VTBL.8 D29,{D10},D29 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) [all …]
|
D | ihevc_sao_edge_offset_class0_chroma.s | 211 VADD.U8 Q7,Q1,Q10 @edge_idx = vaddq_s8(const_2, sign_left) 213 VADD.U8 Q7,Q7,Q11 @edge_idx = vaddq_s8(edge_idx, sign_right) 214 VTBL.8 D14,{D10},D14 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 218 VTBL.8 D15,{D10},D15 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 221 VAND Q7,Q7,Q4 @edge_idx = vandq_s8(edge_idx, au1_mask) 225 VTBL.8 D16,{D11},D14 @offset = vtbl1_s8(offset_tbl_u, vget_low_s8(edge_idx)) 226 VADD.U8 Q12,Q1,Q10 @II edge_idx = vaddq_s8(const_2, sign_left) 230 VADD.U8 Q12,Q12,Q11 @II edge_idx = vaddq_s8(edge_idx, sign_right) 233 VTBL.8 D24,{D10},D24 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 237 VTBL.8 D25,{D10},D25 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) [all …]
|
D | ihevc_sao_edge_offset_class3_chroma.s | 149 ADD r11,r11,#2 @edge_idx 154 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 155 CMP r12,#0 @0 != edge_idx 157 LDRSB r11,[r6,r12] @pi1_sao_offset_u[edge_idx] 158 ADD r9,r9,r11 @pu1_src[wd - 2] + pi1_sao_offset_u[edge_idx] 159 … @u1_pos_0_0_tmp_u = CLIP3(pu1_src[wd - 2] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 177 ADD r11,r11,#2 @edge_idx 182 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 183 CMP r12,#0 @0 != edge_idx 186 LDRSB r11,[r11,r12] @pi1_sao_offset_v[edge_idx] [all …]
|
D | ihevc_sao_edge_offset_class2_chroma.s | 156 ADD r11,r11,#2 @edge_idx 158 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 159 CMP r12,#0 @0 != edge_idx 161 LDRSB r11,[r6,r12] @pi1_sao_offset_u[edge_idx] 162 ADD r9,r9,r11 @pu1_src[0] + pi1_sao_offset_u[edge_idx] 163 … @u1_pos_0_0_tmp_u = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 186 ADD r11,r11,#2 @edge_idx 188 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 189 CMP r12,#0 @0 != edge_idx 192 LDRSB r11,[r11,r12] @pi1_sao_offset_v[edge_idx] [all …]
|
/external/libhevc/common/x86/ |
D | ihevc_sao_ssse3_intr.c | 2540 WORD8 edge_idx; in ihevc_sao_edge_offset_class2_ssse3() local 2542 edge_idx = 2 + SIGN(pu1_src[0] - pu1_src_top_left[0]) + in ihevc_sao_edge_offset_class2_ssse3() 2545 edge_idx = gi1_table_edge_idx[edge_idx]; in ihevc_sao_edge_offset_class2_ssse3() 2547 if(0 != edge_idx) in ihevc_sao_edge_offset_class2_ssse3() 2549 u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2_ssse3() 2564 WORD8 edge_idx; in ihevc_sao_edge_offset_class2_ssse3() local 2566 …edge_idx = 2 + SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd -… in ihevc_sao_edge_offset_class2_ssse3() 2569 edge_idx = gi1_table_edge_idx[edge_idx]; in ihevc_sao_edge_offset_class2_ssse3() 2571 if(0 != edge_idx) in ihevc_sao_edge_offset_class2_ssse3() 2573 …d_ht_tmp = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… in ihevc_sao_edge_offset_class2_ssse3() [all …]
|
/external/libhevc/encoder/arm/ |
D | ihevce_common_utils_neon.c | 471 WORD32 a, b, c, edge_idx, pel_err; in ihevce_get_luma_eo_sao_params_neon() local 698 edge_idx = 2 + SIGN(c - a) + SIGN(c - b); in ihevce_get_luma_eo_sao_params_neon() 702 pi4_acc_error_category[edge_idx] += pel_err; in ihevce_get_luma_eo_sao_params_neon() 703 pi4_category_count[edge_idx]++; in ihevce_get_luma_eo_sao_params_neon() 879 edge_idx = 2 + SIGN(c - a) + SIGN(c - b); in ihevce_get_luma_eo_sao_params_neon() 883 pi4_acc_error_category[edge_idx] += pel_err; in ihevce_get_luma_eo_sao_params_neon() 884 pi4_category_count[edge_idx]++; in ihevce_get_luma_eo_sao_params_neon() 1060 edge_idx = 2 + SIGN(c - a) + SIGN(c - b); in ihevce_get_luma_eo_sao_params_neon() 1064 pi4_acc_error_category[edge_idx] += pel_err; in ihevce_get_luma_eo_sao_params_neon() 1065 pi4_category_count[edge_idx]++; in ihevce_get_luma_eo_sao_params_neon() [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | node_matchers.cc | 264 int edge_idx = 0; in DescribeTo() local 266 *os << "\n [" << edge_idx << "] matching ("; in DescribeTo() 272 edge_idx++; in DescribeTo()
|