Home
last modified time | relevance | path

Searched refs:C2_OK (Results 1 – 25 of 92) sorted by relevance

1234

/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
H A DVtsHalMediaC2V1_0TargetComponentTest.cpp134 ASSERT_EQ(err, C2_OK); in TEST_P()
138 ASSERT_EQ(err, C2_OK); in TEST_P()
141 ASSERT_EQ(err, C2_OK); in TEST_P()
150 ASSERT_EQ(err, C2_OK); in TEST_P()
157 ASSERT_EQ(err, C2_OK); in TEST_P()
174 ASSERT_EQ(err, C2_OK); in TEST_P()
215 ASSERT_EQ(err, C2_OK); in TEST_P()
228 ASSERT_EQ(err, C2_OK); in TEST_P()
246 ASSERT_EQ(err, C2_OK); in TEST_P()
253 ASSERT_EQ(err, C2_OK); in TEST_P()
[all …]
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
H A DVtsHalMediaC2V1_0TargetAudioEncTest.cpp86 mWorkResult = C2_OK; in SetUp()
385 ASSERT_EQ(C2_OK, in encodeNFrames()
391 if (view.error() != C2_OK) { in encodeNFrames()
483 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_P()
484 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
524 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_P()
525 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
548 ASSERT_EQ(err, C2_OK); in TEST_P()
556 ASSERT_EQ(err, C2_OK); in TEST_P()
568 ASSERT_EQ(err, C2_OK); in TEST_P()
[all …]
H A DVtsHalMediaC2V1_0TargetAudioDecTest.cpp113 mWorkResult = C2_OK; in SetUp()
365 ASSERT_EQ(C2_OK, in decodeNFrames()
506 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
553 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
594 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
620 ASSERT_EQ(err, C2_OK); in TEST_P()
635 ASSERT_EQ(err, C2_OK); in TEST_P()
664 ASSERT_EQ(err, C2_OK); in TEST_P()
788 c2_status_t err = C2_OK; in TEST_P()
796 ASSERT_EQ(err, C2_OK); in TEST_P()
[all …]
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
H A DVtsHalMediaC2V1_0TargetVideoEncTest.cpp72 C2_OK); in SetUp()
270 c2_status_t status = C2_OK; in setupConfigParam()
337 c2_status_t err = C2_OK; in encodeNFrames()
397 if (err != C2_OK) { in encodeNFrames()
406 if (view.error() != C2_OK) { in encodeNFrames()
496 return C2_OK; in getMaxMinResolutionSupported()
604 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_P()
647 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_P()
671 ASSERT_EQ(err, C2_OK); in TEST_P()
690 ASSERT_EQ(err, C2_OK); in TEST_P()
[all …]
H A DVtsHalMediaC2V1_0TargetVideoDecTest.cpp135 mWorkResult = C2_OK; in SetUp()
679 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
784 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
823 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
864 ASSERT_EQ(mWorkResult, C2_OK); in TEST_P()
883 ASSERT_EQ(err, C2_OK); in TEST_P()
900 ASSERT_EQ(err, C2_OK); in TEST_P()
927 ASSERT_EQ(err, C2_OK); in TEST_P()
1029 c2_status_t err = C2_OK; in TEST_P()
1037 ASSERT_EQ(err, C2_OK); in TEST_P()
[all …]
/aosp12/frameworks/av/media/codec2/hidl/plugin/
H A DFilterWrapper.cpp206 if (err != C2_OK) { in query_vb()
419 return C2_OK; in transferParams_l()
431 return C2_OK; in backPropagateParams_l()
438 return C2_OK; in backPropagateParams_l()
454 return C2_OK; in backPropagateParams_l()
485 return C2_OK; in setListener_vb()
520 return C2_OK; in drain_nb()
562 return C2_OK; in start()
579 return C2_OK; in stop()
774 return C2_OK; in setListenerInternal()
[all …]
/aosp12/frameworks/av/media/codec2/vndk/
H A DC2AllocatorBlob.cpp47 return C2_OK; in GetCapacityFromHandle()
107 return C2_OK; in map()
112 if (err != C2_OK) { in map()
122 return C2_OK; in map()
143 return C2_OK; in unmap()
186 if (status != C2_OK) { in newLinearAllocation()
193 return C2_OK; in newLinearAllocation()
210 if (status != C2_OK) { in priorLinearAllocation()
218 if (status != C2_OK) { in priorLinearAllocation()
224 return C2_OK; in priorLinearAllocation()
[all …]
H A DC2Store.cpp164 if (res != C2_OK) { in fetchAllocator()
172 return C2_OK; in fetchAllocator()
197 if (res == C2_OK) { in UseComponentStoreForIonAllocator()
253 if (res == C2_OK) { in UseComponentStoreForDmaBufAllocator()
973 mInit = C2_OK; in init()
976 if (mInit != C2_OK) { in init()
982 if (res != C2_OK) { in init()
1023 if (mInit != C2_OK) { in createInterface()
1040 if (mInit != C2_OK) { in createComponent()
1184 if (res == C2_OK) { in createComponent()
[all …]
H A DC2AllocatorIon.cpp142 if (mInit != C2_OK) { in Impl()
239 return C2_OK; in unmap()
258 if (mInit == C2_OK) { in ~Impl()
288 c2_status_t err = C2_OK; in mapInternal()
485 : mInit(C2_OK), in C2AllocatorIon()
502 if (mInit == C2_OK) { in ~C2AllocatorIon()
543 c2_status_t res = C2_OK; in mapUsage()
587 if (mInit != C2_OK) { in newLinearAllocation()
602 if (ret == C2_OK) { in newLinearAllocation()
611 if (mInit != C2_OK) { in priorLinearAllocation()
[all …]
H A DC2Buffer.cpp283 if (error == C2_OK) { in map()
313 if (error == C2_OK) { in map()
342 if (err != C2_OK) { in fetchLinearBlock()
348 return C2_OK; in fetchLinearBlock()
416 if (err == C2_OK) { in CreateLinearBlock()
668 : mInit(C2_OK), in Impl()
1104 if (err != C2_OK) { in fetchGraphicBlock()
1110 return C2_OK; in fetchGraphicBlock()
1243 return C2_OK; in registerOnDestroyNotify()
1256 return C2_OK; in unregisterOnDestroyNotify()
[all …]
/aosp12/frameworks/av/media/codec2/fuzzer/
H A DC2Fuzzer.cpp166 if (status != C2_OK) { in initDecoder()
180 if (status != C2_OK) { in initDecoder()
185 if (status != C2_OK) { in initDecoder()
192 if (status != C2_OK) { in initDecoder()
216 if (status != C2_OK) { in initDecoder()
227 if (status != C2_OK) { in initDecoder()
247 c2_status_t status = C2_OK; in decodeFrames()
277 if (status != C2_OK || block == nullptr) { in decodeFrames()
282 if (view.error() != C2_OK) { in decodeFrames()
293 if (status != C2_OK) { in decodeFrames()
/aosp12/frameworks/av/media/codec2/components/raw/
H A DC2SoftRawDec.cpp121 return C2_OK; in onInit()
126 return C2_OK; in onStop()
144 work->result = C2_OK; in process()
173 return C2_OK; in drain()
180 return C2_OK; in drain()
198 return C2_OK; in createComponent()
209 return C2_OK; in createInterface()
/aosp12/frameworks/av/media/codec2/components/g711/
H A DC2SoftG711Dec.cpp115 return C2_OK; in onInit()
120 return C2_OK; in onStop()
138 work->result = C2_OK; in process()
181 if (err != C2_OK) { in process()
217 return C2_OK; in drain()
224 return C2_OK; in drain()
241 return C2_OK; in createComponent()
251 return C2_OK; in createInterface()
/aosp12/frameworks/av/media/codec2/hidl/client/
H A Dclient.cpp733 if (status != C2_OK) { in createComponent()
1099 if (status != C2_OK) { in CreateComponentByName()
1136 if (status != C2_OK) { in CreateInterfaceByName()
1345 if (status != C2_OK) { in queue()
1405 if (status != C2_OK) { in drain()
1419 if (status != C2_OK) { in start()
1433 if (status != C2_OK) { in stop()
1447 if (status != C2_OK) { in reset()
1461 if (status != C2_OK) { in release()
1570 if (status != C2_OK) { in setOutputSurface()
[all …]
/aosp12/frameworks/av/media/codec2/components/opus/
H A DC2SoftOpusEnc.cpp158 int err = C2_OK; in configureEncoder()
238 return C2_OK; in configureEncoder()
283 return C2_OK; in onStop()
328 work->result = C2_OK; in process()
372 if (err != C2_OK) { in process()
568 if (err != C2_OK) { in drainInternal()
596 work->result = C2_OK; in drainInternal()
601 return C2_OK; in drainInternal()
608 return C2_OK; in drain()
634 return C2_OK; in createComponent()
[all …]
H A DC2SoftOpusDec.cpp110 return err == OK ? C2_OK : C2_NO_MEMORY; in onInit()
126 return C2_OK; in onStop()
158 return C2_OK; in onFlush_sm()
167 return C2_OK; in drain()
174 return C2_OK; in drain()
212 work->result = C2_OK; in process()
382 if (err != C2_OK) { in process()
454 return C2_OK; in createComponent()
465 return C2_OK; in createInterface()
/aosp12/frameworks/av/media/codec2/tests/vndk/
H A DC2BufferTest.cpp250 if (err != C2_OK) { in allocateLinear()
265 if (err != C2_OK) { in mapLinear()
296 if (err != C2_OK) { in allocateGraphic()
311 if (err != C2_OK) { in mapGraphic()
387 ASSERT_EQ(C2_OK, writeView.error()); in TEST_F()
412 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
425 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
528 ASSERT_EQ(C2_OK, graphicView.error()); in TEST_F()
683 ASSERT_EQ(C2_OK, alloc->fetchLinearBlock( in TEST_F()
716 ASSERT_EQ(C2_OK, buffer->setInfo(info1)); in TEST_F()
[all …]
/aosp12/frameworks/av/media/codec2/components/base/
H A DSimpleC2Component.cpp229 return C2_OK; in setListener_vb()
251 return C2_OK; in queue_nb()
284 return C2_OK; in flush_sm()
307 return C2_OK; in drain_nb()
322 if (err != C2_OK) { in start()
330 return C2_OK; in start()
351 if (err != C2_OK) { in stop()
354 return C2_OK; in stop()
370 return C2_OK; in reset()
377 return C2_OK; in release()
[all …]
/aosp12/frameworks/av/media/codec2/components/mpeg4_h263/
H A DC2SoftMpeg4Enc.cpp261 return C2_OK; in onStop()
269 return C2_OK; in onStop()
290 return C2_OK; in onFlush_sm()
358 return C2_OK; in initEncParams()
363 return C2_OK; in initEncoder()
372 if (C2_OK != err) { in initEncoder()
386 return C2_OK; in initEncoder()
621 return C2_OK; in drain()
628 return C2_OK; in drain()
646 return C2_OK; in createComponent()
[all …]
/aosp12/frameworks/av/media/tests/benchmark/src/native/encoder/
H A DC2Encoder.cpp72 C2_OK) { in createCodec2Component()
96 if (status != C2_OK && inParams.size() == 0) { in getInputMaxBufSize()
137 c2_status_t status = C2_OK; in encodeFrames()
184 if (status != C2_OK || !block) { in encodeFrames()
189 if (view.error() != C2_OK) { in encodeFrames()
201 if (status != C2_OK || !block) { in encodeFrames()
206 if (view.error() != C2_OK) { in encodeFrames()
229 if (status != C2_OK) { in encodeFrames()
/aosp12/frameworks/av/media/codec2/components/gsm/
H A DC2SoftGsmDec.cpp111 return C2_OK; in onInit()
125 return C2_OK; in onStop()
172 work->result = C2_OK; in process()
212 if (err != C2_OK) { in process()
250 return C2_OK; in drain()
257 return C2_OK; in drain()
275 return C2_OK; in createComponent()
286 return C2_OK; in createInterface()
/aosp12/frameworks/av/media/codec2/components/avc/
H A DC2SoftAvcEnc.cpp608 return C2_OK; in onInit()
612 return C2_OK; in onStop()
633 return C2_OK; in onFlush_sm()
685 return C2_OK; in setDimensions()
708 return C2_OK; in setNumCores()
734 return C2_OK; in setFrameRate()
761 return C2_OK; in setIpeParams()
785 return C2_OK; in setBitRate()
809 return C2_OK; in setFrameType()
875 return C2_OK; in setQp()
[all …]
/aosp12/frameworks/av/media/codec2/components/amr_nb_wb/
H A DC2SoftAmrNbEnc.cpp143 return C2_OK; in onInit()
163 return C2_OK; in onStop()
185 work->result = C2_OK; in process()
217 if (err != C2_OK) { in process()
291 return C2_OK; in drain()
299 return C2_OK; in drain()
317 return C2_OK; in createComponent()
329 return C2_OK; in createInterface()
H A DC2SoftAmrDec.cpp139 return err == OK ? C2_OK : C2_NO_MEMORY; in onInit()
151 return C2_OK; in onStop()
243 work->result = C2_OK; in process()
299 if (err != C2_OK) { in process()
384 return C2_OK; in drain()
390 return C2_OK; in drain()
407 return C2_OK; in createComponent()
418 return C2_OK; in createInterface()
/aosp12/frameworks/av/media/codec2/components/flac/
H A DC2SoftFlacEnc.cpp149 return err == OK ? C2_OK : C2_CORRUPTED; in onInit()
180 if (C2_OK != status) return status; in onStop()
184 return C2_OK; in onStop()
201 work->result = C2_OK; in process()
260 if (err != C2_OK) { in process()
304 if (eos && (C2_OK != drain(DRAIN_COMPONENT_WITH_EOS, pool))) { in process()
426 return C2_OK; in drain()
446 return C2_OK; in drain()
464 return C2_OK; in createComponent()
475 return C2_OK; in createInterface()

1234