Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 25 of 44) sorted by relevance

12

/hardware/ril/libril/
Dril_event.cpp96 static void getNow(struct timeval * tv) in getNow() argument
101 tv->tv_sec = ts.tv_sec; in getNow()
102 tv->tv_usec = ts.tv_nsec/1000; in getNow()
104 gettimeofday(tv, NULL); in getNow()
216 static int calcNextTimeout(struct timeval * tv) in calcNextTimeout() argument
233 timersub(&tev->timeout, &now, tv); in calcNextTimeout()
236 tv->tv_sec = tv->tv_usec = 0; in calcNextTimeout()
287 void ril_timer_add(struct ril_event * ev, struct timeval * tv) in ril_timer_add() argument
293 if (tv != NULL) { in ril_timer_add()
300 timeradd(&now, tv, &ev->timeout); in ril_timer_add()
[all …]
Dril_event.h45 void ril_timer_add(struct ril_event * ev, struct timeval * tv);
/hardware/qcom/media/mm-video/vidc/venc/test/
Dvenc_util.c44 struct timeval tv; in GetTimeStamp() local
46 gettimeofday(&tv, NULL); in GetTimeStamp()
47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec); in GetTimeStamp()
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Thread.c109 struct timeval tv; in OMX_VidDec_Thread() local
112 struct timespec tv; in OMX_VidDec_Thread() local
165 tv.tv_sec = 0; in OMX_VidDec_Thread()
166 tv.tv_usec = VIDD_TIMEOUT * 30; in OMX_VidDec_Thread()
168 tv.tv_sec = 0; in OMX_VidDec_Thread()
169 tv.tv_nsec = 30000; in OMX_VidDec_Thread()
364 struct timeval tv; in OMX_VidDec_Return() local
367 struct timespec tv; in OMX_VidDec_Return() local
402 tv.tv_sec = 0; in OMX_VidDec_Return()
403 tv.tv_usec = VIDD_TIMEOUT * 30; in OMX_VidDec_Return()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Dec_CompThread.c94 struct timespec tv; in G726DEC_ComponentThread() local
115 tv.tv_sec = 1; in G726DEC_ComponentThread()
116 tv.tv_nsec = 0; in G726DEC_ComponentThread()
122 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G726DEC_ComponentThread()
124 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in G726DEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Dec_ComponentThread.c66 struct timespec tv; in ComponentThread() local
88 tv.tv_sec = 1; in ComponentThread()
89 tv.tv_nsec = 0; in ComponentThread()
96 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in ComponentThread()
98 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in ComponentThread()
/hardware/invensense/mlsdk/platform/linux/
Dmlos_linux.c195 struct timeval tv; in inv_get_tick_count() local
197 if (gettimeofday(&tv, NULL) !=0) in inv_get_tick_count()
200 return (long)((tv.tv_sec * 1000000LL + tv.tv_usec) / 1000LL); in inv_get_tick_count()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
DOMX_G711Enc_ComponentThread.c89 struct timespec tv; in G711ENC_CompThread() local
108 tv.tv_sec = 1; in G711ENC_CompThread()
109 tv.tv_nsec = 0; in G711ENC_CompThread()
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G711ENC_CompThread()
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in G711ENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Enc_ComponentThread.c107 struct timespec tv; in G729ENC_CompThread() local
134 tv.tv_sec = 1; in G729ENC_CompThread()
135 tv.tv_nsec = 0; in G729ENC_CompThread()
141 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G729ENC_CompThread()
143 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in G729ENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDec_CompThread.c105 struct timespec tv; in AACDEC_ComponentThread() local
136 tv.tv_sec = 1; in AACDEC_ComponentThread()
137 tv.tv_nsec = 0; in AACDEC_ComponentThread()
143 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in AACDEC_ComponentThread()
145 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in AACDEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Dec_CompThread.c104 struct timespec tv; in MP3DEC_ComponentThread() local
135 tv.tv_sec = 1; in MP3DEC_ComponentThread()
136 tv.tv_nsec = 0; in MP3DEC_ComponentThread()
142 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in MP3DEC_ComponentThread()
144 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in MP3DEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEnc_CompThread.c92 struct timespec tv; in WBAMRENC_CompThread() local
123 tv.tv_sec = 1; in WBAMRENC_CompThread()
124 tv.tv_nsec = 0; in WBAMRENC_CompThread()
130 status = pselect (fdmax + 1, &rfds, NULL, NULL, &tv, &set); in WBAMRENC_CompThread()
132 status = select (fdmax + 1, &rfds, NULL, NULL, &tv); in WBAMRENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDec_ComponentThread.c87 struct timespec tv; in WBAMR_DEC_ComponentThread() local
121 tv.tv_sec = 1; in WBAMR_DEC_ComponentThread()
122 tv.tv_nsec = 0; in WBAMR_DEC_ComponentThread()
129 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in WBAMR_DEC_ComponentThread()
131 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in WBAMR_DEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Enc_ComponentThread.c86 struct timespec tv; in G726ENC_CompThread() local
105 tv.tv_sec = 1; in G726ENC_CompThread()
106 tv.tv_nsec = 0; in G726ENC_CompThread()
111 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G726ENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEnc_ComponentThread.c99 struct timespec tv; in NBAMRENC_CompThread() local
125 tv.tv_sec = 1; in NBAMRENC_CompThread()
126 tv.tv_nsec = 0; in NBAMRENC_CompThread()
132 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in NBAMRENC_CompThread()
134 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in NBAMRENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDec_ComponentThread.c80 struct timespec tv; in WMADEC_ComponentThread() local
111 tv.tv_sec = 1; in WMADEC_ComponentThread()
112 tv.tv_nsec = 0;/*WMAD_TIMEOUT * 1000;*/ in WMADEC_ComponentThread()
118 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in WMADEC_ComponentThread()
120 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in WMADEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDec_ComponentThread.c68 struct timespec tv; in NBAMRDEC_ComponentThread() local
97 tv.tv_sec = 1; in NBAMRDEC_ComponentThread()
98 tv.tv_nsec = 0; in NBAMRDEC_ComponentThread()
104 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in NBAMRDEC_ComponentThread()
106 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in NBAMRDEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
DOMX_AacEnc_CompThread.c78 struct timespec tv; in AACENC_ComponentThread() local
108 tv.tv_sec = 1; in AACENC_ComponentThread()
109 tv.tv_nsec = 0; in AACENC_ComponentThread()
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in AACENC_ComponentThread()
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in AACENC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Dec_ComponentThread.c105 struct timespec tv; in G729DEC_ComponentThread() local
132 tv.tv_sec = 1; in G729DEC_ComponentThread()
133 tv.tv_nsec = 0; in G729DEC_ComponentThread()
138 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G729DEC_ComponentThread()
/hardware/ti/omap3/dspbridge/libbridge/
Dperfutils.c38 INT getTimeStamp(struct timeval *tv) in getTimeStamp() argument
42 Result = gettimeofday(tv, &tz); in getTimeStamp()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_CompThread.c100 struct timeval tv; in VPP_ComponentThreadFunc() local
143 tv.tv_sec = 0; in VPP_ComponentThreadFunc()
144 tv.tv_usec = VPP_THREAD_TIMEOUT * 1000; in VPP_ComponentThreadFunc()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Thread.c96 struct timeval tv; in OMX_JpegEnc_Thread() local
137 tv.tv_sec = 1; in OMX_JpegEnc_Thread()
138 tv.tv_usec = 0; in OMX_JpegEnc_Thread()
/hardware/ril/mock-ril/src/cpp/
Dworker.cpp163 struct timeval tv; in Worker() local
170 gettimeofday(&tv, NULL); in Worker()
171 ts.tv_sec = tv.tv_sec + (delay_ms / 1000); in Worker()
172 ts.tv_nsec = (tv.tv_usec + in Worker()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDec_Thread.c75 struct timespec tv; in OMX_JpegDec_Thread() local
116 tv.tv_sec = 1; in OMX_JpegDec_Thread()
118 tv.tv_nsec = 0; in OMX_JpegDec_Thread()
/hardware/ti/omap3/dspbridge/libbridge/inc/
Dperfutils.h22 INT getTimeStamp(struct timeval *tv);

12