Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp67 ProfileLevel profileLevel; in FromParcel() local
68 profileLevel.mProfile = static_cast<uint32_t>(parcel.readInt32()); in FromParcel()
69 profileLevel.mLevel = static_cast<uint32_t>(parcel.readInt32()); in FromParcel()
71 caps->mProfileLevels.push_back(profileLevel); in FromParcel()
126 ProfileLevel profileLevel; in addProfileLevel() local
127 profileLevel.mProfile = profile; in addProfileLevel()
128 profileLevel.mLevel = level; in addProfileLevel()
129 if (mCap->mProfileLevelsSorted.indexOf(profileLevel) < 0) { in addProfileLevel()
130 mCap->mProfileLevels.push_back(profileLevel); in addProfileLevel()
131 mCap->mProfileLevelsSorted.add(profileLevel); in addProfileLevel()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1643 for (CodecProfileLevel profileLevel: profileLevels) { in applyLevelLimits()
1644 switch (profileLevel.profile) { in applyLevelLimits()
1656 + profileLevel.profile + " for " + mime); in applyLevelLimits()
1664 for (CodecProfileLevel profileLevel: profileLevels) { in applyLevelLimits()
1665 switch (profileLevel.profile) { in applyLevelLimits()
1678 + profileLevel.profile + " for " + mime); in applyLevelLimits()
3133 for (CodecProfileLevel profileLevel: profileLevels) {
3136 switch (profileLevel.level) {
3179 + profileLevel.level + " for " + mime);
3182 switch (profileLevel.profile) {
[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/libmedia/tests/codeclist/
DCodecListTest.cpp152 for (auto profileLevel : profileLevels) { in TEST() local
153 ALOGV("profile: %d, level: %d", profileLevel.mProfile, profileLevel.mLevel); in TEST()
/frameworks/av/media/libstagefright/
DUtils.cpp471 std::pair<int32_t, int32_t> profileLevel; in parseMpeg2ProfileLevelFromHeader() local
472 if (escapes.map(indication, &profileLevel)) { in parseMpeg2ProfileLevelFromHeader()
473 format->setInt32("profile", profileLevel.first); in parseMpeg2ProfileLevelFromHeader()
474 format->setInt32("level", profileLevel.second); in parseMpeg2ProfileLevelFromHeader()
587 std::pair<int32_t, int32_t> profileLevel; in parseMpeg4ProfileLevelFromCsd() local
588 if (table.map(indication, &profileLevel)) { in parseMpeg4ProfileLevelFromCsd()
589 format->setInt32("profile", profileLevel.first); in parseMpeg4ProfileLevelFromCsd()
590 format->setInt32("level", profileLevel.second); in parseMpeg4ProfileLevelFromCsd()