Home
last modified time | relevance | path

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

/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.cpp83 const std::vector<C2Param::Index> &indices, in query()
88 if (mayBlock == C2_DONT_BLOCK && indices.size() != 0) { in query()
91 return mStore->query_sm({}, indices, params); in query()
248 const hidl_vec<uint32_t>& indices, in getStructDescriptors() argument
250 hidl_vec<StructDescriptor> descriptors(indices.size()); in getStructDescriptors()
253 for (size_t srcIx = 0; srcIx < indices.size(); ++srcIx) { in getStructDescriptors()
255 const C2Param::CoreIndex coreIndex = C2Param::CoreIndex(indices[srcIx]).coreIndex(); in getStructDescriptors()
DComponent.cpp59 const std::vector<C2Param::Index>& indices, in query()
64 return mIntf->query_vb({}, indices, mayBlock, params); in query()
297 const std::vector<C2Param::Index>& indices, in query()
301 (void)indices; in query()
DInputSurface.cpp81 const std::vector<C2Param::Index> &indices, in query() argument
84 return mImpl->query({}, indices, mayBlock, params); in query()
/hardware/google/av/media/sfplugin/
DCCodecConfig.cpp588 std::vector<C2Param::Index> indices; in initialize() local
589 mParamUpdater->getParamIndicesForKeys(formatKeys, &indices); in initialize()
590 mSubscribedIndices.insert(indices.begin(), indices.end()); in initialize()
609 const std::vector<C2Param::Index> &indices, in subscribeToConfigUpdate() argument
611 mSubscribedIndices.insert(indices.begin(), indices.end()); in subscribeToConfigUpdate()
614 std::vector<uint32_t> indices; in subscribeToConfigUpdate() local
616 indices.push_back(ix); in subscribeToConfigUpdate()
619 C2SubscribedParamIndicesTuning::AllocUnique(indices); in subscribeToConfigUpdate()
635 std::vector<C2Param::Index> indices(mSubscribedIndices.begin(), mSubscribedIndices.end()); in queryConfiguration() local
637 c2_status_t c2Err = component->query({}, indices, C2_MAY_BLOCK, &queried); in queryConfiguration()
[all …]
DReflectedParamUpdater.cpp233 std::set<C2Param::Index> indices; in getParamIndicesFromMessage() local
236 [&indices](const std::string &, const FieldDesc &desc, const void *, size_t) { in getParamIndicesFromMessage()
237 indices.insert(desc.paramDesc->index()); in getParamIndicesFromMessage()
239 for (const C2Param::Index &index : indices) { in getParamIndicesFromMessage()
249 std::set<C2Param::Index> indices; in getParamIndicesForKeys() local
260 indices.insert(desc.paramDesc->index()); in getParamIndicesForKeys()
264 for (const C2Param::Index &index : indices) { in getParamIndicesForKeys()
DCCodecConfig.h312 const std::vector<C2Param::Index> &indices,
DCCodec.cpp743 std::initializer_list<C2Param::Index> indices { in configure() local
747 indices, in configure()
754 if (params.size() != indices.size()) { in configure()
756 indices.size(), params.size()); in configure()
/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/codec2/hidl/client/
Dclient.cpp121 hidl_vec<ParamIndex> indices( in query() local
129 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in query()
133 indices[numIndices++] = in query()
136 indices.resize(numIndices); in query()
142 indices, in query()
561 hidl_vec<ParamIndex> indices(1); in getParamReflector() local
562 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()
565 indices, in getParamReflector()
633 std::deque<size_t> indices; in ForAllStores() local
635 indices.push_front(--index); in ForAllStores()
[all …]
/hardware/google/av/codec2/1.0/mts/component/
DMtsHalC2V1_0TargetComponentTest.cpp166 const hidl_vec<uint32_t> indices = tempIndices; in TEST_F() local
168 mComponent->query(indices, mayBlock, in TEST_F()
/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/google/av/codec2/vndk/include/util/
DC2InterfaceHelper.h363 void setDependencies(std::vector<C2Param::Index> indices, std::vector<ParamRef> refs);
/hardware/interfaces/audio/common/2.0/
Dtypes.hal462 * symbolic indices instead of hard-coded [0] and [1].
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal440 * a one-dimensional tensor of selection indices (Lookups).
458 * The values are indices into the first dimension of Values.
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal723 * @param releaseFenceIndices are indices into outHandles array, each
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal1816 * the indices defined in VmsMessageIntegerValuesIndex are to be used to
/hardware/google/av/codec2/docs/
Ddoxygen.config1205 # shown in the various tree structured indices initially; the user can expand