Searched defs:idx (Results 1 - 25 of 35) sorted by relevance

12

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dhndrte_cons.h32 uint idx; member in struct:__anon26
/hardware/qcom/audio/legacy/libalsa-intf/
H A Damix.c37 unsigned idx = 0; local
45 idx = atoi(p);
48 return mixer_get_control(mixer, name, idx);
H A Dalsa_mixer.c235 ALOGV(" id iface dev sub idx num perms type isvolume name\n");
346 int idx = 2; local
351 ALOGV("0x%08x,", tlv[idx++]);
369 int idx = 2; local
373 ALOGV("0x%08x,", tlv[idx++]);
501 fprintf( stderr, "Value: %d idx:%d\n", atoi(argv[n]), n);
/hardware/broadcom/libbt/src/
H A Dbt_vendor_brcm.c167 int fd, idx; local
171 for (idx=0; idx < CH_MAX; idx++)
172 (*fd_array)[idx] = fd;
/hardware/libhardware/tests/camera2/
H A DCameraModuleTests.cpp91 int idx[] = { -1, mNumberOfCameras, mNumberOfCameras + 1 }; local
94 for (unsigned i = 0; i < sizeof(idx)/sizeof(idx[0]); ++i) {
95 String8 deviceName = String8::format("%d", idx[i]);
123 int idx[] = { -1, mNumberOfCameras, mNumberOfCameras + 1 }; local
124 for (unsigned i = 0; i < sizeof(idx)/sizeof(idx[0]); ++i) {
126 EXPECT_NE(OK, mModule->get_camera_info(idx[i], &info));
127 EXPECT_EQ(-ENODEV, mModule->get_camera_info(idx[i], &info))
128 << "Incorrect error code for get_camera_info idx
[all...]
H A DCameraMultiStreamTests.cpp120 Size* min, int32_t* idx) {
133 *idx = minIdx;
138 Size* max, int32_t* idx) {
151 *idx = maxIdx;
528 ALOGV("Found Jpeg size max idx = %d", maxIdx);
119 GetMinSize(const int32_t* data, size_t count, Size* min, int32_t* idx) argument
137 GetMaxSize(const int32_t* data, size_t count, Size* max, int32_t* idx) argument
/hardware/qcom/camera/mm-image-codec/qomx_core/
H A Dqomx_core.c137 int idx = -1, i = 0; local
141 idx = i;
145 return idx;
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_thread.c385 uint8_t idx = 0; local
388 /* get stream idx from handler if CH type */
389 idx = mm_camera_util_get_index_by_handler(handler);
391 /* for EVT type, only idx=0 is valid */
392 idx = 0;
395 if (MAX_STREAM_NUM_IN_BUNDLE > idx) {
396 poll_cb->poll_entries[idx].fd = fd;
397 poll_cb->poll_entries[idx].handler = handler;
398 poll_cb->poll_entries[idx].notify_cb = notify_cb;
399 poll_cb->poll_entries[idx]
430 uint8_t idx = 0; local
[all...]
H A Dmm_camera_channel.c692 uint8_t idx = 0; local
698 for (idx = 0; idx < MAX_STREAM_NUM_IN_BUNDLE; idx++) {
699 if (MM_STREAM_STATE_NOTUSED == my_obj->streams[idx].state) {
700 stream_obj = &my_obj->streams[idx];
711 stream_obj->my_hdl = mm_camera_util_generate_handler(idx);
924 CDBG_ERROR("%s: stream already started idx(%d)", __func__, i);
935 CDBG_ERROR("%s: get buf failed at idx(%d)", __func__, i);
945 CDBG_ERROR("%s: reg buf failed at idx(
[all...]
H A Dmm_camera_stream.c197 int32_t idx = -1, i, rc; local
220 idx = buf_info.buf->buf_idx;
234 my_obj->buf_status[idx].in_kernel = 0;
239 my_obj->buf_status[idx].buf_refcnt++;
241 my_obj->buf_status[idx].buf_refcnt += has_cb;
818 /* cd through intf always palced at idx 0 of buf_cb */
969 int8_t idx = vb.index; local
970 buf_info->buf = &my_obj->buf[idx];
975 buf_info->buf->buf_idx = idx;
982 rc = my_obj->mem_vtbl.clean_invalidate_buf(idx,
[all...]
/hardware/ti/omap4xxx/camera/
H A DNV12_resize.c52 mmUint16 idx,idy, idxC; local
92 idx = i_img_ptr->uWidth;
96 if (idx < 1 || idy < 1 || i_img_ptr->uStride < 1)
98 ALOGE("idx or idy less then 1 idx = %d idy = %d stride = %d", idx, idy, i_img_ptr->uStride);
103 resizeFactorX = ((idx-1)<<9) / codx;
144 //in = *(inImgPtrY + (y)*idx + (x));
152 //in = *(inImgPtrY + (y)*idx + (x+1));
159 //in = *(inImgPtrY + (y+1)*idx
[all...]
/hardware/ti/wlan/mac80211/ti-utils/
H A Dcalibrator.c532 int idx; local
535 idx = if_nametoindex(argv[0]);
536 if (idx != 0) {
539 idx = phy_lookup(argv[0]);
540 if (idx >= 0) {
H A Dnvs.c412 unsigned short idx; local
422 for (idx = 0; idx < len; idx++) {
423 write(fd, &(buf[idx]), 1);
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
H A Duim.c87 * @idx: index of dev rfkill
98 __u32 idx; member in struct:rfkill_event
105 uint32_t idx; member in struct:rfkill_event
912 UIM_DBG("rf_event: %d, %d, %d, %d, %d\n", rf_event.idx,
916 (rf_event.idx == rfkill_idx)) {
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp283 int idx = frame->buf_idx; local
288 int dequeuedIdx = memory->displayBuffer(idx);
322 if(previewBufSize != memory->getSize(idx)) {
323 previewMem = pme->mGetMemory(memory->getFd(idx),
331 data = memory->getMemory(idx, false);
333 data = memory->getMemory(idx, false);
H A DQCamera2HWI.cpp3704 int idx = ( int ) data; local
3706 stream->bufDone(idx);
/hardware/samsung_slsi/exynos5/libhwjpeg/
H A DExynosJpegDecoder.cpp956 inline void pixOperation(unsigned char *img_0, unsigned char *img_1, unsigned char *img_2, unsigned char *img_3, int idx[4][5], int img_offset_0, int img_offset_1) argument
960 ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[0][3]][idx[0][4]][0]); *img_0 = ivalue[0]; img_0 += 2;
961 ivalue[0] = CLIP255(*img_0+Ytable[idx[0][0]][idx[0][1]][idx[0][2]][idx[
1349 int idx[4][5]; local
[all...]
/hardware/ti/omap4xxx/test/CameraHal/
H A Dcamera_test.h141 int idx; member in struct:zoom_t
H A Dcamera_test_menu.cpp636 int idx; local
642 for ( idx = 0 ; idx < metadata->number_of_faces ; idx++ ) {
644 idx,
645 metadata->faces[idx].rect[0],
646 metadata->faces[idx].rect[1],
647 metadata->faces[idx].rect[2],
648 metadata->faces[idx].rect[3]);
1179 params.set(CameraParameters::KEY_ZOOM, zoom[zoomIDX].idx);
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg.c1782 uint8_t idx; local
1790 for (idx = 0; idx < MAX_JPEG_CLIENT_NUM; idx++) {
1791 if (0 == my_obj->clnt_mgr[idx].is_used) {
1796 if (idx < MAX_JPEG_CLIENT_NUM) {
1799 client_hdl = mm_jpeg_util_generate_handler(idx);
1802 my_obj->clnt_mgr[idx].is_used = 1;
1803 my_obj->clnt_mgr[idx].client_handle = client_hdl;
1805 pthread_mutex_init(&my_obj->clnt_mgr[idx]
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Dh264_utils.cpp742 int idx; local
755 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++)
757 hrd_param->bit_rate_value[idx] = uev() + 1;
758 hrd_param->cpb_size_value[idx] = uev() + 1;
759 hrd_param->cbr_flag[idx] = extract_bits(1);
760 ALOGV("-->bit_rate_value [%d] : %u", idx, hrd_param->bit_rate_value[idx]);
761 ALOGV("-->cpb_size_value [%d] : %u", idx, hrd_para
826 int idx; local
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Dh264_utils.cpp691 OMX_U32 idx; local
703 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++) {
704 hrd_param->bit_rate_value[idx] = uev() + 1;
705 hrd_param->cpb_size_value[idx] = uev() + 1;
706 hrd_param->cbr_flag[idx] = extract_bits(1);
707 ALOGV("-->bit_rate_value [%d] : %u", idx, hrd_param->bit_rate_value[idx]);
708 ALOGV("-->cpb_size_value [%d] : %u", idx, hrd_para
770 OMX_U32 idx; local
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
H A Dvenc_test.cpp1082 D("Marked input buffer idx %d as free, buf %p", i, pBuffer->pBuffer);
2147 int idx = i % num_in_buffers; local
2148 if (m_bInFrameFree[idx] == OMX_FALSE)
2153 idx = -1;
2160 idx = j;
2167 if (idx >= 0)
2169 D("encode frame %d...m_pInBuffers[idx]->pBuffer=0x%x", i,m_pInBuffers[idx]->pBuffer);
2170 m_bInFrameFree[idx] = OMX_FALSE;
2171 VencTest_EncodeFrame(m_pInBuffers[idx]
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
H A Dvenc_test.cpp1097 D("Marked input buffer idx %d as free, buf %p", i, pBuffer->pBuffer);
2156 int idx = i % num_in_buffers; local
2158 if (m_bInFrameFree[idx] == OMX_FALSE) {
2162 idx = -1;
2167 idx = j;
2174 if (idx >= 0) {
2175 D("encode frame %d...m_pInBuffers[idx]->pBuffer=0x%x", i,m_pInBuffers[idx]->pBuffer);
2176 m_bInFrameFree[idx] = OMX_FALSE;
2177 VencTest_EncodeFrame(m_pInBuffers[idx]
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c1922 int idx = qdbm - QDBM_OFFSET; local
1924 if (idx >= QDBM_TABLE_LEN) {
1932 while (idx < 0) {
1933 idx += 40;
1940 return ((nqdBm_to_mW_map[idx] + factor/2) / factor);

Completed in 1126 milliseconds

12