Home
last modified time | relevance | path

Searched refs:mPrimaries (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/colorutils/
DColorUtilsTest.cpp58 mPrimaries = GetParam().first; in ColorStandardTest()
62 CA::Primaries mPrimaries; member in ColorStandardTest
74 mPrimaries = std::get<0>(GetParam()); in IsoToPlatformAspectsTest()
81 CA::Primaries mPrimaries; member in IsoToPlatformAspectsTest
96 mPrimaries = std::get<0>(GetParam()); in ColorAspectsTest()
103 CA::Primaries mPrimaries; member in ColorAspectsTest
119 mPrimaries = std::get<2>(GetParam()); in DefaultColorAspectsTest()
125 CA::Primaries mPrimaries; member in DefaultColorAspectsTest
139 mPrimaries = std::get<1>(GetParam()); in DataSpaceTest()
147 CA::Primaries mPrimaries; member in DataSpaceTest
[all …]
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp235 standard, &aspects.mPrimaries, &aspects.mMatrixCoeffs); in convertPlatformColorAspectsToCodecAspects()
244 *standard = wrapColorAspectsIntoColorStandard(aspects.mPrimaries, aspects.mMatrixCoeffs); in convertCodecColorAspectsToPlatformAspects()
246 if (isValid(aspects.mRange) && isValid(aspects.mPrimaries) in convertCodecColorAspectsToPlatformAspects()
315 if (aspects.mPrimaries == ColorAspects::PrimariesOther || in convertCodecColorAspectsToIsoAspects()
316 !sIsoPrimaries.map(aspects.mPrimaries, primaries)) { in convertCodecColorAspectsToIsoAspects()
334 if (!sIsoPrimaries.map(primaries, &aspects.mPrimaries)) { in convertIsoColorAspectsToCodecAspects()
335 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in convertIsoColorAspectsToCodecAspects()
358 aspects.mPrimaries = (ColorAspects::Primaries)((packed >> 16) & 0xFF); in unpackToColorAspects()
367 return (aspects.mRange << 24) | (aspects.mPrimaries << 16) in packToU32()
398 if (aspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in setDefaultCodecColorAspectsIfNeeded()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp265 colorAspects.mPrimaries, asString(colorAspects.mPrimaries), in dumpColorAspects()
273 || a.mPrimaries != b.mPrimaries in colorAspectsDiffer()
287 newAspects.mPrimaries = preferredAspects.mPrimaries != ColorAspects::PrimariesUnspecified ? in updateFinalColorAspects()
288 preferredAspects.mPrimaries : otherAspects.mPrimaries; in updateFinalColorAspects()
DOMXNodeInstance.cpp2170 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in handleDataSpaceChanged()
2196 aspects.mPrimaries, asString(aspects.mPrimaries), in handleDataSpaceChanged()
/frameworks/native/libs/ui/
DColorSpace.cpp112 , mPrimaries(computePrimaries(rgbToXYZ)) in ColorSpace()
128 , mPrimaries(computePrimaries(rgbToXYZ)) in ColorSpace()
144 , mPrimaries(computePrimaries(rgbToXYZ))
161 , mPrimaries(primaries) in ColorSpace()
178 , mPrimaries(primaries) in ColorSpace()
195 , mPrimaries(primaries)
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h208 return mPrimaries; in getPrimaries()
274 std::array<float2, 3> mPrimaries; variable
/frameworks/native/libs/ui/include/ui/
DColorSpace.h208 return mPrimaries; in getPrimaries()
274 std::array<float2, 3> mPrimaries; variable
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java2336 @NonNull private final float[] mPrimaries; field in ColorSpace.Rgb
2766 mPrimaries = xyPrimaries(primaries); in Rgb()
2769 mTransform = computeXYZMatrix(mPrimaries, mWhitePoint); in Rgb()
2793 mIsWideGamut = isWideGamut(mPrimaries, min, max); in Rgb()
2794 mIsSrgb = isSrgb(mPrimaries, mWhitePoint, oetf, eotf, min, max, id); in Rgb()
2832 this(colorSpace.getName(), colorSpace.mPrimaries, whitePoint, transform, in Rgb()
2890 System.arraycopy(mPrimaries, 0, primaries, 0, mPrimaries.length); in getPrimaries()
2907 return Arrays.copyOf(mPrimaries, mPrimaries.length); in getPrimaries()
3215 if (!Arrays.equals(mPrimaries, rgb.mPrimaries)) return false; in equals()
3230 result = 31 * result + Arrays.hashCode(mPrimaries); in hashCode()
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h180 Primaries mPrimaries; // IN/OUT member
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp383 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in VideoTrackEntry()
387 bool havePrimaries = meta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries); in VideoTrackEntry()
/frameworks/av/media/libstagefright/
DUtils.cpp92 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects()
1246 if (aspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in convertMetaDataToMessage()
1250 aspects.mPrimaries = static_cast<ColorAspects::Primaries>(primaries); in convertMetaDataToMessage()
1588 if (colorAspects.mPrimaries != 0) { in convertMessageToMetaDataColorAspects()
1589 meta->setInt32(kKeyColorPrimaries, colorAspects.mPrimaries); in convertMessageToMetaDataColorAspects()
DACodec.cpp3522 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in setCodecColorAspects()
3567 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getCodecColorAspects()
3618 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getDataSpace()
5551 aspects.mPrimaries, asString(aspects.mPrimaries), in onDataSpaceChanged()
DMPEG4Writer.cpp3838 if (mMeta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries) in writeColrBox()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp1372 colorAspects.mPrimaries, asString(colorAspects.mPrimaries), in setColorAspects()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp925 if (!sColorPrimariesSf.map(primaries, &aspects.mPrimaries)) { in map()
926 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in map()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h369 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h511 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1216 || aspects.mPrimaries != origAspects.mPrimaries in getSdkFormatForDomain()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp598 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp601 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp665 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt19282 Landroid/graphics/ColorSpace$Rgb;->mPrimaries:[F