Home
last modified time | relevance | path

Searched refs:convertTo (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libmediahelper/include/media/
Dconvert.h54 static inline bool convertTo(const srcType &input, dstType &result);
202 if (not convertTo(*it, dstElem)) {
214 static inline bool convertTo(const srcType &input, dstType &result)
234 inline bool convertTo<std::string, int16_t>(const std::string &str, int16_t &result)
238 if (!convertTo<std::string, int64_t>(str, res)) {
266 inline bool convertTo<std::string, float>(const std::string &str, float &result)
296 inline bool convertTo<std::string, double>(const std::string &str, double &result)
328 inline bool convertTo<std::string, bool>(const std::string &str, bool &result)
356 inline bool convertTo<bool, std::string>(const bool &isSet, std::string &result)
375 inline bool convertTo<std::string, std::string>(const std::string &str, std::string &result)
DTypeConverter.h80 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) {
/frameworks/base/core/java/android/hardware/camera2/utils/
DArrayUtils.java78 List<String> list, String[] convertFrom, int[] convertTo) { in convertStringListToIntArray() argument
83 List<Integer> convertedList = convertStringListToIntList(list, convertFrom, convertTo); in convertStringListToIntArray()
108 List<String> list, String[] convertFrom, int[] convertTo) { in convertStringListToIntList() argument
125 if (strIndex < convertTo.length) { in convertStringListToIntList()
126 convertedList.add(convertTo[strIndex]); in convertStringListToIntList()
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h202 bool convertTo(GraphicBuffer* l, AnwBuffer const& t);
354 bool convertTo(Fence* l, hidl_handle const& t);
552 bool convertTo(
593 bool convertTo(Region* t, ::android::Region const& l);
602 bool convertTo(::android::Region* l, Region const& t);
689 bool convertTo(
727 bool convertTo(
DWGraphicBufferProducer.h174 if (!::android::conversion::convertTo(lBuffer.get(), buffer)) { in attachBuffer()
195 if (!::android::conversion::convertTo(&lInput, input)) { in queueBuffer()
224 if (!::android::conversion::convertTo(lFence.get(), fence)) { in cancelBuffer()
/frameworks/av/media/libmedia/include/media/
DOMXFenceParcelable.h33 bool convertTo(::android::OMXFenceParcelable* l,
39 bool convertTo(::android::OMXFenceParcelable* l,
65 convertTo)(OMXFenceParcelable* l,
71 convertTo)(OMXFenceParcelable* l,
DOMXBuffer.h36 inline bool convertTo(::android::OMXBuffer* l,
42 inline bool convertTo(::android::OMXBuffer* l,
101 convertTo)(OMXBuffer* l,
107 convertTo)(OMXBuffer* l,
/frameworks/av/services/camera/virtualcamera/util/
DMetadataUtil.cc48 std::vector<To> convertTo(const std::vector<From>& from) { in convertTo() function
143 convertTo<uint8_t>(faceDetectModes); in setAvailableFaceDetectModes()
151 convertTo<int32_t>(testPatternModes); in setAvailableTestPatternModes()
160 convertTo<int64_t>(availableUseCases); in setAvailableStreamUseCases()
176 convertTo<uint8_t>(availableModes); in setControlAvailableModes()
190 convertTo<uint8_t>(availableSceneModes); in setControlAvailableSceneModes()
204 convertTo<uint8_t>(availableEffects); in setControlAvailableEffects()
219 convertTo<uint8_t>(videoStabilizationModes); in setControlAvailableVideoStabilizationModes()
235 convertTo<uint8_t>(availableModes); in setControlAfAvailableModes()
285 mEntryMap[ANDROID_CONTROL_AE_AVAILABLE_MODES] = convertTo<uint8_t>(modes); in setControlAeAvailableModes()
[all …]
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp151 inline bool convertTo(GraphicBuffer* l, AnwBuffer const& t) { in convertTo() function
353 inline bool convertTo(Fence* l, hidl_handle const& t) { in convertTo() function
871 inline bool convertTo( in convertTo() function
938 inline bool convertTo( in convertTo() function
941 if (!convertTo(&(l->frameTimestamps), t.frameTimestamps)) { in convertTo()
980 if (!convertTo(buf->get(), buffer)) { in requestBuffer()
1014 if (!convertTo(fence->get(), tFence)) { in dequeueBuffer()
1019 if (outTimestamps && !convertTo(outTimestamps, tTs)) { in dequeueBuffer()
1047 if (!convertTo(outFence->get(), tFence)) { in detachNextBuffer()
1052 if (!convertTo(outBuffer->get(), tBuffer)) { in detachNextBuffer()
[all …]
DConversion.cpp203 bool convertTo(GraphicBuffer* l, AnwBuffer const& t) { in convertTo() function
477 bool convertTo(Fence* l, hidl_handle const& t) { in convertTo() function
994 bool convertTo( in convertTo() function
1118 bool convertTo(Region* t, ::android::Region const& l) { in convertTo() function
1148 bool convertTo(::android::Region* l, Region const& t) { in convertTo() function
1331 bool convertTo( in convertTo() function
1419 bool convertTo( in convertTo() function
1422 if (!convertTo(&(l->frameTimestamps), t.frameTimestamps)) { in convertTo()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp40 using utilities::convertTo;
371 if (!minValueMBLiteral.empty() && convertTo(minValueMBLiteral, minValueMB)) { in deserialize()
377 if (!maxValueMBLiteral.empty() && convertTo(maxValueMBLiteral, maxValueMB)) { in deserialize()
383 if (!defaultValueMBLiteral.empty() && convertTo(defaultValueMBLiteral, defaultValueMB)) { in deserialize()
389 if (!stepValueMBLiteral.empty() && convertTo(stepValueMBLiteral, stepValueMB)) { in deserialize()
395 if (!minRampMsLiteral.empty() && convertTo(minRampMsLiteral, minRampMs)) { in deserialize()
401 if (!maxRampMsLiteral.empty() && convertTo(maxRampMsLiteral, maxRampMs)) { in deserialize()
406 if (!useForVolumeLiteral.empty() && convertTo(useForVolumeLiteral, useForVolume)) { in deserialize()
501 convertTo(maxOpenCount, mixPort->maxOpenCount); in deserialize()
505 convertTo(maxActiveCount, mixPort->maxActiveCount); in deserialize()
[all …]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h285 inline bool convertTo(omx_message* l, Message const& t) { in convertTo() function
346 inline bool convertTo(OMXFenceParcelable* l, hidl_handle const& t) { in convertTo() function
494 inline bool convertTo(OMXBuffer* l, CodecBuffer const& t) { in convertTo() function
519 if (!::android::hardware::media::omx::V1_0::utils::convertTo( in convertTo()
542 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo() function
559 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo() function
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h427 inline bool convertTo(omx_message* l, Message const& t) { in convertTo() function
488 inline bool convertTo(OMXFenceParcelable* l, hidl_handle const& t) { in convertTo() function
634 inline bool convertTo(GraphicBuffer* l, AnwBuffer const& t) { in convertTo() function
761 inline bool convertTo(OMXBuffer* l, CodecBuffer const& t) { in convertTo() function
791 if (!convertTo(graphicBuffer.get(), anwBuffer)) { in convertTo()
813 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo() function
830 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo() function
/frameworks/av/media/libmedia/omx/1.0/
DWOmxObserver.cpp66 convertTo(&lMessages.back(), tMessages[i]); in onMessages()
DWOmxNode.cpp364 if (!convertTo(&omxBuffer, codecBuffer)) { in useBuffer()
382 if (!convertTo(&omxBuffer, codecBuffer)) { in fillBuffer()
395 if (!convertTo(&omxBuffer, codecBuffer)) { in emptyBuffer()
418 if (!convertTo(&lMsg, tMsg)) { in dispatchMessage()
DWOmxBufferSource.cpp97 if (!convertTo(&fenceParcelable, fence)) { in onInputBufferEmptied()
DWOmx.cpp50 convertTo(&*newInfo, nodeList[i]); in listNodes()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxObserver.cpp66 convertTo(&lMessages.back(), tMessages[i]); in onMessages()
DWOmxNode.cpp367 if (!convertTo(&omxBuffer, codecBuffer)) { in useBuffer()
385 if (!convertTo(&omxBuffer, codecBuffer)) { in fillBuffer()
398 if (!convertTo(&omxBuffer, codecBuffer)) { in emptyBuffer()
421 if (!convertTo(&lMsg, tMsg)) { in dispatchMessage()
DOmx.cpp78 convertTo(&(tList[i++]), info); in listNodes()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp45 using utilities::convertTo;
456 if (!convertTo(androidTypeliteral, androidType)) { in deserialize()
467 if (!convertTo(numericalTag, numerical)) { in deserialize()
608 if (!convertTo(indexMinLiteral, indexMin)) { in deserialize()
618 if (!convertTo(indexMaxLiteral, indexMax)) { in deserialize()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp62 using utilities::convertTo;