Home
last modified time | relevance | path

Searched refs:profileLevel (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp62 ProfileLevel profileLevel; in FromParcel() local
63 profileLevel.mProfile = static_cast<uint32_t>(parcel.readInt32()); in FromParcel()
64 profileLevel.mLevel = static_cast<uint32_t>(parcel.readInt32()); in FromParcel()
66 caps->mProfileLevels.push_back(profileLevel); in FromParcel()
105 ProfileLevel profileLevel; in addProfileLevel() local
106 profileLevel.mProfile = profile; in addProfileLevel()
107 profileLevel.mLevel = level; in addProfileLevel()
108 mProfileLevels.push_back(profileLevel); in addProfileLevel()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2054 for (CodecProfileLevel profileLevel: profileLevels) { in applyLevelLimits()
2057 switch (profileLevel.level) { in applyLevelLimits()
2094 + profileLevel.level + " for " + mime); in applyLevelLimits()
2097 switch (profileLevel.profile) { in applyLevelLimits()
2106 + profileLevel.profile + " for " + mime); in applyLevelLimits()
2115 + profileLevel.profile + " for " + mime); in applyLevelLimits()
2139 for (CodecProfileLevel profileLevel: profileLevels) { in applyLevelLimits()
2142 switch (profileLevel.profile) { in applyLevelLimits()
2144 switch (profileLevel.level) { in applyLevelLimits()
2149 + profileLevel.profile + "/" in applyLevelLimits()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp371 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevel = in internalGetParameter() local
374 if (!isValidOMXParam(profileLevel)) { in internalGetParameter()
378 if (profileLevel->nPortIndex != kInputPortIndex) { in internalGetParameter()
379 ALOGE("Invalid port index: %" PRIu32, profileLevel->nPortIndex); in internalGetParameter()
383 if (profileLevel->nProfileIndex >= mNumProfileLevels) { in internalGetParameter()
387 profileLevel->eProfile = mProfileLevels[profileLevel->nProfileIndex].mProfile; in internalGetParameter()
388 profileLevel->eLevel = mProfileLevels[profileLevel->nProfileIndex].mLevel; in internalGetParameter()
DSoftVideoEncoderOMXComponent.cpp353 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevel = in internalGetParameter() local
356 if (!isValidOMXParam(profileLevel)) { in internalGetParameter()
360 if (profileLevel->nPortIndex != kOutputPortIndex) { in internalGetParameter()
361 ALOGE("Invalid port index: %u", profileLevel->nPortIndex); in internalGetParameter()
365 if (profileLevel->nProfileIndex >= mNumProfileLevels) { in internalGetParameter()
369 profileLevel->eProfile = mProfileLevels[profileLevel->nProfileIndex].mProfile; in internalGetParameter()
370 profileLevel->eLevel = mProfileLevels[profileLevel->nProfileIndex].mLevel; in internalGetParameter()
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp97 MediaCodecInfo::ProfileLevel profileLevel = profileLevels.itemAt(i); in android_videoCodec_expose()
98 if (profileLevel.mProfile == XA_VIDEOPROFILE_AVC_BASELINE) { in android_videoCodec_expose()
/frameworks/av/media/libstagefright/
DUtils.cpp400 std::pair<OMX_VIDEO_MPEG2PROFILETYPE, OMX_VIDEO_MPEG2LEVELTYPE> profileLevel; in parseMpeg2ProfileLevelFromHeader() local
401 if (escapes.map(indication, &profileLevel)) { in parseMpeg2ProfileLevelFromHeader()
402 format->setInt32("profile", profileLevel.first); in parseMpeg2ProfileLevelFromHeader()
403 format->setInt32("level", profileLevel.second); in parseMpeg2ProfileLevelFromHeader()
516 std::pair<OMX_VIDEO_MPEG4PROFILETYPE, OMX_VIDEO_MPEG4LEVELTYPE> profileLevel; in parseMpeg4ProfileLevelFromCsd() local
517 if (table.map(indication, &profileLevel)) { in parseMpeg4ProfileLevelFromCsd()
518 format->setInt32("profile", profileLevel.first); in parseMpeg4ProfileLevelFromCsd()
519 format->setInt32("level", profileLevel.second); in parseMpeg4ProfileLevelFromCsd()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp669 const MediaCodecInfo::ProfileLevel &profileLevel = profileLevels[j]; in dumpCodecProfiles() local
672 profileLevel.mProfile, profileLevel.mLevel); in dumpCodecProfiles()