Lines Matching refs:profileLevelType
2437 OMX_ERRORTYPE omx_vdec::get_supported_profile_level_for_1080p(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
2440 if(!profileLevelType)
2443 if(profileLevelType->nPortIndex == 0) {
2446 if (profileLevelType->nProfileIndex == 0)
2448 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
2449 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
2452 else if (profileLevelType->nProfileIndex == 1)
2454 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
2455 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
2457 else if(profileLevelType->nProfileIndex == 2)
2459 profileLevelType
2460 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
2465 profileLevelType->nProfileIndex);
2471 if (profileLevelType->nProfileIndex == 0)
2473 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
2474 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
2478 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d\n", profileLevelType->nProfileIndex);
2484 if (profileLevelType->nProfileIndex == 0)
2486 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
2487 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
2489 else if(profileLevelType->nProfileIndex == 1)
2491 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
2492 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
2496 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d\n", profileLevelType->nProfileIndex);
2502 if (profileLevelType->nProfileIndex == 0)
2504 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileSimple;
2505 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
2507 else if(profileLevelType->nProfileIndex == 1)
2509 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileMain;
2510 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
2514 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d\n", profileLevelType->nProfileIndex);
2521 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queries on Input port only %d\n", profileLevelType->nPortIndex);
2732 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType =
2734 eRet = get_supported_profile_level_for_1080p(profileLevelType);