/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/ |
D | vp9_dct32x32_avx2.c | 1152 __m256i u[32], v[32], sign[16]; in FDCT32x32_2D_AVX2() local 1392 u[0] = _mm256_unpacklo_epi32(lstep3[12], lstep3[10]); in FDCT32x32_2D_AVX2() 1393 u[1] = _mm256_unpackhi_epi32(lstep3[12], lstep3[10]); in FDCT32x32_2D_AVX2() 1394 u[2] = _mm256_unpacklo_epi32(lstep3[13], lstep3[11]); in FDCT32x32_2D_AVX2() 1395 u[3] = _mm256_unpackhi_epi32(lstep3[13], lstep3[11]); in FDCT32x32_2D_AVX2() 1399 v[ 0] = k_madd_epi32_avx2(u[0], k32_p16_m16); in FDCT32x32_2D_AVX2() 1400 v[ 1] = k_madd_epi32_avx2(u[1], k32_p16_m16); in FDCT32x32_2D_AVX2() 1401 v[ 2] = k_madd_epi32_avx2(u[2], k32_p16_m16); in FDCT32x32_2D_AVX2() 1402 v[ 3] = k_madd_epi32_avx2(u[3], k32_p16_m16); in FDCT32x32_2D_AVX2() 1403 v[ 4] = k_madd_epi32_avx2(u[0], k32_p16_p16); in FDCT32x32_2D_AVX2() [all …]
|
D | vp9_dct32x32_sse2.c | 1143 __m128i u[32], v[32], sign[16]; in FDCT32x32_2D() local 1383 u[0] = _mm_unpacklo_epi32(lstep3[12], lstep3[10]); in FDCT32x32_2D() 1384 u[1] = _mm_unpackhi_epi32(lstep3[12], lstep3[10]); in FDCT32x32_2D() 1385 u[2] = _mm_unpacklo_epi32(lstep3[13], lstep3[11]); in FDCT32x32_2D() 1386 u[3] = _mm_unpackhi_epi32(lstep3[13], lstep3[11]); in FDCT32x32_2D() 1390 v[ 0] = k_madd_epi32(u[0], k32_p16_m16); in FDCT32x32_2D() 1391 v[ 1] = k_madd_epi32(u[1], k32_p16_m16); in FDCT32x32_2D() 1392 v[ 2] = k_madd_epi32(u[2], k32_p16_m16); in FDCT32x32_2D() 1393 v[ 3] = k_madd_epi32(u[3], k32_p16_m16); in FDCT32x32_2D() 1394 v[ 4] = k_madd_epi32(u[0], k32_p16_p16); in FDCT32x32_2D() [all …]
|
D | vp9_dct_sse2.c | 274 __m128i u[4], v[4]; in fdct4_sse2() local 275 u[0]=_mm_unpacklo_epi16(in[0], in[1]); in fdct4_sse2() 276 u[1]=_mm_unpacklo_epi16(in[3], in[2]); in fdct4_sse2() 278 v[0] = _mm_add_epi16(u[0], u[1]); in fdct4_sse2() 279 v[1] = _mm_sub_epi16(u[0], u[1]); in fdct4_sse2() 281 u[0] = _mm_madd_epi16(v[0], k__cospi_p16_p16); // 0 in fdct4_sse2() 282 u[1] = _mm_madd_epi16(v[0], k__cospi_p16_m16); // 2 in fdct4_sse2() 283 u[2] = _mm_madd_epi16(v[1], k__cospi_p08_p24); // 1 in fdct4_sse2() 284 u[3] = _mm_madd_epi16(v[1], k__cospi_p24_m08); // 3 in fdct4_sse2() 286 v[0] = _mm_add_epi32(u[0], k__DCT_CONST_ROUNDING); in fdct4_sse2() [all …]
|
D | vp9_dct_avx2.c | 173 __m128i u[4], v[4]; in fdct4_avx2() local 174 u[0]=_mm_unpacklo_epi16(in[0], in[1]); in fdct4_avx2() 175 u[1]=_mm_unpacklo_epi16(in[3], in[2]); in fdct4_avx2() 177 v[0] = _mm_add_epi16(u[0], u[1]); in fdct4_avx2() 178 v[1] = _mm_sub_epi16(u[0], u[1]); in fdct4_avx2() 180 u[0] = _mm_madd_epi16(v[0], k__cospi_p16_p16); // 0 in fdct4_avx2() 181 u[1] = _mm_madd_epi16(v[0], k__cospi_p16_m16); // 2 in fdct4_avx2() 182 u[2] = _mm_madd_epi16(v[1], k__cospi_p08_p24); // 1 in fdct4_avx2() 183 u[3] = _mm_madd_epi16(v[1], k__cospi_p24_m08); // 3 in fdct4_avx2() 185 v[0] = _mm_add_epi32(u[0], k__DCT_CONST_ROUNDING); in fdct4_avx2() [all …]
|
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_Device.c | 34 vdata[i].u.x = AKFS_INIT_VALUE_F; in AKFS_InitBuffer() 35 vdata[i].u.y = AKFS_INIT_VALUE_F; in AKFS_InitBuffer() 36 vdata[i].u.z = AKFS_INIT_VALUE_F; in AKFS_InitBuffer() 71 tmp = vec->u.x; in AKFS_Rotate() 72 vec->u.x = vec->u.y; in AKFS_Rotate() 73 vec->u.y = -tmp; in AKFS_Rotate() 76 vec->u.x = -(vec->u.x); in AKFS_Rotate() 77 vec->u.y = -(vec->u.y); in AKFS_Rotate() 80 tmp = vec->u.x; in AKFS_Rotate() 81 vec->u.x = -(vec->u.y); in AKFS_Rotate() [all …]
|
D | AKFS_VNorm.c | 46 if ((s->u.x <= AKFS_EPSILON) || in AKFS_VbNorm() 47 (s->u.y <= AKFS_EPSILON) || in AKFS_VbNorm() 48 (s->u.z <= AKFS_EPSILON) || in AKFS_VbNorm() 58 vvec[i].u.x = ((vdata[i].u.x - o->u.x) / (s->u.x) * (AKFLOAT)tgt); in AKFS_VbNorm() 59 vvec[i].u.y = ((vdata[i].u.y - o->u.y) / (s->u.y) * (AKFLOAT)tgt); in AKFS_VbNorm() 60 vvec[i].u.z = ((vdata[i].u.z - o->u.z) / (s->u.z) * (AKFLOAT)tgt); in AKFS_VbNorm() 83 vave->u.x = 0; in AKFS_VbAve() 84 vave->u.y = 0; in AKFS_VbAve() 85 vave->u.z = 0; in AKFS_VbAve() 87 if ((vvec[i].u.x == AKFS_INIT_VALUE_F) || in AKFS_VbAve() [all …]
|
D | AKFS_Direction.c | 48 av = AKFS_SQRT((avec->u.x)*(avec->u.x) + (avec->u.y)*(avec->u.y) + (avec->u.z)*(avec->u.z)); in AKFS_Angle() 50 *pitch = AKFS_ASIN(-(avec->u.y) / av); in AKFS_Angle() 51 *roll = AKFS_ASIN((avec->u.x) / av); in AKFS_Angle() 76 Yh = -(hvec->u.x)*cosR + (hvec->u.z)*sinR; in AKFS_Azimuth() 77 Xh = (hvec->u.x)*sinP*sinR + (hvec->u.y)*cosP + (hvec->u.z)*sinP*cosR; in AKFS_Azimuth()
|
D | AKFS_AK8975.c | 39 hdata[0].u.x = mag[0] * (((asa->u.x)/256.0f) + 0.5f); in AKFS_DecompAK8975() 40 hdata[0].u.y = mag[1] * (((asa->u.y)/256.0f) + 0.5f); in AKFS_DecompAK8975() 41 hdata[0].u.z = mag[2] * (((asa->u.z)/256.0f) + 0.5f); in AKFS_DecompAK8975()
|
D | AKFS_AOC.c | 187 temp = tempv.u.x * tempv.u.x in Get4points() 188 + tempv.u.y * tempv.u.y in Get4points() 189 + tempv.u.z * tempv.u.z; in Get4points() 200 temp = dv[i].u.x * cross.u.x in Get4points() 201 + dv[i].u.y * cross.u.y in Get4points() 202 + dv[i].u.z * cross.u.z; in Get4points() 303 if ((var.u.x >= tempf) || (var.u.y >= tempf) || (var.u.z >= tempf)){ in AKFS_AOC()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
D | vp9_idct_intrin_sse2.c | 189 __m128i u[8], v[8]; in idct4_sse2() local 193 u[0] = _mm_unpacklo_epi16(in[0], in[1]); in idct4_sse2() 194 u[1] = _mm_unpackhi_epi16(in[0], in[1]); in idct4_sse2() 195 v[0] = _mm_madd_epi16(u[0], k__cospi_p16_p16); in idct4_sse2() 196 v[1] = _mm_madd_epi16(u[0], k__cospi_p16_m16); in idct4_sse2() 197 v[2] = _mm_madd_epi16(u[1], k__cospi_p24_m08); in idct4_sse2() 198 v[3] = _mm_madd_epi16(u[1], k__cospi_p08_p24); in idct4_sse2() 200 u[0] = _mm_add_epi32(v[0], k__DCT_CONST_ROUNDING); in idct4_sse2() 201 u[1] = _mm_add_epi32(v[1], k__DCT_CONST_ROUNDING); in idct4_sse2() 202 u[2] = _mm_add_epi32(v[2], k__DCT_CONST_ROUNDING); in idct4_sse2() [all …]
|
/hardware/akm/AK8975_FS/akmdfs/ |
D | AKFS_APIs.c | 52 g_prms.mfv_hs.u.x = AK8975_HSENSE_DEFAULT; in AKFS_Init() 53 g_prms.mfv_hs.u.y = AK8975_HSENSE_DEFAULT; in AKFS_Init() 54 g_prms.mfv_hs.u.z = AK8975_HSENSE_DEFAULT; in AKFS_Init() 55 g_prms.mfv_as.u.x = AK8975_ASENSE_DEFAULT; in AKFS_Init() 56 g_prms.mfv_as.u.y = AK8975_ASENSE_DEFAULT; in AKFS_Init() 57 g_prms.mfv_as.u.z = AK8975_ASENSE_DEFAULT; in AKFS_Init() 66 g_prms.mi_asa.u.x = regs[0]; in AKFS_Init() 67 g_prms.mi_asa.u.y = regs[1]; in AKFS_Init() 68 g_prms.mi_asa.u.z = regs[2]; in AKFS_Init() 231 (g_prms.mfv_hvec.u.x * g_prms.mfv_hvec.u.x) + in AKFS_Get_MAGNETIC_FIELD() [all …]
|
D | AKFS_FileIO.c | 58 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.x) != 2) { in AKFS_LoadParameters() 65 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.y) != 2) { in AKFS_LoadParameters() 72 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.z) != 2) { in AKFS_LoadParameters() 115 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.x", prms->mfv_ho.u.x) < 0) { ret = 0; } in AKFS_SaveParameters() 116 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.y", prms->mfv_ho.u.y) < 0) { ret = 0; } in AKFS_SaveParameters() 117 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.z", prms->mfv_ho.u.z) < 0) { ret = 0; } in AKFS_SaveParameters()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAStreamOps.cpp | 84 static inline uint32_t popCount(uint32_t u) in popCount() argument 86 u = ((u&0x55555555) + ((u>>1)&0x55555555)); in popCount() 87 u = ((u&0x33333333) + ((u>>2)&0x33333333)); in popCount() 88 u = ((u&0x0f0f0f0f) + ((u>>4)&0x0f0f0f0f)); in popCount() 89 u = ((u&0x00ff00ff) + ((u>>8)&0x00ff00ff)); in popCount() 90 u = ( u&0x0000ffff) + (u>>16); in popCount() 91 return u; in popCount()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | loopfilter_filters.c | 58 signed char u; in vp8_filter() local 81 u = vp8_signed_char_clamp(qs0 - Filter1); in vp8_filter() 82 *oq0 = u ^ 0x80; in vp8_filter() 83 u = vp8_signed_char_clamp(ps0 + Filter2); in vp8_filter() 84 *op0 = u ^ 0x80; in vp8_filter() 92 u = vp8_signed_char_clamp(qs1 - filter_value); in vp8_filter() 93 *oq1 = u ^ 0x80; in vp8_filter() 94 u = vp8_signed_char_clamp(ps1 + filter_value); in vp8_filter() 95 *op1 = u ^ 0x80; in vp8_filter() 164 signed char s, u; in vp8_mbfilter() local [all …]
|
D | postproc.c | 540 void vp8_blend_mb_inner_c (unsigned char *y, unsigned char *u, unsigned char *v, in vp8_blend_mb_inner_c() argument 560 u += stride + 1; in vp8_blend_mb_inner_c() 567 u[j] = (u[j]*alpha + u1_const)>>16; in vp8_blend_mb_inner_c() 570 u += stride; in vp8_blend_mb_inner_c() 578 void vp8_blend_mb_outer_c (unsigned char *y, unsigned char *u, unsigned char *v, in vp8_blend_mb_outer_c() argument 617 u[j] = (u[j]*alpha + u1_const)>>16; in vp8_blend_mb_outer_c() 620 u += stride; in vp8_blend_mb_outer_c() 625 u[0] = (u[0]*alpha + u1_const)>>16; in vp8_blend_mb_outer_c() 628 u[7] = (u[7]*alpha + u1_const)>>16; in vp8_blend_mb_outer_c() 631 u += stride; in vp8_blend_mb_outer_c() [all …]
|
D | mfqe.c | 125 unsigned char *u, in multiframe_quality_enhance_block() argument 158 usad = (vp8_variance8x8(u, uv_stride, ud, uvd_stride, &sse)); in multiframe_quality_enhance_block() 164 usad = (vp8_sad8x8(u, uv_stride, ud, uvd_stride, UINT_MAX) + 32) >> 6; in multiframe_quality_enhance_block() 175 usad = (vp8_variance4x4(u, uv_stride, ud, uvd_stride, &sse)); in multiframe_quality_enhance_block() 181 usad = (vp8_sad4x4(u, uv_stride, ud, uvd_stride, UINT_MAX) + 8) >> 4; in multiframe_quality_enhance_block() 217 u, v, uv_stride, in multiframe_quality_enhance_block() 227 vp8_copy_mem8x8(u, uv_stride, ud, uvd_stride); in multiframe_quality_enhance_block() 233 for (up = u, udp = ud, i = 0; i < uvblksize; ++i, up += uv_stride, udp += uvd_stride) in multiframe_quality_enhance_block()
|
D | rtcd_defs.pl | 53 add_proto qw/void vp8_loop_filter_mbv/, "unsigned char *y, unsigned char *u, unsigned char *v, int … 58 add_proto qw/void vp8_loop_filter_bv/, "unsigned char *y, unsigned char *u, unsigned char *v, int y… 63 add_proto qw/void vp8_loop_filter_mbh/, "unsigned char *y, unsigned char *u, unsigned char *v, int … 68 add_proto qw/void vp8_loop_filter_bh/, "unsigned char *y, unsigned char *u, unsigned char *v, int y… 181 …add_proto qw/void vp8_blend_mb_inner/, "unsigned char *y, unsigned char *u, unsigned char *v, int … 184 …add_proto qw/void vp8_blend_mb_outer/, "unsigned char *y, unsigned char *u, unsigned char *v, int … 187 …add_proto qw/void vp8_blend_b/, "unsigned char *y, unsigned char *u, unsigned char *v, int y1, int…
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/internal/ |
D | vpx_codec_internal.h | 359 } u; member 412 } u;\ 413 u.x = x;\ 414 return u.d;\ 427 } u;\ 428 u.x = x;\ 429 return u.d;\
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_resize.h | 27 const uint8_t *const u, 41 const uint8_t *const u, 55 const uint8_t *const u,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/ |
D | mbloopfilter_neon.asm | 61 ; void vp8_mbloop_filter_horizontal_edge_uv_neon(unsigned char *u, int pitch, 66 ; r0 unsigned char *u, 76 sub r0, r0, r1, lsl #2 ; move u pointer down by 4 lines 106 vst1.u8 {d8}, [r0@64], r1 ; store u op2 108 vst1.u8 {d10}, [r0@64], r1 ; store u op1 110 vst1.u8 {d12}, [r0@64], r1 ; store u op0 112 vst1.u8 {d14}, [r0@64], r1 ; store u oq0 114 vst1.u8 {d16}, [r0@64], r1 ; store u oq1 116 vst1.u8 {d18}, [r0@64], r1 ; store u oq2 214 ; void vp8_mbloop_filter_vertical_edge_uv_neon(unsigned char *u, int pitch, [all …]
|
D | loopfilter_neon.asm | 59 ; r0 unsigned char *u, 73 sub r3, r0, r1, lsl #2 ; move u pointer down by 4 lines 98 vst1.u8 {d10}, [r0@64], r1 ; store u op1 100 vst1.u8 {d12}, [r0@64], r1 ; store u op0 102 vst1.u8 {d14}, [r0@64], r1 ; store u oq0 104 vst1.u8 {d16}, [r0@64] ; store u oq1 200 ; void vp8_loop_filter_vertical_edge_uv_neon(unsigned char *u, int pitch 205 ; r0 unsigned char *u, 214 sub r12, r0, #4 ; move u pointer down by 4 columns 219 vld1.u8 {d6}, [r12], r1 ;load u data [all …]
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
D | fimg2d.h | 257 #define image_table(u) \ argument 259 (u)->src, \ 260 (u)->msk, \ 261 (u)->tmp, \ 262 (u)->dst \
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_postproc.c | 455 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, in vp9_blend_mb_inner_c() argument 472 u += stride + 1; in vp9_blend_mb_inner_c() 477 u[j] = (u[j] * alpha + u1_const) >> 16; in vp9_blend_mb_inner_c() 480 u += stride; in vp9_blend_mb_inner_c() 488 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, in vp9_blend_mb_outer_c() argument 520 u[j] = (u[j] * alpha + u1_const) >> 16; in vp9_blend_mb_outer_c() 523 u += stride; in vp9_blend_mb_outer_c() 527 u[0] = (u[0] * alpha + u1_const) >> 16; in vp9_blend_mb_outer_c() 530 u[7] = (u[7] * alpha + u1_const) >> 16; in vp9_blend_mb_outer_c() 533 u += stride; in vp9_blend_mb_outer_c() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/ |
D | vp9_loopfilter_16_neon.asm | 179 vqadd.s8 q11, q6, q2 ; u = clamp(ps0 + filter2) 180 vqsub.s8 q0, q7, q1 ; u = clamp(qs0 - filter1) 185 veor q7, q0, q10 ; *oq0 = u^0x80 189 vqadd.s8 q13, q5, q1 ; u = clamp(ps1 + filter) 190 vqsub.s8 q12, q8, q1 ; u = clamp(qs1 - filter) 192 veor q6, q11, q10 ; *op0 = u^0x80 193 veor q5, q13, q10 ; *op1 = u^0x80 194 veor q8, q12, q10 ; *oq1 = u^0x80
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
D | driver_cmd_wext.c | 119 iwr.u.data.pointer = buf; in wpa_driver_wext_combo_scan() 120 iwr.u.data.length = bp; in wpa_driver_wext_combo_scan() 262 iwr.u.data.pointer = buf; in wpa_driver_set_backgroundscan_params() 263 iwr.u.data.length = bp; in wpa_driver_set_backgroundscan_params() 324 iwr.u.data.pointer = buf; in wpa_driver_wext_driver_cmd() 325 iwr.u.data.length = buf_len; in wpa_driver_wext_driver_cmd() 330 iwr.u.data.length = wpa_driver_wext_set_cscan_params(buf, buf_len, cmd); in wpa_driver_wext_driver_cmd()
|