Lines Matching refs:profileLevelType
2356 OMX_ERRORTYPE omx_vdec::get_supported_profile_level_for_1080p(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
2359 if (!profileLevelType)
2362 if (profileLevelType->nPortIndex == 0) {
2364 if (profileLevelType->nProfileIndex == 0) {
2365 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
2366 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
2368 } else if (profileLevelType->nProfileIndex == 1) {
2369 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
2370 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
2371 } else if (profileLevelType->nProfileIndex == 2) {
2372 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
2373 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
2376 profileLevelType->nProfileIndex);
2383 profileLevelType->nProfileIndex);
2387 if (profileLevelType->nProfileIndex == 0) {
2388 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
2389 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
2391 DEBUG_PRINT_LOW("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %lu", profileLevelType->nProfileIndex);
2395 if (profileLevelType->nProfileIndex == 0) {
2396 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
2397 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
2398 } else if (profileLevelType->nProfileIndex == 1) {
2399 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
2400 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
2402 DEBUG_PRINT_LOW("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %lu", profileLevelType->nProfileIndex);
2408 if (profileLevelType->nProfileIndex == 0) {
2409 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileSimple;
2410 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
2411 } else if (profileLevelType->nProfileIndex == 1) {
2412 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileMain;
2413 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
2415 DEBUG_PRINT_LOW("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %lu", profileLevelType->nProfileIndex);
2420 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queries on Input port only %lu", profileLevelType->nPortIndex);
2621 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType =
2623 eRet = get_supported_profile_level_for_1080p(profileLevelType);