Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp234 standard, &aspects.mPrimaries, &aspects.mMatrixCoeffs); in convertPlatformColorAspectsToCodecAspects()
243 *standard = wrapColorAspectsIntoColorStandard(aspects.mPrimaries, aspects.mMatrixCoeffs); in convertCodecColorAspectsToPlatformAspects()
245 if (isValid(aspects.mRange) && isValid(aspects.mPrimaries) in convertCodecColorAspectsToPlatformAspects()
313 if (aspects.mPrimaries == ColorAspects::PrimariesOther || in convertCodecColorAspectsToIsoAspects()
314 !sIsoPrimaries.map(aspects.mPrimaries, primaries)) { in convertCodecColorAspectsToIsoAspects()
332 if (!sIsoPrimaries.map(primaries, &aspects.mPrimaries)) { in convertIsoColorAspectsToCodecAspects()
333 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in convertIsoColorAspectsToCodecAspects()
371 if (aspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in setDefaultCodecColorAspectsIfNeeded()
372 aspects.mPrimaries = primaries; in setDefaultCodecColorAspectsIfNeeded()
439 if (aspects.mPrimaries && aspects.mPrimaries != orig.mPrimaries) { in checkIfAspectsChangedAndUnspecifyThem()
[all …]
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp536 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in onDataSpaceChanged_l()
562 aspects.mPrimaries, asString(aspects.mPrimaries), in onDataSpaceChanged_l()
574 (aspects.mRange << 24) | (aspects.mPrimaries << 16) in onDataSpaceChanged_l()
1089 aspects.mPrimaries, asString(aspects.mPrimaries), in setColorAspects()
/frameworks/native/include/media/hardware/
DVideoAPI.h180 Primaries mPrimaries; // IN/OUT member
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp382 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in VideoTrackEntry()
386 bool havePrimaries = meta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries); in VideoTrackEntry()
/frameworks/av/media/libstagefright/
DUtils.cpp122 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects()
1237 if (colorAspects.mPrimaries != 0) { in convertMessageToMetaDataColorAspects()
1238 meta->setInt32(kKeyColorPrimaries, colorAspects.mPrimaries); in convertMessageToMetaDataColorAspects()
DACodec.cpp3262 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in setCodecColorAspects()
3307 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getCodecColorAspects()
3358 params.sAspects.mPrimaries, asString(params.sAspects.mPrimaries), in getDataSpace()
5172 aspects.mPrimaries, asString(aspects.mPrimaries), in onDataSpaceChanged()
5561 aspects.mPrimaries = (ColorAspects::Primaries)((data2 >> 16) & 0xFF); in onOMXEvent()
DMPEG4Writer.cpp2968 if (mMeta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries) in writeColrBox()
DMPEG4Extractor.cpp2804 mLastTrack->meta->setInt32(kKeyColorPrimaries, aspects.mPrimaries); in parseColorInfo()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1114 meta->setInt32(kKeyColorPrimaries, aspects.mPrimaries); in getColorInformation()