Home
last modified time | relevance | path

Searched refs:heapParams (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp122 std::vector<std::unique_ptr<C2Param>> *const heapParams);
206 const T &p, std::vector<std::unique_ptr<C2Param>> *const heapParams) { in queryOnHeap() argument
211 return mIntf->query_vb({}, {index}, C2_DONT_BLOCK, heapParams); in queryOnHeap()
225 std::vector<std::unique_ptr<C2Param>> heapParams; in queryParamAsExpected() local
233 ASSERT_EQ(C2_OK, queryOnHeap(*pHeap, &heapParams)); in queryParamAsExpected()
236 ASSERT_EQ(1u, heapParams.size()); in queryParamAsExpected()
237 EXPECT_TRUE(heapParams[0]); in queryParamAsExpected()
238 EXPECT_EQ(*heapParams[0], expected); in queryParamAsExpected()
253 std::vector<std::unique_ptr<C2Param>> heapParams; in queryUnsupportedParam() local
258 ASSERT_EQ(C2_BAD_INDEX, queryOnHeap(*pHeap, &heapParams)); in queryUnsupportedParam()
[all …]
DC2SampleComponent_test.cpp121 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override { in query_vb()
146 heapParams->push_back(std::move(paramCopy)); in query_vb()
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp295 std::vector<std::unique_ptr<C2Param>>* const heapParams) { in queryFromSink()
302 heapParams); in queryFromSink()
331 if (heapParams) { in queryFromSink()
332 heapParams->reserve(heapParams->size() + numIndices); in queryFromSink()
338 [&status, &numStackIndices, &stackParams, heapParams]( in queryFromSink()
390 if (!heapParams) { in queryFromSink()
395 heapParams->emplace_back(C2Param::Copy(*paramPointer)); in queryFromSink()
/frameworks/av/services/mediacodec/registrant/
DCodecServiceRegistrant.cpp143 std::vector<std::unique_ptr<C2Param>> *const heapParams) const in query_sm()
161 if (heapParams) { in query_sm()
162 heapParams->reserve(heapParams->size() + numIndices); in query_sm()
168 [&status, &numStackIndices, &stackParams, heapParams]( in query_sm()
219 if (!heapParams) { in query_sm()
223 heapParams->emplace_back( in query_sm()
/frameworks/av/media/codec2/hidl/plugin/
DFilterWrapper.cpp141 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override { in query_vb()
145 heapParams->clear(); in query_vb()
183 heapParams->insert( in query_vb()
184 heapParams->end(), in query_vb()
214 heapParams->insert( in query_vb()
215 heapParams->end(), in query_vb()
390 std::vector<std::unique_ptr<C2Param>> heapParams; in transferParams_l() local
391 err = curr->query_vb({}, indices, mayBlock, &heapParams); in transferParams_l()
400 for (size_t i = 0; i < heapParams.size(); ++i) { in transferParams_l()
401 if (!heapParams[i]) { in transferParams_l()
[all …]
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp81 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override { in query_sm()
82 return mInterface.query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
/frameworks/av/media/codec2/core/include/
DC2Component.h159 std::vector<std::unique_ptr<C2Param>>* const heapParams) const = 0;
882 std::vector<std::unique_ptr<C2Param>>* const heapParams) const = 0;
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h50 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override { in query_vb() argument
51 return mImpl->query(stackParams, heapParamIndices, mayBlock, heapParams); in query_vb()
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp65 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override { in query_vb()
66 return mHelper.query(stackParams, heapParamIndices, mayBlock, heapParams); in query_vb()
108 std::vector<std::unique_ptr<C2Param>> heapParams; in IsFilteringEnabled() local
109 c2_status_t err = intf->query_vb({&info}, {}, C2_MAY_BLOCK, &heapParams); in IsFilteringEnabled()
853 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override { in query_sm()
854 return mIntf.query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp142 std::vector<std::unique_ptr<C2Param>>* const heapParams) const { in query_sm()
143 return mClient->query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
281 std::vector<std::unique_ptr<C2Param>>* const heapParams) const { in query()
298 if (heapParams) { in query()
299 heapParams->reserve(heapParams->size() + numIndices); in query()
305 [&status, &numStackIndices, &stackParams, heapParams]( in query()
356 if (!heapParams) { in query()
360 heapParams->emplace_back( in query()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp768 std::vector<std::unique_ptr<C2Param>>* const heapParams) const { in query()
796 heapParams->push_back(std::move(p)); in query()
798 heapParams->push_back(nullptr); in query()
802 heapParams->push_back(nullptr); in query()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp130 std::vector<std::unique_ptr<C2Param>> heapParams; in TEST() local
136 &heapParams) == C2_OK in TEST()
137 && heapParams.size() == 1u) { in TEST()
139 heapParams[0].get()); in TEST()
/frameworks/av/media/codec2/vndk/
DC2Store.cpp652 std::vector<std::unique_ptr<C2Param>> *const heapParams) const override;
1123 std::vector<std::unique_ptr<C2Param>> *const heapParams) const { in query_sm()
1124 return mInterface.query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h116 std::vector<std::unique_ptr<C2Param>>* const heapParams) const;
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp470 std::vector<std::unique_ptr<C2Param>> *const heapParams) const { in query_sm()
471 return mClient->query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
1008 std::vector<std::unique_ptr<C2Param>> heapParams; in configure() local
1014 &heapParams) == C2_OK in configure()
1015 && heapParams.size() == 1u) { in configure()
1017 heapParams[0].get()); in configure()
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h648 std::vector<std::unique_ptr<C2Param>>* const heapParams) const;