Searched refs:idx (Results 1 - 25 of 101) sorted by relevance

12345

/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/intel/img/libdrm/tests/
H A Dgetclient.c45 client.idx = 0;
54 client.idx = 0x7fffffff;
H A Ddrmtest.c42 client.idx = 0;
47 client.idx = 1;
/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...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmcdc.h62 #define CDC_SET_IF_IDX(hdr, idx) \
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
108 #define BDC_SET_IF_IDX(hdr, idx) \
109 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_IF_MASK) | ((idx) << BDC_FLAG2_IF_SHIFT)))
120 #define BDC_SET_PAD_LEN(hdr, idx) \
122 (((idx) & BDC_FLAG2_PAD_IDX) << BDC_FLAG2_PAD_SHIFT))); \
124 (((idx) & BDC_FLAG_PAD_IDX) << BDC_FLAG_PAD_SHIFT)))
H A Dhndrte_cons.h32 uint idx; member in struct:__anon26
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dexternal_frame_buffer_test.cc64 const int idx = FindFreeBufferIndex(); local
65 if (idx == num_buffers_)
68 if (ext_fb_list_[idx].size < min_size) {
69 delete [] ext_fb_list_[idx].data;
70 ext_fb_list_[idx].data = new uint8_t[min_size];
71 ext_fb_list_[idx].size = min_size;
74 SetFrameBuffer(idx, fb);
82 const int idx = FindFreeBufferIndex(); local
83 if (idx == num_buffers_)
86 if (ext_fb_list_[idx]
135 SetFrameBuffer(int idx, vpx_codec_frame_buffer_t *fb) argument
[all...]
/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);
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Drate_hist.c84 int idx = hist->frames++ % hist->samples; local
85 hist->pts[idx] = now;
86 hist->sz[idx] = (int)pkt->data.frame.sz;
107 idx = (int)(avg_bitrate * (RATE_BINS / 2) / (cfg->rc_target_bitrate * 1000));
108 if (idx < 0)
109 idx = 0;
110 if (idx > RATE_BINS - 1)
111 idx = RATE_BINS - 1;
112 if (hist->bucket[idx].low > avg_bitrate)
113 hist->bucket[idx]
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_tile_common.c18 static int get_tile_offset(int idx, int mis, int log2) { argument
20 const int offset = ((idx * sb_cols) >> log2) << MI_BLOCK_SIZE_LOG2;
H A Dvp9_reconinter.c104 static MV mi_mv_pred_q4(const MODE_INFO *mi, int idx) { argument
105 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row +
106 mi->bmi[1].as_mv[idx].as_mv.row +
107 mi->bmi[2].as_mv[idx].as_mv.row +
108 mi->bmi[3].as_mv[idx].as_mv.row),
109 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.col +
110 mi->bmi[1].as_mv[idx].as_mv.col +
111 mi->bmi[2].as_mv[idx].as_mv.col +
112 mi->bmi[3].as_mv[idx].as_mv.col) };
428 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, argument
[all...]
H A Dvp9_reconinter.h63 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Drdopt.h44 static void insertsortsad(int arr[],int idx[], int len) argument
57 tempi = idx[i];
62 idx[k] = idx[k - 1];
66 idx[j] = tempi;
H A Dlookahead.c31 unsigned int *idx)
33 unsigned int index = *idx;
39 *idx = index;
30 pop(struct lookahead_ctx *ctx, unsigned int *idx) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
H A Dvp8.h115 int idx; /**< frame index to get (input) */ member in struct:vp9_ref_frame
/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/ti/omap4-aah/camera/
H A DNV12_resize.cpp63 mmUint16 idx,idy, idxC; local
95 idx = i_img_ptr->uWidth;
99 if ( idx < 1 || idy < 1 || i_img_ptr->uStride < 1 ) {
100 CAMHAL_LOGE("idx or idy less then 1 idx = %d idy = %d stride = %d", idx, idy, i_img_ptr->uStride);
104 resizeFactorX = ((idx-1)<<9) / codx;
142 //in = *(inImgPtrY + (y)*idx + (x));
150 //in = *(inImgPtrY + (y)*idx + (x+1));
157 //in = *(inImgPtrY + (y+1)*idx
[all...]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
H A DOMXMetadata.cpp82 int idx = 0; local
89 idx = metaData->number_of_faces;
92 faces[idx].left = faceData->tFacePosition[j].nLeft;
93 faces[idx].top = faceData->tFacePosition[j].nTop;
94 faces[idx].bottom = faceData->tFacePosition[j].nWidth;
95 faces[idx].right = faceData->tFacePosition[j].nHeight;
/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/invensense/6515/libsensors_iio/software/core/mllite/
H A Ddata_builder.c377 int idx,idx2; local
397 idx = inv_pick_best_time_difference(td[0], td[1]);
398 idx *= 3; // Sensor number is 0 (Quat) or 3 (Compass)
399 return inv_raw_sensor_timestamp(idx, ts);
407 idx = inv_pick_best_time_difference(td[0], td[1]);
408 idx2 = inv_pick_best_time_difference(td[idx], td[2]);
410 idx = 2;
411 if (idx > 0)
412 idx++; // Skip gyro sensor in next function call
414 return inv_raw_sensor_timestamp(idx, t
441 int idx; local
467 int idx; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_lookahead.c32 unsigned int *idx) {
33 unsigned int index = *idx;
39 *idx = index;
31 pop(struct lookahead_ctx *ctx, unsigned int *idx) argument
/hardware/intel/img/psb_video/src/
H A Dpsb_drv_debug.c438 int idx=0; local
440 while( idx < byte_size / 4 )
442 unsigned int cmd = buffer[idx++];
448 fprintf( pF , "%04X 2NDPASSDEBLOCK\n" , (idx-1)*4 );
452 buffer[idx] );
453 idx++;
461 fprintf( pF , "%04X HEADER\n" , (idx-1)*4 );
465 buffer[idx] );
466 idx++;
475 fprintf( pF , "%04X CMD_REGVALPAIR_WRITE ( %08X )\n", (idx
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/
H A Dmkvparser.cpp1259 const long idx = m_clusterCount; local
1263 assert(idx < m_clusterSize);
1265 Cluster* const pCluster = m_clusters[idx];
1289 pCluster->m_index = idx; //move from preloaded to loaded
1326 idx,
1333 assert(idx < m_clusterSize);
1334 assert(m_clusters[idx] == pCluster);
1477 assert(idx < m_clusterSize);
1479 Cluster* const pCluster = m_clusters[idx];
1695 const long idx local
2898 const ptrdiff_t idx = i - m_clusters; local
2960 const ptrdiff_t idx = i - m_clusters; local
2971 CuePoint(long idx, long long pos) argument
3258 const long idx = m_clusterCount - 1; local
3279 long idx = pCurr->m_index; local
[all...]

Completed in 1609 milliseconds

12345