Home
last modified time | relevance | path

Searched refs:mTransfer (Results 1 – 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/colorutils/
DColorUtilsTest.cpp48 ColorTransferTest() { mTransfer = GetParam(); }; in ColorTransferTest()
50 CA::Transfer mTransfer; member in ColorTransferTest
75 mTransfer = std::get<1>(GetParam()); in IsoToPlatformAspectsTest()
82 CA::Transfer mTransfer; member in IsoToPlatformAspectsTest
97 mTransfer = std::get<1>(GetParam()); in ColorAspectsTest()
104 CA::Transfer mTransfer; member in ColorAspectsTest
140 mTransfer = std::get<2>(GetParam()); in DataSpaceTest()
148 CA::Transfer mTransfer; member in DataSpaceTest
164 int32_t transfer = ColorUtils::wrapColorAspectsIntoColorTransfer(mTransfer); in TEST_P()
168 EXPECT_EQ(unwrappedTransfer, mTransfer) << "Returned ColorTransfer doesn't match"; in TEST_P()
[all …]
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp236 status_t res3 = unwrapColorAspectsFromColorTransfer(transfer, &aspects.mTransfer); in convertPlatformColorAspectsToCodecAspects()
245 *transfer = wrapColorAspectsIntoColorTransfer(aspects.mTransfer); in convertCodecColorAspectsToPlatformAspects()
247 && isValid(aspects.mMatrixCoeffs) && isValid(aspects.mTransfer)) { in convertCodecColorAspectsToPlatformAspects()
319 if (aspects.mTransfer == ColorAspects::TransferOther || in convertCodecColorAspectsToIsoAspects()
320 !sIsoTransfers.map(aspects.mTransfer, transfer)) { in convertCodecColorAspectsToIsoAspects()
337 if (!sIsoTransfers.map(transfer, &aspects.mTransfer)) { in convertIsoColorAspectsToCodecAspects()
338 aspects.mTransfer = ColorAspects::TransferUnspecified; in convertIsoColorAspectsToCodecAspects()
360 aspects.mTransfer = (ColorAspects::Transfer)(packed & 0xFF); in unpackToColorAspects()
368 | (aspects.mMatrixCoeffs << 8) | aspects.mTransfer; in packToU32()
404 if (aspects.mTransfer == ColorAspects::TransferUnspecified) { in setDefaultCodecColorAspectsIfNeeded()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp267 colorAspects.mTransfer, asString(colorAspects.mTransfer)); in dumpColorAspects()
274 || a.mTransfer != b.mTransfer in colorAspectsDiffer()
289 newAspects.mTransfer = preferredAspects.mTransfer != ColorAspects::TransferUnspecified ? in updateFinalColorAspects()
290 preferredAspects.mTransfer : otherAspects.mTransfer; in updateFinalColorAspects()
DOMXNodeInstance.cpp2172 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in handleDataSpaceChanged()
2198 aspects.mTransfer, asString(aspects.mTransfer), in handleDataSpaceChanged()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp405 mTransfer = transferType; in set()
785 } else if (mTransfer == TRANSFER_SYNC_NOTIF_CALLBACK) { in stop()
1416 (mTransfer == TRANSFER_CALLBACK) || in createTrack_l()
1418 (mTransfer == TRANSFER_OBTAIN) || in createTrack_l()
1420 ((mTransfer == TRANSFER_SYNC || mTransfer == TRANSFER_SYNC_NOTIF_CALLBACK) in createTrack_l()
1428 convertTransferToText(mTransfer)); in createTrack_l()
1635 if (mTransfer != TRANSFER_OBTAIN) { in obtainBuffer()
1741 if (mTransfer == TRANSFER_SHARED) { in releaseBuffer()
1784 if (mTransfer != TRANSFER_SYNC && mTransfer != TRANSFER_SYNC_NOTIF_CALLBACK) { in write()
1836 if (mTransfer == TRANSFER_SYNC_NOTIF_CALLBACK) { in write()
[all …]
DAudioRecord.cpp255 mTransfer = transferType; in set()
724 (mTransfer == TRANSFER_CALLBACK) || in createRecord_l()
731 (mTransfer == TRANSFER_SYNC) || in createRecord_l()
733 (mTransfer == TRANSFER_OBTAIN); in createRecord_l()
737 convertTransferToText(mTransfer)); in createRecord_l()
890 if (mTransfer != TRANSFER_OBTAIN) { in obtainBuffer()
1020 if (mTransfer != TRANSFER_SYNC) { in read()
1186 if (kPoll > 0 && mTransfer == TRANSFER_CALLBACK && kPoll * notificationFrames < minFrames) { in processAudioBuffer()
1199 if (mTransfer != TRANSFER_CALLBACK) { in processAudioBuffer()
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h54 uint32_t mTransfer; member
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h181 Transfer mTransfer; // IN/OUT member
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp384 aspects.mTransfer = ColorAspects::TransferUnspecified; in VideoTrackEntry()
388 bool haveTransfer = meta->findInt32(kKeyTransferFunction, (int32_t*)&aspects.mTransfer); in VideoTrackEntry()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h691 transfer_type mTransfer; variable
DAudioTrack.h1065 transfer_type mTransfer; variable
/frameworks/av/media/libstagefright/
DUtils.cpp93 colorAspects.mTransfer = (ColorAspects::Transfer)transferFunction; in convertMetaDataToMessageColorAspects()
1253 if (aspects.mTransfer == ColorAspects::TransferUnspecified) { in convertMetaDataToMessage()
1257 aspects.mTransfer = static_cast<ColorAspects::Transfer>(transferFunction); in convertMetaDataToMessage()
1591 if (colorAspects.mTransfer != 0) { in convertMessageToMetaDataColorAspects()
1592 meta->setInt32(kKeyTransferFunction, colorAspects.mTransfer); in convertMessageToMetaDataColorAspects()
DACodec.cpp3524 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in setCodecColorAspects()
3569 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in getCodecColorAspects()
3620 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in getDataSpace()
5553 aspects.mTransfer, asString(aspects.mTransfer), in onDataSpaceChanged()
DMPEG4Writer.cpp3839 | mMeta->findInt32(kKeyTransferFunction, (int32_t*)&aspects.mTransfer) in writeColrBox()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp1374 colorAspects.mTransfer, asString(colorAspects.mTransfer)); in setColorAspects()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp931 if (!sColorTransfersSf.map(transfer, &aspects.mTransfer)) { in map()
932 aspects.mTransfer = ColorAspects::TransferUnspecified; in map()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h370 static_cast<ColorAspects::Transfer>(l.mTransfer), in toHardwareColorAspects()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h512 static_cast<ColorAspects::Transfer>(l.mTransfer), in toHardwareColorAspects()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1217 || aspects.mTransfer != origAspects.mTransfer in getSdkFormatForDomain()
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp123 mSrcColorSpace.mTransfer = transfer; in setSrcColorSpace()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp607 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp610 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp674 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()