/frameworks/av/media/module/foundation/tests/colorutils/ |
D | ColorUtilsTest.cpp | 58 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/module/foundation/ |
D | ColorUtils.cpp | 239 standard, &aspects.mPrimaries, &aspects.mMatrixCoeffs); in convertPlatformColorAspectsToCodecAspects() 248 *standard = wrapColorAspectsIntoColorStandard(aspects.mPrimaries, aspects.mMatrixCoeffs); in convertCodecColorAspectsToPlatformAspects() 250 if (isValid(aspects.mRange) && isValid(aspects.mPrimaries) in convertCodecColorAspectsToPlatformAspects() 321 if (aspects.mPrimaries == ColorAspects::PrimariesOther || in convertCodecColorAspectsToIsoAspects() 322 !sIsoPrimaries.map(aspects.mPrimaries, primaries)) { in convertCodecColorAspectsToIsoAspects() 340 if (!sIsoPrimaries.map(primaries, &aspects.mPrimaries)) { in convertIsoColorAspectsToCodecAspects() 341 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in convertIsoColorAspectsToCodecAspects() 364 aspects.mPrimaries = (ColorAspects::Primaries)((packed >> 16) & 0xFF); in unpackToColorAspects() 373 return (aspects.mRange << 24) | (aspects.mPrimaries << 16) in packToU32() 404 if (aspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in setDefaultCodecColorAspectsIfNeeded() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoDecoderOMXComponent.cpp | 265 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()
|
D | OMXNodeInstance.cpp | 2305 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in handleDataSpaceChanged() 2331 aspects.mPrimaries, asString(aspects.mPrimaries), in handleDataSpaceChanged()
|
/frameworks/native/libs/ui/ |
D | ColorSpace.cpp | 112 , 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/ |
D | ColorSpace.h | 208 return mPrimaries; in getPrimaries() 274 std::array<float2, 3> mPrimaries; variable
|
/frameworks/native/libs/ui/include_types/ui/ |
D | ColorSpace.h | 208 return mPrimaries; in getPrimaries() 274 std::array<float2, 3> mPrimaries; variable
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 2600 @NonNull private final float[] mPrimaries; 3064 mPrimaries = xyPrimaries(primaries); in Rgb() 3067 mTransform = computeXYZMatrix(mPrimaries, mWhitePoint); in Rgb() 3091 mIsWideGamut = isWideGamut(mPrimaries, min, max); in Rgb() 3092 mIsSrgb = isSrgb(mPrimaries, mWhitePoint, oetf, eotf, min, max, id); in Rgb() 3131 this(colorSpace.getName(), colorSpace.mPrimaries, whitePoint, transform, in Rgb() 3193 System.arraycopy(mPrimaries, 0, primaries, 0, mPrimaries.length); in getPrimaries() 3214 return Arrays.copyOf(mPrimaries, mPrimaries.length); in getPrimaries() 3527 if (!Arrays.equals(mPrimaries, rgb.mPrimaries)) return false; in equals() 3542 result = 31 * result + Arrays.hashCode(mPrimaries); in hashCode()
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | VideoAPI.h | 184 Primaries mPrimaries; // IN/OUT member
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 383 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in VideoTrackEntry() 387 bool havePrimaries = meta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries); in VideoTrackEntry()
|
/frameworks/av/media/module/bqhelper/ |
D | GraphicBufferSource.cpp | 1411 colorAspects.mPrimaries, asString(colorAspects.mPrimaries), in setColorAspects()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 107 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects() 1396 if (aspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in convertMetaDataToMessage() 1400 aspects.mPrimaries = static_cast<ColorAspects::Primaries>(primaries); in convertMetaDataToMessage() 1755 if (colorAspects.mPrimaries != 0) { in convertMessageToMetaDataColorAspects() 1756 meta->setInt32(kKeyColorPrimaries, colorAspects.mPrimaries); in convertMessageToMetaDataColorAspects()
|
D | ACodec.cpp | 3757 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in setCodecColorAspects() 3802 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getCodecColorAspects() 3853 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getDataSpace() 5840 aspects.mPrimaries, asString(aspects.mPrimaries), in onDataSpaceChanged()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 368 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects()
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 1042 if (!sColorPrimariesSf.map(primaries, &aspects.mPrimaries)) { in map() 1043 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in map()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomEnc.cpp | 579 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in setupCodecParameters() 580 sfAspects.mPrimaries = android::ColorAspects::PrimariesUnspecified; in setupCodecParameters()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 680 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in initEncParams() 681 sfAspects.mPrimaries = android::ColorAspects::PrimariesUnspecified; in initEncParams()
|
D | C2SoftHevcDec.cpp | 609 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 510 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 1114 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in setVuiParams() 1115 sfAspects.mPrimaries = android::ColorAspects::PrimariesUnspecified; in setVuiParams()
|
D | C2SoftAvcDec.cpp | 615 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodec.cpp | 1973 if (colorAspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in setupInputSurface() 1974 colorAspects.mPrimaries = inputColorAspects.mPrimaries; in setupInputSurface()
|
D | CCodecConfig.cpp | 1576 || aspects.mPrimaries != origAspects.mPrimaries in getFormatForDomain()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 678 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()
|
/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 908 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
|