Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 41) sorted by relevance

12

/hardware/samsung_slsi/exynos5/libhwjpeg/
DExynosJpegDecoder.cpp956 …g_0, unsigned char *img_1, unsigned char *img_2, unsigned char *img_3, int idx[4][5], int img_offs… in pixOperation()
960 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][0]); *img… in pixOperation()
961 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][1]); *img… in pixOperation()
962 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][2]); *img… in pixOperation()
963 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][3]); *img… in pixOperation()
964 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][4]); *img… in pixOperation()
965 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][5]); *img… in pixOperation()
966 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][6]); *img… in pixOperation()
967 …ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][7]); *img… in pixOperation()
969 …ivalue[1] = CLIP255(*img_1+Ytable[idx[1][0]][idx[1][1]][idx[1][2]][idx[1][3]][idx[1][4]][0]); *img… in pixOperation()
[all …]
/hardware/libhardware/tests/camera2/
DCameraModuleTests.cpp91 int idx[] = { -1, mNumberOfCameras, mNumberOfCameras + 1 }; in TEST_F() local
94 for (unsigned i = 0; i < sizeof(idx)/sizeof(idx[0]); ++i) { in TEST_F()
95 String8 deviceName = String8::format("%d", idx[i]); in TEST_F()
123 int idx[] = { -1, mNumberOfCameras, mNumberOfCameras + 1 }; in TEST_F() local
124 for (unsigned i = 0; i < sizeof(idx)/sizeof(idx[0]); ++i) { in TEST_F()
126 EXPECT_NE(OK, mModule->get_camera_info(idx[i], &info)); in TEST_F()
127 EXPECT_EQ(-ENODEV, mModule->get_camera_info(idx[i], &info)) in TEST_F()
129 << idx[i]; in TEST_F()
DCameraMultiStreamTests.cpp120 Size* min, int32_t* idx) { in GetMinSize() argument
133 *idx = minIdx; in GetMinSize()
138 Size* max, int32_t* idx) { in GetMaxSize() argument
151 *idx = maxIdx; in GetMaxSize()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmcdc.h62 #define CDC_SET_IF_IDX(hdr, idx) \ argument
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
108 #define BDC_SET_IF_IDX(hdr, idx) \ argument
109 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_IF_MASK) | ((idx) << BDC_FLAG2_IF_SHIFT)))
120 #define BDC_SET_PAD_LEN(hdr, idx) \ argument
122 (((idx) & BDC_FLAG2_PAD_IDX) << BDC_FLAG2_PAD_SHIFT))); \
124 (((idx) & BDC_FLAG_PAD_IDX) << BDC_FLAG_PAD_SHIFT)))
Dhndrte_cons.h32 uint idx; member
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c385 uint8_t idx = 0; in mm_camera_poll_thread_add_poll_fd() local
389 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_add_poll_fd()
392 idx = 0; in mm_camera_poll_thread_add_poll_fd()
395 if (MAX_STREAM_NUM_IN_BUNDLE > idx) { in mm_camera_poll_thread_add_poll_fd()
396 poll_cb->poll_entries[idx].fd = fd; in mm_camera_poll_thread_add_poll_fd()
397 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
398 poll_cb->poll_entries[idx].notify_cb = notify_cb; in mm_camera_poll_thread_add_poll_fd()
399 poll_cb->poll_entries[idx].user_data = userdata; in mm_camera_poll_thread_add_poll_fd()
408 __func__, handler, idx); in mm_camera_poll_thread_add_poll_fd()
430 uint8_t idx = 0; in mm_camera_poll_thread_del_poll_fd() local
[all …]
Dmm_camera_channel.c692 uint8_t idx = 0; in mm_channel_add_stream() local
698 for (idx = 0; idx < MAX_STREAM_NUM_IN_BUNDLE; idx++) { in mm_channel_add_stream()
699 if (MM_STREAM_STATE_NOTUSED == my_obj->streams[idx].state) { in mm_channel_add_stream()
700 stream_obj = &my_obj->streams[idx]; in mm_channel_add_stream()
711 stream_obj->my_hdl = mm_camera_util_generate_handler(idx); in mm_channel_add_stream()
/hardware/broadcom/libbt/src/
Dbt_vendor_brcm.c167 int fd, idx; in op() local
171 for (idx=0; idx < CH_MAX; idx++) in op()
172 (*fd_array)[idx] = fd; in op()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Dh264_utils.cpp742 int idx; in hrd_parameters() local
755 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++) in hrd_parameters()
757 hrd_param->bit_rate_value[idx] = uev() + 1; in hrd_parameters()
758 hrd_param->cpb_size_value[idx] = uev() + 1; in hrd_parameters()
759 hrd_param->cbr_flag[idx] = extract_bits(1); in hrd_parameters()
760 ALOGV("-->bit_rate_value [%d] : %u", idx, hrd_param->bit_rate_value[idx]); in hrd_parameters()
761 ALOGV("-->cpb_size_value [%d] : %u", idx, hrd_param->cpb_size_value[idx]); in hrd_parameters()
762 ALOGV("-->cbr_flag [%d] : %u", idx, hrd_param->cbr_flag[idx]); in hrd_parameters()
826 int idx; in sei_buffering_period() local
846 for (idx = 0; idx < hrd_param->cpb_cnt ; idx++) in sei_buffering_period()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp691 OMX_U32 idx; in hrd_parameters() local
703 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++) { in hrd_parameters()
704 hrd_param->bit_rate_value[idx] = uev() + 1; in hrd_parameters()
705 hrd_param->cpb_size_value[idx] = uev() + 1; in hrd_parameters()
706 hrd_param->cbr_flag[idx] = extract_bits(1); in hrd_parameters()
707 ALOGV("-->bit_rate_value [%d] : %u", idx, hrd_param->bit_rate_value[idx]); in hrd_parameters()
708 ALOGV("-->cpb_size_value [%d] : %u", idx, hrd_param->cpb_size_value[idx]); in hrd_parameters()
709 ALOGV("-->cbr_flag [%d] : %u", idx, hrd_param->cbr_flag[idx]); in hrd_parameters()
770 OMX_U32 idx; in sei_buffering_period() local
787 for (idx = 0; idx < hrd_param->cpb_cnt ; idx++) { in sei_buffering_period()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Damix.c37 unsigned idx = 0; in get_ctl() local
45 idx = atoi(p); in get_ctl()
48 return mixer_get_control(mixer, name, idx); in get_ctl()
Dalsa_mixer.c346 int idx = 2; in mixer_ctl_read_tlv() local
351 ALOGV("0x%08x,", tlv[idx++]); in mixer_ctl_read_tlv()
369 int idx = 2; in mixer_ctl_read_tlv() local
373 ALOGV("0x%08x,", tlv[idx++]); in mixer_ctl_read_tlv()
/hardware/ti/omap4xxx/camera/
DNV12_resize.c52 mmUint16 idx,idy, idxC; in VT_resizeFrame_Video_opt2_lp() local
92 idx = i_img_ptr->uWidth; in VT_resizeFrame_Video_opt2_lp()
96 if (idx < 1 || idy < 1 || i_img_ptr->uStride < 1) in VT_resizeFrame_Video_opt2_lp()
98 ALOGE("idx or idy less then 1 idx = %d idy = %d stride = %d", idx, idy, i_img_ptr->uStride); in VT_resizeFrame_Video_opt2_lp()
103 resizeFactorX = ((idx-1)<<9) / codx; in VT_resizeFrame_Video_opt2_lp()
191 idxC = (idx>>1); in VT_resizeFrame_Video_opt2_lp()
/hardware/ti/wlan/mac80211/ti-utils/
Dcalibrator.c532 int idx; in main() local
535 idx = if_nametoindex(argv[0]); in main()
536 if (idx != 0) { in main()
539 idx = phy_lookup(argv[0]); in main()
540 if (idx >= 0) { in main()
Dnvs.c412 unsigned short idx; in nvs_fill_old_rx_data() local
422 for (idx = 0; idx < len; idx++) { in nvs_fill_old_rx_data()
423 write(fd, &(buf[idx]), 1); in nvs_fill_old_rx_data()
/hardware/qcom/camera/mm-image-codec/qomx_core/
Dqomx_core.c137 int idx = -1, i = 0; in get_free_inst_idx() local
141 idx = i; in get_free_inst_idx()
145 return idx; in get_free_inst_idx()
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
Duim.c98 __u32 idx; member
105 uint32_t idx; member
912 UIM_DBG("rf_event: %d, %d, %d, %d, %d\n", rf_event.idx, in main()
916 (rf_event.idx == rfkill_idx)) { in main()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp636 int idx; in my_face_callback() local
642 for ( idx = 0 ; idx < metadata->number_of_faces ; idx++ ) { in my_face_callback()
644 idx, in my_face_callback()
645 metadata->faces[idx].rect[0], in my_face_callback()
646 metadata->faces[idx].rect[1], in my_face_callback()
647 metadata->faces[idx].rect[2], in my_face_callback()
648 metadata->faces[idx].rect[3]); in my_face_callback()
1179 params.set(CameraParameters::KEY_ZOOM, zoom[zoomIDX].idx); in initDefaults()
1888 params.set(CameraParameters::KEY_ZOOM, zoom[zoomIDX].idx); in functional_menu()
Dcamera_test.h141 int idx; member
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp283 int idx = frame->buf_idx; in preview_stream_cb_routine() local
288 int dequeuedIdx = memory->displayBuffer(idx); in preview_stream_cb_routine()
322 if(previewBufSize != memory->getSize(idx)) { in preview_stream_cb_routine()
323 previewMem = pme->mGetMemory(memory->getFd(idx), in preview_stream_cb_routine()
331 data = memory->getMemory(idx, false); in preview_stream_cb_routine()
333 data = memory->getMemory(idx, false); in preview_stream_cb_routine()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp1115 int next_arg = 3, idx = 0; in main() local
1116 while (argc > next_arg && idx < 9) in main()
1124 param[idx++] = atoi(argv[next_arg++]); in main()
1126 idx = 0; in main()
1127 file_type_option = (file_type)param[idx++]; in main()
1130 nalSize = param[idx++]; in main()
1137 outputOption = param[idx++]; in main()
1138 test_option = param[idx++]; in main()
1139 displayWindow = param[idx++]; in main()
1142 realtime_display = param[idx++]; in main()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp1252 int next_arg = 3, idx = 0; in main() local
1253 while (argc > next_arg && idx < 10) { in main()
1258 param[idx++] = atoi(argv[next_arg++]); in main()
1260 idx = 0; in main()
1261 file_type_option = (file_type)param[idx++]; in main()
1263 nalSize = param[idx++]; in main()
1269 outputOption = param[idx++]; in main()
1270 test_option = param[idx++]; in main()
1272 displayWindow = param[idx++]; in main()
1275 realtime_display = param[idx++]; in main()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1782 uint8_t idx; in mm_jpeg_new_client() local
1790 for (idx = 0; idx < MAX_JPEG_CLIENT_NUM; idx++) { in mm_jpeg_new_client()
1791 if (0 == my_obj->clnt_mgr[idx].is_used) { in mm_jpeg_new_client()
1796 if (idx < MAX_JPEG_CLIENT_NUM) { in mm_jpeg_new_client()
1799 client_hdl = mm_jpeg_util_generate_handler(idx); in mm_jpeg_new_client()
1802 my_obj->clnt_mgr[idx].is_used = 1; in mm_jpeg_new_client()
1803 my_obj->clnt_mgr[idx].client_handle = client_hdl; in mm_jpeg_new_client()
1805 pthread_mutex_init(&my_obj->clnt_mgr[idx].lock, NULL); in mm_jpeg_new_client()
1807 memset(&my_obj->clnt_mgr[idx].session[i], 0x0, sizeof(mm_jpeg_job_session_t)); in mm_jpeg_new_client()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_mdpcomp.cpp232 for(int idx = 0; idx < layerCount; idx++) { in map() local
233 if(!isFBComposed[idx]) { in map()
234 mdpToLayer[mdpIdx].listIndex = idx; in map()
235 layerToMDP[idx] = mdpIdx++; in map()
/hardware/qcom/display/msm8x26/libhwcomposer/
Dhwc_mdpcomp.cpp227 for(int idx = 0; idx < layerCount; idx++) { in map() local
228 if(!isFBComposed[idx]) { in map()
229 mdpToLayer[mdpIdx].listIndex = idx; in map()
230 layerToMDP[idx] = mdpIdx++; in map()

12