/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 | 158 VADD.I8 Q6,Q0,Q8 @edge_idx = vaddq_s8(const_2, sign_up) 161 VADD.I8 Q6,Q6,Q10 @edge_idx = vaddq_s8(edge_idx, sign_down) 165 VTBL.8 D12,{D6},D12 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 169 VTBL.8 D13,{D6},D13 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 170 VADD.I8 Q11,Q0,Q8 @II edge_idx = vaddq_s8(const_2, sign_up) 174 VTBL.8 D12,{D7},D12 @offset = vtbl1_s8(offset_tbl, vget_low_s8(edge_idx)) 175 VADD.I8 Q11,Q11,Q4 @II edge_idx = vaddq_s8(edge_idx, sign_down) 179 VTBL.8 D22,{D6},D22 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 183 VTBL.8 D23,{D6},D23 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 188 VTBL.8 D13,{D7},D13 @offset = vtbl1_s8(offset_tbl, vget_high_s8(edge_idx)) [all …]
|
D | ihevc_sao_edge_offset_class2.s | 133 ADD r4,r4,#2 @edge_idx 135 LDRSB r12,[r14,r4] @edge_idx = gi1_table_edge_idx[edge_idx] 136 CMP r12,#0 @0 != edge_idx 138 LDRSB r10,[r6,r12] @pi1_sao_offset[edge_idx] 139 ADD r9,r9,r10 @pu1_src[0] + pi1_sao_offset[edge_idx] 140 … @u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 167 ADD r11,r11,#2 @edge_idx 172 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 175 LDRSB r11,[r6,r12] @pi1_sao_offset[edge_idx] 176 … r10,r10,r11 @pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx] [all …]
|
D | ihevc_sao_edge_offset_class1_chroma.s | 163 VADD.I8 Q6,Q0,Q8 @edge_idx = vaddq_s8(const_2, sign_up) 166 VADD.I8 Q6,Q6,Q10 @edge_idx = vaddq_s8(edge_idx, sign_down) 170 VTBL.8 D12,{D6},D12 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 174 VTBL.8 D13,{D6},D13 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 175 VADD.I8 Q11,Q0,Q8 @II edge_idx = vaddq_s8(const_2, sign_up) 180 VTBL.8 D12,{D7},D12 @offset = vtbl1_s8(offset_tbl, vget_low_s8(edge_idx)) 181 VADD.I8 Q11,Q11,Q14 @II edge_idx = vaddq_s8(edge_idx, sign_down) 188 VTBL.8 D22,{D6},D22 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 192 VTBL.8 D23,{D6},D23 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 196 @VTBL.8 D13,D7,D13 @offset = vtbl1_s8(offset_tbl, vget_high_s8(edge_idx)) [all …]
|
D | ihevc_sao_edge_offset_class3.s | 136 ADD r11,r11,#2 @edge_idx 138 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 139 CMP r12,#0 @0 != edge_idx 141 LDRSB r10,[r6,r12] @pi1_sao_offset[edge_idx] 142 ADD r9,r9,r10 @pu1_src[0] + pi1_sao_offset[edge_idx] 143 … @u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 179 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 ADD r10,r10,r11 @pu1_src[(ht - 1) * src_strd] + pi1_sao_offset[edge_idx] [all …]
|
D | ihevc_sao_edge_offset_class2_chroma.s | 146 ADD r11,r11,#2 @edge_idx 148 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 149 CMP r12,#0 @0 != edge_idx 151 LDRSB r11,[r6,r12] @pi1_sao_offset_u[edge_idx] 152 ADD r9,r9,r11 @pu1_src[0] + pi1_sao_offset_u[edge_idx] 153 … @u1_pos_0_0_tmp_u = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 176 ADD r11,r11,#2 @edge_idx 178 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 179 CMP r12,#0 @0 != edge_idx 182 LDRSB r11,[r11,r12] @pi1_sao_offset_v[edge_idx] [all …]
|
D | ihevc_sao_edge_offset_class3_chroma.s | 139 ADD r11,r11,#2 @edge_idx 144 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 145 CMP r12,#0 @0 != edge_idx 147 LDRSB r11,[r6,r12] @pi1_sao_offset_u[edge_idx] 148 ADD r9,r9,r11 @pu1_src[wd - 2] + pi1_sao_offset_u[edge_idx] 149 … @u1_pos_0_0_tmp_u = CLIP3(pu1_src[wd - 2] + pi1_sao_offset[edge_idx], 0, (1 << bit_de… 167 ADD r11,r11,#2 @edge_idx 172 LDRSB r12,[r14,r11] @edge_idx = gi1_table_edge_idx[edge_idx] 173 CMP r12,#0 @0 != edge_idx 176 LDRSB r11,[r11,r12] @pi1_sao_offset_v[edge_idx] [all …]
|
D | ihevc_sao_edge_offset_class0_chroma.s | 200 VADD.U8 Q7,Q1,Q10 @edge_idx = vaddq_s8(const_2, sign_left) 202 VADD.U8 Q7,Q7,Q11 @edge_idx = vaddq_s8(edge_idx, sign_right) 203 VTBL.8 D14,{D10},D14 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 207 VTBL.8 D15,{D10},D15 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 210 VAND Q7,Q7,Q4 @edge_idx = vandq_s8(edge_idx, au1_mask) 214 VTBL.8 D16,{D11},D14 @offset = vtbl1_s8(offset_tbl_u, vget_low_s8(edge_idx)) 215 VADD.U8 Q12,Q1,Q10 @II edge_idx = vaddq_s8(const_2, sign_left) 219 VADD.U8 Q12,Q12,Q11 @II edge_idx = vaddq_s8(edge_idx, sign_right) 222 VTBL.8 D24,{D10},D24 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 226 VTBL.8 D25,{D10},D25 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) [all …]
|
D | ihevc_sao_edge_offset_class0.s | 195 VADD.I8 Q7,Q1,Q10 @edge_idx = vaddq_s8(const_2, sign_left) 198 VADD.I8 Q7,Q7,Q11 @edge_idx = vaddq_s8(edge_idx, sign_right) 202 VTBL.8 D14,{D10},D14 @vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 206 VTBL.8 D15,{D10},D15 @vtbl1_s8(edge_idx_tbl, vget_high_s8(edge_idx)) 209 VAND Q7,Q7,Q4 @edge_idx = vandq_s8(edge_idx, au1_mask) 210 VTBL.8 D16,{D11},D14 @offset = vtbl1_s8(offset_tbl, vget_low_s8(edge_idx)) 213 VADD.I8 Q14,Q1,Q10 @II edge_idx = vaddq_s8(const_2, sign_left) 214 VADD.I8 Q14,Q14,Q11 @II edge_idx = vaddq_s8(edge_idx, sign_right) 217 VTBL.8 D28,{D10},D28 @II vtbl1_s8(edge_idx_tbl, vget_low_s8(edge_idx)) 220 VTBL.8 D29,{D10},D29 @II vtbl1_s8(edge_idx_tbl, vget_high_s8(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/opencv3/modules/stitching/src/ |
D | motion_estimators.cpp | 335 for (size_t edge_idx = 0; edge_idx < edges_.size(); ++edge_idx) in calcError() local 337 int i = edges_[edge_idx].first; in calcError() 338 int j = edges_[edge_idx].second; in calcError() 510 for (size_t edge_idx = 0; edge_idx < edges_.size(); ++edge_idx) in calcError() local 512 int i = edges_[edge_idx].first; in calcError() 513 int j = edges_[edge_idx].second; in calcError()
|
/external/opencv3/modules/core/test/ |
D | test_ds.cpp | 2075 int edge_idx = scanner->edge->flags & CV_SET_ELEM_IDX_MASK; in run() local 2077 CV_TS_SEQ_CHECK_CONDITION( edge_idx < graph->edges->active_count && in run() 2078 edge_mask[edge_idx] == 0, in run() 2080 edge_mask[edge_idx] = 1; in run()
|