Lines Matching refs:profileLevelType
4552 OMX_ERRORTYPE omx_video::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
4555 if (!profileLevelType)
4558 if (profileLevelType->nPortIndex == 1) {
4560 if (profileLevelType->nProfileIndex == 0) {
4561 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4562 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4563 } else if (profileLevelType->nProfileIndex == 1) {
4564 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4565 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4566 } else if (profileLevelType->nProfileIndex == 2) {
4567 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4568 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4571 (int)profileLevelType->nProfileIndex);
4575 if (profileLevelType->nProfileIndex == 0) {
4576 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
4577 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
4579 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d", (int)profileLevelType->nProfileIndex);
4583 if (profileLevelType->nProfileIndex == 0) {
4584 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
4585 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4586 } else if (profileLevelType->nProfileIndex == 1) {
4587 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
4588 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4590 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d", (int)profileLevelType->nProfileIndex);
4595 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queried on Input port only %d", (int)profileLevelType->nPortIndex);
4599 (int)profileLevelType->eProfile, (int)profileLevelType->eLevel);
4605 OMX_ERRORTYPE omx_video::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
4608 if (!profileLevelType)
4611 if (profileLevelType->nPortIndex == 1) {
4614 if (profileLevelType->nProfileIndex == 0) {
4615 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4616 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4617 } else if (profileLevelType->nProfileIndex == 1) {
4618 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4619 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4620 } else if (profileLevelType->nProfileIndex == 2) {
4621 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4622 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4623 } else if (profileLevelType->nProfileIndex == 3) {
4624 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedBaseline;
4625 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4626 } else if (profileLevelType->nProfileIndex == 4) {
4627 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedBaseline;
4628 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4629 } else if (profileLevelType->nProfileIndex == 5) {
4630 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedHigh;
4631 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4632 } else if (profileLevelType->nProfileIndex == 6) {
4633 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedHigh;
4634 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4637 (unsigned int)profileLevelType->nProfileIndex);
4641 if (profileLevelType->nProfileIndex == 0) {
4642 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4643 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4645 } else if (profileLevelType->nProfileIndex == 1) {
4646 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4647 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4648 } else if (profileLevelType->nProfileIndex == 2) {
4649 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4650 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4652 } else if (profileLevelType->nProfileIndex == 3) {
4653 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedBaseline;
4654 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4655 } else if (profileLevelType->nProfileIndex == 4) {
4656 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedBaseline;
4657 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4661 (int)profileLevelType->nProfileIndex);
4666 if (profileLevelType->nProfileIndex == 0) {
4667 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
4668 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
4670 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %u", (unsigned int)profileLevelType->nProfileIndex);
4674 if (profileLevelType->nProfileIndex == 0) {
4675 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
4676 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4677 } else if (profileLevelType->nProfileIndex == 1) {
4678 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
4679 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4681 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %u", (unsigned int)profileLevelType->nProfileIndex);
4685 if (profileLevelType->nProfileIndex == 0) {
4686 profileLevelType->eProfile = OMX_VIDEO_VP8ProfileMain;
4687 profileLevelType->eLevel = OMX_VIDEO_VP8Level_Version0;
4688 } else if (profileLevelType->nProfileIndex == 1) {
4689 profileLevelType->eProfile = OMX_VIDEO_VP8ProfileMain;
4690 profileLevelType->eLevel = OMX_VIDEO_VP8Level_Version1;
4693 (unsigned int)profileLevelType->nProfileIndex);
4697 if (profileLevelType->nProfileIndex == 0) {
4698 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain;
4699 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel52;
4700 } else if (profileLevelType->nProfileIndex == 1) {
4701 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain10;
4702 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel52;
4705 (unsigned int)profileLevelType->nProfileIndex);
4713 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queried on Input port only %u", (unsigned int)profileLevelType->nPortIndex);
4717 (unsigned int)profileLevelType->eProfile, (unsigned int)profileLevelType->eLevel);