/external/libhevc/common/ |
D | ihevc_deblk_edge_filter.c | 98 void ihevc_deblk_luma_vert(UWORD8 *pu1_src, in ihevc_deblk_luma_vert() argument 137 dq0 = ABS(pu1_src[2] - 2 * pu1_src[1] + pu1_src[0]); in ihevc_deblk_luma_vert() 138 dq3 = ABS(pu1_src[3 * src_strd + 2] - 2 * pu1_src[3 * src_strd + 1] in ihevc_deblk_luma_vert() 139 + pu1_src[3 * src_strd + 0]); in ihevc_deblk_luma_vert() 140 dp0 = ABS(pu1_src[-3] - 2 * pu1_src[-2] + pu1_src[-1]); in ihevc_deblk_luma_vert() 141 dp3 = ABS(pu1_src[3 * src_strd - 3] - 2 * pu1_src[3 * src_strd - 2] in ihevc_deblk_luma_vert() 142 + pu1_src[3 * src_strd - 1]); in ihevc_deblk_luma_vert() 160 && (ABS(pu1_src[3] - pu1_src[0]) + ABS(pu1_src[-1] - pu1_src[-4]) in ihevc_deblk_luma_vert() 162 && ABS(pu1_src[0] - pu1_src[-1]) < ((5 * tc + 1) >> 1)) in ihevc_deblk_luma_vert() 167 pu1_src += 3 * src_strd; in ihevc_deblk_luma_vert() [all …]
|
D | ihevc_sao.c | 72 void ihevc_sao_band_offset_luma(UWORD8 *pu1_src, in ihevc_sao_band_offset_luma() argument 90 pu1_src_left[row] = pu1_src[row * src_strd + (wd - 1)]; in ihevc_sao_band_offset_luma() 95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_luma() 114 band_idx = band_table[pu1_src[col] >> band_shift]; in ihevc_sao_band_offset_luma() 115 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1); in ihevc_sao_band_offset_luma() 117 pu1_src += src_strd; in ihevc_sao_band_offset_luma() 124 void ihevc_sao_band_offset_chroma(UWORD8 *pu1_src, in ihevc_sao_band_offset_chroma() argument 145 pu1_src_left[2 * row] = pu1_src[row * src_strd + (wd - 2)]; in ihevc_sao_band_offset_chroma() 146 pu1_src_left[2 * row + 1] = pu1_src[row * src_strd + (wd - 1)]; in ihevc_sao_band_offset_chroma() 152 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_chroma() [all …]
|
D | ihevc_padding.c | 89 void ihevc_pad_vert(UWORD8 *pu1_src, in ihevc_pad_vert() argument 99 memcpy(pu1_src - row * src_strd, pu1_src, wd); in ihevc_pad_vert() 100 memcpy(pu1_src + (ht + row - 1) * src_strd, in ihevc_pad_vert() 101 pu1_src + (ht - 1) * src_strd, wd); in ihevc_pad_vert() 143 void ihevc_pad_horz_chroma(UWORD8 *pu1_src, in ihevc_pad_horz_chroma() argument 151 UWORD16 *pu2_src = (UWORD16 *)pu1_src; in ihevc_pad_horz_chroma() 210 void ihevc_pad_horz_luma(UWORD8 *pu1_src, in ihevc_pad_horz_luma() argument 220 memset(pu1_src - pad_size, *pu1_src, pad_size); in ihevc_pad_horz_luma() 221 memset(pu1_src + wd, *(pu1_src + wd - 1), pad_size); in ihevc_pad_horz_luma() 223 pu1_src += src_strd; in ihevc_pad_horz_luma() [all …]
|
D | ihevc_inter_pred_filters.c | 108 void ihevc_inter_pred_luma_copy(UWORD8 *pu1_src, in ihevc_inter_pred_luma_copy() argument 122 pu1_dst[col] = pu1_src[col]; in ihevc_inter_pred_luma_copy() 125 pu1_src += src_strd; in ihevc_inter_pred_luma_copy() 170 void ihevc_inter_pred_luma_horz(UWORD8 *pu1_src, in ihevc_inter_pred_luma_horz() argument 187 i2_tmp += pi1_coeff[i] * pu1_src[col + (i - 3)]; in ihevc_inter_pred_luma_horz() 195 pu1_src += src_strd; in ihevc_inter_pred_luma_horz() 243 void ihevc_inter_pred_luma_vert(UWORD8 *pu1_src, in ihevc_inter_pred_luma_vert() argument 260 i2_tmp += pi1_coeff[i] * pu1_src[col + (i - 3) * src_strd]; in ihevc_inter_pred_luma_vert() 268 pu1_src += src_strd; in ihevc_inter_pred_luma_vert() 316 void ihevc_inter_pred_luma_copy_w16out(UWORD8 *pu1_src, in ihevc_inter_pred_luma_copy_w16out() argument [all …]
|
/external/libavc/common/ |
D | ih264_inter_pred_filters.c | 110 void ih264_inter_pred_luma_copy(UWORD8 *pu1_src, in ih264_inter_pred_luma_copy() argument 126 pu1_dst[col] = pu1_src[col]; in ih264_inter_pred_luma_copy() 129 pu1_src += src_strd; in ih264_inter_pred_luma_copy() 170 void ih264_interleave_copy(UWORD8 *pu1_src, in ih264_interleave_copy() argument 184 pu1_dst[col] = pu1_src[col]; in ih264_interleave_copy() 187 pu1_src += src_strd; in ih264_interleave_copy() 227 void ih264_inter_pred_luma_horz(UWORD8 *pu1_src, in ih264_inter_pred_luma_horz() argument 247 (pu1_src[col - 2] + pu1_src[col + 3]) in ih264_inter_pred_luma_horz() 249 (pu1_src[col - 1] + pu1_src[col + 2]) in ih264_inter_pred_luma_horz() 251 (pu1_src[col] + pu1_src[col + 1]); in ih264_inter_pred_luma_horz() [all …]
|
D | ih264_padding.c | 90 void ih264_pad_top(UWORD8 *pu1_src, in ih264_pad_top() argument 99 memcpy(pu1_src - row * src_strd, pu1_src, wd); in ih264_pad_top() 131 void ih264_pad_bottom(UWORD8 *pu1_src, in ih264_pad_bottom() argument 140 memcpy(pu1_src + (row - 1) * src_strd, pu1_src - 1 * src_strd, wd); in ih264_pad_bottom() 170 void ih264_pad_left_luma(UWORD8 *pu1_src, in ih264_pad_left_luma() argument 180 memset(pu1_src - pad_size, *pu1_src, pad_size); in ih264_pad_left_luma() 182 pu1_src += src_strd; in ih264_pad_left_luma() 212 void ih264_pad_left_chroma(UWORD8 *pu1_src, in ih264_pad_left_chroma() argument 222 UWORD16 *pu2_src = (UWORD16 *)pu1_src; in ih264_pad_left_chroma() 266 void ih264_pad_right_luma(UWORD8 *pu1_src, in ih264_pad_right_luma() argument [all …]
|
D | ih264_weighted_pred.c | 199 void ih264_weighted_pred_luma(UWORD8 *pu1_src, in ih264_weighted_pred_luma() argument 222 for(j = 0; j < wd; j++, pu1_src++, pu1_dst++) in ih264_weighted_pred_luma() 223 *pu1_dst = CLIP_U8((wt * (*pu1_src) + i_ofst) >> log_wd); in ih264_weighted_pred_luma() 225 pu1_src += src_strd; in ih264_weighted_pred_luma() 233 for(j = 0; j < wd; j++, pu1_src++, pu1_dst++) in ih264_weighted_pred_luma() 234 *pu1_dst = CLIP_U8(wt * (*pu1_src) + ofst); in ih264_weighted_pred_luma() 236 pu1_src += src_strd; in ih264_weighted_pred_luma() 273 void ih264_weighted_pred_chroma(UWORD8 *pu1_src, in ih264_weighted_pred_chroma() argument 303 for(j = 0; j < wd; j++, pu1_src++, pu1_dst++) in ih264_weighted_pred_chroma() 305 *pu1_dst = CLIP_U8((wt_u * (*pu1_src) + ofst_u) >> log_wd); in ih264_weighted_pred_chroma() [all …]
|
/external/libhevc/common/x86/ |
D | ihevc_inter_pred_filters_sse42_intr.c | 109 void ihevc_inter_pred_luma_copy_w16out_sse42(UWORD8 *pu1_src, in ihevc_inter_pred_luma_copy_w16out_sse42() argument 130 src0_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src)); /* row =0 */ in ihevc_inter_pred_luma_copy_w16out_sse42() 131 src1_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 1 * src_strd)); /* row =1 */ in ihevc_inter_pred_luma_copy_w16out_sse42() 132 src2_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 2 * src_strd)); /* row =2 */ in ihevc_inter_pred_luma_copy_w16out_sse42() 133 src3_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 3 * src_strd)); /* row =3 */ in ihevc_inter_pred_luma_copy_w16out_sse42() 151 pu1_src += 8; /* pointer update */ in ihevc_inter_pred_luma_copy_w16out_sse42() 155 pu1_src += 4 * src_strd - wd; /* pointer update */ in ihevc_inter_pred_luma_copy_w16out_sse42() 166 src0_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src)); /* row =0 */ in ihevc_inter_pred_luma_copy_w16out_sse42() 167 src1_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 1 * src_strd)); /* row =1 */ in ihevc_inter_pred_luma_copy_w16out_sse42() 168 src2_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 2 * src_strd)); /* row =2 */ in ihevc_inter_pred_luma_copy_w16out_sse42() [all …]
|
D | ihevc_inter_pred_filters_ssse3_intr.c | 118 void ihevc_inter_pred_luma_copy_ssse3(UWORD8 *pu1_src, in ihevc_inter_pred_luma_copy_ssse3() argument 141 src0_16x8b = _mm_loadu_si128((__m128i *)(pu1_src)); /* row =0 */ in ihevc_inter_pred_luma_copy_ssse3() 142 src1_16x8b = _mm_loadu_si128((__m128i *)(pu1_src + 1 * src_strd)); /* row =1 */ in ihevc_inter_pred_luma_copy_ssse3() 143 src2_16x8b = _mm_loadu_si128((__m128i *)(pu1_src + 2 * src_strd)); /* row =2 */ in ihevc_inter_pred_luma_copy_ssse3() 144 src3_16x8b = _mm_loadu_si128((__m128i *)(pu1_src + 3 * src_strd)); /* row =3 */ in ihevc_inter_pred_luma_copy_ssse3() 152 pu1_src += 16; /* pointer update */ in ihevc_inter_pred_luma_copy_ssse3() 156 pu1_src += 4 * src_strd - wd; /* pointer update */ in ihevc_inter_pred_luma_copy_ssse3() 168 src0_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src)); /* row =0 */ in ihevc_inter_pred_luma_copy_ssse3() 169 src1_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 1 * src_strd)); /* row =1 */ in ihevc_inter_pred_luma_copy_ssse3() 170 src2_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 2 * src_strd)); /* row =2 */ in ihevc_inter_pred_luma_copy_ssse3() [all …]
|
D | ihevc_padding_ssse3_intr.c | 91 void ihevc_pad_left_luma_ssse3(UWORD8 *pu1_src, in ihevc_pad_left_luma_ssse3() argument 109 src_temp0_16x8b = _mm_loadu_si128((__m128i *)pu1_src); in ihevc_pad_left_luma_ssse3() 110 pu1_dst = pu1_src - pad_size; in ihevc_pad_left_luma_ssse3() 116 pu1_src += src_strd; in ihevc_pad_left_luma_ssse3() 162 void ihevc_pad_left_chroma_ssse3(UWORD8 *pu1_src, in ihevc_pad_left_chroma_ssse3() argument 180 src_temp0_16x8b = _mm_loadu_si128((__m128i *)pu1_src); in ihevc_pad_left_chroma_ssse3() 181 pu1_dst = pu1_src - pad_size; in ihevc_pad_left_chroma_ssse3() 188 pu1_src += src_strd; in ihevc_pad_left_chroma_ssse3() 234 void ihevc_pad_right_luma_ssse3(UWORD8 *pu1_src, in ihevc_pad_right_luma_ssse3() argument 250 src_temp0_16x8b = _mm_loadu_si128((__m128i *)(pu1_src - 1)); in ihevc_pad_right_luma_ssse3() [all …]
|
/external/libhevc/encoder/arm/ |
D | ihevce_copy_neon.c | 119 … UWORD8 *pu1_dst, WORD32 dst_strd, UWORD8 *pu1_src, WORD32 src_strd, WORD32 blk_wd, WORD32 blk_ht) in copy_2d_neon() argument 129 *(uint32_t *)pu1_dst = *(const uint32_t *)pu1_src; in copy_2d_neon() 130 pu1_src += src_strd; in copy_2d_neon() 133 *(uint32_t *)pu1_dst = *(const uint32_t *)pu1_src; in copy_2d_neon() 134 pu1_src += src_strd; in copy_2d_neon() 146 src_0 = vld1_u8(pu1_src); in copy_2d_neon() 149 src_1 = vld1_u8(pu1_src + src_strd); in copy_2d_neon() 151 pu1_src += 2 * src_strd; in copy_2d_neon() 163 src_0 = vld1q_u8(pu1_src); in copy_2d_neon() 166 src_1 = vld1q_u8(pu1_src + src_strd); in copy_2d_neon() [all …]
|
D | ihevce_sad_compute_neon.c | 57 UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 src_strd, WORD32 pred_strd) in ihevce_4x4_sad_computer_neon() argument 59 const uint8x16_t src_u8 = load_unaligned_u8q(pu1_src, src_strd); in ihevce_4x4_sad_computer_neon() 73 UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 src_strd, WORD32 pred_strd, WORD32 ht) in ihevce_8xn_sad_computer_neon() argument 85 const uint8x8_t src = vld1_u8(pu1_src); in ihevce_8xn_sad_computer_neon() 89 pu1_src += src_strd; in ihevce_8xn_sad_computer_neon() 100 UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 src_strd, WORD32 pred_strd, WORD32 ht) in ihevce_16xn_sad_computer_neon() argument 113 const uint8x16_t src = vld1q_u8(pu1_src); in ihevce_16xn_sad_computer_neon() 118 pu1_src += src_strd; in ihevce_16xn_sad_computer_neon() 130 UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 src_strd, WORD32 pred_strd, WORD32 ht) in ihevce_32xn_sad_computer_neon() argument 143 const uint8x16_t src_0 = vld1q_u8(pu1_src); in ihevce_32xn_sad_computer_neon() [all …]
|
D | ihevce_hme_utils_neon.c | 105 const UWORD8 *pu1_src, in ihevce_get_wt_inp_4x8_neon() argument 124 src0_8x8b = vld1_u8((pu1_src + 0 * src_stride)); in ihevce_get_wt_inp_4x8_neon() 125 src1_8x8b = vld1_u8((pu1_src + 1 * src_stride)); in ihevce_get_wt_inp_4x8_neon() 126 src2_8x8b = vld1_u8((pu1_src + 2 * src_stride)); in ihevce_get_wt_inp_4x8_neon() 127 src3_8x8b = vld1_u8((pu1_src + 3 * src_stride)); in ihevce_get_wt_inp_4x8_neon() 235 UWORD8 *pu1_src, *pu1_dst; in hme_get_wt_inp_8x8_neon() local 250 pu1_src = ps_curr_layer->pu1_inp; in hme_get_wt_inp_8x8_neon() 251 pu1_src += (pos_x + (pos_y * src_stride)); in hme_get_wt_inp_8x8_neon() 259 src0_8x8b = vld1_u8(pu1_src + 0 * src_stride); in hme_get_wt_inp_8x8_neon() 260 src1_8x8b = vld1_u8(pu1_src + 1 * src_stride); in hme_get_wt_inp_8x8_neon() [all …]
|
D | ihevce_ssd_calculator_neon.c | 57 UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 src_strd, WORD32 pred_strd, WORD32 is_chroma) in ihevce_4x4_ssd_computer_neon() argument 65 src = load_unaligned_u8q(pu1_src, src_strd); in ihevce_4x4_ssd_computer_neon() 70 src = load_unaligned_u8qi(pu1_src, src_strd); in ihevce_4x4_ssd_computer_neon() 83 ihevce_1x8_ssd_computer_neon(UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 is_chroma) in ihevce_1x8_ssd_computer_neon() argument 91 src = vld1_u8(pu1_src); in ihevce_1x8_ssd_computer_neon() 96 src = vld2_u8(pu1_src).val[0]; in ihevce_1x8_ssd_computer_neon() 107 ihevce_1x16_ssd_computer_neon(UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 is_chroma) in ihevce_1x16_ssd_computer_neon() argument 115 src = vld1q_u8(pu1_src); in ihevce_1x16_ssd_computer_neon() 120 src = vld2q_u8(pu1_src).val[0]; in ihevce_1x16_ssd_computer_neon() 133 ihevce_1x32_ssd_computer_neon(UWORD8 *pu1_src, UWORD8 *pu1_pred, WORD32 is_chroma) in ihevce_1x32_ssd_computer_neon() argument [all …]
|
/external/libavc/encoder/ |
D | ime_distortion_metrics.c | 118 void ime_sub_pel_compute_sad_16x16(UWORD8 *pu1_src, in ime_sub_pel_compute_sad_16x16() argument 143 src = pu1_src[col]; in ime_sub_pel_compute_sad_16x16() 170 pu1_src += src_strd; in ime_sub_pel_compute_sad_16x16() 215 UWORD8 *pu1_src, in ime_calculate_sad4_prog() argument 241 src = *pu1_src++; in ime_calculate_sad4_prog() 261 pu1_src += u4_cur_buf_offset; in ime_calculate_sad4_prog() 298 UWORD8 *pu1_src, in ime_calculate_sad3_prog() argument 310 USADA8(pu1_src, pu1_ref1, pi4_sad[0]); in ime_calculate_sad3_prog() 311 USADA8(pu1_src, pu1_ref2, pi4_sad[1]); in ime_calculate_sad3_prog() 312 USADA8(pu1_src, pu1_ref3, pi4_sad[2]); in ime_calculate_sad3_prog() [all …]
|
D | ih264e_half_pel.c | 100 void ih264e_sixtapfilter_horz(UWORD8 *pu1_src, in ih264e_sixtapfilter_horz() argument 112 pu1_src -= 2; in ih264e_sixtapfilter_horz() 116 for (u4_j = 0; u4_j < u4_w; u4_j++, pu1_dst++, pu1_src++) in ih264e_sixtapfilter_horz() 120 i16_temp = ih264_g_six_tap[0] * (*pu1_src + pu1_src[5]) in ih264e_sixtapfilter_horz() 121 + ih264_g_six_tap[1] * (pu1_src[1] + pu1_src[4]) in ih264e_sixtapfilter_horz() 122 + ih264_g_six_tap[2] * (pu1_src[2] + pu1_src[3]); in ih264e_sixtapfilter_horz() 128 pu1_src += src_strd - u4_w; in ih264e_sixtapfilter_horz() 179 void ih264e_sixtap_filter_2dvh_vert(UWORD8 *pu1_src, in ih264e_sixtap_filter_2dvh_vert() argument 196 tmp = ih264_g_six_tap[0] * (pu1_src[col - 2 * src_strd] + pu1_src[col + 3 * src_strd]) + in ih264e_sixtap_filter_2dvh_vert() 197 … ih264_g_six_tap[1] * (pu1_src[col - 1 * src_strd] + pu1_src[col + 2 * src_strd]) + in ih264e_sixtap_filter_2dvh_vert() [all …]
|
/external/libavc/common/x86/ |
D | ih264_padding_ssse3.c | 92 void ih264_pad_left_luma_ssse3(UWORD8 *pu1_src, in ih264_pad_left_luma_ssse3() argument 107 pu1_dst = pu1_src - pad_size; in ih264_pad_left_luma_ssse3() 108 src_temp0_16x8b = _mm_set1_epi8(*pu1_src); in ih264_pad_left_luma_ssse3() 113 pu1_src += src_strd; in ih264_pad_left_luma_ssse3() 159 void ih264_pad_left_chroma_ssse3(UWORD8 *pu1_src, in ih264_pad_left_chroma_ssse3() argument 173 pu1_dst = pu1_src - pad_size; in ih264_pad_left_chroma_ssse3() 174 src_temp0_16x8b = _mm_set1_epi16(*((UWORD16 *)pu1_src)); in ih264_pad_left_chroma_ssse3() 179 pu1_src += src_strd; in ih264_pad_left_chroma_ssse3() 225 void ih264_pad_right_luma_ssse3(UWORD8 *pu1_src, in ih264_pad_right_luma_ssse3() argument 240 pu1_dst = pu1_src; in ih264_pad_right_luma_ssse3() [all …]
|
D | ih264_inter_pred_filters_ssse3.c | 90 void ih264_inter_pred_luma_copy_ssse3(UWORD8 *pu1_src, in ih264_inter_pred_luma_copy_ssse3() argument 116 *((WORD32 *)(pu1_dst)) = *((WORD32 *)(pu1_src)); in ih264_inter_pred_luma_copy_ssse3() 117 *((WORD32 *)(pu1_dst + dst_strd)) = *((WORD32 *)(pu1_src + src_strd)); in ih264_inter_pred_luma_copy_ssse3() 118 *((WORD32 *)(pu1_dst + dst_strd2)) = *((WORD32 *)(pu1_src + src_strd2)); in ih264_inter_pred_luma_copy_ssse3() 119 *((WORD32 *)(pu1_dst + dst_strd3)) = *((WORD32 *)(pu1_src + src_strd3)); in ih264_inter_pred_luma_copy_ssse3() 122 pu1_src += src_strd4; in ih264_inter_pred_luma_copy_ssse3() 131 y_0_16x8b = _mm_loadl_epi64((__m128i *)pu1_src); in ih264_inter_pred_luma_copy_ssse3() 132 y_1_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + src_strd)); in ih264_inter_pred_luma_copy_ssse3() 133 y_2_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + src_strd2)); in ih264_inter_pred_luma_copy_ssse3() 134 y_3_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + src_strd3)); in ih264_inter_pred_luma_copy_ssse3() [all …]
|
/external/libmpeg2/common/x86/ |
D | ideint_spatial_filter_ssse3.c | 92 void ideint_spatial_filter_ssse3(UWORD8 *pu1_src, in ideint_spatial_filter_ssse3() argument 119 row1_m1 = _mm_loadl_epi64((__m128i *) (pu1_src - 1)); in ideint_spatial_filter_ssse3() 120 row1_0 = _mm_loadl_epi64((__m128i *) (pu1_src)); in ideint_spatial_filter_ssse3() 121 row1_p1 = _mm_loadl_epi64((__m128i *) (pu1_src + 1)); in ideint_spatial_filter_ssse3() 122 pu1_src += src_strd; in ideint_spatial_filter_ssse3() 134 row2_m1 = _mm_loadl_epi64((__m128i *) (pu1_src - 1)); in ideint_spatial_filter_ssse3() 135 row2_0 = _mm_loadl_epi64((__m128i *) (pu1_src)); in ideint_spatial_filter_ssse3() 136 row2_p1 = _mm_loadl_epi64((__m128i *) (pu1_src + 1)); in ideint_spatial_filter_ssse3() 137 pu1_src += src_strd; in ideint_spatial_filter_ssse3() 158 pu1_src -= (SUB_BLK_HT + 1) * src_strd; in ideint_spatial_filter_ssse3() [all …]
|
/external/libhevc/decoder/ |
D | ihevcd_deblk.c | 109 UWORD8 *pu1_src; in ihevcd_deblk_ctb() local 228 …pu1_src = ps_deblk->pu1_cur_pic_luma + ((ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * ps_deblk->ps_co… in ihevcd_deblk_ctb() 229 pu1_src += i4_is_last_ctb_y ? ps_deblk->ps_codec->i4_strd << log2_ctb_size : 0; in ihevcd_deblk_ctb() 233 pu1_src -= 4 * src_strd; in ihevcd_deblk_ctb() 269 pu1_src += 4 * (ctb_size / 4 - row) * src_strd; in ihevcd_deblk_ctb() 271 pu1_src += 4 * bs_tz * src_strd; in ihevcd_deblk_ctb() 327 DUMP_DEBLK_LUMA_VERT(pu1_src, src_strd, in ihevcd_deblk_ctb() 332 ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr(pu1_src, src_strd, in ihevcd_deblk_ctb() 339 pu1_src += 4 * src_strd; in ihevcd_deblk_ctb() 349 pu1_src -= (src_strd << log2_ctb_size); in ihevcd_deblk_ctb() [all …]
|
/external/libhevc/common/arm/ |
D | ihevc_inter_pred_chroma_horz.s | 83 @void ihevc_inter_pred_chroma_horz(uword8 *pu1_src, 91 @r0 => *pu1_src 126 sub r12,r0,#2 @pu1_src - 2 128 add r4,r12,r2 @pu1_src_tmp2_8 = pu1_src + src_strd 166 vld1.u32 {q0},[r12],r11 @vector load pu1_src 168 vld1.u32 {q1},[r12],r11 @vector load pu1_src 170 vld1.u32 {q2},[r12],r11 @vector load pu1_src 172 vld1.u32 {q3},[r12],r9 @vector load pu1_src 176 vld1.u32 {q4},[r4],r11 @vector load pu1_src 178 vld1.u32 {q5},[r4],r11 @vector load pu1_src [all …]
|
D | ihevc_inter_pred_chroma_horz_w16out.s | 80 @void ihevc_inter_pred_chroma_horz_w16out(uword8 *pu1_src, 88 @r0 => *pu1_src 128 sub r12,r0,#2 @pu1_src - 2 130 add r4,r12,r2 @pu1_src_tmp2_8 = pu1_src + src_strd 182 vld1.u32 {q0},[r12],r11 @vector load pu1_src 185 vld1.u32 {q1},[r12],r11 @vector load pu1_src 188 vld1.u32 {q2},[r12],r11 @vector load pu1_src 191 vld1.u32 {q3},[r12],r9 @vector load pu1_src 195 vld1.u32 {q4},[r4],r11 @vector load pu1_src 197 vld1.u32 {q5},[r4],r11 @vector load pu1_src [all …]
|
D | ihevc_sao_edge_offset_class2_chroma.s | 39 @void ihevc_sao_edge_offset_class2_chroma(UWORD8 *pu1_src, 52 @r0 => *pu1_src 108 STR r0,[sp,#212] @Store pu1_src in sp 119 MLA r11,r10,r1,r0 @pu1_src[(ht - 1) * src_strd + col] 123 VLD1.8 D0,[r11]! @pu1_src[(ht - 1) * src_strd + col] 125 … VST1.8 D0,[r12]! @au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col] 131 LDRB r9,[r0] @u1_pos_0_0_tmp_u = pu1_src[0] 132 LDRB r10,[r0,#1] @u1_pos_0_0_tmp_v = pu1_src[1] 136 ADD r14,r0,r1 @pu1_src + src_strd 138 SUB r12,r9,r11 @pu1_src[0] - pu1_src_top_left[0] [all …]
|
/external/libavc/encoder/x86/ |
D | ih264e_half_pel_ssse3.c | 100 void ih264e_sixtapfilter_horz_ssse3(UWORD8 *pu1_src, in ih264e_sixtapfilter_horz_ssse3() argument 118 pu1_src -= 2; // the filter input starts from x[-2] (till x[3]) in ih264e_sixtapfilter_horz_ssse3() 132 …src_r0_16x8b = _mm_loadu_si128((__m128i *)pu1_src); //a0 a1 a2 a3 a4 a5 a6 a7 … in ih264e_sixtapfilter_horz_ssse3() 133 …src_r1_16x8b = _mm_loadu_si128((__m128i *)(pu1_src + 8)); //b0 b1 b2 b3 b4 b5 b6 b7 … in ih264e_sixtapfilter_horz_ssse3() 180 tmp = ((pu1_src[18] + pu1_src[19]) << 2) - pu1_src[17] - pu1_src[20]; in ih264e_sixtapfilter_horz_ssse3() 181 tmp = pu1_src[16] + pu1_src[21] + (tmp << 2) + tmp; in ih264e_sixtapfilter_horz_ssse3() 193 pu1_src += src_strd; in ih264e_sixtapfilter_horz_ssse3() 246 void ih264e_sixtap_filter_2dvh_vert_ssse3(UWORD8 *pu1_src, in ih264e_sixtap_filter_2dvh_vert_ssse3() argument 278 pu1_src -= 2; in ih264e_sixtap_filter_2dvh_vert_ssse3() 279 pu1_src -= src_strd << 1; // the filter input starts from x[-2] (till x[3]) in ih264e_sixtap_filter_2dvh_vert_ssse3() [all …]
|
D | ime_distortion_metrics_sse42.c | 101 void ime_compute_sad_16x16_sse42(UWORD8 *pu1_src, in ime_compute_sad_16x16_sse42() argument 116 src_r0 = _mm_loadu_si128((__m128i *) (pu1_src)); in ime_compute_sad_16x16_sse42() 117 src_r1 = _mm_loadu_si128((__m128i *) (pu1_src + src_strd)); in ime_compute_sad_16x16_sse42() 118 src_r2 = _mm_loadu_si128((__m128i *) (pu1_src + 2*src_strd)); in ime_compute_sad_16x16_sse42() 119 src_r3 = _mm_loadu_si128((__m128i *) (pu1_src + 3*src_strd)); in ime_compute_sad_16x16_sse42() 136 pu1_src += 4*src_strd; in ime_compute_sad_16x16_sse42() 139 src_r0 = _mm_loadu_si128((__m128i *) (pu1_src)); in ime_compute_sad_16x16_sse42() 140 src_r1 = _mm_loadu_si128((__m128i *) (pu1_src + src_strd)); in ime_compute_sad_16x16_sse42() 141 src_r2 = _mm_loadu_si128((__m128i *) (pu1_src + 2*src_strd)); in ime_compute_sad_16x16_sse42() 142 src_r3 = _mm_loadu_si128((__m128i *) (pu1_src + 3*src_strd)); in ime_compute_sad_16x16_sse42() [all …]
|