/external/libhevc/common/ |
ihevc_deblk_edge_filter.c | 63 * @param[in] pu1_src 98 void ihevc_deblk_luma_vert(UWORD8 *pu1_src, 137 dq0 = ABS(pu1_src[2] - 2 * pu1_src[1] + pu1_src[0]); 138 dq3 = ABS(pu1_src[3 * src_strd + 2] - 2 * pu1_src[3 * src_strd + 1] 139 + pu1_src[3 * src_strd + 0]); 140 dp0 = ABS(pu1_src[-3] - 2 * pu1_src[-2] + pu1_src[-1]) [all...] |
ihevc_sao.c | 72 void ihevc_sao_band_offset_luma(UWORD8 *pu1_src, 90 pu1_src_left[row] = pu1_src[row * src_strd + (wd - 1)]; 95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; 114 band_idx = band_table[pu1_src[col] >> band_shift]; 115 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1); 117 pu1_src += src_strd; 124 void ihevc_sao_band_offset_chroma(UWORD8 *pu1_src, 145 pu1_src_left[2 * row] = pu1_src[row * src_strd + (wd - 2)]; 146 pu1_src_left[2 * row + 1] = pu1_src[row * src_strd + (wd - 1)] [all...] |
ihevc_padding.c | 60 * @param[in] pu1_src 89 void ihevc_pad_vert(UWORD8 *pu1_src, 99 memcpy(pu1_src - row * src_strd, pu1_src, wd); 100 memcpy(pu1_src + (ht + row - 1) * src_strd, 101 pu1_src + (ht - 1) * src_strd, wd); 114 * @param[in] pu1_src 143 void ihevc_pad_horz_chroma(UWORD8 *pu1_src, 151 UWORD16 *pu2_src = (UWORD16 *)pu1_src; 181 * @param[in] pu1_src [all...] |
ihevc_inter_pred_filters.c | 78 * @param[in] pu1_src 108 void ihevc_inter_pred_luma_copy(UWORD8 *pu1_src, 122 pu1_dst[col] = pu1_src[col]; 125 pu1_src += src_strd; 138 * to the elements pointed by 'pu1_src' and writes to the location pointed 141 * @param[in] pu1_src 170 void ihevc_inter_pred_luma_horz(UWORD8 *pu1_src, 187 i2_tmp += pi1_coeff[i] * pu1_src[col + (i - 3)]; 195 pu1_src += src_strd; 210 * the elements pointed by 'pu1_src' and writes to the location pointed b [all...] |
ihevc_padding.h | 42 UWORD8 *pu1_src, 56 UWORD8 *pu1_src, 70 UWORD8 *pu1_src, 83 typedef void ihevc_pad_top_ft(UWORD8 *pu1_src, 93 typedef void ihevc_pad_bottom_ft(UWORD8 *pu1_src, 103 typedef void ihevc_pad_left_luma_ft(UWORD8 *pu1_src, 113 typedef void ihevc_pad_left_chroma_ft(UWORD8 *pu1_src, 123 typedef void ihevc_pad_right_luma_ft(UWORD8 *pu1_src, 133 typedef void ihevc_pad_right_chroma_ft(UWORD8 *pu1_src,
|
/external/libavc/common/ |
ih264_padding.c | 72 * @param[in] pu1_src 90 void ih264_pad_top(UWORD8 *pu1_src, 99 memcpy(pu1_src - row * src_strd, pu1_src, wd); 113 * @param[in] pu1_src 131 void ih264_pad_bottom(UWORD8 *pu1_src, 140 memcpy(pu1_src + (row - 1) * src_strd, pu1_src - 1 * src_strd, wd); 152 * @param[in] pu1_src 170 void ih264_pad_left_luma(UWORD8 *pu1_src, [all...] |
ih264_inter_pred_filters.c | 83 * @param[in] pu1_src 110 void ih264_inter_pred_luma_copy(UWORD8 *pu1_src, 126 pu1_dst[col] = pu1_src[col]; 129 pu1_src += src_strd; 144 * @param[in] pu1_src 170 void ih264_interleave_copy(UWORD8 *pu1_src, 184 pu1_dst[col] = pu1_src[col]; 187 pu1_src += src_strd; 202 * @param[in] pu1_src 227 void ih264_inter_pred_luma_horz(UWORD8 *pu1_src, [all...] |
/external/libhevc/common/arm/ |
ihevc_inter_pred_chroma_horz.s | 48 @* to the elements pointed by 'pu1_src' and writes to the location pointed 54 @* @param[in] pu1_src 83 @void ihevc_inter_pred_chroma_horz(uword8 *pu1_src, 91 @r0 => *pu1_src 121 sub r12,r0,#2 @pu1_src - 2 123 add r4,r12,r2 @pu1_src_tmp2_8 = pu1_src + src_strd 161 vld1.u32 {q0},[r12],r11 @vector load pu1_src 163 vld1.u32 {q1},[r12],r11 @vector load pu1_src 165 vld1.u32 {q2},[r12],r11 @vector load pu1_src 167 vld1.u32 {q3},[r12],r9 @vector load pu1_src [all...] |
ihevc_inter_pred_chroma_horz_w16out.s | 48 @* to the elements pointed by 'pu1_src' and writes to the location pointed 52 @* @param[in] pu1_src 80 @void ihevc_inter_pred_chroma_horz_w16out(uword8 *pu1_src, 88 @r0 => *pu1_src 124 sub r12,r0,#2 @pu1_src - 2 126 add r4,r12,r2 @pu1_src_tmp2_8 = pu1_src + src_strd 178 vld1.u32 {q0},[r12],r11 @vector load pu1_src 181 vld1.u32 {q1},[r12],r11 @vector load pu1_src 184 vld1.u32 {q2},[r12],r11 @vector load pu1_src 187 vld1.u32 {q3},[r12],r9 @vector load pu1_src [all...] |
ihevc_sao_edge_offset_class2_chroma.s | 39 @void ihevc_sao_edge_offset_class2_chroma(UWORD8 *pu1_src, 52 @r0 => *pu1_src 97 STR r0,[sp,#0x2C] @Store pu1_src in sp 109 MLA r11,r10,r1,r0 @pu1_src[(ht - 1) * src_strd + col] 113 VLD1.8 D0,[r11]! @pu1_src[(ht - 1) * src_strd + col] 115 VST1.8 D0,[r12]! @au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col] 121 LDRB r9,[r0] @u1_pos_0_0_tmp_u = pu1_src[0] 122 LDRB r10,[r0,#1] @u1_pos_0_0_tmp_v = pu1_src[1] 126 ADD r14,r0,r1 @pu1_src + src_strd 128 SUB r12,r9,r11 @pu1_src[0] - pu1_src_top_left[0 [all...] |
ihevc_sao_edge_offset_class3_chroma.s | 39 @void ihevc_sao_edge_offset_class3_chroma(UWORD8 *pu1_src, 52 @r0 => *pu1_src 107 MLA r11,r10,r1,r0 @pu1_src[(ht - 1) * src_strd + col] 111 VLD1.8 D0,[r11]! @pu1_src[(ht - 1) * src_strd + col] 113 VST1.8 D0,[r12]! @au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col] 120 LDRB r9,[r0,r14] @u1_pos_0_0_tmp_u = pu1_src[wd - 2] 122 LDRB r10,[r0,r11] @u1_pos_0_0_tmp_v = pu1_src[wd - 1] 127 SUB r12,r9,r11 @pu1_src[wd - 2] - pu1_src_top_right[0] 130 MOVGT r12,#1 @SIGN(pu1_src[wd - 2] - pu1_src_top_right[0]) 131 ADD r11,r0,r1 @pu1_src + src_str [all...] |
/external/libmpeg2/common/x86/ |
icv_sad_ssse3.c | 65 * @param[in] pu1_src 90 WORD32 icv_sad_8x4_ssse3(UWORD8 *pu1_src, 108 src_r0 = (__m128)_mm_loadl_epi64((__m128i *) (pu1_src)); 109 pu1_src += src_strd; 111 src_r1 = (__m128)_mm_loadl_epi64((__m128i *) (pu1_src)); 112 pu1_src += src_strd; 114 src_r0 = _mm_loadh_pi (src_r0, (__m64 *) (pu1_src)); 115 pu1_src += src_strd; 117 src_r1 = _mm_loadh_pi (src_r1, (__m64 *) (pu1_src)); 118 pu1_src += src_strd [all...] |
ideint_spatial_filter_ssse3.c | 73 * @param[in] pu1_src 92 void ideint_spatial_filter_ssse3(UWORD8 *pu1_src, 119 row1_m1 = _mm_loadl_epi64((__m128i *) (pu1_src - 1)); 120 row1_0 = _mm_loadl_epi64((__m128i *) (pu1_src)); 121 row1_p1 = _mm_loadl_epi64((__m128i *) (pu1_src + 1)); 122 pu1_src += src_strd; 134 row2_m1 = _mm_loadl_epi64((__m128i *) (pu1_src - 1)); 135 row2_0 = _mm_loadl_epi64((__m128i *) (pu1_src)); 136 row2_p1 = _mm_loadl_epi64((__m128i *) (pu1_src + 1)); 137 pu1_src += src_strd [all...] |
icv_variance_ssse3.c | 65 * @param[in] pu1_src 84 WORD32 icv_variance_8x4_ssse3(UWORD8 *pu1_src, WORD32 src_strd, WORD32 wd, WORD32 ht) 110 src_r0 = (__m128)_mm_loadl_epi64((__m128i *) (pu1_src)); 111 pu1_src += src_strd; 113 src_r1 = (__m128)_mm_loadl_epi64((__m128i *) (pu1_src)); 114 pu1_src += src_strd; 116 src_r0 = _mm_loadh_pi (src_r0, (__m64 *) (pu1_src)); 117 pu1_src += src_strd; 119 src_r1 = _mm_loadh_pi (src_r1, (__m64 *) (pu1_src)); 120 pu1_src += src_strd [all...] |
/external/libhevc/common/arm64/ |
ihevc_inter_pred_chroma_horz_w16out.s | 48 //* to the elements pointed by 'pu1_src' and writes to the location pointed 52 //* //param[in] pu1_src 80 //void ihevc_inter_pred_chroma_horz_w16out(uword8 *pu1_src, 88 //x0 => *pu1_src 132 sub x12,x0,#2 //pu1_src - 2 134 add x4,x12,x2 //pu1_src_tmp2_8 = pu1_src + src_strd 187 ld1 { v0.2s},[x12],x11 //vector load pu1_src 188 ld1 { v1.2s},[x19],x11 //vector load pu1_src 191 ld1 { v2.2s},[x12],x11 //vector load pu1_src 192 ld1 { v3.2s},[x19],x11 //vector load pu1_src [all...] |
ihevc_inter_pred_chroma_horz.s | 48 //* to the elements pointed by 'pu1_src' and writes to the location pointed 54 //* //param[in] pu1_src 83 //void ihevc_inter_pred_chroma_horz(uword8 *pu1_src, 91 //x0 => *pu1_src 132 sub x12,x0,#2 //pu1_src - 2 134 add x4,x12,x2 //pu1_src_tmp2_8 = pu1_src + src_strd 175 ld1 { v0.2s},[x12],x11 //vector load pu1_src 176 ld1 { v1.2s},[x19],x11 //vector load pu1_src 180 ld1 { v2.2s},[x12],x11 //vector load pu1_src 181 ld1 { v3.2s},[x19],x11 //vector load pu1_src [all...] |
/external/libavc/encoder/ |
ime_distortion_metrics.h | 46 typedef void ime_compute_sad_ft(UWORD8 *pu1_src, 54 UWORD8 *pu1_src, 62 UWORD8 *pu1_src, 69 UWORD8 *pu1_src, 74 typedef void ime_sub_pel_compute_sad_16x16_ft(UWORD8 *pu1_src, 82 typedef void ime_compute_sad_stat(UWORD8 *pu1_src, 90 typedef void ime_compute_satqd_16x16_lumainter_ft(UWORD8 *pu1_src, 98 typedef void ime_compute_satqd_8x16_chroma_ft(UWORD8 *pu1_src, 105 typedef void ime_compute_satqd_16x16_lumaintra_ft(UWORD8 *pu1_src,
|
ih264e_half_pel.c | 81 * @param[in] pu1_src 100 void ih264e_sixtapfilter_horz(UWORD8 *pu1_src, 112 pu1_src -= 2; 116 for (u4_j = 0; u4_j < u4_w; u4_j++, pu1_dst++, pu1_src++) 120 i16_temp = ih264_g_six_tap[0] * (*pu1_src + pu1_src[5]) 121 + ih264_g_six_tap[1] * (pu1_src[1] + pu1_src[4]) 122 + ih264_g_six_tap[2] * (pu1_src[2] + pu1_src[3]) [all...] |
ime_distortion_metrics.c | 85 * @param[in] pu1_src 118 void ime_sub_pel_compute_sad_16x16(UWORD8 *pu1_src, 143 src = pu1_src[col]; 170 pu1_src += src_strd; 196 * @param[out] pu1_src 215 UWORD8 *pu1_src, 241 src = *pu1_src++; 261 pu1_src += u4_cur_buf_offset; 277 * @param[out] pu1_src 298 UWORD8 *pu1_src, [all...] |
/external/libavc/common/x86/ |
ih264_padding_ssse3.c | 63 * @param[in] pu1_src 92 void ih264_pad_left_luma_ssse3(UWORD8 *pu1_src, 107 pu1_dst = pu1_src - pad_size; 108 src_temp0_16x8b = _mm_set1_epi8(*pu1_src); 113 pu1_src += src_strd; 130 * @param[in] pu1_src 159 void ih264_pad_left_chroma_ssse3(UWORD8 *pu1_src, 173 pu1_dst = pu1_src - pad_size; 174 src_temp0_16x8b = _mm_set1_epi16(*((UWORD16 *)pu1_src)); 179 pu1_src += src_strd [all...] |
/external/libhevc/common/x86/ |
ihevc_padding_ssse3_intr.c | 62 * @param[in] pu1_src 91 void ihevc_pad_left_luma_ssse3(UWORD8 *pu1_src, 109 src_temp0_16x8b = _mm_loadu_si128((__m128i *)pu1_src); 110 pu1_dst = pu1_src - pad_size; 116 pu1_src += src_strd; 133 * @param[in] pu1_src 162 void ihevc_pad_left_chroma_ssse3(UWORD8 *pu1_src, 180 src_temp0_16x8b = _mm_loadu_si128((__m128i *)pu1_src); 181 pu1_dst = pu1_src - pad_size; 188 pu1_src += src_strd [all...] |
ihevc_inter_pred_filters_sse42_intr.c | 80 * @param[in] pu1_src 109 void ihevc_inter_pred_luma_copy_w16out_sse42(UWORD8 *pu1_src, 130 src0_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src)); /* row =0 */ 131 src1_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 1 * src_strd)); /* row =1 */ 132 src2_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 2 * src_strd)); /* row =2 */ 133 src3_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 3 * src_strd)); /* row =3 */ 140 src0_16x8b = _mm_slli_epi16(src0_16x8b, SHIFT_14_MINUS_BIT_DEPTH); /* (pu1_src[col] << SHIFT_14_MINUS_BIT_DEPTH */ 151 pu1_src += 8; /* pointer update */ 155 pu1_src += 4 * src_strd - wd; /* pointer update */ 166 src0_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src)); /* row =0 * [all...] |
ihevc_inter_pred_filters_ssse3_intr.c | 86 * @param[in] pu1_src 118 void ihevc_inter_pred_luma_copy_ssse3(UWORD8 *pu1_src, 141 src0_16x8b = _mm_loadu_si128((__m128i *)(pu1_src)); /* row =0 */ 142 src1_16x8b = _mm_loadu_si128((__m128i *)(pu1_src + 1 * src_strd)); /* row =1 */ 143 src2_16x8b = _mm_loadu_si128((__m128i *)(pu1_src + 2 * src_strd)); /* row =2 */ 144 src3_16x8b = _mm_loadu_si128((__m128i *)(pu1_src + 3 * src_strd)); /* row =3 */ 152 pu1_src += 16; /* pointer update */ 156 pu1_src += 4 * src_strd - wd; /* pointer update */ 168 src0_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src)); /* row =0 */ 169 src1_16x8b = _mm_loadl_epi64((__m128i *)(pu1_src + 1 * src_strd)); /* row =1 * [all...] |
/external/libhevc/decoder/ |
ihevcd_debug.h | 150 #define DUMP_DEBLK_LUMA_VERT(pu1_src, src_strd, u4_bs, qp_p, qp_q, beta_offset_div2, tc_offset_div2, filter_p, filter_q) ihevcd_debug_deblk_luma_vert(pu1_src, src_strd, u4_bs, qp_p, qp_q, beta_offset_div2, tc_offset_div2, filter_p, filter_q); 151 #define DUMP_DEBLK_LUMA_HORZ(pu1_src, src_strd, u4_bs, qp_p, qp_q, beta_offset_div2, tc_offset_div2, filter_p, filter_q) ihevcd_debug_deblk_luma_horz(pu1_src, src_strd, u4_bs, qp_p, qp_q, beta_offset_div2, tc_offset_div2, filter_p, filter_q); 152 #define DUMP_DEBLK_CHROMA_VERT(pu1_src, src_strd, u4_bs, qp_p, qp_q, qp_offset_u, qp_offset_v, tc_offset_div2, filter_p, filter_q) ihevcd_debug_deblk_chroma_vert(pu1_src, src_strd, u4_bs, qp_p, qp_q, qp_offset_u, qp_offset_v, tc_offset_div2, filter_p, filter_q) 153 #define DUMP_DEBLK_CHROMA_HORZ(pu1_src, src_strd, u4_bs, qp_p, qp_q, qp_offset_u, qp_offset_v, tc_offset_div2, filter_p, filter_q) ihevcd_debug_deblk_chroma_horz(pu1_src, src_strd, u4_bs, qp_p, qp_q, qp_offset_u, qp_offset_v, tc_offset_div2, filter_p, filter_q) 157 #define DUMP_DEBLK_LUMA_VERT(pu1_src, src_strd, u4_bs3, qp_p, qp_q, beta_offset_div2, tc_offset_div2, filter_p, filter_q) 158 #define DUMP_DEBLK_LUMA_HORZ(pu1_src, src_strd, u4_bs3, qp_p, qp_q, beta_offset_div2, tc_offset_div2, filter_p, filter_q [all...] |
/external/libavc/encoder/x86/ |
ime_distortion_metrics_sse42.c | 79 * @param[in] pu1_src 101 void ime_compute_sad_16x16_sse42(UWORD8 *pu1_src, 116 src_r0 = _mm_loadu_si128((__m128i *) (pu1_src)); 117 src_r1 = _mm_loadu_si128((__m128i *) (pu1_src + src_strd)); 118 src_r2 = _mm_loadu_si128((__m128i *) (pu1_src + 2*src_strd)); 119 src_r3 = _mm_loadu_si128((__m128i *) (pu1_src + 3*src_strd)); 136 pu1_src += 4*src_strd; 139 src_r0 = _mm_loadu_si128((__m128i *) (pu1_src)); 140 src_r1 = _mm_loadu_si128((__m128i *) (pu1_src + src_strd)); 141 src_r2 = _mm_loadu_si128((__m128i *) (pu1_src + 2*src_strd)) [all...] |