Searched refs:rfds (Results 1 - 25 of 40) sorted by relevance

12

/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_ComponentThread.c68 fd_set rfds; local
85 FD_ZERO (&rfds);
86 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
87 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
96 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
98 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
125 } else if (FD_ISSET(pComponentPrivate->dataPipe[0], &rfds)){
140 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Enc_ComponentThread.c92 fd_set rfds; local
105 FD_ZERO (&rfds);
106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
107 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
149 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)){
162 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_CompThread.c96 fd_set rfds; local
112 FD_ZERO (&rfds);
113 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
114 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
122 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
124 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
147 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) {
163 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
H A DOMX_G726Enc_ComponentThread.c89 fd_set rfds; local
102 FD_ZERO (&rfds);
103 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
104 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
111 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
133 } else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
161 } else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) {
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
H A DOMX_VideoDec_Thread.c115 fd_set rfds; local
157 FD_ZERO (&rfds);
158 FD_SET(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &rfds);
159 FD_SET(pComponentPrivate->filled_outBuf_Q[VIDDEC_PIPE_READ], &rfds);
160 FD_SET(pComponentPrivate->free_inpBuf_Q[VIDDEC_PIPE_READ], &rfds);
161 FD_SET(pComponentPrivate->free_outBuf_Q[VIDDEC_PIPE_READ], &rfds);
162 FD_SET(pComponentPrivate->filled_inpBuf_Q[VIDDEC_PIPE_READ], &rfds);
174 status = select (fdmax+1, &rfds, NULL, NULL, NULL);
178 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL, &set);
197 if (FD_ISSET(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &rfds)) {
371 fd_set rfds; local
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
H A DOMX_JpegEnc_Thread.c98 fd_set rfds; local
129 FD_ZERO (&rfds);
130 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds);
132 FD_SET (pComponentPrivate->free_outBuf_Q[0], &rfds);
133 FD_SET (pComponentPrivate->filled_inpBuf_Q[0], &rfds);
142 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL,&set);
155 if ( (FD_ISSET (pComponentPrivate->filled_inpBuf_Q[0], &rfds))
169 if ( FD_ISSET (pComponentPrivate->free_outBuf_Q[0], &rfds) ) {
179 if ( FD_ISSET (pComponentPrivate->nCmdPipe[0], &rfds) ) {
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
H A DOMX_VPP_CompThread.c102 fd_set rfds; local
135 FD_ZERO (&rfds);
136 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
139 FD_SET (pComponentPrivate->nFree_oPipe[0], &rfds);
140 FD_SET (pComponentPrivate->nFilled_iPipe[0], &rfds);
149 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL, &set);
169 if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
255 if ((FD_ISSET(pComponentPrivate->nFilled_iPipe[0], &rfds))) {
267 if (FD_ISSET(pComponentPrivate->nFree_oPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
H A DOMX_AacDec_CompThread.c107 fd_set rfds; local
132 FD_ZERO (&rfds);
133 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
134 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
143 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
145 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
169 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
198 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
H A DOMX_G729Enc_ComponentThread.c110 fd_set rfds; local
131 FD_ZERO (&rfds);
132 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
133 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
141 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
143 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
181 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)))
199 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds))
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
H A DOMX_Mp3Dec_CompThread.c106 fd_set rfds; local
132 FD_ZERO (&rfds);
133 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
134 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
142 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
144 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
179 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) {
194 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
H A DOMX_AmrDec_ComponentThread.c70 fd_set rfds; local
93 FD_ZERO (&rfds);
94 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
95 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
104 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
106 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
158 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) {
171 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
H A DOMX_AmrEnc_ComponentThread.c102 fd_set rfds; local
122 FD_ZERO (&rfds);
123 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
124 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
132 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
134 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
170 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))
185 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
H A DOMX_WbAmrDec_ComponentThread.c89 fd_set rfds; local
117 FD_ZERO (&rfds);
118 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
119 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
129 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
131 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
176 } else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) {
188 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
H A DOMX_WbAmrEnc_CompThread.c95 fd_set rfds; local
119 FD_ZERO (&rfds);
120 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
121 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
130 status = pselect (fdmax + 1, &rfds, NULL, NULL, &tv, &set);
132 status = select (fdmax + 1, &rfds, NULL, NULL, &tv);
163 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) {
179 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
H A DOMX_WmaDec_ComponentThread.c82 fd_set rfds; local
107 FD_ZERO (&rfds);
108 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
109 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
118 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
120 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
159 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) {
173 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
H A DOMX_G729Dec_ComponentThread.c107 fd_set rfds; local
128 FD_ZERO (&rfds);
129 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
130 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
138 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
189 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))){
202 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
H A DOMX_JpegDec_Thread.c82 fd_set rfds; local
109 FD_ZERO (&rfds);
110 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds);
112 FD_SET (pComponentPrivate->nFree_outBuf_Q[0], &rfds);
113 FD_SET (pComponentPrivate->nFilled_inpBuf_Q[0], &rfds);
122 nStatus = pselect (nFdmax+1, &rfds, NULL, NULL, NULL,&set);
135 if ((FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds)) ||
136 (FD_ISSET(pComponentPrivate->nCmdDataPipe[0], &rfds))) {
222 if ((FD_ISSET(pComponentPrivate->nFilled_inpBuf_Q[0], &rfds)) &&
237 if (FD_ISSET (pComponentPrivate->nFree_outBuf_Q[0], &rfds)) {
[all...]
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
H A DOMX_VideoEnc_Thread.c115 fd_set rfds; local
157 FD_ZERO (&rfds);
158 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds);
159 FD_SET (pComponentPrivate->nFree_oPipe[0], &rfds);
160 FD_SET (pComponentPrivate->nFilled_iPipe[0], &rfds);
164 status = pselect(fdmax+1, &rfds, NULL, NULL, NULL,&set);
189 if (FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds))
292 if ((FD_ISSET(pComponentPrivate->nFilled_iPipe[0], &rfds)) &&
311 if (FD_ISSET(pComponentPrivate->nFree_oPipe[0], &rfds) &&
/hardware/ril/libril/
H A Dril_event.cpp183 static void processReadReadies(fd_set * rfds, int n) argument
190 if (rev != NULL && FD_ISSET(rev->fd, rfds)) {
333 static void printReadies(fd_set * rfds) argument
337 if (rev != NULL && FD_ISSET(rev->fd, rfds)) {
343 #define printReadies(rfds) do {} while(0)
349 fd_set rfds; local
357 memcpy(&rfds, &readFds, sizeof(fd_set));
366 printReadies(&rfds);
367 n = select(nfds, &rfds, NULL, NULL, ptv);
368 printReadies(&rfds);
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
H A DOMX_AacEnc_CompThread.c81 fd_set rfds; local
105 FD_ZERO (&rfds);
106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
107 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
164 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) && (pComponentPrivate->curState != OMX_StatePause))
191 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds))
/hardware/libhardware_legacy/wifi/
H A Dwifi.c672 struct pollfd rfds[2]; local
674 memset(rfds, 0, 2 * sizeof(struct pollfd));
675 rfds[0].fd = ctrlfd;
676 rfds[0].events |= POLLIN;
677 rfds[1].fd = exit_sockets[1];
678 rfds[1].events |= POLLIN;
679 res = TEMP_FAILURE_RETRY(poll(rfds, 2, -1));
684 if (rfds[0].revents & POLLIN) {
688 /* it is not rfds[0], then it must be rfts[1] (i.e. the exit socket)
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
H A DG722DecTest.c193 fd_set rfds; local
434 error = testCases (pHandle, &rfds, tcID, fIn, fOut, &frmCnt, &totalFilled, &tv, gDasfMode, nIpBuffs, pInputBufferHeader, nOpBuffs, pOutputBufferHeader);
1326 OMX_ERRORTYPE testCases (OMX_HANDLETYPE *pHandle, fd_set *rfds, int tcID, FILE *fIn, FILE *fOut, int *frmCnt, int *totalFilled, struct timeval *tv, int gDasfMode, int nIpBuffs, OMX_BUFFERHEADERTYPE *pInputBufferHeader [], int nOpBuffs, OMX_BUFFERHEADERTYPE *pOutputBufferHeader []) argument
1335 FD_ZERO (rfds);
1336 FD_SET (IpBuf_Pipe[0], rfds);
1337 FD_SET (OpBuf_Pipe[0], rfds);
1338 FD_SET (Event_Pipe[0], rfds);
1342 int retval = select(fdmax+1, rfds, NULL, NULL, tv);
1359 if(FD_ISSET(IpBuf_Pipe[0], rfds)) {
1371 if(FD_ISSET(IpBuf_Pipe[0], rfds)) {
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
H A 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/g726_dec/tests/
H A DG726DecTest.c145 fd_set rfds; variable
934 FD_ZERO(&rfds);
935 FD_SET(IpBuf_Pipe[0], &rfds);
936 FD_SET(OpBuf_Pipe[0], &rfds);
941 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
957 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) {
970 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) {
1092 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) {
1105 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) {
1137 if(FD_ISSET(IpBuf_Pipe[0], &rfds)) {
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
H A 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...]

Completed in 961 milliseconds

12