Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Didct8x8_test.cc51 for (int j = 0; j < 8; ++j) in reference_dct_2d() local
52 temp_in[j] = input[j*8 + i]; in reference_dct_2d()
54 for (int j = 0; j < 8; ++j) in reference_dct_2d() local
55 output[j*8 + i] = temp_out[j]; in reference_dct_2d()
60 for (int j = 0; j < 8; ++j) in reference_dct_2d() local
61 temp_in[j] = output[j + i*8]; in reference_dct_2d()
63 for (int j = 0; j < 8; ++j) in reference_dct_2d() local
64 output[j + i*8] = temp_out[j]; in reference_dct_2d()
89 for (int j = 0; j < 8; ++j) in reference_idct_2d() local
90 temp_in[j] = input[j + i*8]; in reference_idct_2d()
[all …]
Ddct32x32_test.cc56 for (int j = 0; j < 32; ++j) in reference_32x32_dct_2d() local
57 temp_in[j] = input[j*32 + i]; in reference_32x32_dct_2d()
59 for (int j = 0; j < 32; ++j) in reference_32x32_dct_2d() local
60 output[j * 32 + i] = temp_out[j]; in reference_32x32_dct_2d()
65 for (int j = 0; j < 32; ++j) in reference_32x32_dct_2d() local
66 temp_in[j] = output[j + i*32]; in reference_32x32_dct_2d()
69 for (int j = 0; j < 32; ++j) in reference_32x32_dct_2d() local
70 output[j + i * 32] = temp_out[j] / 4; in reference_32x32_dct_2d()
109 for (int j = 0; j < kNumCoeffs; ++j) { in TEST_P() local
110 src[j] = rnd.Rand8(); in TEST_P()
[all …]
Dfdct8x8_test.cc69 for (int j = 0; j < 64; ++j) in RunSignBiasCheck() local
70 test_input_block[j] = rnd.Rand8() - rnd.Rand8(); in RunSignBiasCheck()
74 for (int j = 0; j < 64; ++j) { in RunSignBiasCheck() local
75 if (test_output_block[j] < 0) in RunSignBiasCheck()
76 ++count_sign_block[j][0]; in RunSignBiasCheck()
77 else if (test_output_block[j] > 0) in RunSignBiasCheck()
78 ++count_sign_block[j][1]; in RunSignBiasCheck()
82 for (int j = 0; j < 64; ++j) { in RunSignBiasCheck() local
83 const int diff = abs(count_sign_block[j][0] - count_sign_block[j][1]); in RunSignBiasCheck()
88 << " for input range [-255, 255] at index " << j in RunSignBiasCheck()
[all …]
Dvp8_fdct4x4_test.cc83 for (int j = 0; j < 16; ++j) in TEST() local
84 test_input_block[j] = rnd.Rand8() - rnd.Rand8(); in TEST()
88 for (int j = 0; j < 16; ++j) { in TEST() local
89 if (test_output_block[j] < 0) in TEST()
90 ++count_sign_block[j][0]; in TEST()
91 else if (test_output_block[j] > 0) in TEST()
92 ++count_sign_block[j][1]; in TEST()
97 for (int j = 0; j < 16; ++j) in TEST() local
99 (abs(count_sign_block[j][0] - count_sign_block[j][1]) < 10000); in TEST()
108 for (int j = 0; j < 16; ++j) in TEST() local
[all …]
Dfdct4x4_test.cc72 for (int j = 0; j < kNumCoeffs; ++j) { in RunAccuracyCheck() local
73 src[j] = rnd.Rand8(); in RunAccuracyCheck()
74 dst[j] = rnd.Rand8(); in RunAccuracyCheck()
75 test_input_block[j] = src[j] - dst[j]; in RunAccuracyCheck()
82 for (int j = 0; j < kNumCoeffs; ++j) { in RunAccuracyCheck() local
83 const uint32_t diff = dst[j] - src[j]; in RunAccuracyCheck()
107 for (int j = 0; j < kNumCoeffs; ++j) in RunCoeffCheck() local
108 input_block[j] = rnd.Rand8() - rnd.Rand8(); in RunCoeffCheck()
114 for (int j = 0; j < kNumCoeffs; ++j) in RunCoeffCheck() local
115 EXPECT_EQ(output_block[j], output_ref_block[j]); in RunCoeffCheck()
[all …]
Ddct16x16_test.cc50 for (int j = 0; j < 16; ++j) { in reference2_16x16_idct_2d() local
51 x = cos(PI * j * (l + 0.5) / 16.0) * in reference2_16x16_idct_2d()
53 input[i * 16 + j] / 256; in reference2_16x16_idct_2d()
56 if (j != 0) in reference2_16x16_idct_2d()
243 for (int j = 0; j < 16; ++j) in reference_16x16_dct_2d() local
244 temp_in[j] = input[j * 16 + i]; in reference_16x16_dct_2d()
246 for (int j = 0; j < 16; ++j) in reference_16x16_dct_2d() local
247 output[j * 16 + i] = temp_out[j]; in reference_16x16_dct_2d()
252 for (int j = 0; j < 16; ++j) in reference_16x16_dct_2d() local
253 temp_in[j] = output[j + i * 16]; in reference_16x16_dct_2d()
[all …]
/hardware/intel/img/psb_video/src/
Dpsb_drv_debug.c349 int j,k; in psb__dump_I420_buffers() local
354 for(j = 0; j < srch; ++j) in psb__dump_I420_buffers()
360 for(j = 0; j < srch /2; ++j) { in psb__dump_I420_buffers()
370 for(j = 0; j < srch /2; ++j) in psb__dump_I420_buffers()
841 unsigned int j,k; in psb__dump_va_buffers() local
853 j=0; in psb__dump_va_buffers()
855 …mp_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
865 for(j=0; j<obj_buffer->size;++j) { in psb__dump_va_buffers()
866 if(j%16 == 0) fprintf(psb_dump_vabuf_fp,"\n"); in psb__dump_va_buffers()
868 …tf(psb_dump_vabuf_fp,"0x%02x ",*((unsigned char *)(mapped_buffer+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
[all …]
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
DAKFS_AOC.c63 int16 i, j; in From4Points2Sphere() local
67 for(j = 0; j < 3; j++){ in From4Points2Sphere()
68 dif[i][j] = points[i].v[j] - points[3].v[j]; in From4Points2Sphere()
69 r2[i] += (points[i].v[j]*points[i].v[j] in From4Points2Sphere()
70 - points[3].v[j]*points[3].v[j]); in From4Points2Sphere()
126 int16 j; in MeanVar() local
130 for(j = 0; j < 3; j++){ in MeanVar()
131 min.v[j] = v[0].v[j]; in MeanVar()
132 max.v[j] = v[0].v[j]; in MeanVar()
134 if(v[i].v[j] < min.v[j]){ in MeanVar()
[all …]
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/
Dqc_omx_core.c168 unsigned i = 0,j=0; in clear_cmp_handle() local
175 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle()
177 if(inst == core[i].inst[j]) in clear_cmp_handle()
179 core[i].inst[j] = NULL; in clear_cmp_handle()
202 unsigned i=0,j=0; in is_cmp_handle_exists() local
210 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists()
212 if(inst == core[i].inst[j]) in is_cmp_handle_exists()
237 unsigned i=0,j=0; in get_comp_handle_index() local
243 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index()
245 if(NULL == core[i].inst[j]) in get_comp_handle_index()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_ssim.c18 int i, j; in vp9_ssim_parms_16x16_c() local
20 for (j = 0; j < 16; j++) { in vp9_ssim_parms_16x16_c()
21 *sum_s += s[j]; in vp9_ssim_parms_16x16_c()
22 *sum_r += r[j]; in vp9_ssim_parms_16x16_c()
23 *sum_sq_s += s[j] * s[j]; in vp9_ssim_parms_16x16_c()
24 *sum_sq_r += r[j] * r[j]; in vp9_ssim_parms_16x16_c()
25 *sum_sxr += s[j] * r[j]; in vp9_ssim_parms_16x16_c()
33 int i, j; in vp9_ssim_parms_8x8_c() local
35 for (j = 0; j < 8; j++) { in vp9_ssim_parms_8x8_c()
36 *sum_s += s[j]; in vp9_ssim_parms_8x8_c()
[all …]
Dvp9_resize.c317 int i, j; in down2_symeven() local
327 for (j = 0; j < filter_len_half; ++j) { in down2_symeven()
328 sum += (input[(i - j < 0 ? 0 : i - j)] + in down2_symeven()
329 input[(i + 1 + j >= length ? length - 1 : i + 1 + j)]) * in down2_symeven()
330 filter[j]; in down2_symeven()
339 for (j = 0; j < filter_len_half; ++j) { in down2_symeven()
340 sum += (input[(i - j < 0 ? 0 : i - j)] + input[i + 1 + j]) * filter[j]; in down2_symeven()
348 for (j = 0; j < filter_len_half; ++j) { in down2_symeven()
349 sum += (input[i - j] + input[i + 1 + j]) * filter[j]; in down2_symeven()
357 for (j = 0; j < filter_len_half; ++j) { in down2_symeven()
[all …]
/hardware/qcom/media/msm8974/mm-core/src/common/
Dqc_omx_core.c165 unsigned i = 0,j=0; in clear_cmp_handle() local
172 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle()
174 if(inst == core[i].inst[j]) in clear_cmp_handle()
176 core[i].inst[j] = NULL; in clear_cmp_handle()
199 unsigned i=0,j=0; in is_cmp_handle_exists() local
208 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists()
210 if(inst == core[i].inst[j]) in is_cmp_handle_exists()
237 unsigned i=0,j=0; in get_comp_handle_index() local
243 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index()
245 if(NULL == core[i].inst[j]) in get_comp_handle_index()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dssim.c27 int i,j; in vp8_ssim_parms_16x16_c() local
30 for(j=0;j<16;j++) in vp8_ssim_parms_16x16_c()
32 *sum_s += s[j]; in vp8_ssim_parms_16x16_c()
33 *sum_r += r[j]; in vp8_ssim_parms_16x16_c()
34 *sum_sq_s += s[j] * s[j]; in vp8_ssim_parms_16x16_c()
35 *sum_sq_r += r[j] * r[j]; in vp8_ssim_parms_16x16_c()
36 *sum_sxr += s[j] * r[j]; in vp8_ssim_parms_16x16_c()
53 int i,j; in vp8_ssim_parms_8x8_c() local
56 for(j=0;j<8;j++) in vp8_ssim_parms_8x8_c()
58 *sum_s += s[j]; in vp8_ssim_parms_8x8_c()
[all …]
Drdopt.h23 int i, j, k; in insertsortmv() local
27 for ( j = 0 ; j < i ; j++ ) in insertsortmv()
29 if ( arr[j] > arr[i] ) in insertsortmv()
35 for ( k = i; k >j; k--) in insertsortmv()
38 arr[j] = temp ; in insertsortmv()
46 int i, j, k; in insertsortsad() local
50 for ( j = 0 ; j < i ; j++ ) in insertsortsad()
52 if ( arr[j] > arr[i] ) in insertsortsad()
59 for ( k = i; k >j; k--) in insertsortsad()
65 arr[j] = temp ; in insertsortsad()
[all …]
/hardware/qcom/media/msm8996/mm-core/src/common/
Dqc_omx_core.c169 unsigned i = 0,j=0; in clear_cmp_handle() local
176 for(j=0; j< OMX_COMP_MAX_INST; j++) in clear_cmp_handle()
178 if(inst == core[i].inst[j]) in clear_cmp_handle()
180 core[i].inst[j] = NULL; in clear_cmp_handle()
203 unsigned i=0,j=0; in is_cmp_handle_exists() local
212 for(j=0; j< OMX_COMP_MAX_INST; j++) in is_cmp_handle_exists()
214 if(inst == core[i].inst[j]) in is_cmp_handle_exists()
241 unsigned i=0,j=0; in get_comp_handle_index() local
247 for(j=0; j< OMX_COMP_MAX_INST; j++) in get_comp_handle_index()
249 if(NULL == core[i].inst[j]) in get_comp_handle_index()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DALSAMixer.cpp209 for (int j = 0; mixerProp[j][i].device; j++) { in ALSAMixer() local
211 mixer_info_t *info = mixerProp[j][i].mInfo = new mixer_info_t; in ALSAMixer()
213 property_get (mixerProp[j][i].propName, in ALSAMixer()
215 mixerProp[j][i].propDefault); in ALSAMixer()
257 for (int j = 0; mixerProp[j][i].device; j++) { in ~ALSAMixer() local
258 if (mixerProp[j][i].mInfo) { in ~ALSAMixer()
259 delete mixerProp[j][i].mInfo; in ~ALSAMixer()
260 mixerProp[j][i].mInfo = NULL; in ~ALSAMixer()
307 for (int j = 0; mixerProp[j][SND_PCM_STREAM_PLAYBACK].device; j++) in setVolume() local
308 if (mixerProp[j][SND_PCM_STREAM_PLAYBACK].device & device) { in setVolume()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/
Didct_blk_dspr2.c20 int i, j; in vp8_dequant_idct_add_y_block_dspr2() local
24 for (j = 0; j < 4; j++) in vp8_dequant_idct_add_y_block_dspr2()
46 int i, j; in vp8_dequant_idct_add_uv_block_dspr2() local
50 for (j = 0; j < 2; j++) in vp8_dequant_idct_add_uv_block_dspr2()
69 for (j = 0; j < 2; j++) in vp8_dequant_idct_add_uv_block_dspr2()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c76 int i, j; in mm_app_tc_start_stop_preview() local
89 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_preview()
124 int i, j; in mm_app_tc_start_stop_zsl() local
137 for (j = 0; j < 1; j++) { in mm_app_tc_start_stop_zsl()
172 int i, j; in mm_app_tc_start_stop_video_preview() local
185 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_video_preview()
220 int i, j; in mm_app_tc_start_stop_video_record() local
243 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_video_record()
295 int i, j; in mm_app_tc_start_stop_live_snapshot() local
329 for (j = 0; j < MM_QCAMERA_APP_UTEST_INNER_LOOP; j++) { in mm_app_tc_start_stop_live_snapshot()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_idct.c122 int i, j; in vp9_idct4x4_16_add_c() local
134 for (j = 0; j < 4; ++j) in vp9_idct4x4_16_add_c()
135 temp_in[j] = out[j * 4 + i]; in vp9_idct4x4_16_add_c()
137 for (j = 0; j < 4; ++j) in vp9_idct4x4_16_add_c()
138 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) in vp9_idct4x4_16_add_c()
139 + dest[j * stride + i]); in vp9_idct4x4_16_add_c()
207 int i, j; in vp9_idct8x8_64_add_c() local
219 for (j = 0; j < 8; ++j) in vp9_idct8x8_64_add_c()
220 temp_in[j] = out[j * 8 + i]; in vp9_idct8x8_64_add_c()
222 for (j = 0; j < 8; ++j) in vp9_idct8x8_64_add_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Didct_blk.c25 int i, j; in vp8_dequant_idct_add_y_block_c() local
29 for (j = 0; j < 4; j++) in vp8_dequant_idct_add_y_block_c()
51 int i, j; in vp8_dequant_idct_add_uv_block_c() local
55 for (j = 0; j < 2; j++) in vp8_dequant_idct_add_uv_block_c()
74 for (j = 0; j < 2; j++) in vp8_dequant_idct_add_uv_block_c()
/hardware/qcom/display/msm8084/libqdutils/
Dqd_utils.cpp40 int j = 0; in getHDMINode() local
42 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { in getHDMINode()
44 "/sys/class/graphics/fb%d/msm_fb_type", j); in getHDMINode()
50 ALOGD("%s: HDMI is at fb%d", __func__, j); in getHDMINode()
56 ALOGE("%s: Failed to open fb node %d", __func__, j); in getHDMINode()
60 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode()
61 return j; in getHDMINode()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
Dvc1parse_bitplane.c110 int32_t i, j, previousBit=0, temp; in vc1_InverseDiff() local
114 for (j = 0; j < widthMB; j++) in vc1_InverseDiff()
116 if ((i == 0 && j == 0)) in vc1_InverseDiff()
118 previousBit=xor_bit(j, i, widthMB, pBitplane->invert, in vc1_InverseDiff()
121 else if (j == 0) /* XOR with TOP */ in vc1_InverseDiff()
124 temp=xor_bit(j, i, widthMB, previousBit, in vc1_InverseDiff()
130 get_bit(j, i-1, widthMB, pBitplane->databits)))) in vc1_InverseDiff()
132 temp=xor_bit(j, i, widthMB, pBitplane->invert, in vc1_InverseDiff()
138 temp=xor_bit(j, i, widthMB, previousBit, in vc1_InverseDiff()
283 int32_t i, j, k; in vc1_Norm6ModeDecode() local
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c117 int i, j, result, find_flag; in parsing_proc_input() local
145 j = 0; in parsing_proc_input()
148 while(j < CHIP_NUM){ in parsing_proc_input()
149 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input()
151 chip_ind = j; in parsing_proc_input()
153 j++; in parsing_proc_input()
168 j = 0; in parsing_proc_input()
170 tmp[j] = line[i]; in parsing_proc_input()
171 i ++; j++; in parsing_proc_input()
196 j = 0; in parsing_proc_input()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c125 int i, j, result, find_flag; in parsing_proc_input() local
153 j = 0; in parsing_proc_input()
156 while(j < CHIP_NUM){ in parsing_proc_input()
157 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input()
159 chip_ind = j; in parsing_proc_input()
161 j++; in parsing_proc_input()
176 j = 0; in parsing_proc_input()
178 tmp[j] = line[i]; in parsing_proc_input()
179 i ++; j++; in parsing_proc_input()
204 j = 0; in parsing_proc_input()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
Dvp9_itrans4_dspr2.c367 int i, j; in vp9_iht4x4_16_add_dspr2() local
393 for (j = 0; j < 4; ++j) in vp9_iht4x4_16_add_dspr2()
394 dest[j * dest_stride + i] = in vp9_iht4x4_16_add_dspr2()
395 clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) in vp9_iht4x4_16_add_dspr2()
396 + dest[j * dest_stride + i]); in vp9_iht4x4_16_add_dspr2()
409 for (j = 0; j < 4; ++j) { in vp9_iht4x4_16_add_dspr2()
410 temp_in[i * 4 + j] = out[j * 4 + i]; in vp9_iht4x4_16_add_dspr2()
423 for (j = 0; j < 4; ++j) in vp9_iht4x4_16_add_dspr2()
424 temp_in[j] = out[j * 4 + i]; in vp9_iht4x4_16_add_dspr2()
427 for (j = 0; j < 4; ++j) in vp9_iht4x4_16_add_dspr2()
[all …]

12345678910>>...15