Lines Matching refs:profileLevelType
4225 OMX_ERRORTYPE omx_video::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
4228 if (!profileLevelType)
4231 if (profileLevelType->nPortIndex == 1) {
4233 if (profileLevelType->nProfileIndex == 0) {
4234 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4235 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4236 } else if (profileLevelType->nProfileIndex == 1) {
4237 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4238 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4239 } else if (profileLevelType->nProfileIndex == 2) {
4240 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4241 profileLevelType->eLevel = OMX_VIDEO_AVCLevel31;
4244 (int)profileLevelType->nProfileIndex);
4248 if (profileLevelType->nProfileIndex == 0) {
4249 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
4250 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
4252 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d", (int)profileLevelType->nProfileIndex);
4256 if (profileLevelType->nProfileIndex == 0) {
4257 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
4258 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4259 } else if (profileLevelType->nProfileIndex == 1) {
4260 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
4261 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4263 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %d", (int)profileLevelType->nProfileIndex);
4268 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queried on Input port only %d", (int)profileLevelType->nPortIndex);
4272 (int)profileLevelType->eProfile, (int)profileLevelType->eLevel);
4278 OMX_ERRORTYPE omx_video::get_supported_profile_level(OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevelType)
4281 if (!profileLevelType)
4284 if (profileLevelType->nPortIndex == 1) {
4287 if (profileLevelType->nProfileIndex == 0) {
4288 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4289 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4290 } else if (profileLevelType->nProfileIndex == 1) {
4291 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4292 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4293 } else if (profileLevelType->nProfileIndex == 2) {
4294 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4295 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4296 } else if (profileLevelType->nProfileIndex == 3) {
4297 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedBaseline;
4298 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4299 } else if (profileLevelType->nProfileIndex == 4) {
4300 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedBaseline;
4301 profileLevelType->eLevel = OMX_VIDEO_AVCLevel52;
4304 (unsigned int)profileLevelType->nProfileIndex);
4308 if (profileLevelType->nProfileIndex == 0) {
4309 profileLevelType->eProfile = OMX_VIDEO_AVCProfileBaseline;
4310 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4312 } else if (profileLevelType->nProfileIndex == 1) {
4313 profileLevelType->eProfile = OMX_VIDEO_AVCProfileMain;
4314 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4315 } else if (profileLevelType->nProfileIndex == 2) {
4316 profileLevelType->eProfile = OMX_VIDEO_AVCProfileHigh;
4317 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4319 } else if (profileLevelType->nProfileIndex == 3) {
4320 profileLevelType->eProfile = OMX_VIDEO_AVCProfileConstrainedBaseline;
4321 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4322 } else if (profileLevelType->nProfileIndex == 4) {
4323 profileLevelType->eProfile = QOMX_VIDEO_AVCProfileConstrainedBaseline;
4324 profileLevelType->eLevel = OMX_VIDEO_AVCLevel4;
4328 (int)profileLevelType->nProfileIndex);
4333 if (profileLevelType->nProfileIndex == 0) {
4334 profileLevelType->eProfile = OMX_VIDEO_H263ProfileBaseline;
4335 profileLevelType->eLevel = OMX_VIDEO_H263Level70;
4337 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %u", (unsigned int)profileLevelType->nProfileIndex);
4341 if (profileLevelType->nProfileIndex == 0) {
4342 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileSimple;
4343 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4344 } else if (profileLevelType->nProfileIndex == 1) {
4345 profileLevelType->eProfile = OMX_VIDEO_MPEG4ProfileAdvancedSimple;
4346 profileLevelType->eLevel = OMX_VIDEO_MPEG4Level5;
4348 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported nProfileIndex ret NoMore %u", (unsigned int)profileLevelType->nProfileIndex);
4352 if (profileLevelType->nProfileIndex == 0) {
4353 profileLevelType->eProfile = OMX_VIDEO_VP8ProfileMain;
4354 profileLevelType->eLevel = OMX_VIDEO_VP8Level_Version0;
4355 } else if (profileLevelType->nProfileIndex == 1) {
4356 profileLevelType->eProfile = OMX_VIDEO_VP8ProfileMain;
4357 profileLevelType->eLevel = OMX_VIDEO_VP8Level_Version1;
4360 (unsigned int)profileLevelType->nProfileIndex);
4364 if (profileLevelType->nProfileIndex == 0) {
4365 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain;
4366 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel52;
4367 } else if (profileLevelType->nProfileIndex == 1) {
4368 profileLevelType->eProfile = OMX_VIDEO_HEVCProfileMain10;
4369 profileLevelType->eLevel = OMX_VIDEO_HEVCMainTierLevel52;
4372 (unsigned int)profileLevelType->nProfileIndex);
4380 DEBUG_PRINT_ERROR("get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported should be queried on Input port only %u", (unsigned int)profileLevelType->nPortIndex);
4384 (unsigned int)profileLevelType->eProfile, (unsigned int)profileLevelType->eLevel);