Home
last modified time | relevance | path

Searched refs:sad_array (Results 1 – 25 of 26) sorted by relevance

12

/external/libvpx/libvpx/vpx_dsp/mips/
Dsad_msa.c164 int32_t height, uint32_t *sad_array) { in sad_4width_x3_msa() argument
198 sad_array[0] = HADD_UH_U32(sad0); in sad_4width_x3_msa()
199 sad_array[1] = HADD_UH_U32(sad1); in sad_4width_x3_msa()
200 sad_array[2] = HADD_UH_U32(sad2); in sad_4width_x3_msa()
205 int32_t height, uint32_t *sad_array) { in sad_8width_x3_msa() argument
233 sad_array[0] = HADD_UH_U32(sad0); in sad_8width_x3_msa()
234 sad_array[1] = HADD_UH_U32(sad1); in sad_8width_x3_msa()
235 sad_array[2] = HADD_UH_U32(sad2); in sad_8width_x3_msa()
240 int32_t height, uint32_t *sad_array) { in sad_16width_x3_msa() argument
281 sad_array[0] = HADD_UH_U32(sad0); in sad_16width_x3_msa()
[all …]
Dsad_mmi.c342 uint32_t *sad_array) { \
345 sad_array[i] = \
353 int ref_stride, uint32_t *sad_array) { \
356 sad_array[i] = \
/external/libhevc/encoder/arm/
Dihevce_coarse_layer_sad_neon.c432 if(sad_array[0][i] < min_cost_4x8) \
436 min_cost_4x8 = sad_array[0][i]; \
438 if(sad_array[1][i] < min_cost_8x4) \
442 min_cost_8x4 = sad_array[1][i]; \
515 U16 sad_array[2][8]; in hme_combine_4x4_sads_and_compute_cost_high_speed_neon() local
534 vst1q_u16(sad_array[0], sad_4x8); in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
535 vst1q_u16(sad_array[1], sad_8x4); in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
554 U16 sad_array[2][4]; in hme_combine_4x4_sads_and_compute_cost_high_speed_neon() local
566 vst1_u16(sad_array[0], sad_4x8); in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
567 vst1_u16(sad_array[1], sad_8x4); in hme_combine_4x4_sads_and_compute_cost_high_speed_neon()
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dsad_highbd_avx2.c757 int ref_stride, uint32_t *sad_array) { in aom_highbd_sad16x8x4d_avx2() argument
775 get_4d_sad_from_mm256_epi32(sad_vec, sad_array); in aom_highbd_sad16x8x4d_avx2()
780 int ref_stride, uint32_t *sad_array) { in aom_highbd_sad16x16x4d_avx2() argument
798 sad_array[0] = first8rows[0] + second8rows[0]; in aom_highbd_sad16x16x4d_avx2()
799 sad_array[1] = first8rows[1] + second8rows[1]; in aom_highbd_sad16x16x4d_avx2()
800 sad_array[2] = first8rows[2] + second8rows[2]; in aom_highbd_sad16x16x4d_avx2()
801 sad_array[3] = first8rows[3] + second8rows[3]; in aom_highbd_sad16x16x4d_avx2()
806 int ref_stride, uint32_t *sad_array) { in aom_highbd_sad16x32x4d_avx2() argument
824 sad_array[0] = first_half[0] + second_half[0]; in aom_highbd_sad16x32x4d_avx2()
825 sad_array[1] = first_half[1] + second_half[1]; in aom_highbd_sad16x32x4d_avx2()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dvpx_dsp_rtcd_defs.pl869 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
872 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
875 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
878 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
881 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
885 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
888 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
891 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
894 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
897 …nst uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
[all …]
Dsad.c53 uint32_t *sad_array) { \
56 sad_array[i] = \
64 int ref_stride, uint32_t *sad_array) { \
67 sad_array[i] = \
186 int ref_stride, uint32_t *sad_array) { \
189 sad_array[i] = vpx_highbd_sad##m##x##n##_c(src_ptr, src_stride, \
Dvariance.h37 unsigned int *sad_array);
41 int ref_stride, unsigned int *sad_array);
/external/libaom/libaom/aom_dsp/mips/
Dsad_msa.c167 uint32_t *sad_array) { in sad_4width_x4d_msa() argument
219 sad_array[0] = HADD_UH_U32(sad0); in sad_4width_x4d_msa()
220 sad_array[1] = HADD_UH_U32(sad1); in sad_4width_x4d_msa()
221 sad_array[2] = HADD_UH_U32(sad2); in sad_4width_x4d_msa()
222 sad_array[3] = HADD_UH_U32(sad3); in sad_4width_x4d_msa()
228 uint32_t *sad_array) { in sad_8width_x4d_msa() argument
270 sad_array[0] = HADD_UH_U32(sad0); in sad_8width_x4d_msa()
271 sad_array[1] = HADD_UH_U32(sad1); in sad_8width_x4d_msa()
272 sad_array[2] = HADD_UH_U32(sad2); in sad_8width_x4d_msa()
273 sad_array[3] = HADD_UH_U32(sad3); in sad_8width_x4d_msa()
[all …]
/external/libvpx/libvpx/vpx_dsp/ppc/
Dsad_vsx.c174 int ref_stride, uint32_t *sad_array) { \
181 for (i = 0; i < 4; i++) sad_array[i] = 0; \
190 sad_array[i] += (sad[3] + sad[2] + sad[1] + sad[0]); \
198 int ref_stride, uint32_t *sad_array) { \
206 for (i = 0; i < 4; i++) sad_array[i] = 0; \
217 sad_array[i] += (sad[3] + sad[2] + sad[1] + sad[0]); \
225 int ref_stride, uint32_t *sad_array) { \
234 for (i = 0; i < 4; i++) sad_array[i] = 0; \
249 sad_array[i] += (sad[3] + sad[2] + sad[1] + sad[0]); \
/external/libvpx/libvpx/vpx_dsp/x86/
Dsad4d_avx2.c15 uint32_t sad_array[4]) { in calc_final()
21 _mm_storeu_si128((__m128i *)sad_array, sum); in calc_final()
26 uint32_t sad_array[4]) { in vpx_sad32x32x4d_avx2()
69 calc_final(sums, sad_array); in vpx_sad32x32x4d_avx2()
74 uint32_t sad_array[4]) { in vpx_sad64x64x4d_avx2()
129 calc_final(sums, sad_array); in vpx_sad64x64x4d_avx2()
Dsad_sse4.asm175 ; unsigned short *sad_array);
215 ; unsigned short *sad_array
252 ; unsigned short *sad_array
289 ; unsigned short *sad_array
330 ; unsigned short *sad_array
/external/libvpx/config/x86/
Dvpx_dsp_rtcd.h1203 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1204 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1215 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1216 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1227 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1228 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1239 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1240 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1251 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1252 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
[all …]
/external/libvpx/config/x86_64/
Dvpx_dsp_rtcd.h1210 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1211 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1222 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1223 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1234 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1235 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1246 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1247 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1258 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1259 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
[all …]
/external/libvpx/config/generic/
Dvpx_dsp_rtcd.h945 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
954 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
963 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
972 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
981 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
990 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
999 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1008 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1017 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1026 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
[all …]
/external/libvpx/config/arm64/
Dvpx_dsp_rtcd.h1060 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1069 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1078 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1087 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1096 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1105 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1114 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1123 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1132 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1141 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
[all …]
/external/libvpx/config/arm-neon/
Dvpx_dsp_rtcd.h1060 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1069 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1078 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1087 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1096 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1105 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1114 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1123 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1132 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
1141 …t *src_ptr, int src_stride, const uint8_t* const ref_array[], int ref_stride, uint32_t *sad_array);
[all …]
/external/libaom/libaom/aom_dsp/
Dsad.c70 int ref_stride, uint32_t *sad_array) { \
73 sad_array[i] = \
224 int ref_stride, uint32_t *sad_array) { \
227 sad_array[i] = aom_highbd_sad##m##x##n##_c(src, src_stride, \
Dvariance.h38 int b_stride, unsigned int *sad_array);
Daom_dsp_rtcd_defs.pl783 …_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array";
815 …_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array";
/external/libvpx/libvpx/vp8/encoder/
Dmcomp.c1210 unsigned int sad_array[4]; in vp8_diamond_search_sadx4() local
1220 sad_array); in vp8_diamond_search_sadx4()
1223 if (sad_array[t] < bestsad) { in vp8_diamond_search_sadx4()
1226 sad_array[t] += in vp8_diamond_search_sadx4()
1229 if (sad_array[t] < bestsad) { in vp8_diamond_search_sadx4()
1230 bestsad = sad_array[t]; in vp8_diamond_search_sadx4()
1398 unsigned int sad_array[3]; in vp8_full_search_sadx3() local
1438 fn_ptr->sdx3f(what, what_stride, check_here, in_what_stride, sad_array); in vp8_full_search_sadx3()
1441 thissad = sad_array[i]; in vp8_full_search_sadx3()
1520 unsigned int sad_array[3]; in vp8_full_search_sadx8() local
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c1823 unsigned int sad_array[4]; in vp9_diamond_search_sad_new() local
1831 sad_array); in vp9_diamond_search_sad_new()
1836 const double mv_dist = sad_array[t]; in vp9_diamond_search_sad_new()
1976 unsigned int sad_array[4]; in vp9_diamond_search_sad_c() local
1984 sad_array); in vp9_diamond_search_sad_c()
1987 if (sad_array[t] < bestsad) { in vp9_diamond_search_sad_c()
1990 sad_array[t] += in vp9_diamond_search_sad_c()
1992 if (sad_array[t] < bestsad) { in vp9_diamond_search_sad_c()
1993 bestsad = sad_array[t]; in vp9_diamond_search_sad_c()
Dvp9_encoder.c1537 unsigned int *sad_array) { \
1538 fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \
1542 unsigned int *sad_array) { \
1544 fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \
1545 for (i = 0; i < 4; i++) sad_array[i] >>= 2; \
1549 unsigned int *sad_array) { \
1551 fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \
1552 for (i = 0; i < 4; i++) sad_array[i] >>= 4; \
/external/libaom/libaom/av1/encoder/
Dmcomp.c1715 unsigned int sad_array[4]; in av1_diamond_search_sad_c() local
1724 sad_array); in av1_diamond_search_sad_c()
1727 if (sad_array[t] < bestsad) { in av1_diamond_search_sad_c()
1730 sad_array[t] += in av1_diamond_search_sad_c()
1732 if (sad_array[t] < bestsad) { in av1_diamond_search_sad_c()
1733 bestsad = sad_array[t]; in av1_diamond_search_sad_c()
Dencoder.c1255 unsigned int *sad_array) { \
1256 fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \
1260 unsigned int *sad_array) { \
1262 fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \
1263 for (i = 0; i < 4; i++) sad_array[i] >>= 2; \
1267 unsigned int *sad_array) { \
1269 fnname(src_ptr, source_stride, ref_ptr, ref_stride, sad_array); \
1270 for (i = 0; i < 4; i++) sad_array[i] >>= 4; \
/external/libvpx/libvpx/test/
Dsad_test.cc48 unsigned int *sad_array);

12