Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp66 ProfileLevel profileLevel; in FromParcel() local
67 profileLevel.mProfile = static_cast<uint32_t>(parcel.readInt32()); in FromParcel()
68 profileLevel.mLevel = static_cast<uint32_t>(parcel.readInt32()); in FromParcel()
70 caps->mProfileLevels.push_back(profileLevel); in FromParcel()
125 ProfileLevel profileLevel; in addProfileLevel() local
126 profileLevel.mProfile = profile; in addProfileLevel()
127 profileLevel.mLevel = level; in addProfileLevel()
128 if (mCap->mProfileLevelsSorted.indexOf(profileLevel) < 0) { in addProfileLevel()
129 mCap->mProfileLevels.push_back(profileLevel); in addProfileLevel()
130 mCap->mProfileLevelsSorted.add(profileLevel); in addProfileLevel()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2572 for (CodecProfileLevel profileLevel: profileLevels) {
2575 switch (profileLevel.level) {
2618 + profileLevel.level + " for " + mime);
2621 switch (profileLevel.profile) {
2631 + profileLevel.profile + " for " + mime);
2641 + profileLevel.profile + " for " + mime);
2665 for (CodecProfileLevel profileLevel: profileLevels) {
2668 switch (profileLevel.profile) {
2670 switch (profileLevel.level) {
2675 + profileLevel.profile + "/"
[all …]
/frameworks/av/media/libstagefright/omx/
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()
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()
/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.cpp382 std::pair<OMX_VIDEO_MPEG2PROFILETYPE, OMX_VIDEO_MPEG2LEVELTYPE> profileLevel; in parseMpeg2ProfileLevelFromHeader() local
383 if (escapes.map(indication, &profileLevel)) { in parseMpeg2ProfileLevelFromHeader()
384 format->setInt32("profile", profileLevel.first); in parseMpeg2ProfileLevelFromHeader()
385 format->setInt32("level", profileLevel.second); in parseMpeg2ProfileLevelFromHeader()
498 std::pair<OMX_VIDEO_MPEG4PROFILETYPE, OMX_VIDEO_MPEG4LEVELTYPE> profileLevel; in parseMpeg4ProfileLevelFromCsd() local
499 if (table.map(indication, &profileLevel)) { in parseMpeg4ProfileLevelFromCsd()
500 format->setInt32("profile", profileLevel.first); in parseMpeg4ProfileLevelFromCsd()
501 format->setInt32("level", profileLevel.second); in parseMpeg4ProfileLevelFromCsd()