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()
116 ProfileLevel profileLevel; in addProfileLevel() local
117 profileLevel.mProfile = profile; in addProfileLevel()
118 profileLevel.mLevel = level; in addProfileLevel()
119 if (mCap->mProfileLevelsSorted.indexOf(profileLevel) < 0) { in addProfileLevel()
120 mCap->mProfileLevels.push_back(profileLevel); in addProfileLevel()
121 mCap->mProfileLevelsSorted.add(profileLevel); in addProfileLevel()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2063 for (CodecProfileLevel profileLevel: profileLevels) { in applyLevelLimits()
2066 switch (profileLevel.level) { in applyLevelLimits()
2103 + profileLevel.level + " for " + mime); in applyLevelLimits()
2106 switch (profileLevel.profile) { in applyLevelLimits()
2116 + profileLevel.profile + " for " + mime); in applyLevelLimits()
2126 + profileLevel.profile + " for " + mime); in applyLevelLimits()
2150 for (CodecProfileLevel profileLevel: profileLevels) { in applyLevelLimits()
2153 switch (profileLevel.profile) { in applyLevelLimits()
2155 switch (profileLevel.level) { in applyLevelLimits()
2160 + profileLevel.profile + "/" in applyLevelLimits()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp384 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevel = in internalGetParameter() local
387 if (!isValidOMXParam(profileLevel)) { in internalGetParameter()
391 if (profileLevel->nPortIndex != kInputPortIndex) { in internalGetParameter()
392 ALOGE("Invalid port index: %" PRIu32, profileLevel->nPortIndex); in internalGetParameter()
396 if (profileLevel->nProfileIndex >= mNumProfileLevels) { in internalGetParameter()
400 profileLevel->eProfile = mProfileLevels[profileLevel->nProfileIndex].mProfile; in internalGetParameter()
401 profileLevel->eLevel = mProfileLevels[profileLevel->nProfileIndex].mLevel; in internalGetParameter()
DSoftVideoEncoderOMXComponent.cpp352 OMX_VIDEO_PARAM_PROFILELEVELTYPE *profileLevel = in internalGetParameter() local
355 if (!isValidOMXParam(profileLevel)) { in internalGetParameter()
359 if (profileLevel->nPortIndex != kOutputPortIndex) { in internalGetParameter()
360 ALOGE("Invalid port index: %u", profileLevel->nPortIndex); in internalGetParameter()
364 if (profileLevel->nProfileIndex >= mNumProfileLevels) { in internalGetParameter()
368 profileLevel->eProfile = mProfileLevels[profileLevel->nProfileIndex].mProfile; in internalGetParameter()
369 profileLevel->eLevel = mProfileLevels[profileLevel->nProfileIndex].mLevel; in internalGetParameter()
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp98 MediaCodecInfo::ProfileLevel profileLevel = profileLevels.itemAt(i); in android_videoCodec_expose()
99 if (profileLevel.mProfile == XA_VIDEOPROFILE_AVC_BASELINE) { in android_videoCodec_expose()
/frameworks/av/media/libstagefright/
DUtils.cpp376 std::pair<OMX_VIDEO_MPEG2PROFILETYPE, OMX_VIDEO_MPEG2LEVELTYPE> profileLevel; in parseMpeg2ProfileLevelFromHeader() local
377 if (escapes.map(indication, &profileLevel)) { in parseMpeg2ProfileLevelFromHeader()
378 format->setInt32("profile", profileLevel.first); in parseMpeg2ProfileLevelFromHeader()
379 format->setInt32("level", profileLevel.second); in parseMpeg2ProfileLevelFromHeader()
492 std::pair<OMX_VIDEO_MPEG4PROFILETYPE, OMX_VIDEO_MPEG4LEVELTYPE> profileLevel; in parseMpeg4ProfileLevelFromCsd() local
493 if (table.map(indication, &profileLevel)) { in parseMpeg4ProfileLevelFromCsd()
494 format->setInt32("profile", profileLevel.first); in parseMpeg4ProfileLevelFromCsd()
495 format->setInt32("level", profileLevel.second); in parseMpeg4ProfileLevelFromCsd()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp675 const MediaCodecInfo::ProfileLevel &profileLevel = profileLevels[j]; in dumpCodecProfiles() local
678 profileLevel.mProfile, profileLevel.mLevel); in dumpCodecProfiles()