/hardware/intel/img/psb_video/src/ |
D | psb_drv_debug.c | 366 int j,k; in psb__dump_I420_buffers() local 371 for(j = 0; j < srch; ++j) in psb__dump_I420_buffers() 377 for(j = 0; j < srch /2; ++j) { in psb__dump_I420_buffers() 387 for(j = 0; j < srch /2; ++j) in psb__dump_I420_buffers() 858 unsigned int j,k; in psb__dump_va_buffers() local 870 j=0; in psb__dump_va_buffers() 872 …mp_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers() 882 for(j=0; j<obj_buffer->size;++j) { in psb__dump_va_buffers() 883 if(j%16 == 0) fprintf(psb_dump_vabuf_fp,"\n"); in psb__dump_va_buffers() 885 …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/ |
D | AKFS_AOC.c | 63 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/ |
D | qc_omx_core.c | 168 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/qcom/media/msm8974/mm-core/src/common/ |
D | qc_omx_core.c | 165 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/qcom/media/msm8998/mm-core/src/common/ |
D | qc_omx_core.c | 169 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/media/msm8996/mm-core/src/common/ |
D | qc_omx_core.c | 169 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/ |
D | ALSAMixer.cpp | 209 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/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 280 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 282 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 283 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_scale.cpp | 108 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() 116 scale->roi_w[j]); in DumpScaleData() 277 for (int j = 0; j < MAX_PLANES; j++) { in DumpScaleData() local 279 j, scale->init_phase_x[j], scale->init_phase_y[j], scale->phase_step_x[j], in DumpScaleData() 280 scale->phase_step_y[j]); in DumpScaleData() [all …]
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | qd_utils.cpp | 40 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/ |
D | vc1parse_bitplane.c | 110 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 …]
|
D | vc1parse_huffman.c | 22 int32_t i, j, maxBits, loopCount, totalBits, value; in vc1_DecodeHuffmanOne() local 41 for (j = 0; j < loopCount; j++) in vc1_DecodeHuffmanOne() 64 int32_t i, j, maxBits, loopCount, totalBits, value; in vc1_DecodeHuffmanPair() local 83 for (j = 0; j < loopCount; j++) in vc1_DecodeHuffmanPair()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 117 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/ |
D | ml_sysfs_helper.c | 125 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/img/hwcomposer/moorefield_hdmi/common/planes/ |
D | DisplayPlaneManager.cpp | 47 size_t j; in deinitialize() local 50 for (j = 0; j < mPlanes[i].size(); j++) { in deinitialize() 52 DisplayPlane *plane = mPlanes[i].itemAt(j); in deinitialize() 65 int i, j; in initialize() local 94 for (j = 0; j < mPlaneCount[i]; j++) { in initialize() 95 DisplayPlane* plane = allocPlane(j, i); in initialize() 97 ELOGTRACE("failed to allocate plane %d, type %d", j, i); in initialize() 279 int i, j; in disableReclaimedPlanes() local 287 for (j = 0; j < mPlaneCount[i]; j++) { in disableReclaimedPlanes() 288 int bit = (1 << j); in disableReclaimedPlanes() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/common/planes/ |
D | DisplayPlaneManager.cpp | 47 size_t j; in deinitialize() local 50 for (j = 0; j < mPlanes[i].size(); j++) { in deinitialize() 52 DisplayPlane *plane = mPlanes[i].itemAt(j); in deinitialize() 65 int i, j; in initialize() local 94 for (j = 0; j < mPlaneCount[i]; j++) { in initialize() 95 DisplayPlane* plane = allocPlane(j, i); in initialize() 97 ETRACE("failed to allocate plane %d, type %d", j, i); in initialize() 279 int i, j; in disableReclaimedPlanes() local 287 for (j = 0; j < mPlaneCount[i]; j++) { in disableReclaimedPlanes() 288 int bit = (1 << j); in disableReclaimedPlanes() [all …]
|
/hardware/intel/common/libva/test/basic/ |
D | test_06.c | 39 int i, j, k; in pre() local 59 for(j = 0; j < num_entrypoints; j++) in pre() 61 …va_status = vaCreateConfig(va_dpy, profiles[i], entrypoints[j], NULL, 0, &(configs[config_count])); in pre() 70 int i, j, k; in test() local 85 for(j = 0; j < num_entrypoints; j++) in test() 91 …ryConfigAttributes for %s, %s\n", profile2string(profiles[i]), entrypoint2string(entrypoints[j])); in test() 98 ASSERT( entrypoint == entrypoints[j] ); in test()
|
D | test_03.c | 39 int i, j; in test() local 55 for(j = 0; j < num_entrypoints; j++) in test() 57 status(" entrypoint %d [%s]\n", entrypoints[j], entrypoint2string(entrypoints[j])); in test()
|
/hardware/interfaces/tests/foo/1.0/default/ |
D | Foo.cpp | 229 for (size_t j = 0; j < 3; ++j) { in transposeMe() local 230 out[i][j] = in[j][i]; in transposeMe() 247 for (size_t j = 0; j < 3; ++j) { in callingDrWho() local 248 out.quuxMatrix[i][j].first = in.quuxMatrix[4 - i][2 - j].last; in callingDrWho() 249 out.quuxMatrix[i][j].last = in.quuxMatrix[4 - i][2 - j].first; in callingDrWho() 263 for (size_t j = 0; j < 5; ++j) { in transpose() local 264 out.s[i][j] = in.s[j][i]; in transpose() 279 for (size_t j = 0; j < 5; ++j) { in transpose2() local 280 out[i][j] = in[j][i]; in transpose2()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | qd_utils.cpp | 41 int j = 0; in getHDMINode() local 43 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { in getHDMINode() 45 "/sys/class/graphics/fb%d/msm_fb_type", j); in getHDMINode() 51 ALOGD("%s: HDMI is at fb%d", __func__, j); in getHDMINode() 57 ALOGE("%s: Failed to open fb node %d", __func__, j); in getHDMINode() 61 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode() 62 return j; in getHDMINode()
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | qd_utils.cpp | 40 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 ALOGD("%s: fb node %d not present", __func__, j); in getHDMINode() 60 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode() 61 return j; in getHDMINode()
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | qd_utils.cpp | 53 int j = 0; 55 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { 57 "/sys/class/graphics/fb%d/msm_fb_type", j); 63 ALOGD("%s: HDMI is at fb%d", __func__, j); 69 ALOGE("%s: Failed to open fb node %d", __func__, j); 73 if (j < HWC_NUM_DISPLAY_TYPES) 74 return j;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
D | h264parse_sh.c | 428 uint32_t i =0, j=0; in h264_Parse_Pred_Weight_Table() local 461 for(j=0; j <2; j++) in h264_Parse_Pred_Weight_Table() 463 SliceHeader->sh_predwttbl.chroma_weight_l0[i][j] = h264_GetVLCElement(parent, pInfo, true); in h264_Parse_Pred_Weight_Table() 464 SliceHeader->sh_predwttbl.chroma_offset_l0[i][j] = h264_GetVLCElement(parent, pInfo, true); in h264_Parse_Pred_Weight_Table() 469 for(j=0; j <2; j++) in h264_Parse_Pred_Weight_Table() 471 …SliceHeader->sh_predwttbl.chroma_weight_l0[i][j] = (1 << SliceHeader->sh_predwttbl.chroma_log2_wei… in h264_Parse_Pred_Weight_Table() 472 SliceHeader->sh_predwttbl.chroma_offset_l0[i][j] = 0; in h264_Parse_Pred_Weight_Table() 504 for(j=0; j <2; j++) in h264_Parse_Pred_Weight_Table() 506 SliceHeader->sh_predwttbl.chroma_weight_l1[i][j] = h264_GetVLCElement(parent, pInfo, true); in h264_Parse_Pred_Weight_Table() 507 SliceHeader->sh_predwttbl.chroma_offset_l1[i][j] = h264_GetVLCElement(parent, pInfo, true); in h264_Parse_Pred_Weight_Table() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | main.c | 470 int j; in fifo_callback() local 473 for (j = 0; j < 4; j++) in fifo_callback() 474 quat[j] = (float)temp[j] / (1 << 30); in fifo_callback() 648 int j; in components_parser() local 651 for (j = 0; j < NUM_OF_IDS; j++) in components_parser() 652 components[j].order = -1; in components_parser() 655 for (j = 0; j < length; j++) { in components_parser() 656 switch (requested[j]) { in components_parser() 658 components[TEMPERATURE].order = j; in components_parser() 661 components[CALIBRATED_GYROSCOPE].order = j; in components_parser() [all …]
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | qd_utils.cpp | 109 int j = 0; in getHDMINode() local 111 for(j = 0; j < HWC_NUM_DISPLAY_TYPES; j++) { in getHDMINode() 113 "/sys/class/graphics/fb%d/msm_fb_type", j); in getHDMINode() 119 ALOGD("%s: HDMI is at fb%d", __func__, j); in getHDMINode() 125 ALOGE("%s: Failed to open fb node %d", __func__, j); in getHDMINode() 129 if (j < HWC_NUM_DISPLAY_TYPES) in getHDMINode() 130 return j; in getHDMINode()
|