Home
last modified time | relevance | path

Searched refs:colorAspects (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp262 void SoftVideoDecoderOMXComponent::dumpColorAspects(const ColorAspects &colorAspects) { in dumpColorAspects() argument
264 colorAspects.mRange, asString(colorAspects.mRange), in dumpColorAspects()
265 colorAspects.mPrimaries, asString(colorAspects.mPrimaries), in dumpColorAspects()
266 colorAspects.mMatrixCoeffs, asString(colorAspects.mMatrixCoeffs), in dumpColorAspects()
267 colorAspects.mTransfer, asString(colorAspects.mTransfer)); in dumpColorAspects()
/frameworks/av/media/codec2/sfplugin/
DC2NodeImpl.cpp81 std::unique_ptr<C2StreamColorAspectsInfo::input> colorAspects = in setDataspace() local
83 if (C2Mapper::map(standard, &colorAspects->primaries, &colorAspects->matrix) in setDataspace()
84 && C2Mapper::map(transfer, &colorAspects->transfer) in setDataspace()
85 && C2Mapper::map(range, &colorAspects->range)) { in setDataspace()
86 jobs->configUpdate.push_back(std::move(colorAspects)); in setDataspace()
DCCodec.cpp1967 ColorAspects inputColorAspects, colorAspects; in setupInputSurface() local
1968 getColorAspectsFromFormat(config->mOutputFormat, colorAspects); in setupInputSurface()
1970 if (colorAspects.mRange == ColorAspects::RangeUnspecified) { in setupInputSurface()
1971 colorAspects.mRange = inputColorAspects.mRange; in setupInputSurface()
1973 if (colorAspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in setupInputSurface()
1974 colorAspects.mPrimaries = inputColorAspects.mPrimaries; in setupInputSurface()
1976 if (colorAspects.mTransfer == ColorAspects::TransferUnspecified) { in setupInputSurface()
1977 colorAspects.mTransfer = inputColorAspects.mTransfer; in setupInputSurface()
1979 if (colorAspects.mMatrixCoeffs == ColorAspects::MatrixUnspecified) { in setupInputSurface()
1980 colorAspects.mMatrixCoeffs = inputColorAspects.mMatrixCoeffs; in setupInputSurface()
[all …]
/frameworks/av/media/module/bqhelper/
DGraphicBufferSource.cpp1408 ColorAspects colorAspects = ColorUtils::unpackToColorAspects(aspectsPacked); in setColorAspects() local
1410 colorAspects.mRange, asString(colorAspects.mRange), in setColorAspects()
1411 colorAspects.mPrimaries, asString(colorAspects.mPrimaries), in setColorAspects()
1412 colorAspects.mMatrixCoeffs, asString(colorAspects.mMatrixCoeffs), in setColorAspects()
1413 colorAspects.mTransfer, asString(colorAspects.mTransfer)); in setColorAspects()
/frameworks/av/media/libstagefright/
DUtils.cpp104 ColorAspects colorAspects; in convertMetaDataToMessageColorAspects() local
105 memset(&colorAspects, 0, sizeof(colorAspects)); in convertMetaDataToMessageColorAspects()
106 colorAspects.mRange = (ColorAspects::Range)range; in convertMetaDataToMessageColorAspects()
107 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects()
108 colorAspects.mTransfer = (ColorAspects::Transfer)transferFunction; in convertMetaDataToMessageColorAspects()
109 colorAspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)colorMatrix; in convertMetaDataToMessageColorAspects()
113 colorAspects, &rangeMsg, &standardMsg, &transferMsg) != OK) { in convertMetaDataToMessageColorAspects()
1744 ColorAspects colorAspects; in convertMessageToMetaDataColorAspects() local
1745 memset(&colorAspects, 0, sizeof(colorAspects)); in convertMessageToMetaDataColorAspects()
1747 range, standard, transfer, colorAspects) != OK) { in convertMessageToMetaDataColorAspects()
[all …]
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp207 ColorAspects colorAspects; in getVUIParams() local
209 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
212 if (colorAspectsDiffer(colorAspects, mBitstreamColorAspects)) { in getVUIParams()
213 mBitstreamColorAspects = colorAspects; in getVUIParams()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp370 ColorAspects colorAspects; in getVUIParams() local
372 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
375 if (colorAspectsDiffer(colorAspects, mBitstreamColorAspects)) { in getVUIParams()
376 mBitstreamColorAspects = colorAspects; in getVUIParams()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp493 ColorAspects colorAspects; in getSeqInfo() local
495 primaries, transfer, coeffs, fullRange, colorAspects); in getSeqInfo()
498 if (colorAspectsDiffer(colorAspects, mBitstreamColorAspects)) { in getSeqInfo()
499 mBitstreamColorAspects = colorAspects; in getSeqInfo()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoDecoderOMXComponent.h175 void dumpColorAspects(const ColorAspects &colorAspects);
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp926 std::shared_ptr<C2StreamColorAspectsInfo::output> colorAspects; in process() local
929 colorAspects = mIntf->getCodedColorAspects_l(); in process()
933 colorAspects->matrix, colorAspects->range); in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp909 std::shared_ptr<C2StreamColorAspectsInfo::output> colorAspects; in process() local
912 colorAspects = mIntf->getCodedColorAspects_l(); in process()
915 mConversionBuffer.size(), *rView.get(), colorAspects->matrix, in process()
916 colorAspects->range); in process()