Lines Matching refs:profileLevelType
4152 OMX_ERRORTYPE omx_video::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
4155 if(!profileLevelType)
4158 if(profileLevelType->nPortIndex == 1) {
4161 if (profileLevelType->nProfileIndex == 0)
4163 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4164 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4166 else if (profileLevelType->nProfileIndex == 1)
4168 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4169 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4171 else if(profileLevelType->nProfileIndex == 2)
4173 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4174 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4179 profileLevelType->nProfileIndex);
4185 if (profileLevelType->nProfileIndex == 0)
4187 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
4188 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
4192 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d\n", profileLevelType->nProfileIndex);
4198 if (profileLevelType->nProfileIndex == 0)
4200 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
4201 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4203 else if(profileLevelType->nProfileIndex == 1)
4205 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
4206 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4210 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d\n", profileLevelType->nProfileIndex);
4217 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queries on Input port only %d\n", profileLevelType->nPortIndex);
4221 profileLevelType->eProfile,profileLevelType->eLevel);
4227 OMX_ERRORTYPE omx_video::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
4230 if(!profileLevelType)
4233 if(profileLevelType->nPortIndex == 1) {
4236 if (profileLevelType->nProfileIndex == 0)
4238 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4239 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4242 else if (profileLevelType->nProfileIndex == 1)
4244 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4245 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4247 else if(profileLevelType->nProfileIndex == 2)
4249 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4250 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4255 profileLevelType->nProfileIndex);
4261 if (profileLevelType->nProfileIndex == 0)
4263 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
4264 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
4268 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d\n", profileLevelType->nProfileIndex);
4274 if (profileLevelType->nProfileIndex == 0)
4276 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
4277 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4279 else if(profileLevelType->nProfileIndex == 1)
4281 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
4282 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4286 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d\n", profileLevelType->nProfileIndex);
4293 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queries on Input port only %d\n", profileLevelType->nPortIndex);
4297 profileLevelType->eProfile,profileLevelType->eLevel);