Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 25 of 30) sorted by relevance

12

/hardware/google/av/media/sfplugin/tests/
DReflectedParamUpdater_test.cpp155 std::vector<C2Param::Index> indices; in TEST_F() local
156 updater.getParamIndicesFromMessage(msg, &indices); in TEST_F()
157 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
159 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
161 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
163 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
165 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
201 std::vector<C2Param::Index> indices; in TEST_F() local
202 updater.getParamIndicesFromMessage(msg, &indices); in TEST_F()
203 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
[all …]
/hardware/interfaces/tv/input/1.0/vts/functional/
DVtsHalTvInputV1_0TargetTest.cpp119 std::vector<size_t> indices; in getConfigIndices() local
122 indices.push_back(i); in getConfigIndices()
125 return indices; in getConfigIndices()
324 std::vector<size_t> indices = getConfigIndices(); in TEST_F() local
325 if (indices.empty()) { in TEST_F()
328 int32_t device_id = stream_config_.keyAt(indices[0]); in TEST_F()
329 int32_t stream_id = stream_config_.valueAt(indices[0])[0].streamId; in TEST_F()
354 std::vector<size_t> indices = getConfigIndices(); in TEST_F() local
355 if (indices.empty()) { in TEST_F()
358 int32_t device_id = stream_config_.keyAt(indices[0]); in TEST_F()
[all …]
/hardware/google/av/codec2/hidl/1.0/utils/
DConfigurable.cpp54 const hidl_vec<uint32_t>& indices, in query() argument
59 (Index*)indices.data(), in query()
60 (Index*)indices.data() + indices.size()); in query()
DComponentStore.cpp84 const std::vector<C2Param::Index> &indices, in query()
89 if (mayBlock == C2_DONT_BLOCK && indices.size() != 0) { in query()
92 return mStore->query_sm({}, indices, params); in query()
250 const hidl_vec<uint32_t>& indices, in getStructDescriptors() argument
252 hidl_vec<StructDescriptor> descriptors(indices.size()); in getStructDescriptors()
255 for (size_t srcIx = 0; srcIx < indices.size(); ++srcIx) { in getStructDescriptors()
257 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors()
DComponent.cpp64 const std::vector<C2Param::Index>& indices, in query()
69 return mIntf->query_vb({}, indices, mayBlock, params); in query()
260 std::map<uint64_t, std::vector<size_t>> indices; member
265 indices() {} in DeathNotifications()
552 const std::vector<C2Param::Index>& indices, in query()
556 (void)indices; in query()
790 auto findFrameIndex = deathNotifications.indices.find(frameIndex); in _unregisterFrameData()
791 if (findFrameIndex != deathNotifications.indices.end()) { in _unregisterFrameData()
794 deathNotifications.indices.erase(findFrameIndex); in _unregisterFrameData()
912 deathNotifications.indices[id.frameIndex].emplace_back(id.bufferIndex); in _onBufferDestroyed()
[all …]
DInputSurfaceConnection.cpp260 hidl_vec<ParamIndex> indices( in compQuery() local
268 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in compQuery()
272 indices[numIndices++] = in compQuery()
275 indices.resize(numIndices); in compQuery()
281 indices, in compQuery()
DInputSurface.cpp81 const std::vector<C2Param::Index> &indices, in query() argument
84 return mImpl->query({}, indices, mayBlock, params); in query()
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurable.h66 const hidl_vec<uint32_t>& indices,
116 const hidl_vec<uint32_t>& indices, in query()
119 return mIntf->query(indices, mayBlock, _hidl_cb); in query()
DConfigurableC2Intf.h50 const std::vector<C2Param::Index> &indices,
DComponentStore.h78 const hidl_vec<uint32_t>& indices,
/hardware/google/interfaces/media/c2/1.0/
DIConfigurable.hal46 * @param indices List of param indices for params to be queried.
56 * @return params List of params queried corresponding to \p indices.
59 vec<ParamIndex> indices,
109 * start index of 0, and the selected range are indices into this vector.
111 * not fully/not at all part of the available vector indices.
DIComponentStore.hal167 * store must simply ignore all struct indices that it is not aware of.
169 * @param indices struct indices to return des
172 * - NOT_FOUND - Some indices were not known.
177 vec<ParamIndex> indices
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp246 std::set<C2Param::Index> indices; in getParamIndicesFromMessage() local
249 [&indices](const std::string &, const FieldDesc &desc, const void *, size_t) { in getParamIndicesFromMessage()
250 indices.insert(desc.paramDesc->index()); in getParamIndicesFromMessage()
252 for (const C2Param::Index &index : indices) { in getParamIndicesFromMessage()
262 std::set<C2Param::Index> indices; in getParamIndicesForKeys() local
273 indices.insert(desc.paramDesc->index()); in getParamIndicesForKeys()
277 for (const C2Param::Index &index : indices) { in getParamIndicesForKeys()
DCCodecConfig.cpp930 std::vector<C2Param::Index> indices; in initialize() local
931 mParamUpdater->getParamIndicesForKeys(formatKeys, &indices); in initialize()
932 mSubscribedIndices.insert(indices.begin(), indices.end()); in initialize()
951 const std::vector<C2Param::Index> &indices, in subscribeToConfigUpdate() argument
953 mSubscribedIndices.insert(indices.begin(), indices.end()); in subscribeToConfigUpdate()
956 std::vector<uint32_t> indices; in subscribeToConfigUpdate() local
958 indices.push_back(ix); in subscribeToConfigUpdate()
961 C2SubscribedParamIndicesTuning::AllocUnique(indices); in subscribeToConfigUpdate()
977 std::vector<C2Param::Index> indices(mSubscribedIndices.begin(), mSubscribedIndices.end()); in queryConfiguration() local
979 c2_status_t c2Err = component->query({}, indices, C2_MAY_BLOCK, &queried); in queryConfiguration()
[all …]
DCCodecConfig.h322 const std::vector<C2Param::Index> &indices,
DCCodec.cpp794 std::initializer_list<C2Param::Index> indices { in configure() local
798 indices, in configure()
805 if (params.size() != indices.size()) { in configure()
807 indices.size(), params.size()); in configure()
/hardware/interfaces/media/c2/1.0/
DIConfigurable.hal63 * order of C2Param structure indices in @p indices.
78 * @param indices List of C2Param structure indices to query.
94 vec<ParamIndex> indices,
171 * structure indices.
179 * list may have fewer than @p count elements if some indices in the
DIComponentStore.hal171 * C2Param structure indices that this store is aware of.
174 * store must simply ignore all struct indices that it is not aware of.
176 * @param indices Indices of C2Param structures to describe.
179 * - `NOT_FOUND` - Some indices were not known.
186 vec<ParamIndex> indices
/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp447 hidl_vec<uint32_t> indices; in TEST_P() local
460 indices.resize(sz); in TEST_P()
463 indices[i] = rails[j].index; in TEST_P()
464 debugString += std::to_string(indices[i]) + ", "; in TEST_P()
472 Return<void> ret = service_->getEnergyData(indices, cb); in TEST_P()
481 for (j = 0; j < indices.size(); j++) { in TEST_P()
482 if (indices[j] == measurements[i].index) { in TEST_P()
/hardware/google/av/codec2/hidl/client/
Dclient.cpp118 hidl_vec<ParamIndex> indices( in query() local
126 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in query()
130 indices[numIndices++] = in query()
133 indices.resize(numIndices); in query()
139 indices, in query()
586 hidl_vec<ParamIndex> indices(1); in getParamReflector() local
587 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()
590 indices, in getParamReflector()
658 std::deque<size_t> indices; in ForAllStores() local
660 indices.push_front(--index); in ForAllStores()
[all …]
/hardware/google/av/codec2/vndk/util/
DC2InterfaceHelper.cpp169 void setDependencies(std::vector<C2Param::Index> indices, std::vector<ParamRef> refs) { in setDependencies() argument
170 mDependencies = indices; in setDependencies()
317 std::vector<C2Param::Index> indices, std::vector<ParamRef> refs) { in setDependencies() argument
318 mImpl->setDependencies(indices, refs); in setDependencies()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session.cpp176 char indices[kPropertyMax]; in Init() local
178 if (Debug::Get()->GetProperty(BUILTIN_BASEID_AND_SIZE_PROP, indices) == kErrorNone) { in Init()
179 if (std::sscanf(indices, "%d,%d", &index_start, &index_size) == 2) { in Init()
184 if (Debug::Get()->GetProperty(PLUGGABLE_BASEID_AND_SIZE_PROP, indices) == kErrorNone) { in Init()
185 if (std::sscanf(indices, "%d,%d", &index_start, &index_size) == 2) { in Init()
190 if (Debug::Get()->GetProperty(VIRTUAL_BASEID_AND_SIZE_PROP, indices) == kErrorNone) { in Init()
191 if (std::sscanf(indices, "%d,%d", &index_start, &index_size) == 2) { in Init()
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioDecTest.cpp296 std::initializer_list<C2Param::Index> indices{ in getInputChannelInfo() local
302 component->query({}, indices, C2_DONT_BLOCK, &inParams); in getInputChannelInfo()
/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceHelper.h364 void setDependencies(std::vector<C2Param::Index> indices, std::vector<ParamRef> refs);
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal691 * a one-dimensional tensor of selection indices (Lookups).
716 * The values are indices into the first dimension of Values.
2961 * input0.dimension[:axis] + indices.dimension + input0.dimension[axis + 1:]
2963 * # Vector indices (output is rank(input0)).
2965 * input0[a_0, ..., a_n, indices[i], b_0, ..., b_n]
2967 * # Higher rank indices (output is rank(input0) + rank(indices) - 1).
2969 * input0[a_0, ..., a_n, indices[i, ..., j], b_0, ..., b_n]
2984 * * 2: A k-D tensor {@link OperandType::TENSOR_INT32} of indices.
3260 * indices after bicubic upscaling by using Taylor expansion up to the
4230 * the beginning indices of the slice in each dimension.
[all …]

12