Home
last modified time | relevance | path

Searched refs:fdmax (Results 1 – 25 of 36) sorted by relevance

12

/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Thread.c114 int fdmax; in OMX_VidDec_Thread() local
138 fdmax = pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ]; in OMX_VidDec_Thread()
140 if (pComponentPrivate->free_inpBuf_Q[VIDDEC_PIPE_READ] > fdmax) { in OMX_VidDec_Thread()
141 fdmax = pComponentPrivate->free_inpBuf_Q[VIDDEC_PIPE_READ]; in OMX_VidDec_Thread()
144 if (pComponentPrivate->free_outBuf_Q[VIDDEC_PIPE_READ] > fdmax) { in OMX_VidDec_Thread()
145 fdmax = pComponentPrivate->free_outBuf_Q[VIDDEC_PIPE_READ]; in OMX_VidDec_Thread()
148 if (pComponentPrivate->filled_inpBuf_Q[VIDDEC_PIPE_READ] > fdmax) { in OMX_VidDec_Thread()
149 fdmax = pComponentPrivate->filled_inpBuf_Q[VIDDEC_PIPE_READ]; in OMX_VidDec_Thread()
152 if (pComponentPrivate->filled_outBuf_Q[VIDDEC_PIPE_READ] > fdmax) { in OMX_VidDec_Thread()
153 fdmax = pComponentPrivate->filled_outBuf_Q[VIDDEC_PIPE_READ]; in OMX_VidDec_Thread()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Dec_CompThread.c95 int fdmax = 0; in G726DEC_ComponentThread() local
104 fdmax = pComponentPrivate->cmdPipe[0]; in G726DEC_ComponentThread()
106 if (pComponentPrivate->dataPipe[0] > fdmax) { in G726DEC_ComponentThread()
107 fdmax = pComponentPrivate->dataPipe[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/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Thread.c97 int fdmax; in OMX_JpegEnc_Thread() local
115 fdmax = pComponentPrivate->nCmdPipe[0]; in OMX_JpegEnc_Thread()
117 if ( pComponentPrivate->free_outBuf_Q[0] > fdmax ) { in OMX_JpegEnc_Thread()
118 fdmax = pComponentPrivate->free_outBuf_Q[0]; in OMX_JpegEnc_Thread()
122 if ( pComponentPrivate->filled_inpBuf_Q[0] > fdmax ) { in OMX_JpegEnc_Thread()
123 fdmax = pComponentPrivate->filled_inpBuf_Q[0]; in OMX_JpegEnc_Thread()
126 OMX_TRACE2(pComponentPrivate->dbg, "fd max is %d\n",fdmax); in OMX_JpegEnc_Thread()
142 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL,&set); in OMX_JpegEnc_Thread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Dec_ComponentThread.c67 OMX_S16 fdmax = 0; in ComponentThread() local
78 fdmax = pComponentPrivate->cmdPipe[0]; in ComponentThread()
80 if (pComponentPrivate->dataPipe[0] > fdmax) { in ComponentThread()
81 fdmax = pComponentPrivate->dataPipe[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/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
DOMX_G711Enc_ComponentThread.c90 int fdmax = 0; in G711ENC_CompThread() local
99 fdmax = pComponentPrivate->cmdPipe[0]; in G711ENC_CompThread()
100 if (pComponentPrivate->dataPipe[0] > fdmax) { in G711ENC_CompThread()
101 fdmax = pComponentPrivate->dataPipe[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/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_CompThread.c101 int fdmax; in VPP_ComponentThreadFunc() local
122 fdmax = pComponentPrivate->cmdPipe[0]; in VPP_ComponentThreadFunc()
126 if (pComponentPrivate->nFree_oPipe[0] > fdmax) { in VPP_ComponentThreadFunc()
127 fdmax = pComponentPrivate->nFree_oPipe[0]; in VPP_ComponentThreadFunc()
130 if (pComponentPrivate->nFilled_iPipe[0] > fdmax) { in VPP_ComponentThreadFunc()
131 fdmax = pComponentPrivate->nFilled_iPipe[0]; in VPP_ComponentThreadFunc()
149 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL, &set); in VPP_ComponentThreadFunc()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Enc_ComponentThread.c108 int fdmax = 0; in G729ENC_CompThread() local
122 fdmax = pComponentPrivate->cmdPipe[0]; in G729ENC_CompThread()
124 if (pComponentPrivate->dataPipe[0] > fdmax) in G729ENC_CompThread()
126 fdmax = pComponentPrivate->dataPipe[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.c106 int fdmax; in AACDEC_ComponentThread() local
124 fdmax = pComponentPrivate->cmdPipe[0]; in AACDEC_ComponentThread()
126 if (pComponentPrivate->dataPipe[0] > fdmax) { in AACDEC_ComponentThread()
127 fdmax = pComponentPrivate->dataPipe[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/g726_enc/src/
DOMX_G726Enc_ComponentThread.c87 int fdmax = 0; in G726ENC_CompThread() local
95 fdmax = pComponentPrivate->cmdPipe[0]; in G726ENC_CompThread()
97 if (pComponentPrivate->dataPipe[0] > fdmax) { in G726ENC_CompThread()
98 fdmax = pComponentPrivate->dataPipe[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/wbamr_enc/src/
DOMX_WbAmrEnc_CompThread.c93 int fdmax; in WBAMRENC_CompThread() local
112 fdmax = pComponentPrivate->cmdPipe[0]; in WBAMRENC_CompThread()
114 if (pComponentPrivate->dataPipe[0] > fdmax) { in WBAMRENC_CompThread()
115 fdmax = pComponentPrivate->dataPipe[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/mp3_dec/src/
DOMX_Mp3Dec_CompThread.c105 int fdmax; in MP3DEC_ComponentThread() local
125 fdmax = pComponentPrivate->cmdPipe[0]; in MP3DEC_ComponentThread()
127 if (pComponentPrivate->dataPipe[0] > fdmax) { in MP3DEC_ComponentThread()
128 fdmax = pComponentPrivate->dataPipe[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/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Thread.c114 int fdmax = -1; in OMX_VIDENC_Thread() local
143 fdmax = pComponentPrivate->nCmdPipe[0]; in OMX_VIDENC_Thread()
145 if (pComponentPrivate->nFree_oPipe[0] > fdmax) in OMX_VIDENC_Thread()
147 fdmax = pComponentPrivate->nFree_oPipe[0]; in OMX_VIDENC_Thread()
150 if (pComponentPrivate->nFilled_iPipe[0] > fdmax) in OMX_VIDENC_Thread()
152 fdmax = pComponentPrivate->nFilled_iPipe[0]; in OMX_VIDENC_Thread()
164 status = pselect(fdmax+1, &rfds, NULL, NULL, NULL,&set); in OMX_VIDENC_Thread()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDec_ComponentThread.c88 OMX_S16 fdmax; in WBAMR_DEC_ComponentThread() local
110 fdmax = pComponentPrivate->cmdPipe[0]; in WBAMR_DEC_ComponentThread()
112 if (pComponentPrivate->dataPipe[0] > fdmax) { in WBAMR_DEC_ComponentThread()
113 fdmax = pComponentPrivate->dataPipe[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/wma_dec/src/
DOMX_WmaDec_ComponentThread.c81 int fdmax; in WMADEC_ComponentThread() local
100 fdmax = pComponentPrivate->cmdPipe[0]; in WMADEC_ComponentThread()
102 if (pComponentPrivate->dataPipe[0] > fdmax) { in WMADEC_ComponentThread()
103 fdmax = pComponentPrivate->dataPipe[0]; 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.c69 OMX_S16 fdmax; in NBAMRDEC_ComponentThread() local
86 fdmax = pComponentPrivate->cmdPipe[0]; in NBAMRDEC_ComponentThread()
88 if (pComponentPrivate->dataPipe[0] > fdmax) { in NBAMRDEC_ComponentThread()
89 fdmax = pComponentPrivate->dataPipe[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/nbamr_enc/src/
DOMX_AmrEnc_ComponentThread.c100 int fdmax; in NBAMRENC_CompThread() local
115 fdmax = pComponentPrivate->cmdPipe[0]; in NBAMRENC_CompThread()
117 if (pComponentPrivate->dataPipe[0] > fdmax) { in NBAMRENC_CompThread()
118 fdmax = pComponentPrivate->dataPipe[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/aac_enc/src/
DOMX_AacEnc_CompThread.c79 int fdmax; in AACENC_ComponentThread() local
98 fdmax = pComponentPrivate->cmdPipe[0]; in AACENC_ComponentThread()
100 if (pComponentPrivate->dataPipe[0] > fdmax) in AACENC_ComponentThread()
101 fdmax = pComponentPrivate->dataPipe[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.c106 OMX_S16 fdmax = 0; in G729DEC_ComponentThread() local
121 fdmax = pComponentPrivate->cmdPipe[0]; in G729DEC_ComponentThread()
123 if (pComponentPrivate->dataPipe[0] > fdmax) { in G729DEC_ComponentThread()
124 fdmax = pComponentPrivate->dataPipe[0]; in G729DEC_ComponentThread()
138 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G729DEC_ComponentThread()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
DVPPTest.c500 int fdmax; in _tmain() local
861 fdmax = maxint(IpBuf_Pipe[0], OvlyBuf_Pipe[0]); in _tmain()
862 fdmax = maxint(fdmax, OpRGBBuf_Pipe[0]); in _tmain()
863 fdmax = maxint(fdmax, OpYUVBuf_Pipe[0]); in _tmain()
864 fdmax = maxint(fdmax, Event_Pipe[0]); in _tmain()
1605 retval = pselect(fdmax+1, &rfds, NULL, NULL, NULL,&set); in _tmain()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
DG722EncTest.c329 int fdmax = 0; local
478 fdmax = maxint(IpBuf_Pipe[0], OpBuf_Pipe[0]);
479 fdmax = maxint(fdmax,Event_Pipe[0]);
803 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c427 int fdmax = 0; in main() local
538 fdmax = maxint(IpBuf_Pipe[0], OpBuf_Pipe[0]); in main()
539 fdmax = maxint(fdmax,Event_Pipe[0]); in main()
1002 retval = select(fdmax+1, &rfds, NULL, NULL, &tv); in main()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c1105 int fdmax; in _tmain() local
1375 fdmax = maxint(IpBuf_Pipe[0], OpBuf_Pipe[0]); in _tmain()
1376 fdmax = maxint(Event_Pipe[0], fdmax); in _tmain()
1848 retval = pselect(fdmax+1, &rfds, NULL, NULL, NULL,&set); in _tmain()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c476 int fdmax = 0; local
634 fdmax = maxint(IpBuf_Pipe[0], OpBuf_Pipe[0]);
635 fdmax = maxint(fdmax,Event_Pipe[0]);
1112 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c576 OMX_S16 fdmax = maxint(IpBuf_Pipe[0], OpBuf_Pipe[0]); in main() local
577 fdmax = maxint(fdmax,Event_Pipe[0]); in main()
1201 retval = select(fdmax+1, &rfds, NULL, NULL, &tv); in main()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
DAmrEncTest.c542 int fdmax = 0; local
704 fdmax = maxint(IpBuf_Pipe[0], OpBuf_Pipe[0]);
705 fdmax = maxint(fdmax,Event_Pipe[0]);
1299 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);

12