Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 60) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_variance_mmx.c41 unsigned int var; in vp9_variance4x4_mmx() local
44 vp9_get4x4var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg); in vp9_variance4x4_mmx()
45 *sse = var; in vp9_variance4x4_mmx()
46 return (var - (((unsigned int)avg * avg) >> 4)); in vp9_variance4x4_mmx()
55 unsigned int var; in vp9_variance8x8_mmx() local
58 vp9_get8x8var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg); in vp9_variance8x8_mmx()
59 *sse = var; in vp9_variance8x8_mmx()
61 return (var - (((unsigned int)avg * avg) >> 6)); in vp9_variance8x8_mmx()
70 unsigned int sse0, sse1, sse2, sse3, var; in vp9_mse16x16_mmx() local
83 var = sse0 + sse1 + sse2 + sse3; in vp9_mse16x16_mmx()
[all …]
Dvp9_variance_sse2.c142 unsigned int var; in vp9_variance4x4_sse2() local
146 &var, &avg, vp9_get4x4var_mmx, 4); in vp9_variance4x4_sse2()
147 *sse = var; in vp9_variance4x4_sse2()
148 return (var - (((unsigned int)avg * avg) >> 4)); in vp9_variance4x4_sse2()
156 unsigned int var; in vp9_variance8x4_sse2() local
160 &var, &avg, vp9_get4x4var_mmx, 4); in vp9_variance8x4_sse2()
161 *sse = var; in vp9_variance8x4_sse2()
162 return (var - (((unsigned int)avg * avg) >> 5)); in vp9_variance8x4_sse2()
170 unsigned int var; in vp9_variance4x8_sse2() local
174 &var, &avg, vp9_get4x4var_mmx, 4); in vp9_variance4x8_sse2()
[all …]
Dvp9_variance_avx2.c100 unsigned int var; in vp9_variance16x16_avx2() local
104 &var, &avg, vp9_get16x16var_avx2, 16); in vp9_variance16x16_avx2()
105 *sse = var; in vp9_variance16x16_avx2()
106 return (var - (((unsigned int)avg * avg) >> 8)); in vp9_variance16x16_avx2()
128 unsigned int var; in vp9_variance32x32_avx2() local
133 &var, &avg, vp9_get32x32var_avx2, 32); in vp9_variance32x32_avx2()
134 *sse = var; in vp9_variance32x32_avx2()
135 return (var - (((int64_t)avg * avg) >> 10)); in vp9_variance32x32_avx2()
143 unsigned int var; in vp9_variance32x16_avx2() local
148 &var, &avg, vp9_get32x32var_avx2, 32); in vp9_variance32x16_avx2()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dvariance_c.c72 unsigned int var; in vp8_variance16x16_c() local
76 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg); in vp8_variance16x16_c()
77 *sse = var; in vp8_variance16x16_c()
78 return (var - (((unsigned int)avg * avg) >> 8)); in vp8_variance16x16_c()
88 unsigned int var; in vp8_variance8x16_c() local
92 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg); in vp8_variance8x16_c()
93 *sse = var; in vp8_variance8x16_c()
94 return (var - (((unsigned int)avg * avg) >> 7)); in vp8_variance8x16_c()
104 unsigned int var; in vp8_variance16x8_c() local
108 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg); in vp8_variance16x8_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Dvariance_mmx.c89 unsigned int var; in vp8_variance4x4_mmx() local
92 vp8_get4x4var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance4x4_mmx()
93 *sse = var; in vp8_variance4x4_mmx()
94 return (var - (((unsigned int)avg * avg) >> 4)); in vp8_variance4x4_mmx()
105 unsigned int var; in vp8_variance8x8_mmx() local
108 vp8_get8x8var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance8x8_mmx()
109 *sse = var; in vp8_variance8x8_mmx()
111 return (var - (((unsigned int)avg * avg) >> 6)); in vp8_variance8x8_mmx()
122 unsigned int sse0, sse1, sse2, sse3, var; in vp8_mse16x16_mmx() local
131 var = sse0 + sse1 + sse2 + sse3; in vp8_mse16x16_mmx()
[all …]
Dvariance_sse2.c146 unsigned int var; in vp8_variance4x4_wmt() local
149 vp8_get4x4var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance4x4_wmt()
150 *sse = var; in vp8_variance4x4_wmt()
151 return (var - (((unsigned int)avg * avg) >> 4)); in vp8_variance4x4_wmt()
163 unsigned int var; in vp8_variance8x8_wmt() local
166 vp8_get8x8var_sse2(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance8x8_wmt()
167 *sse = var; in vp8_variance8x8_wmt()
168 return (var - (((unsigned int)avg * avg) >> 6)); in vp8_variance8x8_wmt()
214 unsigned int sse0, sse1, var; in vp8_variance16x8_wmt() local
220 var = sse0 + sse1; in vp8_variance16x8_wmt()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_variance.c171 unsigned int var; in vp9_variance64x32_c() local
174 variance(src_ptr, source_stride, ref_ptr, recon_stride, 64, 32, &var, &avg); in vp9_variance64x32_c()
175 *sse = var; in vp9_variance64x32_c()
176 return (var - (((int64_t)avg * avg) >> 11)); in vp9_variance64x32_c()
228 unsigned int var; in vp9_variance32x64_c() local
231 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 64, &var, &avg); in vp9_variance32x64_c()
232 *sse = var; in vp9_variance32x64_c()
233 return (var - (((int64_t)avg * avg) >> 11)); in vp9_variance32x64_c()
285 unsigned int var; in vp9_variance32x16_c() local
288 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 16, &var, &avg); in vp9_variance32x16_c()
[all …]
Dvp9_aq_variance.c118 unsigned int var, sse; in block_variance() local
130 var = sse - (((int64_t)avg * avg) / (bw * bh)); in block_variance()
131 return (256 * var) / (bw * bh); in block_variance()
133 var = cpi->fn_ptr[bs].vf(x->plane[0].src.buf, in block_variance()
136 return (256 * var) >> num_pels_log2_lookup[bs]; in block_variance()
142 unsigned int var = block_variance(cpi, x, bs); in vp9_block_energy() local
146 energy = 0.9 * (log(var + 1.0) - 10.0); in vp9_block_energy()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dgen_msvs_sln.sh68 local var
69 var=${file##*/}
70 var=${var%%.${sfx}}
71 eval "${var}_file=\"$1\""
72 eval "${var}_name=$name"
73 eval "${var}_guid=$guid"
89 eval "${var}_config_list=\"$cur_config_list\""
90 proj_list="${proj_list} ${var}"
100 local var
101 var=${file##*/}
[all …]
Dconfigure.sh152 for var in $*; do
153 eval $var=$value
161 for var in $*; do
162 [ $var = $value ] && return 0
219 for var in $*; do
220 if ! disabled $var; then
221 log_echo " enabling $var"
222 enable_feature $var
228 for var in $*; do
229 if ! enabled $var; then
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/
Dvariance_arm.c61 unsigned int var; in vp8_sub_pixel_variance16x16_armv6() local
65 var = vp8_variance_halfpixvar16x16_h_armv6(src_ptr, src_pixels_per_line, in vp8_sub_pixel_variance16x16_armv6()
70 var = vp8_variance_halfpixvar16x16_v_armv6(src_ptr, src_pixels_per_line, in vp8_sub_pixel_variance16x16_armv6()
75 var = vp8_variance_halfpixvar16x16_hv_armv6(src_ptr, src_pixels_per_line, in vp8_sub_pixel_variance16x16_armv6()
89 var = vp8_variance16x16_armv6(second_pass, 16, dst_ptr, in vp8_sub_pixel_variance16x16_armv6()
92 return var; in vp8_sub_pixel_variance16x16_armv6()
/hardware/invensense/65xx/libsensors_iio/
DMPLSupport.cpp146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
153 if (fscanf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int()
161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument
168 if (fscanf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int64()
189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument
196 if (fprintf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_int()
204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument
211 if (fprintf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_longlong()
/hardware/intel/common/libmix/mix_common/src/
Dmixlog.c30 void mix_log_get_ht(GHashTable **ht, const gchar *var) { in mix_log_get_ht() argument
34 if (!ht || !var) { in mix_log_get_ht()
38 delog_list = g_getenv(var); in mix_log_get_ht()
152 gboolean mix_shall_delog(const gchar *name, const gchar *var) { in mix_shall_delog() argument
158 if (!name || !var) { in mix_shall_delog()
162 delog_list = g_getenv(var); in mix_shall_delog()
/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
153 if (fscanf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int()
161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument
168 if (fscanf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int64()
189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument
196 if (fprintf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_int()
204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument
211 if (fprintf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_longlong()
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
DAKFS_AOC.c123 AKFVEC* var /*!< (o) : variation in vectors */ in MeanVar() argument
142 var->v[j] = max.v[j] - min.v[j]; /*var */ in MeanVar()
243 AKFVEC var; in AKFS_AOC() local
302 MeanVar(haocv->hobuf, AKFS_HOBUF_SIZE, &mean, &var); in AKFS_AOC()
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/vpx/src/
Dvpx_codec.c22 #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var) argument
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_mdp.h376 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
377 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
378 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
379 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
879 uint8_t var; member
1066 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_mdp.h395 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
396 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
397 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
399 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
822 uint8_t var; member
1032 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_mdp.h392 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
394 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
395 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
396 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
809 uint8_t var; member
1016 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_mdp.h374 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
375 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
376 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
377 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
856 uint8_t var; member
1041 struct fb_var_screeninfo var; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_mdp.h398 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
399 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
400 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
401 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
928 uint8_t var; member
1117 struct fb_var_screeninfo var; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_mdp.h416 #define MDSS_PP_ADD_ARG(var,arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
417 #define PP_ARG(x,var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
418 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
420 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
868 uint8_t var; member
1081 struct fb_var_screeninfo var; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libyuv/source/
Drow.h143 #define SIMD_ALIGNED(var) __declspec(align(16)) var argument
148 #define SIMD_ALIGNED(var) var __attribute__((aligned(16))) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dconfigure536 var=`echo $header | sed 's/[^A-Za-z0-9_]/_/g'`
537 disable_feature $var
549 esac && enable_feature $var
557 esac && enable_feature $var
566 esac && enable_feature $var
568 enabled $var
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_mdp.h451 #define MDSS_PP_ADD_ARG(var,arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
452 #define PP_ARG(x,var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
454 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
455 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
1070 uint8_t var; member
1281 struct fb_var_screeninfo var; member

123