Home
last modified time | relevance | path

Searched refs:rfds (Results 1 – 25 of 43) sorted by relevance

12

/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Thread.c115 fd_set rfds; in OMX_VidDec_Thread() local
157 FD_ZERO (&rfds); in OMX_VidDec_Thread()
158 FD_SET(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &rfds); in OMX_VidDec_Thread()
159 FD_SET(pComponentPrivate->filled_outBuf_Q[VIDDEC_PIPE_READ], &rfds); in OMX_VidDec_Thread()
160 FD_SET(pComponentPrivate->free_inpBuf_Q[VIDDEC_PIPE_READ], &rfds); in OMX_VidDec_Thread()
161 FD_SET(pComponentPrivate->free_outBuf_Q[VIDDEC_PIPE_READ], &rfds); in OMX_VidDec_Thread()
162 FD_SET(pComponentPrivate->filled_inpBuf_Q[VIDDEC_PIPE_READ], &rfds); in OMX_VidDec_Thread()
174 status = select (fdmax+1, &rfds, NULL, NULL, NULL); in OMX_VidDec_Thread()
178 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL, &set); in OMX_VidDec_Thread()
197 if (FD_ISSET(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &rfds)) { in OMX_VidDec_Thread()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Dec_CompThread.c96 fd_set rfds; in G726DEC_ComponentThread() local
112 FD_ZERO (&rfds); in G726DEC_ComponentThread()
113 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in G726DEC_ComponentThread()
114 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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()
147 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in G726DEC_ComponentThread()
163 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in G726DEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Dec_ComponentThread.c68 fd_set rfds; in ComponentThread() local
85 FD_ZERO (&rfds); in ComponentThread()
86 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in ComponentThread()
87 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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()
124 } else if (FD_ISSET(pComponentPrivate->dataPipe[0], &rfds)){ in ComponentThread()
139 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
DOMX_G711Enc_ComponentThread.c92 fd_set rfds; in G711ENC_CompThread() local
105 FD_ZERO (&rfds); in G711ENC_CompThread()
106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in G711ENC_CompThread()
107 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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()
149 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)){ in G711ENC_CompThread()
162 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in G711ENC_CompThread()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_CompThread.c102 fd_set rfds; in VPP_ComponentThreadFunc() local
135 FD_ZERO (&rfds); in VPP_ComponentThreadFunc()
136 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in VPP_ComponentThreadFunc()
139 FD_SET (pComponentPrivate->nFree_oPipe[0], &rfds); in VPP_ComponentThreadFunc()
140 FD_SET (pComponentPrivate->nFilled_iPipe[0], &rfds); in VPP_ComponentThreadFunc()
149 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL, &set); in VPP_ComponentThreadFunc()
169 if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in VPP_ComponentThreadFunc()
255 if ((FD_ISSET(pComponentPrivate->nFilled_iPipe[0], &rfds))) { in VPP_ComponentThreadFunc()
267 if (FD_ISSET(pComponentPrivate->nFree_oPipe[0], &rfds)) { in VPP_ComponentThreadFunc()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Enc_ComponentThread.c110 fd_set rfds; in G729ENC_CompThread() local
131 FD_ZERO (&rfds); in G729ENC_CompThread()
132 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in G729ENC_CompThread()
133 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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()
181 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) in G729ENC_CompThread()
199 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) in G729ENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDec_CompThread.c102 fd_set rfds; in AACDEC_ComponentThread() local
122 FD_ZERO (&rfds); in AACDEC_ComponentThread()
123 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in AACDEC_ComponentThread()
124 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in AACDEC_ComponentThread()
133 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in AACDEC_ComponentThread()
135 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in AACDEC_ComponentThread()
161 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in AACDEC_ComponentThread()
190 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in AACDEC_ComponentThread()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDec_Thread.c82 fd_set rfds; in OMX_JpegDec_Thread() local
109 FD_ZERO (&rfds); in OMX_JpegDec_Thread()
110 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); in OMX_JpegDec_Thread()
112 FD_SET (pComponentPrivate->nFree_outBuf_Q[0], &rfds); in OMX_JpegDec_Thread()
113 FD_SET (pComponentPrivate->nFilled_inpBuf_Q[0], &rfds); in OMX_JpegDec_Thread()
122 nStatus = pselect (nFdmax+1, &rfds, NULL, NULL, NULL,&set); in OMX_JpegDec_Thread()
136 if ((FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds)) || in OMX_JpegDec_Thread()
137 (FD_ISSET(pComponentPrivate->nCmdDataPipe[0], &rfds))) { in OMX_JpegDec_Thread()
223 if ((FD_ISSET(pComponentPrivate->nFilled_inpBuf_Q[0], &rfds)) && in OMX_JpegDec_Thread()
238 if (FD_ISSET (pComponentPrivate->nFree_outBuf_Q[0], &rfds)) { in OMX_JpegDec_Thread()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Thread.c98 fd_set rfds; in OMX_JpegEnc_Thread() local
129 FD_ZERO (&rfds); in OMX_JpegEnc_Thread()
130 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); in OMX_JpegEnc_Thread()
132 FD_SET (pComponentPrivate->free_outBuf_Q[0], &rfds); in OMX_JpegEnc_Thread()
133 FD_SET (pComponentPrivate->filled_inpBuf_Q[0], &rfds); in OMX_JpegEnc_Thread()
142 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL,&set); in OMX_JpegEnc_Thread()
156 if ( (FD_ISSET (pComponentPrivate->filled_inpBuf_Q[0], &rfds)) in OMX_JpegEnc_Thread()
170 if ( FD_ISSET (pComponentPrivate->free_outBuf_Q[0], &rfds) ) { in OMX_JpegEnc_Thread()
180 if ( FD_ISSET (pComponentPrivate->nCmdPipe[0], &rfds) ) { in OMX_JpegEnc_Thread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Enc_ComponentThread.c89 fd_set rfds; in G726ENC_CompThread() local
102 FD_ZERO (&rfds); in G726ENC_CompThread()
103 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in G726ENC_CompThread()
104 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in G726ENC_CompThread()
111 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G726ENC_CompThread()
133 } else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in G726ENC_CompThread()
161 } else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { in G726ENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Dec_CompThread.c101 fd_set rfds; in MP3DEC_ComponentThread() local
122 FD_ZERO (&rfds); in MP3DEC_ComponentThread()
123 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in MP3DEC_ComponentThread()
124 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in MP3DEC_ComponentThread()
132 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in MP3DEC_ComponentThread()
134 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in MP3DEC_ComponentThread()
170 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in MP3DEC_ComponentThread()
185 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in MP3DEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEnc_CompThread.c96 fd_set rfds; in WBAMRENC_CompThread() local
120 FD_ZERO (&rfds); in WBAMRENC_CompThread()
121 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in WBAMRENC_CompThread()
122 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in WBAMRENC_CompThread()
131 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in WBAMRENC_CompThread()
133 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in WBAMRENC_CompThread()
163 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in WBAMRENC_CompThread()
177 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in WBAMRENC_CompThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDec_ComponentThread.c84 fd_set rfds; in WBAMR_DEC_ComponentThread() local
107 FD_ZERO (&rfds); in WBAMR_DEC_ComponentThread()
108 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in WBAMR_DEC_ComponentThread()
109 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in WBAMR_DEC_ComponentThread()
119 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in WBAMR_DEC_ComponentThread()
121 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in WBAMR_DEC_ComponentThread()
167 } else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { in WBAMR_DEC_ComponentThread()
179 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in WBAMR_DEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEnc_ComponentThread.c102 fd_set rfds; in NBAMRENC_CompThread() local
122 FD_ZERO (&rfds); in NBAMRENC_CompThread()
123 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in NBAMRENC_CompThread()
124 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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()
171 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) in NBAMRENC_CompThread()
186 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in NBAMRENC_CompThread()
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Thread.c115 fd_set rfds; in OMX_VIDENC_Thread() local
157 FD_ZERO (&rfds); in OMX_VIDENC_Thread()
158 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); in OMX_VIDENC_Thread()
159 FD_SET (pComponentPrivate->nFree_oPipe[0], &rfds); in OMX_VIDENC_Thread()
160 FD_SET (pComponentPrivate->nFilled_iPipe[0], &rfds); in OMX_VIDENC_Thread()
164 status = pselect(fdmax+1, &rfds, NULL, NULL, NULL,&set); in OMX_VIDENC_Thread()
186 if (FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds)) in OMX_VIDENC_Thread()
296 if ((FD_ISSET(pComponentPrivate->nFilled_iPipe[0], &rfds)) && in OMX_VIDENC_Thread()
314 if (FD_ISSET(pComponentPrivate->nFree_oPipe[0], &rfds) && in OMX_VIDENC_Thread()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDec_ComponentThread.c70 fd_set rfds; in NBAMRDEC_ComponentThread() local
93 FD_ZERO (&rfds); in NBAMRDEC_ComponentThread()
94 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in NBAMRDEC_ComponentThread()
95 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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()
159 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { in NBAMRDEC_ComponentThread()
172 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in NBAMRDEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDec_ComponentThread.c82 fd_set rfds; in ComponentThread() local
107 FD_ZERO (&rfds); in ComponentThread()
108 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in ComponentThread()
109 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in ComponentThread()
118 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in ComponentThread()
120 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in ComponentThread()
161 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { in ComponentThread()
175 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Dec_ComponentThread.c107 fd_set rfds; in G729DEC_ComponentThread() local
128 FD_ZERO (&rfds); in G729DEC_ComponentThread()
129 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in G729DEC_ComponentThread()
130 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in G729DEC_ComponentThread()
138 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G729DEC_ComponentThread()
189 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))){ in G729DEC_ComponentThread()
202 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in G729DEC_ComponentThread()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
DOMX_AacEnc_CompThread.c81 fd_set rfds; in ComponentThread() local
105 FD_ZERO (&rfds); in ComponentThread()
106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in ComponentThread()
107 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in ComponentThread()
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in ComponentThread()
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in ComponentThread()
166 …else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) && (pComponentPrivate->curState != OMX… in ComponentThread()
193 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) in ComponentThread()
/hardware/ril/libril/
Dril_event.cpp183 static void processReadReadies(fd_set * rfds, int n) in processReadReadies() argument
190 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { in processReadReadies()
332 static void printReadies(fd_set * rfds) in printReadies() argument
336 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { in printReadies()
342 #define printReadies(rfds) do {} while(0) argument
348 fd_set rfds; in ril_event_loop() local
356 memcpy(&rfds, &readFds, sizeof(fd_set)); in ril_event_loop()
365 printReadies(&rfds); in ril_event_loop()
366 n = select(nfds, &rfds, NULL, NULL, ptv); in ril_event_loop()
367 printReadies(&rfds); in ril_event_loop()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c193 fd_set rfds; in main() local
434 …error = testCases (pHandle, &rfds, tcID, fIn, fOut, &frmCnt, &totalFilled, &tv, gDasfMode, nIpBuff… in main()
1326 OMX_ERRORTYPE testCases (OMX_HANDLETYPE *pHandle, fd_set *rfds, int tcID, FILE *fIn, FILE *fOut, in… in testCases() argument
1335 FD_ZERO (rfds); in testCases()
1336 FD_SET (IpBuf_Pipe[0], rfds); in testCases()
1337 FD_SET (OpBuf_Pipe[0], rfds); in testCases()
1338 FD_SET (Event_Pipe[0], rfds); in testCases()
1342 int retval = select(fdmax+1, rfds, NULL, NULL, tv); in testCases()
1359 if(FD_ISSET(IpBuf_Pipe[0], rfds)) { in testCases()
1371 if(FD_ISSET(IpBuf_Pipe[0], rfds)) { in testCases()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
DJPEGTest.c532 fd_set rfds; local
533 FD_ZERO(&rfds);
534 FD_SET(Event_Pipe[0], &rfds);
538 nRetval = pselect(nFDmax+1, &rfds, NULL, NULL, NULL, &set);
552 if ( FD_ISSET(Event_Pipe[0], &rfds)) {
1312 fd_set rfds; local
1313 FD_ZERO(&rfds);
1315 FD_SET(IpBuf_Pipe[0], &rfds);
1316 FD_SET(OpBuf_Pipe[0], &rfds);
1317 FD_SET(Event_Pipe[0], &rfds);
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c145 fd_set rfds; variable
934 FD_ZERO(&rfds); in main()
935 FD_SET(IpBuf_Pipe[0], &rfds); in main()
936 FD_SET(OpBuf_Pipe[0], &rfds); in main()
941 retval = select(fdmax+1, &rfds, NULL, NULL, &tv); in main()
957 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
970 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
1092 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
1105 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
1137 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
DG722EncTest.c132 fd_set rfds; variable
797 FD_ZERO(&rfds);
798 FD_SET(IpBuf_Pipe[0], &rfds);
799 FD_SET(OpBuf_Pipe[0], &rfds);
800 FD_SET(Event_Pipe[0], &rfds);
803 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
821 if(FD_ISSET(IpBuf_Pipe[0], &rfds)){
861 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) {
989 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) {
1088 if(FD_ISSET(OpBuf_Pipe[0], &rfds)) {
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c232 fd_set rfds; variable
1193 FD_ZERO(&rfds); in main()
1194 FD_SET(IpBuf_Pipe[0], &rfds); in main()
1195 FD_SET(OpBuf_Pipe[0], &rfds); in main()
1196 FD_SET(Event_Pipe[0], &rfds); in main()
1201 retval = select(fdmax+1, &rfds, NULL, NULL, &tv); in main()
1221 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
1237 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
1312 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
1325 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) { in main()
[all …]

12