/frameworks/av/media/libstagefright/foundation/ |
D | ColorUtils.cpp | 235 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/ |
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 | 2259 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in handleDataSpaceChanged() 2285 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/base/libs/hwui/utils/ |
D | HostColorSpace.cpp | 113 , mPrimaries(computePrimaries(rgbToXYZ)) in ColorSpace() 129 , mPrimaries(computePrimaries(rgbToXYZ)) in ColorSpace() 145 , mPrimaries(computePrimaries(rgbToXYZ)) 162 , mPrimaries(primaries) in ColorSpace() 179 , mPrimaries(primaries) in ColorSpace() 196 , 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/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 | 2349 @NonNull private final float[] mPrimaries; field in ColorSpace.Rgb 2786 mPrimaries = xyPrimaries(primaries); in Rgb() 2789 mTransform = computeXYZMatrix(mPrimaries, mWhitePoint); in Rgb() 2813 mIsWideGamut = isWideGamut(mPrimaries, min, max); in Rgb() 2814 mIsSrgb = isSrgb(mPrimaries, mWhitePoint, oetf, eotf, min, max, id); in Rgb() 2852 this(colorSpace.getName(), colorSpace.mPrimaries, whitePoint, transform, in Rgb() 2914 System.arraycopy(mPrimaries, 0, primaries, 0, mPrimaries.length); in getPrimaries() 2935 return Arrays.copyOf(mPrimaries, mPrimaries.length); in getPrimaries() 3243 if (!Arrays.equals(mPrimaries, rgb.mPrimaries)) return false; in equals() 3258 result = 31 * result + Arrays.hashCode(mPrimaries); in hashCode()
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | VideoAPI.h | 180 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/libstagefright/ |
D | Utils.cpp | 92 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects() 1308 if (aspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in convertMetaDataToMessage() 1312 aspects.mPrimaries = static_cast<ColorAspects::Primaries>(primaries); in convertMetaDataToMessage() 1656 if (colorAspects.mPrimaries != 0) { in convertMessageToMetaDataColorAspects() 1657 meta->setInt32(kKeyColorPrimaries, colorAspects.mPrimaries); in convertMessageToMetaDataColorAspects()
|
D | ACodec.cpp | 3588 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in setCodecColorAspects() 3633 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getCodecColorAspects() 3684 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getDataSpace() 5617 aspects.mPrimaries, asString(aspects.mPrimaries), in onDataSpaceChanged()
|
D | MPEG4Writer.cpp | 4221 if (mMeta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries) in writeColrBox()
|
/frameworks/av/media/libstagefright/bqhelper/ |
D | GraphicBufferSource.cpp | 1399 colorAspects.mPrimaries, asString(colorAspects.mPrimaries), in setColorAspects()
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 929 if (!sColorPrimariesSf.map(primaries, &aspects.mPrimaries)) { in map() 930 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in map()
|
/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/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 510 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 1347 || aspects.mPrimaries != origAspects.mPrimaries in getFormatForDomain()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 602 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 598 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 672 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()
|