Lines Matching refs:eRet
714 OMX_ERRORTYPE eRet = OMX_ErrorNone;
740 eRet = OMX_ErrorNotImplemented;
742 return eRet;
748 OMX_ERRORTYPE eRet = OMX_ErrorNone;
766 return eRet;
987 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1010 if(eRet != OMX_ErrorNone)
1012 DEBUG_PRINT_ERROR("get_buffer_req_swvdec failed eRet = %d",eRet);
1741 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1842 eRet = OMX_ErrorInsufficientResources;
1995 eRet=get_buffer_req(&drv_ctx.ip_buf);
2030 if (eRet == OMX_ErrorNone && !secure_mode)
2053 eRet = OMX_ErrorInsufficientResources;
2077 if (eRet != OMX_ErrorNone && ( (!m_pSwVdec) || (m_swvdec_mode == SWVDEC_MODE_DECODE_ONLY) ))
2079 DEBUG_PRINT_ERROR("Component Init Failed eRet %d m_pSwVdec %p m_swvdec_mode %d", eRet, m_pSwVdec, m_swvdec_mode);
2086 return eRet;
2190 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2234 eRet = OMX_ErrorSameState;
2249 eRet = OMX_ErrorIncorrectStateTransition;
2257 eRet = OMX_ErrorIncorrectStateTransition;
2264 eRet = OMX_ErrorInvalidState;
2270 eRet = OMX_ErrorBadParameter;
2321 eRet = OMX_ErrorSameState;
2329 eRet = OMX_ErrorIncorrectStateTransition;
2340 eRet = OMX_ErrorHardware;
2354 eRet = OMX_ErrorInvalidState;
2359 eRet = OMX_ErrorBadParameter;
2398 eRet = OMX_ErrorIncorrectStateTransition;
2406 eRet = OMX_ErrorIncorrectStateTransition;
2414 eRet = OMX_ErrorSameState;
2421 eRet = OMX_ErrorInvalidState;
2426 eRet = OMX_ErrorBadParameter;
2466 eRet = OMX_ErrorIncorrectStateTransition;
2474 eRet = OMX_ErrorIncorrectStateTransition;
2482 eRet = OMX_ErrorSameState;
2489 eRet = OMX_ErrorInvalidState;
2494 eRet = OMX_ErrorBadParameter;
2515 eRet = OMX_ErrorSameState;
2523 eRet = OMX_ErrorIncorrectStateTransition;
2531 eRet = OMX_ErrorIncorrectStateTransition;
2538 eRet = OMX_ErrorInvalidState;
2547 eRet = OMX_ErrorBadParameter;
2563 eRet = OMX_ErrorInvalidState;
2691 eRet = OMX_ErrorNotImplemented;
2693 if(eRet == OMX_ErrorNone && bFlag)
2702 return eRet;
3014 OMX_ERRORTYPE eRet = OMX_ErrorNoMore;
3025 eRet = OMX_ErrorNoMore;
3030 eRet = OMX_ErrorNoMore;
3036 eRet = OMX_ErrorBadPortIndex;
3038 return eRet;
3060 OMX_ERRORTYPE eRet = OMX_ErrorNone;
3080 eRet = update_portdef(portDefn);
3081 if (eRet == OMX_ErrorNone)
3117 eRet = OMX_ErrorNoMore;
3133 eRet = OMX_ErrorNoMore;
3140 eRet = OMX_ErrorBadPortIndex;
3174 eRet =OMX_ErrorUnsupportedIndex;
3216 eRet = OMX_ErrorBadPortIndex;
3250 eRet = get_supported_profile_level_for_1080p(profileLevelType);
3282 eRet = OMX_ErrorBadParameter;
3291 eRet =OMX_ErrorUnsupportedIndex;
3302 return eRet;
3309 OMX_ERRORTYPE eRet = OMX_ErrorNone;
3330 eRet = use_buffer(hComp,params->bufferHeader,params->nPortIndex,data,handle->size,buffer);
3332 eRet = OMX_ErrorBadParameter;
3334 return eRet;
3388 OMX_ERRORTYPE eRet = OMX_ErrorNone;
3453 eRet = OMX_ErrorBadParameter;
3460 eRet = set_buffer_req_swvdec(&drv_ctx.op_buf);
3461 if (eRet == OMX_ErrorNone)
3469 eRet = OMX_ErrorBadParameter;
3534 eRet = is_video_session_supported();
3535 if (eRet)
3549 eRet = OMX_ErrorUnsupportedSetting;
3568 eRet = get_buffer_req_swvdec();
3583 eRet = set_buffer_req(buffer_prop);
3590 eRet = OMX_ErrorBadParameter;
3597 eRet = OMX_ErrorBadPortIndex;
3626 eRet = OMX_ErrorBadParameter;
3628 if(eRet == OMX_ErrorNone)
3651 eRet = OMX_ErrorUnsupportedSetting;
3656 eRet = get_buffer_req_swvdec();
3659 if (eRet == OMX_ErrorNone){
3662 eRet = OMX_ErrorBadParameter;
3684 eRet = OMX_ErrorUnsupportedSetting;
3698 eRet = OMX_ErrorUnsupportedSetting;
3748 eRet =OMX_ErrorUnsupportedSetting;
3754 eRet
3789 eRet = OMX_ErrorBadPortIndex;
3799 eRet = OMX_ErrorUnsupportedSetting;
3818 eRet = OMX_ErrorBadParameter;
3819 if (eRet == OMX_ErrorNone)
3828 eRet = OMX_ErrorUnsupportedSetting;
3840 eRet = enable_extradata(VDEC_EXTRADATA_MB_ERROR_MAP, false,
3844 eRet = OMX_ErrorUnsupportedSetting;
3850 eRet = enable_extradata(OMX_FRAMEINFO_EXTRADATA, false,
3854 eRet = OMX_ErrorUnsupportedSetting;
3860 eRet = enable_extradata(OMX_INTERLACE_EXTRADATA, false,
3864 eRet = OMX_ErrorUnsupportedSetting;
3869 eRet = enable_extradata(OMX_TIMEINFO_EXTRADATA, false,
3873 eRet = OMX_ErrorUnsupportedSetting;
3888 eRet = OMX_ErrorUnsupportedSetting;
3916 eRet = OMX_ErrorUnsupportedSetting;
3924 eRet = OMX_ErrorUnsupportedSetting;
3930 eRet = OMX_ErrorUnsupportedSetting;
3935 eRet = OMX_ErrorUnsupportedSetting;
3939 eRet = OMX_ErrorUnsupportedSetting;
3955 eRet = enable_extradata(OMX_PORTDEF_EXTRADATA, false, extradataIndexType->bEnabled);
3965 eRet = enable_smoothstreaming();
3968 eRet = OMX_ErrorUnsupportedSetting;
3986 eRet = use_android_native_buffer(hComp, paramData);
4004 eRet = OMX_ErrorUnsupportedSetting;
4014 eRet = OMX_ErrorUnsupportedSetting;
4021 eRet = OMX_ErrorBadParameter;
4044 eRet = OMX_ErrorUnsupportedSetting;
4059 eRet = OMX_ErrorUnsupportedSetting;
4073 eRet = OMX_ErrorUnsupportedSetting;
4093 eRet = OMX_ErrorBadParameter;
4096 eRet = enable_smoothstreaming();
4097 if (eRet != OMX_ErrorNone) {
4099 eRet = OMX_ErrorHardware;
4121 eRet = OMX_ErrorUnsupportedSetting;
4123 eRet = get_buffer_req(&drv_ctx.op_buf);
4137 eRet = OMX_ErrorUndefined;
4151 eRet = OMX_ErrorUndefined;
4163 eRet = OMX_ErrorUndefined;
4197 eRet = OMX_ErrorUndefined;
4211 eRet = OMX_ErrorUndefined;
4221 eRet = OMX_ErrorBadParameter;
4229 eRet = OMX_ErrorUnsupportedIndex;
4232 return eRet;
4254 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4288 eRet = OMX_ErrorNoMore;
4296 eRet = OMX_ErrorBadPortIndex;
4322 eRet = OMX_ErrorBadParameter;
4327 return eRet;
4569 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4581 eRet = allocate_output_headers();
4582 if (!m_pSwVdec && eRet == OMX_ErrorNone)
4583 eRet = allocate_extradata();
4586 if (eRet == OMX_ErrorNone) {
4597 eRet = OMX_ErrorInsufficientResources;
4635 return eRet;
4638 if (eRet == OMX_ErrorNone) {
4870 return eRet;
4896 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4908 eRet = OMX_ErrorInsufficientResources;
4920 eRet =
4934 eRet = OMX_ErrorInsufficientResources;
4936 return eRet;
4985 DEBUG_PRINT_LOW("Use Buffer: port %u, buffer %p, eRet %d", (unsigned int)port, *bufferHdr, error);
5148 OMX_ERRORTYPE eRet = OMX_ErrorNone;
5203 eRet = allocate_input_buffer(hComp,&m_phdr_pmem_ptr [i],port,appData,bytes);
5218 return eRet;
5244 OMX_ERRORTYPE eRet = OMX_ErrorNone;
5304 eRet = OMX_ErrorInsufficientResources;
5436 eRet = allocate_desc_buffer(i);
5442 eRet = OMX_ErrorInsufficientResources;
5444 return eRet;
5471 OMX_ERRORTYPE eRet = OMX_ErrorNone;
5705 eRet = OMX_ErrorInsufficientResources;
5707 if ( (!m_pSwVdec) && (eRet == OMX_ErrorNone) )
5708 eRet = allocate_extradata();
5720 if (eRet == OMX_ErrorNone)
5799 eRet = OMX_ErrorInsufficientResources;
5803 return eRet;
5829 OMX_ERRORTYPE eRet = OMX_ErrorNone; // OMX return type
5842 eRet = allocate_input_heap_buffer (hComp,bufferHdr,port,appData,bytes);
5846 eRet = allocate_input_buffer(hComp,bufferHdr,port,appData,bytes);
5851 eRet = client_buffers.allocate_buffers_color_convert(hComp,bufferHdr,port,
5857 eRet = OMX_ErrorBadPortIndex;
5860 if(eRet == OMX_ErrorNone)
5898 DEBUG_PRINT_LOW("Allocate Buffer exit with ret Code %d",eRet);
5899 return eRet;
5920 OMX_ERRORTYPE eRet = OMX_ErrorNone;
6002 eRet = OMX_ErrorBadPortIndex;
6049 eRet = OMX_ErrorBadPortIndex;
6071 eRet = OMX_ErrorBadPortIndex;
6073 if((eRet == OMX_ErrorNone) &&
6088 return eRet;
6389 OMX_ERRORTYPE eRet = OMX_ErrorNone;
6904 OMX_ERRORTYPE eRet = OMX_ErrorNone;
6919 eRet = OMX_ErrorNoMore;
6925 eRet = OMX_ErrorInvalidComponentName;
6927 return eRet;
8307 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8323 }else {eRet = OMX_ErrorBadParameter;}
8324 if(eRet==OMX_ErrorNone){
8331 eRet = OMX_ErrorInsufficientResources;
8332 return eRet;
8360 eRet = OMX_ErrorInsufficientResources;
8366 eRet = is_video_session_supported();
8367 if (eRet)
8368 return eRet;
8411 eRet = set_buffer_req(buffer_prop);
8416 return eRet;
8421 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8433 eRet = OMX_ErrorBadParameter;
8447 eRet = OMX_ErrorBadParameter;
8455 eRet = OMX_ErrorInsufficientResources;
8465 eRet = OMX_ErrorBadParameter;
8468 if (eRet==OMX_ErrorNone) {
8476 eRet = OMX_ErrorInsufficientResources;
8481 eRet = OMX_ErrorInsufficientResources;
8485 eRet = OMX_ErrorInsufficientResources;
8489 if (!eRet && !m_pSwVdec && buffer_prop->buffer_type == VDEC_BUFFER_TYPE_OUTPUT)
8495 return eRet;
8500 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8501 return eRet;
8506 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8561 eRet = OMX_ErrorBadPortIndex;
8572 return eRet;
8578 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8713 eRet = OMX_ErrorInsufficientResources;
8716 eRet = OMX_ErrorInsufficientResources;
8718 return eRet;
9261 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9286 return eRet;
9675 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9677 eRet = omx->allocate_output_buffer(hComp,bufferHdr,port,appData,bytes);
9678 return eRet;
9696 eRet = omx->allocate_output_buffer(hComp,&temp_bufferHdr,
9698 if (eRet != OMX_ErrorNone || !temp_bufferHdr){
9700 return eRet;
9751 return eRet;
9848 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9852 eRet=get_buffer_req(&drv_ctx.ip_buf);
9853 eRet=get_buffer_req(&drv_ctx.op_buf);
9854 return eRet;
9928 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9932 eRet = set_buffer_req(buffer_prop);
9933 return eRet;
9948 eRet = OMX_ErrorBadParameter;
9968 eRet = OMX_ErrorBadParameter;
9971 if(eRet==OMX_ErrorNone)
9989 eRet = set_buffer_req(&drv_ctx.interm_op_buf);
9992 return eRet;
10353 OMX_ERRORTYPE eRet = OMX_ErrorNone;
10415 eRet = OMX_ErrorInsufficientResources;
10433 eRet = OMX_ErrorInsufficientResources;
10466 eRet = allocate_extradata();
10467 if (eRet != OMX_ErrorNone)
10581 SWVDEC_STATUS eRet = SWVDEC_S_SUCCESS;
10586 eRet = SWVDEC_S_EFAIL;
10594 return eRet;
10621 SWVDEC_STATUS eRet = SWVDEC_S_SUCCESS;
10626 eRet = SWVDEC_S_EFAIL;
10632 return eRet;