Home
last modified time | relevance | path

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

12

/frameworks/av/media/module/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/module/foundation/
DColorUtils.cpp240 status_t res3 = unwrapColorAspectsFromColorTransfer(transfer, &aspects.mTransfer); in convertPlatformColorAspectsToCodecAspects()
249 *transfer = wrapColorAspectsIntoColorTransfer(aspects.mTransfer); in convertCodecColorAspectsToPlatformAspects()
251 && isValid(aspects.mMatrixCoeffs) && isValid(aspects.mTransfer)) { in convertCodecColorAspectsToPlatformAspects()
325 if (aspects.mTransfer == ColorAspects::TransferOther || in convertCodecColorAspectsToIsoAspects()
326 !sIsoTransfers.map(aspects.mTransfer, transfer)) { in convertCodecColorAspectsToIsoAspects()
343 if (!sIsoTransfers.map(transfer, &aspects.mTransfer)) { in convertIsoColorAspectsToCodecAspects()
344 aspects.mTransfer = ColorAspects::TransferUnspecified; in convertIsoColorAspectsToCodecAspects()
366 aspects.mTransfer = (ColorAspects::Transfer)(packed & 0xFF); in unpackToColorAspects()
374 | (aspects.mMatrixCoeffs << 8) | aspects.mTransfer; in packToU32()
410 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.cpp2307 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in handleDataSpaceChanged()
2333 aspects.mTransfer, asString(aspects.mTransfer), in handleDataSpaceChanged()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp296 mTransfer = transferType; in set()
297 switch (mTransfer) { in set()
300 mTransfer = TRANSFER_SYNC; in set()
302 mTransfer = TRANSFER_CALLBACK; in set()
317 errorMessage = StringPrintf("%s: Invalid transfer type %d", __func__, mTransfer); in set()
805 (mTransfer == TRANSFER_CALLBACK) || in createRecord_l()
812 (mTransfer == TRANSFER_SYNC) || in createRecord_l()
814 (mTransfer == TRANSFER_OBTAIN); in createRecord_l()
818 convertTransferToText(mTransfer)); in createRecord_l()
1059 if (mTransfer != TRANSFER_OBTAIN) { in obtainBuffer()
[all …]
DAudioTrack.cpp526 mTransfer = transferType; in set()
937 } else if (mTransfer == TRANSFER_SYNC_NOTIF_CALLBACK) { in stop()
1823 (mTransfer == TRANSFER_CALLBACK) || in createTrack_l()
1825 (mTransfer == TRANSFER_OBTAIN) || in createTrack_l()
1827 ((mTransfer == TRANSFER_SYNC || mTransfer == TRANSFER_SYNC_NOTIF_CALLBACK) in createTrack_l()
1835 convertTransferToText(mTransfer)); in createTrack_l()
2148 if (mTransfer != TRANSFER_OBTAIN) { in obtainBuffer()
2254 if (mTransfer == TRANSFER_SHARED) { in releaseBuffer()
2305 if (mTransfer != TRANSFER_SYNC && mTransfer != TRANSFER_SYNC_NOTIF_CALLBACK) { in write()
2357 if (mTransfer == TRANSFER_SYNC_NOTIF_CALLBACK) { in write()
[all …]
/frameworks/av/media/codec2/vndk/include/
DC2BqBufferPriv.h224 bool mTransfer; // local transfer to remote member
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h60 uint32_t mTransfer; member
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp908 mTransfer(false), mAttach(false), mDisplay(false), in C2BufferQueueBlockPoolData()
920 mTransfer(false), mAttach(false), mDisplay(false), in C2BufferQueueBlockPoolData()
994 if (mTransfer) { in migrate()
1089 mTransfer = true; in beginTransferBlockToClient()
1095 mTransfer = false; in endTransferBlockToClient()
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h185 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.h749 transfer_type mTransfer; variable
DAudioTrack.h1311 transfer_type mTransfer; variable
/frameworks/av/media/module/bqhelper/
DGraphicBufferSource.cpp1413 colorAspects.mTransfer, asString(colorAspects.mTransfer)); in setColorAspects()
/frameworks/av/media/libstagefright/
DUtils.cpp108 colorAspects.mTransfer = (ColorAspects::Transfer)transferFunction; in convertMetaDataToMessageColorAspects()
1403 if (aspects.mTransfer == ColorAspects::TransferUnspecified) { in convertMetaDataToMessage()
1407 aspects.mTransfer = static_cast<ColorAspects::Transfer>(transferFunction); in convertMetaDataToMessage()
1758 if (colorAspects.mTransfer != 0) { in convertMessageToMetaDataColorAspects()
1759 meta->setInt32(kKeyTransferFunction, colorAspects.mTransfer); in convertMessageToMetaDataColorAspects()
DACodec.cpp3759 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in setCodecColorAspects()
3804 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in getCodecColorAspects()
3855 params.sAspects.mTransfer, asString(params.sAspects.mTransfer), in getDataSpace()
5842 aspects.mTransfer, asString(aspects.mTransfer), in onDataSpaceChanged()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h369 static_cast<ColorAspects::Transfer>(l.mTransfer), in toHardwareColorAspects()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp1048 if (!sColorTransfersSf.map(transfer, &aspects.mTransfer)) { in map()
1049 aspects.mTransfer = ColorAspects::TransferUnspecified; in map()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp588 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in setupCodecParameters()
589 sfAspects.mTransfer = android::ColorAspects::TransferUnspecified; in setupCodecParameters()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp689 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in initEncParams()
690 sfAspects.mTransfer = android::ColorAspects::TransferUnspecified; in initEncParams()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h511 static_cast<ColorAspects::Transfer>(l.mTransfer), in toHardwareColorAspects()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1123 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in setVuiParams()
1124 sfAspects.mTransfer = android::ColorAspects::TransferUnspecified; in setVuiParams()
DC2SoftAvcDec.cpp624 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1976 if (colorAspects.mTransfer == ColorAspects::TransferUnspecified) { in setupInputSurface()
1977 colorAspects.mTransfer = inputColorAspects.mTransfer; in setupInputSurface()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp687 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()

12