Home
last modified time | relevance | path

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

/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.cpp2259 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in handleDataSpaceChanged()
2285 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/base/libs/hwui/utils/
DHostColorSpace.cpp113 , 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/
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.java2349 @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/
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()
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()
DACodec.cpp3588 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()
DMPEG4Writer.cpp4221 if (mMeta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries) in writeColrBox()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp1399 colorAspects.mPrimaries, asString(colorAspects.mPrimaries), in setColorAspects()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp929 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/
DConversion.h368 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h510 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1347 || aspects.mPrimaries != origAspects.mPrimaries in getFormatForDomain()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp602 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp598 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp672 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()