Lines Matching refs:eRet
714 OMX_ERRORTYPE eRet = pThis->set_buffer_req(&pThis->drv_ctx.op_buf);
716 if (eRet != OMX_ErrorNone) {
717 DEBUG_PRINT_ERROR("set_buffer_req failed eRet = %d",eRet);
1152 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1293 eRet = err;
1311 eRet = err;
1329 eRet = err;
1352 eRet = err;
1393 eRet = OMX_ErrorInvalidComponentName;
1400 if (eRet == OMX_ErrorNone) {
1412 eRet = OMX_ErrorInsufficientResources;
1420 if ( (eRet == OMX_ErrorNone) &&
1426 eRet = OMX_ErrorInsufficientResources;
1433 if ( (eRet == OMX_ErrorNone) &&
1437 eRet = OMX_ErrorInsufficientResources;
1456 if ( (eRet == OMX_ErrorNone) &&
1460 eRet = OMX_ErrorInsufficientResources;
1471 if (eRet == OMX_ErrorNone)
1472 eRet = get_buffer_req(&drv_ctx.ip_buf);
1474 if (eRet == OMX_ErrorNone)
1475 eRet = get_buffer_req(&drv_ctx.op_buf);
1480 if (eRet == OMX_ErrorNone)
1481 eRet = enable_extradata(DEFAULT_EXTRADATA);
1489 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1494 eRet = OMX_ErrorHardware;
1505 eRet = OMX_ErrorHardware;
1519 eRet = OMX_ErrorInsufficientResources;
1540 eRet = OMX_ErrorInsufficientResources;
1546 eRet = OMX_ErrorInsufficientResources;
1568 eRet = OMX_ErrorInsufficientResources;
1575 eRet = OMX_ErrorInsufficientResources;
1583 if (eRet != OMX_ErrorNone) {
1597 return eRet;
1603 (eRet == OMX_ErrorNone) ?
1612 return eRet;
1710 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1744 eRet = OMX_ErrorSameState;
1757 eRet = OMX_ErrorIncorrectStateTransition;
1764 eRet = OMX_ErrorIncorrectStateTransition;
1770 eRet = OMX_ErrorInvalidState;
1774 eRet = OMX_ErrorBadParameter;
1806 eRet = OMX_ErrorHardware;
1816 eRet = OMX_ErrorSameState;
1823 eRet = OMX_ErrorIncorrectStateTransition;
1832 eRet = OMX_ErrorHardware;
1843 eRet = OMX_ErrorInvalidState;
1846 eRet = OMX_ErrorBadParameter;
1881 eRet = OMX_ErrorHardware;
1893 eRet = OMX_ErrorIncorrectStateTransition;
1900 eRet = OMX_ErrorIncorrectStateTransition;
1907 eRet = OMX_ErrorSameState;
1913 eRet = OMX_ErrorInvalidState;
1916 eRet = OMX_ErrorBadParameter;
1932 eRet = OMX_ErrorHardware;
1961 eRet = OMX_ErrorIncorrectStateTransition;
1968 eRet = OMX_ErrorIncorrectStateTransition;
1975 eRet = OMX_ErrorSameState;
1981 eRet = OMX_ErrorInvalidState;
1984 eRet = OMX_ErrorBadParameter;
2002 eRet = OMX_ErrorSameState;
2009 eRet = OMX_ErrorIncorrectStateTransition;
2016 eRet = OMX_ErrorIncorrectStateTransition;
2022 eRet = OMX_ErrorInvalidState;
2030 eRet = OMX_ErrorBadParameter;
2044 eRet = OMX_ErrorInvalidState;
2159 eRet = OMX_ErrorNotImplemented;
2162 if (eRet == OMX_ErrorNone && bFlag) {
2170 return eRet;
2416 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2436 eRet = OMX_ErrorNoMore;
2444 eRet = OMX_ErrorNoMore;
2455 eRet = OMX_ErrorNoMore;
2460 eRet = OMX_ErrorBadPortIndex;
2463 return eRet;
2469 OMX_ERRORTYPE eRet = OMX_ErrorNoMore;
2489 eRet = OMX_ErrorNoMore;
2497 eRet = OMX_ErrorNoMore;
2508 eRet = OMX_ErrorNoMore;
2519 eRet = OMX_ErrorNoMore;
2523 eRet = OMX_ErrorNoMore;
2527 eRet = OMX_ErrorBadPortIndex;
2530 return eRet;
2552 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2571 eRet = update_portdef(portDefn);
2573 if (eRet == OMX_ErrorNone)
2618 eRet = OMX_ErrorNoMore;
2631 eRet = OMX_ErrorNoMore;
2636 eRet = OMX_ErrorBadPortIndex;
2676 eRet =OMX_ErrorUnsupportedIndex;
2719 eRet = OMX_ErrorBadPortIndex;
2754 eRet = get_supported_profile_level_for_720p(profileLevelType);
2757 eRet = get_supported_profile_level_for_1080p(profileLevelType);
2796 eRet = OMX_ErrorBadParameter;
2805 eRet =OMX_ErrorUnsupportedIndex;
2816 return eRet;
2823 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2856 eRet = use_buffer(hComp,params->bufferHeader,params->nPortIndex,data,handle->size,buffer);
2858 eRet = OMX_ErrorBadParameter;
2861 return eRet;
2882 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2922 eRet = OMX_ErrorBadParameter;
2928 eRet = set_buffer_req(&drv_ctx.op_buf);
2930 if (eRet == OMX_ErrorNone)
2936 eRet = OMX_ErrorBadParameter;
2998 eRet = OMX_ErrorUnsupportedSetting;
3000 eRet = get_buffer_req(&drv_ctx.op_buf);
3006 eRet = set_buffer_req(&drv_ctx.ip_buf);
3011 eRet = OMX_ErrorBadParameter;
3016 eRet = OMX_ErrorBadPortIndex;
3050 eRet = OMX_ErrorBadParameter;
3052 if (eRet == OMX_ErrorNone && drv_ctx.output_format != op_format) {
3061 eRet = OMX_ErrorUnsupportedSetting;
3063 eRet = get_buffer_req(&drv_ctx.op_buf);
3067 if (eRet == OMX_ErrorNone) {
3070 eRet = OMX_ErrorBadParameter;
3096 eRet = OMX_ErrorUnsupportedSetting;
3108 eRet = OMX_ErrorUnsupportedSetting;
3147 eRet =OMX_ErrorUnsupportedSetting;
3154 eRet = OMX_ErrorUnsupportedSetting;
3161 eRet =OMX_ErrorUnsupportedSetting;
3168 eRet = OMX_ErrorUnsupportedSetting;
3185 eRet =OMX_ErrorUnsupportedSetting;
3194 eRet =OMX_ErrorUnsupportedSetting;
3198 eRet = OMX_ErrorInvalidComponentName;
3235 eRet = OMX_ErrorBadPortIndex;
3278 eRet = OMX_ErrorBadParameter;
3285 eRet = OMX_ErrorBadParameter;
3291 if (eRet == OMX_ErrorNone && pic_order != drv_ctx.picture_order) {
3299 eRet = OMX_ErrorUnsupportedSetting;
3307 eRet = enable_extradata(VDEC_EXTRADATA_MB_ERROR_MAP,
3313 eRet = enable_extradata(OMX_FRAMEINFO_EXTRADATA,
3319 eRet = enable_extradata(OMX_INTERLACE_EXTRADATA,
3325 eRet = enable_extradata(OMX_TIMEINFO_EXTRADATA,
3336 eRet = OMX_ErrorUnsupportedSetting;
3349 eRet = OMX_ErrorUnsupportedSetting;
3371 eRet = OMX_ErrorHardware;
3376 if (eRet == OMX_ErrorNone) {
3385 eRet = OMX_ErrorUnsupportedSetting;
3402 eRet = enable_extradata(OMX_PORTDEF_EXTRADATA, extradataIndexType->bEnabled);
3409 eRet = OMX_ErrorHardware;
3424 eRet = OMX_ErrorHardware;
3444 eRet = use_android_native_buffer(hComp, paramData);
3462 eRet = OMX_ErrorUnsupportedSetting;
3469 eRet = enable_extradata(OMX_EXTNUSER_EXTRADATA,
3476 eRet = OMX_ErrorUnsupportedIndex;
3480 return eRet;
3501 OMX_ERRORTYPE eRet = OMX_ErrorNone;
3526 eRet = OMX_ErrorNoMore;
3532 eRet = OMX_ErrorBadPortIndex;
3580 eRet = OMX_ErrorBadParameter;
3585 return eRet;
3859 OMX_ERRORTYPE eRet = OMX_ErrorNone;
3872 eRet = allocate_output_headers();
3877 eRet = vdec_alloc_meta_buffers();
3879 if (eRet) {
3887 eRet = vdec_alloc_h264_mv();
3889 if (eRet) {
3899 if (eRet == OMX_ErrorNone) {
3908 eRet = OMX_ErrorInsufficientResources;
3911 if (eRet == OMX_ErrorNone) {
4102 return eRet;
4128 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4142 eRet = OMX_ErrorInsufficientResources;
4152 eRet = allocate_input_buffer(hComp, &m_phdr_pmem_ptr[m_in_alloc_cnt], port, appData, bytes);
4163 eRet = OMX_ErrorInsufficientResources;
4166 return eRet;
4219 DEBUG_PRINT_LOW("Use Buffer: port %u, buffer %p, eRet %d", port, *bufferHdr, error);
4422 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4470 eRet = allocate_input_buffer(hComp,&m_phdr_pmem_ptr [i],port,appData,bytes);
4482 return eRet;
4509 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4663 eRet = allocate_desc_buffer(i);
4667 eRet = OMX_ErrorInsufficientResources;
4670 return eRet;
4695 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4831 if (eRet == OMX_ErrorNone && secure_mode) {
4832 eRet = vdec_alloc_meta_buffers();
4834 if (eRet) {
4840 if (eRet == OMX_ErrorNone && drv_ctx.decoder_format == VDEC_CODECTYPE_H264) {
4842 eRet = vdec_alloc_h264_mv();
4844 if (eRet) {
4884 eRet = OMX_ErrorInsufficientResources;
5008 eRet = OMX_ErrorInsufficientResources;
5011 return eRet;
5037 OMX_ERRORTYPE eRet = OMX_ErrorNone; // OMX return type
5048 eRet = allocate_input_heap_buffer (hComp,bufferHdr,port,appData,bytes);
5050 eRet = allocate_input_buffer(hComp,bufferHdr,port,appData,bytes);
5053 eRet = client_buffers.allocate_buffers_color_convert(hComp,bufferHdr,port,
5057 eRet = OMX_ErrorBadPortIndex;
5062 if (eRet == OMX_ErrorNone) {
5091 DEBUG_PRINT_LOW("Allocate Buffer exit with ret Code %d",eRet);
5092 return eRet;
5113 OMX_ERRORTYPE eRet = OMX_ErrorNone;
5177 eRet = OMX_ErrorBadPortIndex;
5204 eRet = OMX_ErrorBadPortIndex;
5227 eRet = OMX_ErrorBadPortIndex;
5230 if ((eRet == OMX_ErrorNone) &&
5240 return eRet;
6021 OMX_ERRORTYPE eRet = OMX_ErrorNone;
6028 eRet = OMX_ErrorNoMore;
6037 eRet = OMX_ErrorNoMore;
6045 eRet = OMX_ErrorNoMore;
6063 eRet = OMX_ErrorNoMore;
6071 eRet = OMX_ErrorNoMore;
6081 eRet = OMX_ErrorNoMore;
6085 eRet = OMX_ErrorInvalidComponentName;
6088 return eRet;
6722 OMX_ERRORTYPE eRet = OMX_ErrorNone;
6724 eRet = omx->update_portdef(&(omx->m_port_def));
7485 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7495 eRet = OMX_ErrorInsufficientResources;
7529 eRet = set_buffer_req(buffer_prop);
7535 return eRet;
7541 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7550 eRet = OMX_ErrorBadParameter;
7558 eRet = OMX_ErrorInsufficientResources;
7562 eRet = OMX_ErrorInsufficientResources;
7567 return eRet;
7573 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7574 eRet = update_picture_resolution();
7576 if (eRet == OMX_ErrorNone) {
7581 eRet = OMX_ErrorHardware;
7590 eRet = get_buffer_req(&op_buf_rcnfg);
7594 if (eRet == OMX_ErrorNone) {
7600 return eRet;
7606 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7612 eRet = OMX_ErrorHardware;
7615 return eRet;
7620 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7691 eRet = OMX_ErrorBadPortIndex;
7707 return eRet;
7712 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7844 eRet = OMX_ErrorInsufficientResources;
7847 eRet = OMX_ErrorInsufficientResources;
7850 return eRet;
8779 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8804 return eRet;
9579 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9582 eRet = omx->allocate_output_buffer(hComp,bufferHdr,port,appData,bytes);
9583 return eRet;
9605 eRet = omx->allocate_output_buffer(hComp,&temp_bufferHdr,
9608 if (eRet != OMX_ErrorNone || !temp_bufferHdr) {
9610 return eRet;
9665 return eRet;