Home
last modified time | relevance | path

Searched refs:sad (Results 1 – 15 of 15) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Dvp8_sad16x16_armv6.asm33 mov r4, #0 ; sad = 0;
45 usada8 r4, r8, r6, r4 ; calculate sad for 4 pixels
46 usad8 r8, r7, r9 ; calculate sad for 4 pixels
57 usada8 r4, r10, r12, r4 ; calculate sad for 4 pixels
58 usada8 r8, r11, lr, r8 ; calculate sad for 4 pixels
62 add r4, r4, r8 ; add partial sad values
70 usada8 r4, r6, r8, r4 ; calculate sad for 4 pixels
71 usad8 r8, r7, r9 ; calculate sad for 4 pixels
79 usada8 r4, r10, r12, r4 ; calculate sad for 4 pixels
80 usada8 r8, r11, lr, r8 ; calculate sad for 4 pixels
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dmfqe.c149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; in multiframe_quality_enhance_block() local
156 sad = (vp8_variance16x16(y, y_stride, yd, yd_stride, &sse)); in multiframe_quality_enhance_block()
157 sad = (sse + 128)>>8; in multiframe_quality_enhance_block()
163 sad = (vp8_sad16x16(y, y_stride, yd, yd_stride, UINT_MAX) + 128) >> 8; in multiframe_quality_enhance_block()
173 sad = (vp8_variance8x8(y, y_stride, yd, yd_stride, &sse)); in multiframe_quality_enhance_block()
174 sad = (sse + 32)>>6; in multiframe_quality_enhance_block()
180 sad = (vp8_sad8x8(y, y_stride, yd, yd_stride, UINT_MAX) + 32) >> 6; in multiframe_quality_enhance_block()
195 if (sad < thrsq && in multiframe_quality_enhance_block()
200 if (sad < thr && in multiframe_quality_enhance_block()
209 sad = int_sqrt(sad); in multiframe_quality_enhance_block()
[all …]
Dsad_c.c22 unsigned int sad = 0; in sad_mx_n_c() local
28 sad += abs(src_ptr[c] - ref_ptr[c]); in sad_mx_n_c()
31 if (sad > max_sad) in sad_mx_n_c()
38 return sad; in sad_mx_n_c()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUtil.cpp159 unsigned int sad[MAX_SHORT_AUDIO_DESC_CNT]; in getHDMIAudioSinkCaps() local
163 sad[nblockindex] = (unsigned int)data[0] + ((unsigned int)data[1] << 8) in getHDMIAudioSinkCaps()
175 channels [nIndex] = (sad[nIndex] & 0x7) + 1; in getHDMIAudioSinkCaps()
176 formats [nIndex] = (sad[nIndex] & 0xFF) >> 3; in getHDMIAudioSinkCaps()
177 frequency[nIndex] = (sad[nIndex] >> 8) & 0xFF; in getHDMIAudioSinkCaps()
178 bitrate [nIndex] = (sad[nIndex] >> 16) & 0xFF; in getHDMIAudioSinkCaps()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_sad.c19 static INLINE unsigned int sad(const uint8_t *a, int a_stride, in sad() function
23 unsigned int sad = 0; in sad() local
27 sad += abs(a[x] - b[x]); in sad()
33 return sad; in sad()
40 return sad(src_ptr, src_stride, ref_ptr, ref_stride, m, n); \
48 return sad(src_ptr, src_stride, comp_pred, m, m, n); \
Dvp9_mcomp.c1327 const int sad = fn_ptr->sdf(what->buf, what->stride, in vp9_full_search_sad_c() local
1332 if (sad < best_sad) { in vp9_full_search_sad_c()
1333 best_sad = sad; in vp9_full_search_sad_c()
1579 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, in vp9_refining_search_sad_c() local
1581 if (sad < best_sad) { in vp9_refining_search_sad_c()
1582 sad += mvsad_err_cost(&mv, &fcenter_mv, mvjsadcost, mvsadcost, in vp9_refining_search_sad_c()
1584 if (sad < best_sad) { in vp9_refining_search_sad_c()
1585 best_sad = sad; in vp9_refining_search_sad_c()
1729 unsigned int sad = fn_ptr->sdaf(what->buf, what->stride, in vp9_refining_search_8p_c() local
1732 if (sad < best_sad) { in vp9_refining_search_8p_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_sad_sse2.asm18 cglobal sad%1x%2, 4, %3, 5, src, src_stride, ref, ref_stride, n_rows
20 cglobal sad%1x%2, 4, %3, 5, src, src_stride, ref, ref_stride, \
25 cglobal sad%1x%2_avg, 5, 1 + %3, 5, src, src_stride, ref, ref_stride, \
28 cglobal sad%1x%2_avg, 5, ARCH_X86_64 + %3, 5, src, src_stride, \
38 %endif ; avg/sad
Dvp9_sad4d_sse2.asm176 cglobal sad%1x%2x4d, 5, 8, 8, src, src_stride, ref1, ref_stride, \
179 cglobal sad%1x%2x4d, 4, 7, 8, src, src_stride, ref1, ref_stride, \
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dsad_test.cc91 unsigned int sad = 0; in ReferenceSAD() local
96 sad += abs(source_data_[h * source_stride_ + w] in ReferenceSAD()
99 if (sad > max_sad) { in ReferenceSAD()
103 return sad; in ReferenceSAD()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c912 char *sad = block; in platform_edid_get_max_channels() local
939 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) in platform_edid_get_max_channels()
942 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
947 sad += 3; in platform_edid_get_max_channels()
/hardware/qcom/audio/msm8909/hal/msm8960/
Dplatform.c944 char *sad = block; in platform_edid_get_max_channels() local
971 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) in platform_edid_get_max_channels()
974 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
979 sad += 3; in platform_edid_get_max_channels()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c2347 char *sad = block; in platform_edid_get_max_channels() local
2381 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) { in platform_edid_get_max_channels()
2382 sad += 3; in platform_edid_get_max_channels()
2386 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
2391 sad += 3; in platform_edid_get_max_channels()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Dmfqe_sse2.asm166 ; unsigned int *sad, 5
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c2382 char *sad = block; in platform_edid_get_max_channels() local
2416 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) { in platform_edid_get_max_channels()
2417 sad += 3; in platform_edid_get_max_channels()
2421 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
2426 sad += 3; in platform_edid_get_max_channels()
/hardware/qcom/audio/msm8909/hal/msm8974/
Dplatform.c2222 char *sad = block; in platform_edid_get_max_channels() local
2256 if ((sad[0] >> 3) != EDID_FORMAT_LPCM) { in platform_edid_get_max_channels()
2257 sad += 3; in platform_edid_get_max_channels()
2261 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
2266 sad += 3; in platform_edid_get_max_channels()