Lines Matching refs:profileLevelType
3593 OMX_ERRORTYPE omx_vdec::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
3596 if (!profileLevelType)
3599 if (profileLevelType->nPortIndex == 0) {
3601 profileLevelType->eLevel = OMX_VIDEO_AVCLevel51;
3602 if (profileLevelType->nProfileIndex == 0) {
3603 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
3604 } else if (profileLevelType->nProfileIndex == 1) {
3605 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
3606 } else if (profileLevelType->nProfileIndex == 2) {
3607 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
3608 } else if (profileLevelType->nProfileIndex == 3) {
3609 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedBaseline;
3610 } else if (profileLevelType->nProfileIndex == 4) {
3611 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedBaseline;
3612 } else if (profileLevelType->nProfileIndex == 5) {
3613 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedHigh;
3614 } else if (profileLevelType->nProfileIndex == 6) {
3615 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedHigh;
3618 (unsigned int)profileLevelType->nProfileIndex);
3622 if (profileLevelType->nProfileIndex == 0) {
3623 profileLevelType->eProfile = QOMX_VIDEO_MVCProfileStereoHigh;
3624 profileLevelType->eLevel = QOMX_VIDEO_MVCLevel51;
3627 (unsigned int)profileLevelType->nProfileIndex);
3631 if (profileLevelType->nProfileIndex == 0) {
3632 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain;
3633 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel51;
3634 } else if (profileLevelType->nProfileIndex == 1) {
3635 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain10;
3636 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel51;
3637 } else if (profileLevelType->nProfileIndex == 2) {
3638 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain10HDR10;
3639 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel51;
3642 (unsigned int)profileLevelType->nProfileIndex);
3646 if (profileLevelType->nProfileIndex == 0) {
3647 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
3648 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
3651 (unsigned int)profileLevelType->nProfileIndex);
3655 if (profileLevelType->nProfileIndex == 0) {
3656 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
3657 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
3658 } else if (profileLevelType->nProfileIndex == 1) {
3659 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
3660 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
3663 (unsigned int)profileLevelType->nProfileIndex);
3670 profileLevelType->nProfileIndex == 0) {
3671 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileSimple;
3672 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
3673 } else if (profileLevelType->nProfileIndex == 1) {
3674 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileMain;
3675 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
3678 (unsigned int)profileLevelType->nProfileIndex);
3687 (unsigned int)profileLevelType->nPortIndex);
3901 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType =
3903 eRet = get_supported_profile_level(profileLevelType);