/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 127 ASSERT_EQ(err, C2_OK); in TEST_F() 131 ASSERT_EQ(err, C2_OK); in TEST_F() 134 ASSERT_EQ(err, C2_OK); in TEST_F() 143 ASSERT_EQ(err, C2_OK); in TEST_F() 150 ASSERT_EQ(err, C2_OK); in TEST_F() 160 c2_status_t err = C2_OK; in TEST_F() 167 ASSERT_EQ(err, C2_OK); in TEST_F() 175 EXPECT_EQ(err, C2_OK); in TEST_F() 177 ASSERT_EQ(err, C2_OK); in TEST_F() 191 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 85 C2_OK); in SetUp() 176 if (work->result != C2_OK) mFailedWorkReceived++; in handleWorkDone() 245 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 273 if (status == C2_OK && failures.size() == 0u) return true; in setupConfigParam() 296 c2_status_t err = C2_OK; in encodeNFrames() 340 if (err != C2_OK) { in encodeNFrames() 349 if (view.error() != C2_OK) { in encodeNFrames() 373 ASSERT_EQ(component->queue(&items), C2_OK); in encodeNFrames() 426 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P() 436 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_P() [all …]
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 95 C2_OK); in SetUp() 253 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 388 ASSERT_EQ(C2_OK, in decodeNFrames() 396 if (view.error() != C2_OK) { in decodeNFrames() 415 ASSERT_EQ(component->queue(&items), C2_OK); in decodeNFrames() 468 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P() 506 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_P() 524 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 601 ASSERT_EQ(mComponent->queue(&items), C2_OK); in TEST_F() 646 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 95 case Error2::NONE: return C2_OK; in maperr2error() 107 case Error3::NONE: return C2_OK; in maperr2error() 425 c2_status_t err = C2_OK; in map() 431 if (err == C2_OK) { in map() 442 if (err == C2_OK) { in map() 450 if (err != C2_OK) { in map() 496 if (err == C2_OK) { in map() 514 if (err == C2_OK) { in map() 524 if (err != C2_OK) { in map() 609 if (err == C2_OK) { in map() [all …]
|
D | C2Store.cpp | 120 if (res != C2_OK) { in fetchAllocator() 128 return C2_OK; in fetchAllocator() 151 if (res == C2_OK) { in UseComponentStoreForIonAllocator() 152 if (query[0].status == C2_OK) { in UseComponentStoreForIonAllocator() 162 if (query[1].status == C2_OK) { in UseComponentStoreForIonAllocator() 177 if (res == C2_OK) { in UseComponentStoreForIonAllocator() 316 if (res == C2_OK) { in _createBlockPool() 329 if (res == C2_OK) { in _createBlockPool() 340 if (res == C2_OK) { in _createBlockPool() 354 if (res == C2_OK) { in _createBlockPool() [all …]
|
D | C2Buffer.cpp | 167 : _C2Block1DImpl(block, offset, size), mData(data), mError(C2_OK) { } in _C2MappedBlock1DImpl() 279 if (error == C2_OK) { in map() 309 if (error == C2_OK) { in map() 338 if (err != C2_OK) { in fetchLinearBlock() 344 return C2_OK; in fetchLinearBlock() 401 if (err == C2_OK) { in CreateLinearBlock() 419 if (err == C2_OK && poolData) { in CreateLinearBlock() 550 if (status == C2_OK && c2Linear) { in allocate() 572 if (status == C2_OK && c2Graphic) { in allocate() 642 : mInit(C2_OK), in Impl() [all …]
|
D | C2AllocatorIon.cpp | 173 if (mInit != C2_OK) { in Impl() 266 return C2_OK; in unmap() 283 if (mInit == C2_OK) { in ~Impl() 313 c2_status_t err = C2_OK; in mapInternal() 383 c2_status_t err = C2_OK; in mapInternal() 488 : mInit(C2_OK), in C2AllocatorIon() 505 if (mInit == C2_OK) { in ~C2AllocatorIon() 546 c2_status_t res = C2_OK; in mapUsage() 590 if (mInit != C2_OK) { in newLinearAllocation() 605 if (ret == C2_OK) { in newLinearAllocation() [all …]
|
D | C2PlatformStorePluginLoader.cpp | 70 return C2_OK; in createBlockPool() 85 if (res != C2_OK) { in createAllocator() 90 return C2_OK; in createAllocator()
|
/frameworks/av/media/codec2/components/raw/ |
D | C2SoftRawDec.cpp | 119 return C2_OK; in onInit() 124 return C2_OK; in onStop() 142 work->result = C2_OK; in process() 171 return C2_OK; in drain() 178 return C2_OK; in drain() 196 return C2_OK; in createComponent() 207 return C2_OK; in createInterface()
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.cpp | 115 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()
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 230 if (status != C2_OK && status != C2_BAD_INDEX) { in query() 314 if (status != C2_OK && status != C2_BAD_INDEX) { in config() 351 if (status != C2_OK) { in querySupportedParams() 392 if (status != C2_OK) { in querySupportedValues() 563 if (status != C2_OK) { in createComponent() 573 } else if (status != C2_OK) { in createComponent() 584 if (status != C2_OK) { in createComponent() 604 if (status != C2_OK) { in createInterface() 613 } else if (status != C2_OK) { in createInterface() 630 if (status != C2_OK) { in createInputSurface() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 86 C2_OK); in SetUp() 181 if (status != C2_OK && inParams.size() == 0) { in getInputMaxBufSize() 216 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 248 if (status == C2_OK && failures.size() == 0u) return true; in setupConfigParam() 332 ASSERT_EQ(C2_OK, linearPool->fetchLinearBlock( in encodeNFrames() 339 if (view.error() != C2_OK) { in encodeNFrames() 358 ASSERT_EQ(component->queue(&items), C2_OK); in encodeNFrames() 425 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P() 464 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_P() 479 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() [all …]
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 92 C2_OK); in SetUp() 246 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 278 if (status == C2_OK && failures.size() == 0u) return true; in setupConfigParam() 296 if (status != C2_OK && inParams.size() == 0) { in getInputChannelInfo() 449 ASSERT_EQ(C2_OK, in decodeNFrames() 457 if (view.error() != C2_OK) { in decodeNFrames() 477 ASSERT_EQ(component->queue(&items), C2_OK); in decodeNFrames() 494 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 499 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_F() 562 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P() [all …]
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 142 int err = C2_OK; in configureEncoder() 212 return C2_OK; in configureEncoder() 257 return C2_OK; in onStop() 302 work->result = C2_OK; in process() 315 c2_status_t err = C2_OK; in process() 332 if (initEncoder() != C2_OK) { in process() 346 if (err != C2_OK) { in process() 381 work->result = C2_OK; in process() 542 if (err != C2_OK) { in drainInternal() 570 work->result = C2_OK; in drainInternal() [all …]
|
D | C2SoftOpusDec.cpp | 110 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()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 249 if (err != C2_OK) { in allocateLinear() 264 if (err != C2_OK) { in mapLinear() 279 ASSERT_EQ(C2_OK, mLinearAllocation->unmap(mAddr, mSize, nullptr)); in unmapLinear() 295 if (err != C2_OK) { in allocateGraphic() 310 if (err != C2_OK) { in mapGraphic() 324 ASSERT_EQ(C2_OK, mGraphicAllocation->unmap(mAddrGraphic, mMappedRect, nullptr)); in unmapGraphic() 373 ASSERT_EQ(C2_OK, blockPool->fetchLinearBlock( in TEST_F() 381 ASSERT_EQ(C2_OK, writeView.error()); in TEST_F() 406 ASSERT_EQ(C2_OK, readView.error()); in TEST_F() 419 ASSERT_EQ(C2_OK, readView.error()); in TEST_F() [all …]
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 458 return C2_OK; in onInit() 462 return C2_OK; in onStop() 483 return C2_OK; in onFlush_sm() 535 return C2_OK; in setDimensions() 558 return C2_OK; in setNumCores() 584 return C2_OK; in setFrameRate() 611 return C2_OK; in setIpeParams() 635 return C2_OK; in setBitRate() 659 return C2_OK; in setFrameType() 693 return C2_OK; in setQp() [all …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 261 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() 393 work->result = C2_OK; in process() 402 if (!mStarted && C2_OK != initEncoder()) { in process() 412 if (err != C2_OK) { in process() [all …]
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 226 return C2_OK; in setListener_vb() 248 return C2_OK; in queue_nb() 281 return C2_OK; in flush_sm() 304 return C2_OK; in drain_nb() 319 if (err != C2_OK) { in start() 327 return C2_OK; in start() 348 if (err != C2_OK) { in stop() 351 return C2_OK; in stop() 367 return C2_OK; in reset() 374 return C2_OK; in release() [all …]
|
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 111 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()
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 143 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()
|
D | C2SoftAmrDec.cpp | 139 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() 379 return C2_OK; in drain() 385 return C2_OK; in drain() 402 return C2_OK; in createComponent() 413 return C2_OK; in createInterface()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 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()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 149 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() 303 if (eos && (C2_OK != drain(DRAIN_COMPONENT_WITH_EOS, pool))) { in process() 425 return C2_OK; in drain() 445 return C2_OK; in drain() 463 return C2_OK; in createComponent() 474 return C2_OK; in createInterface()
|
D | C2SoftFlacDec.cpp | 121 return err == OK ? C2_OK : C2_NO_MEMORY; in onInit() 130 return C2_OK; in onStop() 180 work->result = C2_OK; in process() 282 if (err != C2_OK) { in process() 321 return C2_OK; in drain() 330 return C2_OK; in drain() 348 return C2_OK; in createComponent() 359 return C2_OK; in createInterface()
|