/hardware/samsung_slsi/exynos5/libhwjpeg/ |
D | ExynosJpegDecoder.cpp | 956 …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/ |
D | CameraModuleTests.cpp | 91 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()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | external_frame_buffer_test.cc | 64 const int idx = FindFreeBufferIndex(); in GetFreeFrameBuffer() local 65 if (idx == num_buffers_) in GetFreeFrameBuffer() 68 if (ext_fb_list_[idx].size < min_size) { in GetFreeFrameBuffer() 69 delete [] ext_fb_list_[idx].data; in GetFreeFrameBuffer() 70 ext_fb_list_[idx].data = new uint8_t[min_size]; in GetFreeFrameBuffer() 71 ext_fb_list_[idx].size = min_size; in GetFreeFrameBuffer() 74 SetFrameBuffer(idx, fb); in GetFreeFrameBuffer() 82 const int idx = FindFreeBufferIndex(); in GetZeroFrameBuffer() local 83 if (idx == num_buffers_) in GetZeroFrameBuffer() 86 if (ext_fb_list_[idx].size < min_size) { in GetZeroFrameBuffer() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmcdc.h | 62 #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)))
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | rate_hist.c | 84 int idx = hist->frames++ % hist->samples; in update_rate_histogram() local 85 hist->pts[idx] = now; in update_rate_histogram() 86 hist->sz[idx] = (int)pkt->data.frame.sz; in update_rate_histogram() 107 idx = (int)(avg_bitrate * (RATE_BINS / 2) / (cfg->rc_target_bitrate * 1000)); in update_rate_histogram() 108 if (idx < 0) in update_rate_histogram() 109 idx = 0; in update_rate_histogram() 110 if (idx > RATE_BINS - 1) in update_rate_histogram() 111 idx = RATE_BINS - 1; in update_rate_histogram() 112 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram() 113 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram() [all …]
|
/hardware/broadcom/libbt/src/ |
D | bt_vendor_brcm.c | 167 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-v4l2/vidc/vdec/src/ |
D | h264_utils.cpp | 691 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/media/mm-video-legacy/vidc/vdec/src/ |
D | h264_utils.cpp | 742 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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | rdopt.h | 44 static void insertsortsad(int arr[],int idx[], int len) in insertsortsad() argument 57 tempi = idx[i]; in insertsortsad() 62 idx[k] = idx[k - 1]; in insertsortsad() 66 idx[j] = tempi; in insertsortsad()
|
D | lookahead.c | 31 unsigned int *idx) in pop() argument 33 unsigned int index = *idx; in pop() 39 *idx = index; in pop()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | amix.c | 37 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()
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXMetadata.cpp | 82 int idx = 0; in getMetaData() local 89 idx = metaData->number_of_faces; in getMetaData() 92 faces[idx].left = faceData->tFacePosition[j].nLeft; in getMetaData() 93 faces[idx].top = faceData->tFacePosition[j].nTop; in getMetaData() 94 faces[idx].bottom = faceData->tFacePosition[j].nWidth; in getMetaData() 95 faces[idx].right = faceData->tFacePosition[j].nHeight; in getMetaData()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 377 int idx,idx2; in inv_get_9_axis_timestamp() local 397 idx = inv_pick_best_time_difference(td[0], td[1]); in inv_get_9_axis_timestamp() 398 idx *= 3; // Sensor number is 0 (Quat) or 3 (Compass) in inv_get_9_axis_timestamp() 399 return inv_raw_sensor_timestamp(idx, ts); in inv_get_9_axis_timestamp() 407 idx = inv_pick_best_time_difference(td[0], td[1]); in inv_get_9_axis_timestamp() 408 idx2 = inv_pick_best_time_difference(td[idx], td[2]); in inv_get_9_axis_timestamp() 410 idx = 2; in inv_get_9_axis_timestamp() 411 if (idx > 0) in inv_get_9_axis_timestamp() 412 idx++; // Skip gyro sensor in next function call in inv_get_9_axis_timestamp() 414 return inv_raw_sensor_timestamp(idx, ts); in inv_get_9_axis_timestamp() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
D | mkvparser.cpp | 1289 const long idx = m_clusterCount; in DoLoadCluster() local 1293 assert(idx < m_clusterSize); in DoLoadCluster() 1295 Cluster* const pCluster = m_clusters[idx]; in DoLoadCluster() 1319 pCluster->m_index = idx; //move from preloaded to loaded in DoLoadCluster() 1356 idx, in DoLoadCluster() 1363 assert(idx < m_clusterSize); in DoLoadCluster() 1364 assert(m_clusters[idx] == pCluster); in DoLoadCluster() 1507 assert(idx < m_clusterSize); in DoLoadCluster() 1509 Cluster* const pCluster = m_clusters[idx]; in DoLoadCluster() 1725 const long idx = pCluster->m_index; in AppendCluster() local [all …]
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_debug.c | 438 int idx=0; in psb_cmdbuf_dump() local 440 while( idx < byte_size / 4 ) in psb_cmdbuf_dump() 442 unsigned int cmd = buffer[idx++]; in psb_cmdbuf_dump() 448 fprintf( pF , "%04X 2NDPASSDEBLOCK\n" , (idx-1)*4 ); in psb_cmdbuf_dump() 452 buffer[idx] ); in psb_cmdbuf_dump() 453 idx++; in psb_cmdbuf_dump() 461 fprintf( pF , "%04X HEADER\n" , (idx-1)*4 ); in psb_cmdbuf_dump() 465 buffer[idx] ); in psb_cmdbuf_dump() 466 idx++; in psb_cmdbuf_dump() 475 fprintf( pF , "%04X CMD_REGVALPAIR_WRITE ( %08X )\n", (idx-1)*4 , cmd); in psb_cmdbuf_dump() [all …]
|
/hardware/ti/omap4xxx/camera/ |
D | NV12_resize.c | 52 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/omap4-aah/camera/ |
D | NV12_resize.cpp | 63 mmUint16 idx,idy, idxC; in VT_resizeFrame_Video_opt2_lp() local 95 idx = i_img_ptr->uWidth; in VT_resizeFrame_Video_opt2_lp() 99 if ( idx < 1 || idy < 1 || i_img_ptr->uStride < 1 ) { in VT_resizeFrame_Video_opt2_lp() 100 … CAMHAL_LOGE("idx or idy less then 1 idx = %d idy = %d stride = %d", idx, idy, i_img_ptr->uStride); in VT_resizeFrame_Video_opt2_lp() 104 resizeFactorX = ((idx-1)<<9) / codx; in VT_resizeFrame_Video_opt2_lp() 188 idxC = (idx>>1); in VT_resizeFrame_Video_opt2_lp()
|
/hardware/intel/img/libdrm/tests/ |
D | getclient.c | 45 client.idx = 0; in main() 54 client.idx = 0x7fffffff; in main()
|
D | drmtest.c | 42 client.idx = 0; in is_master() 47 client.idx = 1; in is_master()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
D | mkvparser.cpp | 1259 const long idx = m_clusterCount; in DoLoadCluster() local 1263 assert(idx < m_clusterSize); in DoLoadCluster() 1265 Cluster* const pCluster = m_clusters[idx]; in DoLoadCluster() 1289 pCluster->m_index = idx; //move from preloaded to loaded in DoLoadCluster() 1326 idx, in DoLoadCluster() 1333 assert(idx < m_clusterSize); in DoLoadCluster() 1334 assert(m_clusters[idx] == pCluster); in DoLoadCluster() 1477 assert(idx < m_clusterSize); in DoLoadCluster() 1479 Cluster* const pCluster = m_clusters[idx]; in DoLoadCluster() 1695 const long idx = pCluster->m_index; in AppendCluster() local [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_reconinter.c | 104 static MV mi_mv_pred_q4(const MODE_INFO *mi, int idx) { in mi_mv_pred_q4() argument 105 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row + in mi_mv_pred_q4() 106 mi->bmi[1].as_mv[idx].as_mv.row + in mi_mv_pred_q4() 107 mi->bmi[2].as_mv[idx].as_mv.row + in mi_mv_pred_q4() 108 mi->bmi[3].as_mv[idx].as_mv.row), in mi_mv_pred_q4() 109 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.col + in mi_mv_pred_q4() 110 mi->bmi[1].as_mv[idx].as_mv.col + in mi_mv_pred_q4() 111 mi->bmi[2].as_mv[idx].as_mv.col + in mi_mv_pred_q4() 112 mi->bmi[3].as_mv[idx].as_mv.col) }; in mi_mv_pred_q4() 428 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, in vp9_setup_pre_planes() argument [all …]
|
D | vp9_tile_common.c | 18 static int get_tile_offset(int idx, int mis, int log2) { in get_tile_offset() argument 20 const int offset = ((idx * sb_cols) >> log2) << MI_BLOCK_SIZE_LOG2; in get_tile_offset()
|
/hardware/intel/img/libdrm/shared-core/ |
D | r128_drm.h | 262 int idx; /* Index of vertex buffer */ member 269 int idx; member 276 int idx; member 303 int idx; member
|
/hardware/intel/img/libdrm/libdrm/radeon/ |
D | radeon_cs_gem.c | 118 uint32_t idx; in cs_gem_write_reloc() local 138 idx = i * RELOC_SIZE; in cs_gem_write_reloc() 139 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc() 166 radeon_cs_write_dword(cs, idx); in cs_gem_write_reloc() 190 idx = (csg->base.crelocs++) * RELOC_SIZE; in cs_gem_write_reloc() 191 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc() 200 radeon_cs_write_dword(cs, idx); in cs_gem_write_reloc()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
D | obj_int_extract.c | 300 int parse_elf_section(elf_obj_t *elf, int idx, Elf32_Shdr *hdr32, Elf64_Shdr *hdr64) { in parse_elf_section() argument 302 if (idx >= elf->hdr32.e_shnum) in parse_elf_section() 305 COPY_STRUCT(hdr32, elf->buf, elf->hdr32.e_shoff + idx * elf->hdr32.e_shentsize, in parse_elf_section() 318 if (idx >= elf->hdr64.e_shnum) in parse_elf_section() 321 COPY_STRUCT(hdr64, elf->buf, elf->hdr64.e_shoff + idx * elf->hdr64.e_shentsize, in parse_elf_section() 340 const char *parse_elf_string_table(elf_obj_t *elf, int s_idx, int idx) { in parse_elf_string_table() argument 346 s_idx, idx); in parse_elf_string_table() 350 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table() 356 s_idx, idx); in parse_elf_string_table() 360 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table()
|