Searched refs:nRet (Results 1 - 25 of 63) sorted by relevance

123

/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
H A DOMX_VPP_CompThread.c106 int nRet = -1; local
170 nRet = read(pComponentPrivate->cmdPipe[0], &eCmd, sizeof(eCmd));
171 if (nRet == -1) {
191 nRet = read(pComponentPrivate->nCmdDataPipe[0], &pCmdData, sizeof(pCmdData));
192 if (nRet == -1) {
199 nRet = read(pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof(nParam1));
200 if (nRet == -1) {
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
H A DOMX_VideoEnc_Thread.c119 int nRet = -1; local
191 nRet = read(pComponentPrivate->nCmdPipe[0],
194 if (nRet == -1)
214 nRet = read(pComponentPrivate->nCmdDataPipe[0],
217 if (nRet == -1)
227 nRet = read(pComponentPrivate->nCmdDataPipe[0],
230 if (nRet == -1)
H A DOMX_VideoEncoder.c1172 int nRet = 0; local
1220 nRet = write(pComponentPrivate->nCmdPipe[1], &Cmd, sizeof(Cmd));
1221 if (nRet == -1) {
1227 nRet = write(pComponentPrivate->nCmdDataPipe[1],
1230 if (nRet == -1) {
1244 nRet = write(pComponentPrivate->nCmdPipe[1], &Cmd, sizeof(Cmd));
1245 if (nRet == -1)
1251 nRet = write(pComponentPrivate->nCmdDataPipe[1],
1254 if (nRet == -1)
1288 nRet
2782 int nRet = 0; local
2934 int nRet = 0; local
3066 OMX_S32 nRet = -1; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_ComponentThread.c69 OMX_U32 nRet = 0; local
143 nRet = G711DECHandleCommand (pComponentPrivate);
144 if (nRet == EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Enc_ComponentThread.c93 OMX_U32 nRet = 0; local
164 nRet = G711ENC_HandleCommand(pComponentPrivate);
165 if (nRet == G711ENC_EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_CompThread.c97 OMX_U32 nRet = 0; local
166 nRet = G726DEC_HandleCommand (pComponentPrivate);
167 if (nRet == EXIT_COMPONENT_THRD) {
H A DOMX_G726Dec_Utils.c374 int nRet = 0; local
392 nRet = pipe (pComponentPrivate->dataPipe);
393 if (0 != nRet) {
398 nRet = pipe (pComponentPrivate->cmdPipe);
399 if (0 != nRet) {
404 nRet = pipe (pComponentPrivate->cmdDataPipe);
405 if (0 != nRet) {
411 nRet = pthread_create (&(pComponentPrivate->ComponentThread), &attr,
414 nRet = pthread_create (&(pComponentPrivate->ComponentThread), NULL,
417 if ((0 != nRet) || (!pComponentPrivat
453 int nRet=0; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
H A DOMX_G726Enc_ComponentThread.c90 OMX_U32 nRet = 0; local
136 nRet = G726ENC_HandleCommand(pComponentPrivate);
137 if (nRet == G726ENC_EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/inc/
H A DOMX_JpegDec_Utils.h159 int nRet = 0x0; \
169 nRet = pthread_cond_timedwait(&((_pComponentPrivate_)->sPortPopulated_cond),\
172 if (nRet == ETIMEDOUT) \
186 int nRet = 0x0; \
196 nRet = pthread_cond_timedwait(&((_pComponentPrivate_)->sPortPopulated_cond),\
199 if (nRet == ETIMEDOUT) \
213 int nRet = 0x0; \
223 nRet = pthread_cond_timedwait(&((_pComponentPrivate_)->sFlush_cond),\
226 if (nRet == ETIMEDOUT) \
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
H A DOMX_AacDec_CompThread.c108 OMX_U32 nRet; local
171 nRet = AACDEC_HandleCommand (pComponentPrivate);
172 if (nRet == EXIT_COMPONENT_THRD) {
H A DOMX_AacDec_Utils.c371 int nRet = 0; local
388 nRet = pipe (pComponentPrivate->dataPipe);
389 if (0 != nRet) {
393 nRet = pipe (pComponentPrivate->cmdPipe);
394 if (0 != nRet) {
398 nRet = pipe (pComponentPrivate->cmdDataPipe);
399 if (0 != nRet) {
405 nRet = pthread_create (&(pComponentPrivate->ComponentThread), &attr, AACDEC_ComponentThread, pComponentPrivate);
407 nRet = pthread_create (&(pComponentPrivate->ComponentThread), NULL, AACDEC_ComponentThread, pComponentPrivate);
409 if ((0 != nRet) || (!pComponentPrivat
444 int nRet=0; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
H A DOMX_G729Dec_ComponentThread.c108 OMX_U32 nRet = 0; local
205 nRet = G729DECHandleCommand (pComponentPrivate);
206 if (nRet == EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
H A DOMX_G729Enc_ComponentThread.c111 OMX_U32 nRet = 0; local
203 nRet = G729ENC_HandleCommand(pComponentPrivate);
204 if (nRet == G729ENC_EXIT_COMPONENT_THRD)
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
H A DOMX_Mp3Dec_CompThread.c107 OMX_U32 nRet; local
196 nRet = MP3DEC_HandleCommand (pComponentPrivate);
197 if (nRet == EXIT_COMPONENT_THRD) {
H A DOMX_Mp3Dec_Utils.c385 int nRet = 0; local
404 nRet = pipe (pComponentPrivate->dataPipe);
405 if (0 != nRet) {
410 nRet = pipe (pComponentPrivate->cmdPipe);
411 if (0 != nRet) {
416 nRet = pipe (pComponentPrivate->cmdDataPipe);
417 if (0 != nRet) {
424 nRet = pthread_create (&(pComponentPrivate->ComponentThread), &attr,
427 nRet = pthread_create (&(pComponentPrivate->ComponentThread), NULL,
430 if ((0 != nRet) || (!pComponentPrivat
468 int nRet=0; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
H A DOMX_AmrDec_ComponentThread.c71 OMX_U32 nRet; local
174 nRet = NBAMRDECHandleCommand (pComponentPrivate);
175 if (nRet == EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
H A DOMX_AmrEnc_ComponentThread.c103 OMX_U32 nRet; local
188 nRet = NBAMRENC_HandleCommand(pComponentPrivate);
189 if (nRet == NBAMRENC_EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
H A DOMX_WbAmrDec_ComponentThread.c90 OMX_U32 nRet; local
191 nRet = WBAMR_DEC_HandleCommand (pComponentPrivate);
192 if (nRet == WBAMR_DEC_EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
H A DOMX_WbAmrEnc_CompThread.c96 OMX_U32 nRet; local
198 nRet = WBAMRENC_HandleCommand(pComponentPrivate, command, commandData);
200 if (nRet == WBAMRENC_EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
H A DOMX_WmaDec_ComponentThread.c83 OMX_U32 nRet; local
176 nRet = WMADECHandleCommand (pComponentPrivate);
177 if (nRet == EXIT_COMPONENT_THRD) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
H A DOMX_G722Dec_Utils.c121 OMX_U32 nRet = 0; local
179 nRet = G722DEC_HandleCommand (pComponentPrivate);
180 if (nRet == EXIT_COMPONENT_THRD) {
487 int nRet = 0; local
505 nRet = pipe (pComponentPrivate->dataPipe);
506 if (0 != nRet) {
511 nRet = pipe (pComponentPrivate->cmdPipe);
512 if (0 != nRet) {
517 nRet = pipe (pComponentPrivate->cmdDataPipe);
518 if (0 != nRet) {
572 int nRet=0; local
[all...]
H A DOMX_G722Decoder.c490 int nRet = 0; local
564 nRet = write (pCompPrivate->cmdPipe[1], &Cmd, sizeof(Cmd));
565 if (nRet == -1) {
570 nRet = write (pCompPrivate->cmdDataPipe[1], &pCmdData,
572 if (nRet == -1) {
577 nRet = write (pCompPrivate->cmdDataPipe[1], &nParam,
579 if (nRet == -1) {
1399 int nRet=0; local
1469 nRet = write (pComponentPrivate->dataPipe[1], &pBuffer,
1471 if (nRet
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
H A DOMX_AacEnc_CompThread.c82 OMX_U32 nRet; local
196 nRet = AACENCHandleCommand (pComponentPrivate);
197 if (nRet == EXIT_COMPONENT_THRD)
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
H A DOMX_JpegDec_Utils.c405 int pthreadError = 0, nRet = 0; local
449 nRet = write(pComponentPrivate->nCmdPipe[1], &eCmd, sizeof(eCmd));
450 if (nRet == -1) {
455 nRet = write(pComponentPrivate->nCmdDataPipe[1], &eCmd, sizeof(eCmd));
456 if (nRet == -1) {
826 int nRet; local
836 nRet = read(pComponentPrivate->nFilled_inpBuf_Q[0], &pBuffHead, sizeof(pBuffHead));
880 int nRet; local
891 nRet = read(pComponentPrivate->nFree_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead));
896 nRet
982 int nRet; local
1046 int nRet; local
1272 int nRet; local
1306 int nRet; local
1342 int nRet; local
1653 int nRet; local
1734 int nRet; local
[all...]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
H A DOMX_VideoDecoder.c617 OMX_S32 nRet; local
645 nRet = write(pComponentPrivate->cmdPipe[VIDDEC_PIPE_WRITE], &Cmd, sizeof(Cmd));
646 if (nRet == -1) {
652 nRet = write(pComponentPrivate->cmdDataPipe[VIDDEC_PIPE_WRITE], &nParam1, sizeof(nParam1));
653 if (nRet == -1) {
682 nRet = write(pComponentPrivate->cmdPipe[VIDDEC_PIPE_WRITE], &Cmd, sizeof(Cmd));
683 if (nRet == -1) {
687 nRet = write(pComponentPrivate->cmdDataPipe[VIDDEC_PIPE_WRITE], &nParam1, sizeof(nParam1));
688 if (nRet == -1) {
717 nRet
[all...]

Completed in 535 milliseconds

123