Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 65) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dfindnearmv.c31 int cnt[4], in vp8_find_near_mvs()
41 int *cntx = cnt; in vp8_find_near_mvs()
46 cnt[0] = cnt[1] = cnt[2] = cnt[3] = 0; in vp8_find_near_mvs()
80 cnt[CNT_INTRA] += 2; in vp8_find_near_mvs()
102 cnt[CNT_INTRA] += 1; in vp8_find_near_mvs()
106 if (cnt[CNT_SPLITMV]) in vp8_find_near_mvs()
110 cnt[CNT_NEAREST] += 1; in vp8_find_near_mvs()
113 cnt[CNT_SPLITMV] = ((above->mbmi.mode == SPLITMV) in vp8_find_near_mvs()
118 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) in vp8_find_near_mvs()
121 tmp = cnt[CNT_NEAREST]; in vp8_find_near_mvs()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dmr_dissim.c34 mvx[cnt] = x->mbmi.mv.as_mv.row; \
35 mvy[cnt] = x->mbmi.mv.as_mv.col; \
36 cnt++; \
42 mvx[cnt] = x->mbmi.mv.as_mv.row; \
43 mvy[cnt] = x->mbmi.mv.as_mv.col; \
47 mvx[cnt] *= -1; \
48 mvy[cnt] *= -1; \
50 cnt++; \
102 int cnt=0; in vp8_cal_dissimilarity() local
175 if (cnt > 0) in vp8_cal_dissimilarity()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddecodemv.c346 int cnt[4]; in read_mb_modes_mv() local
347 int *cntx = cnt; in read_mb_modes_mv()
366 cnt[0] = cnt[1] = cnt[2] = cnt[3] = 0; in read_mb_modes_mv()
402 cnt[CNT_INTRA] += 2; in read_mb_modes_mv()
425 cnt[CNT_INTRA] += 1; in read_mb_modes_mv()
428 if( vp8_read(bc, vp8_mode_contexts [cnt[CNT_INTRA]] [0]) ) in read_mb_modes_mv()
433 cnt[CNT_NEAREST] += ( (cnt[CNT_SPLITMV] > 0) & in read_mb_modes_mv()
437 if (cnt[CNT_NEAR] > cnt[CNT_NEAREST]) in read_mb_modes_mv()
440 tmp = cnt[CNT_NEAREST]; in read_mb_modes_mv()
441 cnt[CNT_NEAREST] = cnt[CNT_NEAR]; in read_mb_modes_mv()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/test/
Dtest.c88 unsigned int cnt, i, j, track, tracks, pkt_cnt, pkt_track; in main() local
162 nestegg_packet_count(pkt, &cnt); in main()
165 fprintf(stderr, "* t %u pts %f frames %u\n", track, tstamp / 1e9, cnt); in main()
186 nestegg_packet_count(pkt, &cnt); in main()
189 fprintf(stderr, "* t %u pts %f frames %u\n", track, tstamp / 1e9, cnt); in main()
210 nestegg_packet_count(pkt, &cnt); in main()
213 fprintf(stderr, "* t %u pts %f frames %u\n", track, tstamp / 1e9, cnt); in main()
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp1711 int cnt = 0; in getDefaultParameter() local
1718 for(cnt=0;cnt<numOptions;cnt++) { in getDefaultParameter()
1719 if (NULL == array[cnt]) { in getDefaultParameter()
1723 if (strcmp(val, array[cnt]) ==0 ) { in getDefaultParameter()
1724 return cnt; in getDefaultParameter()
1731 int cnt = 0; in getDefaultParameterResol() local
1733 for(cnt=0;cnt<numOptions;cnt++) { in getDefaultParameterResol()
1734 if (strcmp(val, array[cnt]->name) ==0 ) { in getDefaultParameterResol()
1735 return cnt; in getDefaultParameterResol()
1744 int cnt = 0; in getSupportedParameters() local
[all …]
/hardware/ti/omap4-aah/
Dheaptracker.c102 int cnt, rel_pc; in print_backtrace() local
111 for (cnt = 0; cnt < depth && cnt < MAX_BACKTRACE_DEPTH; cnt++) { in print_backtrace()
112 mi = pc_to_mapinfo(milist, bt[cnt], &rel_pc); in print_backtrace()
113 malloc_log("\t#%02d pc %08x %s\n", cnt, in print_backtrace()
114 mi ? rel_pc : bt[cnt], in print_backtrace()
292 struct hdr **first, struct hdr **last, unsigned *cnt, in __del_and_check() argument
298 (*cnt)--; in __del_and_check()
478 struct hdr *del; int cnt; in heaptracker_free_leaked_memory() local
/hardware/ti/omap4xxx/
Dheaptracker.c102 int cnt, rel_pc; in print_backtrace() local
111 for (cnt = 0; cnt < depth && cnt < MAX_BACKTRACE_DEPTH; cnt++) { in print_backtrace()
112 mi = pc_to_mapinfo(milist, bt[cnt], &rel_pc); in print_backtrace()
113 malloc_log("\t#%02d pc %08x %s\n", cnt, in print_backtrace()
114 mi ? rel_pc : bt[cnt], in print_backtrace()
292 struct hdr **first, struct hdr **last, unsigned *cnt, in __del_and_check() argument
298 (*cnt)--; in __del_and_check()
478 struct hdr *del; int cnt; in heaptracker_free_leaked_memory() local
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/
Dfilter_arm.c55 unsigned int cnt,
64 unsigned int cnt,
73 unsigned int cnt,
84 unsigned int cnt,
/hardware/qcom/display/msm8960/liboverlay/
DmdpWrapper.h87 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
239 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() argument
240 ALOGE("%s user_data cnt=%d", s, cnt); in dump()
241 for(uint32_t i=0; i < cnt; ++i) { in dump()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
DCMcKMod.cpp194 uint32_t cnt; in waitSSIQ() local
195 if (read(&cnt, sizeof(cnt)) != sizeof(cnt)) { in waitSSIQ()
200 *pCnt = cnt; in waitSSIQ()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp2837 int cnt = 0; in Read_Buffer_From_DAT_File() local
2842 while (cnt < 10) in Read_Buffer_From_DAT_File()
2845 DEBUG_PRINT("loop[%d] count[%d]\n",cnt,count); in Read_Buffer_From_DAT_File()
2846 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1); in Read_Buffer_From_DAT_File()
2847 if (inputFrameSize[cnt] == '\0' ) in Read_Buffer_From_DAT_File()
2849 cnt++; in Read_Buffer_From_DAT_File()
2851 inputFrameSize[cnt]='\0'; in Read_Buffer_From_DAT_File()
2876 int cnt = 0; in Read_Buffer_From_H264_Start_Code_File() local
2884 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2890 code |= (0x000000FF & dataptr[cnt]); in Read_Buffer_From_H264_Start_Code_File()
[all …]
/hardware/intel/img/libdrm/libdrm/radeon/
Dradeon_cs_gem.c356 unsigned cnt; in cs_gem_print() local
360 cnt = CP_PACKET_GET_COUNT(cs->packets[i]) + 1; in cs_gem_print()
363 fprintf(file, "Pkt0 at %d (%d dwords):\n", i, cnt); in cs_gem_print()
366 for (j = 0; j < cnt; j++) { in cs_gem_print()
371 for (j = 0; j < cnt; j++) { in cs_gem_print()
413 for (j = 0; j < cnt; j++) { in cs_gem_print()
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp1367 int cnt = 0; in pmem_free() local
1370 for (cnt = 0; cnt < recon_buffers_count; cnt++) in pmem_free()
1372 if(recon_buff[cnt].pmem_fd) in pmem_free()
1374 recon_addr.pbuffer = recon_buff[cnt].virtual_address; in pmem_free()
1375 recon_addr.offset = recon_buff[cnt].offset; in pmem_free()
1376 recon_addr.pmem_fd = recon_buff[cnt].pmem_fd; in pmem_free()
1377 recon_addr.buffer_size = recon_buff[cnt].size; in pmem_free()
1383 munmap(recon_buff[cnt].virtual_address, recon_buff[cnt].size); in pmem_free()
1384 close(recon_buff[cnt].pmem_fd); in pmem_free()
1386 if(ioctl(recon_buff[cnt].ion_device_fd,ION_IOC_FREE, in pmem_free()
[all …]
Dvideo_encoder_device_copper.cpp1326 int cnt = 0; in pmem_free() local
1328 for (cnt = 0; cnt < recon_buffers_count; cnt++) in pmem_free()
1330 if(recon_buff[cnt].pmem_fd) in pmem_free()
1332 recon_addr.pbuffer = recon_buff[cnt].virtual_address; in pmem_free()
1333 recon_addr.offset = recon_buff[cnt].offset; in pmem_free()
1334 recon_addr.pmem_fd = recon_buff[cnt].pmem_fd; in pmem_free()
1335 recon_addr.buffer_size = recon_buff[cnt].size; in pmem_free()
1338 munmap(recon_buff[cnt].virtual_address, recon_buff[cnt].size); in pmem_free()
1339 close(recon_buff[cnt].pmem_fd); in pmem_free()
1341 if(ioctl(recon_buff[cnt].ion_device_fd,ION_IOC_FREE, in pmem_free()
[all …]
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn.cpp121 static int cnt = 0; in loc_api_server_proc() local
133 cnt ++; in loc_api_server_proc()
134 LOC_LOGD("%s:%d] %d listening on %s...\n", __func__, __LINE__, cnt, (char *) context); in loc_api_server_proc()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn.cpp121 static int cnt = 0; in loc_api_server_proc() local
133 cnt ++; in loc_api_server_proc()
134 LOC_LOGD("%s:%d] %d listening on %s...\n", __func__, __LINE__, cnt, (char *) context); in loc_api_server_proc()
/hardware/qcom/gps/msm8960/core/
DMsgTask.cpp104 int cnt = 0; in loopMain() local
107 LOC_LOGD("MsgTask::loop() %d listening ...\n", cnt++); in loopMain()
/hardware/qcom/display/msm8226/liboverlay/
DmdpWrapper.h107 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
330 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() argument
331 ALOGE("%s user_data cnt=%d", s, cnt); in dump()
332 for(uint32_t i=0; i < cnt; ++i) { in dump()
/hardware/qcom/display/msm8974/liboverlay/
DmdpWrapper.h104 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
327 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() argument
328 ALOGE("%s user_data cnt=%d", s, cnt); in dump()
329 for(uint32_t i=0; i < cnt; ++i) { in dump()
/hardware/qcom/gps/core/
DMsgTask.cpp119 int cnt = 0; in loopMain() local
122 LOC_LOGD("MsgTask::loop() %d listening ...\n", cnt++); in loopMain()
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/
DExynos_OMX_Baseport.c98 OMX_U32 i = 0, cnt = 0; in Exynos_OMX_BufferFlushProcess() local
117 cnt = (nPortIndex == ALL_PORT_INDEX ) ? ALL_PORT_NUM : 1; in Exynos_OMX_BufferFlushProcess()
119 for (i = 0; i < cnt; i++) { in Exynos_OMX_BufferFlushProcess()
147 OMX_U32 i = 0, cnt = 0; in Exynos_OMX_EnablePort() local
178 OMX_U32 i = 0, cnt = 0; in Exynos_OMX_PortEnableProcess() local
197 cnt = (nPortIndex == ALL_PORT_INDEX) ? ALL_PORT_NUM : 1; in Exynos_OMX_PortEnableProcess()
199 for (i = 0; i < cnt; i++) { in Exynos_OMX_PortEnableProcess()
269 OMX_U32 i = 0, cnt = 0; in Exynos_OMX_PortDisableProcess() local
289 cnt = (nPortIndex == ALL_PORT_INDEX ) ? ALL_PORT_NUM : 1; in Exynos_OMX_PortDisableProcess()
292 for(i = 0; i < cnt; i++) { in Exynos_OMX_PortDisableProcess()
[all …]
/hardware/qcom/display/msm8084/liboverlay/
DmdpWrapper.h110 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
335 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() argument
336 ALOGE("%s user_data cnt=%d", s, cnt); in dump()
337 for(uint32_t i=0; i < cnt; ++i) { in dump()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1572 int cnt = 0; in pmem_free() local
1576 for (cnt = 0; cnt < recon_buffers_count; cnt++) { in pmem_free()
1577 if (recon_buff[cnt].pmem_fd) { in pmem_free()
1578 recon_addr.pbuffer = recon_buff[cnt].virtual_address; in pmem_free()
1579 recon_addr.offset = recon_buff[cnt].offset; in pmem_free()
1580 recon_addr.pmem_fd = recon_buff[cnt].pmem_fd; in pmem_free()
1581 recon_addr.buffer_size = recon_buff[cnt].size; in pmem_free()
1588 munmap(recon_buff[cnt].virtual_address, recon_buff[cnt].size); in pmem_free()
1589 close(recon_buff[cnt].pmem_fd); in pmem_free()
1592 if (ioctl(recon_buff[cnt].ion_device_fd,ION_IOC_FREE, in pmem_free()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c150 uint cnt; in pktsegcnt() local
152 for (cnt = 0; p; p = PKTNEXT(osh, p)) in pktsegcnt()
153 cnt++; in pktsegcnt()
155 return cnt; in pktsegcnt()
163 uint cnt; in pktsegcnt_war() local
167 for (cnt = 0; p; p = PKTNEXT(osh, p)) { in pktsegcnt_war()
168 cnt++; in pktsegcnt_war()
174 cnt++; in pktsegcnt_war()
182 cnt++; /* add extra seg */ in pktsegcnt_war()
186 return cnt; in pktsegcnt_war()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Android.cpp280 while(phREF->SharedBuffer[i].cnt > 0) { in Exynos_OSAL_RefANB_Reset()
287 phREF->SharedBuffer[i].cnt--; in Exynos_OSAL_RefANB_Reset()
369 phREF->SharedBuffer[i].cnt++; in Exynos_OSAL_RefANB_Increase()
383 phREF->SharedBuffer[i].cnt++; in Exynos_OSAL_RefANB_Increase()
389 …EXYNOS_LOG_TRACE, "inc fd:%d cnt:%d", phREF->SharedBuffer[i].BufferFd, phREF->SharedBuffer[i].cnt); in Exynos_OSAL_RefANB_Increase()
429 phREF->SharedBuffer[i].cnt--; in Exynos_OSAL_RefANB_Decrease()
430 if (phREF->SharedBuffer[i].cnt == 0) { in Exynos_OSAL_RefANB_Decrease()
441 …EXYNOS_LOG_TRACE, "dec fd:%d cnt:%d", phREF->SharedBuffer[i].BufferFd, phREF->SharedBuffer[i].cnt); in Exynos_OSAL_RefANB_Decrease()

123