Searched refs:map (Results 1 - 25 of 305) sorted by path

1234567891011>>

/frameworks/av/camera/ndk/impl/
H A DACameraDevice.h20 #include <map>
153 std::map<int, std::pair<ANativeWindow*, OutputConfiguration>> mConfiguredOutputs;
220 // sequence id -> last frame number map
221 std::map<int, int64_t> mSequenceLastFrameNumberMap;
242 // sequence id -> callbacks map
243 std::map<int, CallbackHolder> mSequenceCallbackMap;
H A DACameraManager.h34 #include <map>
143 std::map<int32_t, int32_t> mDeviceStatusMap;
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp54 #include <map>
67 std::map<String16, int32_t> mCameraTorchStatuses;
68 std::map<int32_t, int32_t> mCameraStatuses;
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h42 * Adds a new value in the session map table. It expects memory to be allocated already
53 map.add(key, value);
72 * returns the number of objects in the session map table
78 return map.size();
82 * returns the session object by the index in the session map table
92 if (map.size() > index) {
93 value = map.valueAt(index);
99 * deletes the object from session map. It also frees up memory for the session object.
107 map.removeItem(key);
126 map
131 KeyedVector<int, TValue> map; member in class:android::SessionMap
[all...]
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp769 String8 MockDrmPlugin::stringMapToString(KeyedVector<String8, String8> map) const
772 for (size_t i = 0; i < map.size(); i++) {
774 map.keyAt(i).string(), map.valueAt(i).string());
H A DMockDrmCryptoPlugin.h141 String8 stringMapToString(KeyedVector<String8, String8> map) const;
/frameworks/av/include/media/
H A DMediaProfiles.h396 static int findTagForName(const NameToTagMap *map, size_t nMappings, const char *name);
/frameworks/av/include/media/stagefright/
H A DACodec.h113 static status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]);
/frameworks/av/include/media/stagefright/foundation/
H A DALookup.h34 inline bool map(const T& from, V *to) const { return lookup(from, to); } function in struct:android::ALookup
37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } function in struct:android::ALookup
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp30 KeyedVector<uint16_t, const TagDefinition_t*> map; local
32 map.add(definitions[i].tagId, definitions + i);
34 return map;
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp157 MediaProfiles::findTagForName(const MediaProfiles::NameToTagMap *map, size_t nMappings, argument
162 if (!strcmp(map[i].name, name)) {
163 tag = map[i].tag;
/frameworks/av/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp104 const PidSessionInfosMap& map = sessionMap(); local
105 EXPECT_EQ(2u, map.size());
106 ssize_t index1 = map.indexOfKey(kTestPid1);
108 const SessionInfos& infos1 = map[index1];
112 ssize_t index2 = map.indexOfKey(kTestPid2);
114 const SessionInfos& infos2 = map[index2];
179 const PidSessionInfosMap& map = sessionMap(); local
180 const SessionInfos& infos1 = map.valueFor(kTestPid1);
181 const SessionInfos& infos2 = map.valueFor(kTestPid2);
191 const PidSessionInfosMap& map local
212 const PidSessionInfosMap& map = sessionMap(); local
[all...]
/frameworks/av/media/libstagefright/
H A DACodec.cpp68 // Currently this is a direct map.
7977 status_t ACodec::getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]) { argument
7980 map[0] = OMX_AUDIO_ChannelCF;
7983 map[0] = OMX_AUDIO_ChannelLF;
7984 map[1] = OMX_AUDIO_ChannelRF;
7987 map[0] = OMX_AUDIO_ChannelLF;
7988 map[1] = OMX_AUDIO_ChannelRF;
7989 map[2] = OMX_AUDIO_ChannelCF;
7992 map[0] = OMX_AUDIO_ChannelLF;
7993 map[
[all...]
H A DAudioPlayer.cpp143 sAudioFormatToPcmEncoding.map(pcmEncoding, &audioFormat);
148 ALOGE("Couldn't map mime type \"%s\" to a valid AudioSystem::audio_format", mime);
H A DUtils.cpp192 if (profiles.map(audioObjectType, &profile)) {
238 if (profiles.map(profile, &codecProfile)) {
240 if (levels.map(level, &codecLevel)) {
284 if (profiles.map(profile, &codecProfile)) {
286 if (levels.map(level, &codecLevel)) {
338 if (!profiles.map(profile, &codecProfile)) {
354 if (levels.map(std::make_pair(tier, level), &codecLevel)) {
400 if (escapes.map(indication, &profileLevel)) {
403 } else if (profiles.map(indication & 0x70, &profile)) {
405 if (levels.map(indicatio
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_group_map.c59 u32 *map,
65 u32 *map,
71 u32 *map,
79 u32 *map,
86 u32 *map,
92 u32 *map,
103 Function to decode interleaved slice group map type, i.e. slice
104 group map type 0.
107 map pointer to the map
120 DecodeInterleavedMap( u32 *map, u32 numSliceGroups, u32 *runLength, u32 picSize) argument
174 DecodeDispersedMap( u32 *map, u32 numSliceGroups, u32 picWidth, u32 picHeight) argument
225 DecodeForegroundLeftOverMap( u32 *map, u32 numSliceGroups, u32 *topLeft, u32 *bottomRight, u32 picWidth, u32 picHeight) argument
294 DecodeBoxOutMap( u32 *map, u32 sliceGroupChangeDirectionFlag, u32 unitsInSliceGroup0, u32 picWidth, u32 picHeight) argument
400 DecodeRasterScanMap( u32 *map, u32 sliceGroupChangeDirectionFlag, u32 sizeOfUpperLeftGroup, u32 picSize) argument
448 DecodeWipeMap( u32 *map, u32 sliceGroupChangeDirectionFlag, u32 sizeOfUpperLeftGroup, u32 picWidth, u32 picHeight) argument
503 h264bsdDecodeSliceGroupMap( u32 *map, picParamSet_t *pps, u32 sliceGroupChangeCycle, u32 picWidth, u32 picHeight) argument
[all...]
H A Dh264bsd_slice_group_map.h53 u32 *map,
/frameworks/av/media/libstagefright/foundation/
H A DColorUtils.cpp99 if (sStandards.map(std::make_pair(primaries, coeffs), &res)) {
119 if (sStandards.map((ColorStandard)standard, &res)) {
155 if (sRanges.map(range, &res)) {
169 if (sRanges.map((ColorRange)range, aspect)) {
196 if (sTransfers.map(transfer, &res)) {
211 if (sTransfers.map((ColorTransfer)transfer, aspect)) {
314 !sIsoPrimaries.map(aspects.mPrimaries, primaries)) {
315 CHECK(sIsoPrimaries.map(ColorAspects::PrimariesUnspecified, primaries));
318 !sIsoTransfers.map(aspects.mTransfer, transfer)) {
319 CHECK(sIsoTransfers.map(ColorAspect
[all...]
/frameworks/av/media/utils/include/mediautils/
H A DBatteryNotifier.h24 #include <map>
63 std::map<std::pair<String8, int>, bool> mFlashlightState;
64 std::map<std::pair<String8, int>, bool> mCameraState;
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DCollection.h27 #include <map>
37 * Collection of policy element as a map indexed with a their UID type.
47 class Collection : public std::map<Key, Element<Key> *>
50 typedef std::map<Key, Element<Key> *> Base;
52 typedef typename std::map<Key, T *>::iterator CollectionIterator;
53 typedef typename std::map<Key, T *>::const_iterator CollectionConstIterator;
H A DEngine.cpp36 using std::map;
H A DStream.h22 #include <map>
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp39 using std::map;
222 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap)
225 typename std::map<string, T *>::iterator it = elementsMap.find(name);
231 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &elementsMap) const
234 typename std::map<string, T *>::const_iterator it = elementsMap.find(name);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h24 #include <map>
45 typedef std::map<std::string, ISelectionCriterionInterface *> CriterionCollection;
46 typedef std::map<std::string, ISelectionCriterionTypeInterface *> CriterionTypeCollection;
72 * @todo: map on initCheck?
226 * Retrieve an element from a map by its name.
235 T *getElement(const std::string &name, std::map<std::string, T *> &elementsMap);
238 * Retrieve an element from a map by its name. Const version.
248 const std::map<std::string, T *> &elementsMap) const;
269 CriterionTypeCollection mPolicyCriterionTypes; /**< Policy Criterion Type map. */
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp1112 std::map<int,int> pidToPriorityMap;
1412 // Update UID map - this is used in the torch status changed callbacks, so must be done

Completed in 500 milliseconds

1234567891011>>