/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDec_Thread.c | 115 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/ |
D | OMX_G726Dec_CompThread.c | 96 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/ |
D | OMX_G711Dec_ComponentThread.c | 68 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() 125 } else if (FD_ISSET(pComponentPrivate->dataPipe[0], &rfds)){ in ComponentThread() 140 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Enc_ComponentThread.c | 92 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/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Enc_ComponentThread.c | 110 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/video/src/openmax_il/prepost_processor/src/ |
D | OMX_VPP_CompThread.c | 102 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/image/src/openmax_il/jpeg_dec/src/ |
D | OMX_JpegDec_Thread.c | 82 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() 135 if ((FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds)) || in OMX_JpegDec_Thread() 136 (FD_ISSET(pComponentPrivate->nCmdDataPipe[0], &rfds))) { in OMX_JpegDec_Thread() 222 if ((FD_ISSET(pComponentPrivate->nFilled_inpBuf_Q[0], &rfds)) && in OMX_JpegDec_Thread() 237 if (FD_ISSET (pComponentPrivate->nFree_outBuf_Q[0], &rfds)) { in OMX_JpegDec_Thread()
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
D | OMX_JpegEnc_Thread.c | 98 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() 155 if ( (FD_ISSET (pComponentPrivate->filled_inpBuf_Q[0], &rfds)) in OMX_JpegEnc_Thread() 169 if ( FD_ISSET (pComponentPrivate->free_outBuf_Q[0], &rfds) ) { in OMX_JpegEnc_Thread() 179 if ( FD_ISSET (pComponentPrivate->nCmdPipe[0], &rfds) ) { in OMX_JpegEnc_Thread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDec_CompThread.c | 107 fd_set rfds; in AACDEC_ComponentThread() local 132 FD_ZERO (&rfds); in AACDEC_ComponentThread() 133 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in AACDEC_ComponentThread() 134 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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() 169 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in AACDEC_ComponentThread() 198 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in AACDEC_ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Enc_ComponentThread.c | 89 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/wbamr_enc/src/ |
D | OMX_WbAmrEnc_CompThread.c | 95 fd_set rfds; in WBAMRENC_CompThread() local 119 FD_ZERO (&rfds); in WBAMRENC_CompThread() 120 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in WBAMRENC_CompThread() 121 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 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() 163 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in WBAMRENC_CompThread() 179 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in WBAMRENC_CompThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Dec_CompThread.c | 106 fd_set rfds; in MP3DEC_ComponentThread() local 132 FD_ZERO (&rfds); in MP3DEC_ComponentThread() 133 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in MP3DEC_ComponentThread() 134 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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() 179 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in MP3DEC_ComponentThread() 194 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in MP3DEC_ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDec_ComponentThread.c | 89 fd_set rfds; in WBAMR_DEC_ComponentThread() local 117 FD_ZERO (&rfds); in WBAMR_DEC_ComponentThread() 118 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in WBAMR_DEC_ComponentThread() 119 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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() 176 } else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { in WBAMR_DEC_ComponentThread() 188 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in WBAMR_DEC_ComponentThread()
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
D | OMX_VideoEnc_Thread.c | 115 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() 189 if (FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds)) in OMX_VIDENC_Thread() 292 if ((FD_ISSET(pComponentPrivate->nFilled_iPipe[0], &rfds)) && in OMX_VIDENC_Thread() 311 if (FD_ISSET(pComponentPrivate->nFree_oPipe[0], &rfds) && in OMX_VIDENC_Thread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDec_ComponentThread.c | 70 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() 158 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { in NBAMRDEC_ComponentThread() 171 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in NBAMRDEC_ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEnc_ComponentThread.c | 102 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() 170 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) in NBAMRENC_CompThread() 185 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in NBAMRENC_CompThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDec_ComponentThread.c | 82 fd_set rfds; in WMADEC_ComponentThread() local 107 FD_ZERO (&rfds); in WMADEC_ComponentThread() 108 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in WMADEC_ComponentThread() 109 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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() 159 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { in WMADEC_ComponentThread() 173 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { in WMADEC_ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
D | OMX_G729Dec_ComponentThread.c | 107 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/ |
D | OMX_AacEnc_CompThread.c | 81 fd_set rfds; in AACENC_ComponentThread() local 105 FD_ZERO (&rfds); in AACENC_ComponentThread() 106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in AACENC_ComponentThread() 107 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 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() 164 …else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) && (pComponentPrivate->curState != OMX… in AACENC_ComponentThread() 191 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) in AACENC_ComponentThread()
|
/hardware/ril/libril/ |
D | ril_event.cpp | 183 static void processReadReadies(fd_set * rfds, int n) in processReadReadies() argument 190 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { in processReadReadies() 333 static void printReadies(fd_set * rfds) in printReadies() argument 337 if (rev != NULL && FD_ISSET(rev->fd, rfds)) { in printReadies() 343 #define printReadies(rfds) do {} while(0) argument 349 fd_set rfds; in ril_event_loop() local 357 memcpy(&rfds, &readFds, sizeof(fd_set)); in ril_event_loop() 366 printReadies(&rfds); in ril_event_loop() 367 n = select(nfds, &rfds, NULL, NULL, ptv); in ril_event_loop() 368 printReadies(&rfds); in ril_event_loop() [all …]
|
/hardware/libhardware_legacy/wifi/ |
D | wifi.c | 621 struct pollfd rfds[2]; in wifi_ctrl_recv() local 623 memset(rfds, 0, 2 * sizeof(struct pollfd)); in wifi_ctrl_recv() 624 rfds[0].fd = ctrlfd; in wifi_ctrl_recv() 625 rfds[0].events |= POLLIN; in wifi_ctrl_recv() 626 rfds[1].fd = exit_sockets[1]; in wifi_ctrl_recv() 627 rfds[1].events |= POLLIN; in wifi_ctrl_recv() 629 res = TEMP_FAILURE_RETRY(poll(rfds, 2, 30000)); in wifi_ctrl_recv() 643 if (rfds[0].revents & POLLIN) { in wifi_ctrl_recv()
|
/hardware/intel/common/libva/test/putsurface/ |
D | putsurface_wayland.c | 294 fd_set rfds; in check_window_event() local 303 FD_ZERO(&rfds); in check_window_event() 304 FD_SET(d->event_fd, &rfds); in check_window_event() 306 retval = select(d->event_fd + 1, &rfds, NULL, NULL, &tv); in check_window_event()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/ |
D | G722DecTest.c | 193 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/ |
D | JPEGTest.c | 532 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/g722_enc/tests/ |
D | G722EncTest.c | 132 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 …]
|