Lines Matching refs:eRet
721 OMX_ERRORTYPE eRet = pThis->set_buffer_req(&pThis->drv_ctx.op_buf);
722 if(eRet != OMX_ErrorNone)
724 DEBUG_PRINT_ERROR("set_buffer_req failed eRet = %d",eRet);
1190 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1244 eRet = OMX_ErrorInsufficientResources;
1319 eRet = err;
1337 eRet = err;
1355 eRet = err;
1376 eRet = err;
1422 eRet = OMX_ErrorInvalidComponentName;
1427 if (eRet == OMX_ErrorNone)
1439 eRet = OMX_ErrorInsufficientResources;
1446 if ( (eRet == OMX_ErrorNone) &&
1452 eRet = OMX_ErrorInsufficientResources;
1459 if ( (eRet == OMX_ErrorNone) &&
1464 eRet = OMX_ErrorInsufficientResources;
1486 if ( (eRet == OMX_ErrorNone) &&
1491 eRet = OMX_ErrorInsufficientResources;
1502 if (eRet == OMX_ErrorNone)
1503 eRet = get_buffer_req(&drv_ctx.ip_buf);
1504 if (eRet == OMX_ErrorNone)
1505 eRet = get_buffer_req(&drv_ctx.op_buf);
1508 if (eRet == OMX_ErrorNone && !secure_mode)
1509 eRet = enable_extradata(DEFAULT_EXTRADATA);
1516 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1521 eRet = OMX_ErrorHardware;
1534 eRet = OMX_ErrorHardware;
1551 eRet = OMX_ErrorInsufficientResources;
1574 eRet = OMX_ErrorInsufficientResources;
1581 eRet = OMX_ErrorInsufficientResources;
1605 eRet = OMX_ErrorInsufficientResources;
1613 eRet = OMX_ErrorInsufficientResources;
1619 if (eRet != OMX_ErrorNone)
1638 if (secure_mode && (eRet == OMX_ErrorNone)) {
1644 return eRet;
1741 OMX_ERRORTYPE eRet = OMX_ErrorNone;
1780 eRet = OMX_ErrorSameState;
1795 eRet = OMX_ErrorIncorrectStateTransition;
1803 eRet = OMX_ErrorIncorrectStateTransition;
1810 eRet = OMX_ErrorInvalidState;
1816 eRet = OMX_ErrorBadParameter;
1854 eRet = OMX_ErrorHardware;
1863 eRet = OMX_ErrorSameState;
1871 eRet = OMX_ErrorIncorrectStateTransition;
1882 eRet = OMX_ErrorHardware;
1896 eRet = OMX_ErrorInvalidState;
1901 eRet = OMX_ErrorBadParameter;
1937 eRet = OMX_ErrorHardware;
1952 eRet = OMX_ErrorIncorrectStateTransition;
1960 eRet = OMX_ErrorIncorrectStateTransition;
1968 eRet = OMX_ErrorSameState;
1975 eRet = OMX_ErrorInvalidState;
1980 eRet = OMX_ErrorBadParameter;
1998 eRet = OMX_ErrorHardware;
2030 eRet = OMX_ErrorIncorrectStateTransition;
2038 eRet = OMX_ErrorIncorrectStateTransition;
2046 eRet = OMX_ErrorSameState;
2053 eRet = OMX_ErrorInvalidState;
2058 eRet = OMX_ErrorBadParameter;
2079 eRet = OMX_ErrorSameState;
2087 eRet = OMX_ErrorIncorrectStateTransition;
2095 eRet = OMX_ErrorIncorrectStateTransition;
2102 eRet = OMX_ErrorInvalidState;
2111 eRet = OMX_ErrorBadParameter;
2127 eRet = OMX_ErrorInvalidState;
2257 eRet = OMX_ErrorNotImplemented;
2259 if(eRet == OMX_ErrorNone && bFlag)
2268 return eRet;
2524 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2551 eRet = OMX_ErrorNoMore;
2563 eRet = OMX_ErrorNoMore;
2581 eRet = OMX_ErrorNoMore;
2588 eRet = OMX_ErrorBadPortIndex;
2590 return eRet;
2596 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2623 eRet = OMX_ErrorNoMore;
2636 eRet = OMX_ErrorNoMore;
2654 eRet = OMX_ErrorNoMore;
2672 eRet = OMX_ErrorNoMore;
2679 eRet = OMX_ErrorBadPortIndex;
2681 return eRet;
2703 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2723 eRet = update_portdef(portDefn);
2724 if (eRet == OMX_ErrorNone)
2760 eRet = OMX_ErrorNoMore;
2787 eRet = OMX_ErrorNoMore;
2795 eRet = OMX_ErrorBadPortIndex;
2829 eRet =OMX_ErrorUnsupportedIndex;
2871 eRet = OMX_ErrorBadPortIndex;
2906 eRet = get_supported_profile_level_for_720p(profileLevelType);
2909 eRet = get_supported_profile_level_for_1080p(profileLevelType);
2935 eRet = OMX_ErrorBadParameter;
2944 eRet =OMX_ErrorUnsupportedIndex;
2955 return eRet;
2962 OMX_ERRORTYPE eRet = OMX_ErrorNone;
2991 eRet = use_buffer(hComp,params->bufferHeader,params->nPortIndex,data,handle->size,buffer);
2993 eRet = OMX_ErrorBadParameter;
2995 return eRet;
3016 OMX_ERRORTYPE eRet = OMX_ErrorNone;
3051 eRet = update_color_format(portDefn->format.video.eColorFormat);
3052 if (eRet != OMX_ErrorNone) {
3062 eRet = OMX_ErrorBadParameter;
3073 eRet = OMX_ErrorBadParameter;
3078 eRet = set_buffer_req(&drv_ctx.op_buf);
3079 if (eRet == OMX_ErrorNone)
3087 eRet = OMX_ErrorBadParameter;
3153 eRet = OMX_ErrorUnsupportedSetting;
3155 eRet = get_buffer_req(&drv_ctx.op_buf);
3163 eRet = set_buffer_req(&drv_ctx.ip_buf);
3170 eRet = OMX_ErrorBadParameter;
3177 eRet = OMX_ErrorBadPortIndex;
3189 eRet = update_color_format(portFmt->eColorFormat);
3214 eRet = OMX_ErrorUnsupportedSetting;
3230 eRet = OMX_ErrorUnsupportedSetting;
3278 eRet =OMX_ErrorUnsupportedSetting;
3290 eRet = OMX_ErrorUnsupportedSetting;
3302 eRet =OMX_ErrorUnsupportedSetting;
3314 eRet = OMX_ErrorUnsupportedSetting;
3332 eRet =OMX_ErrorUnsupportedSetting;
3346 eRet =OMX_ErrorUnsupportedSetting;
3352 eRet = OMX_ErrorInvalidComponentName;
3387 eRet = OMX_ErrorBadPortIndex;
3430 eRet = OMX_ErrorBadParameter;
3437 eRet = OMX_ErrorBadParameter;
3441 if (eRet == OMX_ErrorNone && pic_order != drv_ctx.picture_order)
3450 eRet = OMX_ErrorUnsupportedSetting;
3457 eRet = enable_extradata(VDEC_EXTRADATA_MB_ERROR_MAP,
3461 eRet = OMX_ErrorUnsupportedSetting;
3467 eRet = enable_extradata(OMX_FRAMEINFO_EXTRADATA,
3471 eRet = OMX_ErrorUnsupportedSetting;
3477 eRet = enable_extradata(OMX_INTERLACE_EXTRADATA,
3481 eRet = OMX_ErrorUnsupportedSetting;
3486 eRet = enable_extradata(OMX_TIMEINFO_EXTRADATA,
3490 eRet = OMX_ErrorUnsupportedSetting;
3499 eRet = OMX_ErrorUnsupportedSetting;
3511 eRet = OMX_ErrorUnsupportedSetting;
3534 eRet = OMX_ErrorHardware;
3537 if (eRet == OMX_ErrorNone)
3547 eRet = OMX_ErrorUnsupportedSetting;
3563 eRet = enable_extradata(OMX_PORTDEF_EXTRADATA, extradataIndexType->bEnabled);
3569 eRet = OMX_ErrorHardware;
3591 eRet = use_android_native_buffer(hComp, paramData);
3609 eRet = OMX_ErrorUnsupportedSetting;
3633 eRet = OMX_ErrorBadParameter;
3639 eRet = OMX_ErrorInsufficientResources;
3650 eRet = OMX_ErrorInsufficientResources;
3652 eRet = get_buffer_req(&drv_ctx.op_buf);
3653 if (eRet != OMX_ErrorNone) {
3669 eRet = OMX_ErrorBadParameter;
3677 eRet = OMX_ErrorUnsupportedIndex;
3680 return eRet;
3701 OMX_ERRORTYPE eRet = OMX_ErrorNone;
3735 eRet = OMX_ErrorNoMore;
3743 eRet = OMX_ErrorBadPortIndex;
3798 eRet = OMX_ErrorBadParameter;
3803 return eRet;
4098 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4111 eRet = allocate_output_headers();
4116 eRet = vdec_alloc_h264_mv();
4117 if (eRet) {
4126 if (eRet == OMX_ErrorNone) {
4136 eRet = OMX_ErrorInsufficientResources;
4139 if (eRet == OMX_ErrorNone) {
4305 return eRet;
4331 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4343 eRet = OMX_ErrorInsufficientResources;
4355 eRet = allocate_input_buffer(hComp, &m_phdr_pmem_ptr[m_in_alloc_cnt], port, appData, bytes);
4367 eRet = OMX_ErrorInsufficientResources;
4369 return eRet;
4424 DEBUG_PRINT_LOW("Use Buffer: port %u, buffer %p, eRet %d", port, *bufferHdr, error);
4614 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4669 eRet = allocate_input_buffer(hComp,&m_phdr_pmem_ptr [i],port,appData,bytes);
4683 return eRet;
4710 OMX_ERRORTYPE eRet = OMX_ErrorNone;
4869 eRet = allocate_desc_buffer(i);
4875 eRet = OMX_ErrorInsufficientResources;
4877 return eRet;
4902 OMX_ERRORTYPE eRet = OMX_ErrorNone;
5038 if(eRet == OMX_ErrorNone && drv_ctx.decoder_format == VDEC_CODECTYPE_H264)
5041 eRet = vdec_alloc_h264_mv();
5042 if(eRet) {
5080 eRet = OMX_ErrorInsufficientResources;
5209 eRet = OMX_ErrorInsufficientResources;
5211 return eRet;
5237 OMX_ERRORTYPE eRet = OMX_ErrorNone; // OMX return type
5250 eRet = allocate_input_heap_buffer (hComp,bufferHdr,port,appData,bytes);
5254 eRet = allocate_input_buffer(hComp,bufferHdr,port,appData,bytes);
5259 eRet = client_buffers.allocate_buffers_color_convert(hComp,bufferHdr,port,
5265 eRet = OMX_ErrorBadPortIndex;
5268 if(eRet == OMX_ErrorNone)
5300 DEBUG_PRINT_LOW("Allocate Buffer exit with ret Code %d\n",eRet);
5301 return eRet;
5322 OMX_ERRORTYPE eRet = OMX_ErrorNone;
5398 eRet = OMX_ErrorBadPortIndex;
5431 eRet = OMX_ErrorBadPortIndex;
5448 eRet = OMX_ErrorBadPortIndex;
5450 if((eRet == OMX_ErrorNone) &&
5461 return eRet;
6198 OMX_ERRORTYPE eRet = OMX_ErrorNone;
6209 eRet = OMX_ErrorNoMore;
6221 eRet = OMX_ErrorNoMore;
6234 eRet = OMX_ErrorNoMore;
6253 eRet = OMX_ErrorNoMore;
6266 eRet = OMX_ErrorNoMore;
6281 eRet = OMX_ErrorNoMore;
6287 eRet = OMX_ErrorInvalidComponentName;
6289 return eRet;
6964 OMX_ERRORTYPE eRet = OMX_ErrorNone;
6966 eRet = omx->update_portdef(&(omx->m_port_def));
7766 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7776 eRet = OMX_ErrorInsufficientResources;
7787 eRet = OMX_ErrorHardware;
7788 return eRet;
7826 eRet = set_buffer_req(buffer_prop);
7831 return eRet;
7837 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7846 eRet = OMX_ErrorBadParameter;
7856 eRet = OMX_ErrorInsufficientResources;
7860 eRet = OMX_ErrorInsufficientResources;
7864 return eRet;
7870 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7871 eRet = update_picture_resolution();
7872 if (eRet == OMX_ErrorNone)
7878 eRet = OMX_ErrorHardware;
7889 eRet = OMX_ErrorUnsupportedSetting;
7895 eRet = get_buffer_req(&op_buf_rcnfg);
7901 eRet = OMX_ErrorInsufficientResources;
7914 return eRet;
7920 OMX_ERRORTYPE eRet = OMX_ErrorNone;
7926 eRet = OMX_ErrorHardware;
7929 return eRet;
7934 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8004 eRet = OMX_ErrorBadPortIndex;
8016 return eRet;
8022 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8154 eRet = OMX_ErrorInsufficientResources;
8157 eRet = OMX_ErrorInsufficientResources;
8159 return eRet;
8741 OMX_ERRORTYPE eRet = OMX_ErrorNone;
8766 return eRet;
9364 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9366 eRet = omx->allocate_output_buffer(hComp,bufferHdr,port,appData,bytes);
9367 return eRet;
9385 eRet = omx->allocate_output_buffer(hComp,&temp_bufferHdr,
9387 if (eRet != OMX_ErrorNone || !temp_bufferHdr){
9389 return eRet;
9439 return eRet;
9446 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9473 eRet = omx->allocate_output_buffer(hComp, &temp_bufferHdr,
9475 if (eRet != OMX_ErrorNone || !temp_bufferHdr){
9477 return eRet;
9518 return eRet;
9592 OMX_ERRORTYPE eRet = OMX_ErrorNone;
9600 eRet = OMX_ErrorBadParameter;
9602 if(eRet == OMX_ErrorNone && drv_ctx.output_format != op_format) {
9611 eRet = OMX_ErrorUnsupportedSetting;
9614 eRet = get_buffer_req(&drv_ctx.op_buf);
9616 if (eRet == OMX_ErrorNone){
9619 eRet = OMX_ErrorBadParameter;
9624 eRet = OMX_ErrorBadParameter;
9626 return eRet;