Home
last modified time | relevance | path

Searched refs:mMatrixCoeffs (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/colorutils/
DColorUtilsTest.cpp59 mMatrixCoeffs = GetParam().second; in ColorStandardTest()
63 CA::MatrixCoeffs mMatrixCoeffs; member in ColorStandardTest
76 mMatrixCoeffs = std::get<2>(GetParam()); in IsoToPlatformAspectsTest()
83 CA::MatrixCoeffs mMatrixCoeffs; member in IsoToPlatformAspectsTest
98 mMatrixCoeffs = std::get<2>(GetParam()); in ColorAspectsTest()
105 CA::MatrixCoeffs mMatrixCoeffs; member in ColorAspectsTest
120 mMatrixCoeffs = std::get<3>(GetParam()); in DefaultColorAspectsTest()
126 CA::MatrixCoeffs mMatrixCoeffs; member in DefaultColorAspectsTest
141 mMatrixCoeffs = std::get<3>(GetParam()); in DataSpaceTest()
149 CA::MatrixCoeffs mMatrixCoeffs; member in DataSpaceTest
[all …]
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp235 standard, &aspects.mPrimaries, &aspects.mMatrixCoeffs); in convertPlatformColorAspectsToCodecAspects()
244 *standard = wrapColorAspectsIntoColorStandard(aspects.mPrimaries, aspects.mMatrixCoeffs); in convertCodecColorAspectsToPlatformAspects()
247 && isValid(aspects.mMatrixCoeffs) && isValid(aspects.mTransfer)) { in convertCodecColorAspectsToPlatformAspects()
323 if (aspects.mMatrixCoeffs == ColorAspects::MatrixOther || in convertCodecColorAspectsToIsoAspects()
324 !sIsoMatrixCoeffs.map(aspects.mMatrixCoeffs, coeffs)) { in convertCodecColorAspectsToIsoAspects()
340 if (!sIsoMatrixCoeffs.map(coeffs, &aspects.mMatrixCoeffs)) { in convertIsoColorAspectsToCodecAspects()
341 aspects.mMatrixCoeffs = ColorAspects::MatrixUnspecified; in convertIsoColorAspectsToCodecAspects()
359 aspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)((packed >> 8) & 0xFF); in unpackToColorAspects()
368 | (aspects.mMatrixCoeffs << 8) | aspects.mTransfer; in packToU32()
401 if (aspects.mMatrixCoeffs == ColorAspects::MatrixUnspecified) { in setDefaultCodecColorAspectsIfNeeded()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp266 colorAspects.mMatrixCoeffs, asString(colorAspects.mMatrixCoeffs), in dumpColorAspects()
275 || a.mMatrixCoeffs != b.mMatrixCoeffs) { in colorAspectsDiffer()
291 newAspects.mMatrixCoeffs = preferredAspects.mMatrixCoeffs != ColorAspects::MatrixUnspecified ? in updateFinalColorAspects()
292 preferredAspects.mMatrixCoeffs : otherAspects.mMatrixCoeffs; in updateFinalColorAspects()
DOMXNodeInstance.cpp2171 params.sAspects.mMatrixCoeffs, asString(params.sAspects.mMatrixCoeffs), in handleDataSpaceChanged()
2197 aspects.mMatrixCoeffs, asString(aspects.mMatrixCoeffs), in handleDataSpaceChanged()
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h182 MatrixCoeffs mMatrixCoeffs; // IN/OUT member
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp385 aspects.mMatrixCoeffs = ColorAspects::MatrixUnspecified; in VideoTrackEntry()
389 bool haveCoeffs = meta->findInt32(kKeyColorMatrix, (int32_t*)&aspects.mMatrixCoeffs); in VideoTrackEntry()
/frameworks/av/media/libstagefright/
DUtils.cpp94 colorAspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)colorMatrix; in convertMetaDataToMessageColorAspects()
1260 if (aspects.mMatrixCoeffs == ColorAspects::MatrixUnspecified) { in convertMetaDataToMessage()
1264 aspects.mMatrixCoeffs = static_cast<ColorAspects::MatrixCoeffs>(colorMatrix); in convertMetaDataToMessage()
1594 if (colorAspects.mMatrixCoeffs != 0) { in convertMessageToMetaDataColorAspects()
1595 meta->setInt32(kKeyColorMatrix, colorAspects.mMatrixCoeffs); in convertMessageToMetaDataColorAspects()
DACodec.cpp3523 params.sAspects.mMatrixCoeffs, asString(params.sAspects.mMatrixCoeffs), in setCodecColorAspects()
3568 params.sAspects.mMatrixCoeffs, asString(params.sAspects.mMatrixCoeffs), in getCodecColorAspects()
3619 params.sAspects.mMatrixCoeffs, asString(params.sAspects.mMatrixCoeffs), in getDataSpace()
5552 aspects.mMatrixCoeffs, asString(aspects.mMatrixCoeffs), in onDataSpaceChanged()
DMPEG4Writer.cpp3840 | mMeta->findInt32(kKeyColorMatrix, (int32_t*)&aspects.mMatrixCoeffs) in writeColrBox()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp1373 colorAspects.mMatrixCoeffs, asString(colorAspects.mMatrixCoeffs), in setColorAspects()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp928 if (!sColorMatricesSf.map(matrix, &aspects.mMatrixCoeffs)) { in map()
929 aspects.mMatrixCoeffs = ColorAspects::MatrixUnspecified; in map()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h371 static_cast<ColorAspects::MatrixCoeffs>(l.mMatrixCoeffs)}; in toHardwareColorAspects()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h513 static_cast<ColorAspects::MatrixCoeffs>(l.mMatrixCoeffs)}; in toHardwareColorAspects()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1218 || aspects.mMatrixCoeffs != origAspects.mMatrixCoeffs) { in getSdkFormatForDomain()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp604 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp607 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp671 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getSeqInfo()