Lines Matching refs:profileLevelType
3329 OMX_ERRORTYPE omx_vdec::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
3332 if (!profileLevelType)
3335 if (profileLevelType->nPortIndex == 0) {
3337 profileLevelType->eLevel = OMX_VIDEO_AVCLevel51;
3338 if (profileLevelType->nProfileIndex == 0) {
3339 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
3340 } else if (profileLevelType->nProfileIndex == 1) {
3341 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
3342 } else if (profileLevelType->nProfileIndex == 2) {
3343 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
3344 } else if (profileLevelType->nProfileIndex == 3) {
3345 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedBaseline;
3346 } else if (profileLevelType->nProfileIndex == 4) {
3347 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedBaseline;
3348 } else if (profileLevelType->nProfileIndex == 5) {
3349 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedHigh;
3350 } else if (profileLevelType->nProfileIndex == 6) {
3351 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedHigh;
3354 (unsigned int)profileLevelType->nProfileIndex);
3358 if (profileLevelType->nProfileIndex == 0) {
3359 profileLevelType->eProfile = QOMX_VIDEO_MVCProfileStereoHigh;
3360 profileLevelType->eLevel = QOMX_VIDEO_MVCLevel51;
3363 (unsigned int)profileLevelType->nProfileIndex);
3367 if (profileLevelType->nProfileIndex == 0) {
3368 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain;
3369 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel51;
3370 } else if (profileLevelType->nProfileIndex == 1) {
3371 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain10;
3372 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel51;
3373 } else if (profileLevelType->nProfileIndex == 2) {
3374 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain10HDR10;
3375 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel51;
3378 (unsigned int)profileLevelType->nProfileIndex);
3385 if (profileLevelType->nProfileIndex == 0) {
3386 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileSimple;
3387 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
3388 } else if (profileLevelType->nProfileIndex == 1) {
3389 profileLevelType->eProfile = OMX_VIDEO_MPEG2ProfileMain;
3390 profileLevelType->eLevel = OMX_VIDEO_MPEG2LevelHL;
3393 (unsigned int)profileLevelType->nProfileIndex);
3402 (unsigned int)profileLevelType->nPortIndex);
3606 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType =
3608 eRet = get_supported_profile_level(profileLevelType);