Home
last modified time | relevance | path

Searched refs:origAspects (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/module/foundation/tests/colorutils/
DColorUtilsTest.cpp311 CA origAspects; in TEST() local
312 origAspects.mRange = CA::Range::RangeFull; in TEST()
313 origAspects.mPrimaries = CA::Primaries::PrimariesBT709_5; in TEST()
314 origAspects.mTransfer = CA::Transfer::TransferLinear; in TEST()
315 origAspects.mMatrixCoeffs = CA::MatrixCoeffs::MatrixBT709_5; in TEST()
323 bool status = ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects); in TEST()
327 status = ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects); in TEST()
333 status = ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects); in TEST()
340 status = ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects, true); in TEST()
348 status = ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects, true); in TEST()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1557 ColorAspects origAspects = aspects; in getFormatForDomain() local
1575 || aspects.mRange != origAspects.mRange in getFormatForDomain()
1576 || aspects.mPrimaries != origAspects.mPrimaries in getFormatForDomain()
1577 || aspects.mTransfer != origAspects.mTransfer in getFormatForDomain()
1578 || aspects.mMatrixCoeffs != origAspects.mMatrixCoeffs) { in getFormatForDomain()
/frameworks/av/media/libstagefright/
DACodec.cpp3919 ColorAspects origAspects = params.sAspects; in setColorAspectsForVideoEncoder() local
3924 params.sAspects, origAspects, true /* usePlatformAspects */)) { in setColorAspectsForVideoEncoder()
3970 ColorAspects origAspects = aspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() local
3974 if (err != OK || !ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3982 aspects = origAspects; // restore desired color aspects in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()