/hardware/google/av/codec2/hidl/1.0/mts/component/ |
D | MtsHidlC2V1_0TargetComponentTest.cpp | 101 ASSERT_EQ(err, C2_OK); in TEST_F() 105 ASSERT_EQ(err, C2_OK); in TEST_F() 108 ASSERT_EQ(err, C2_OK); in TEST_F() 117 ASSERT_EQ(err, C2_OK); in TEST_F() 122 ASSERT_EQ(err, C2_OK); in TEST_F() 125 ASSERT_EQ(err, C2_OK); in TEST_F() 135 c2_status_t err = C2_OK; in TEST_F() 142 ASSERT_EQ(err, C2_OK); in TEST_F() 150 EXPECT_EQ(err, C2_OK); in TEST_F() 152 ASSERT_EQ(err, C2_OK); in TEST_F() [all …]
|
/hardware/google/av/codec2/hidl/1.0/mts/video/ |
D | MtsHidlC2V1_0TargetVideoEncTest.cpp | 85 C2_OK); in SetUp() 143 if (work->result != C2_OK) mFailedWorkReceived++; in handleWorkDone() 209 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 238 ASSERT_EQ(status, C2_OK); in setupConfigParam() 301 C2_OK, in encodeNFrames() 308 if (view.error() != C2_OK) { in encodeNFrames() 331 ASSERT_EQ(component->queue(&items), C2_OK); in encodeNFrames() 368 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 396 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_F() 402 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() [all …]
|
D | MtsHidlC2V1_0TargetVideoDecTest.cpp | 91 C2_OK); in SetUp() 249 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 383 ASSERT_EQ(C2_OK, in decodeNFrames() 391 if (view.error() != C2_OK) { in decodeNFrames() 410 ASSERT_EQ(component->queue(&items), C2_OK); in decodeNFrames() 454 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 491 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 568 ASSERT_EQ(mComponent->queue(&items), C2_OK); in TEST_F() 613 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 634 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_F() [all …]
|
/hardware/google/av/codec2/hidl/client/ |
D | client.cpp | 144 if (status != C2_OK && status != C2_BAD_INDEX) { in query() 151 if (parseStatus != C2_OK) { in query() 226 if (status != C2_OK) { in config() 234 if (status != C2_OK) { in config() 260 if (status != C2_OK) { in querySupportedParams() 269 if (status != C2_OK) { in querySupportedParams() 304 if (status != C2_OK) { in querySupportedValues() 317 if (status != C2_OK) { in querySupportedValues() 339 if (status != C2_OK) { in onWorkDone() 366 if (status != C2_OK) { in onTripped() [all …]
|
/hardware/google/av/codec2/vndk/ |
D | C2Store.cpp | 116 if (res != C2_OK) { in fetchAllocator() 124 return C2_OK; in fetchAllocator() 147 if (res == C2_OK) { in UseComponentStoreForIonAllocator() 148 if (query[0].status == C2_OK) { in UseComponentStoreForIonAllocator() 158 if (query[1].status == C2_OK) { in UseComponentStoreForIonAllocator() 173 if (res == C2_OK) { in UseComponentStoreForIonAllocator() 312 if (res == C2_OK) { in _createBlockPool() 325 if (res == C2_OK) { in _createBlockPool() 336 if (res == C2_OK) { in _createBlockPool() 350 if (res == C2_OK) { in _createBlockPool() [all …]
|
D | C2AllocatorGralloc.cpp | 84 case Error::NONE: return C2_OK; in maperr2error() 366 c2_status_t err = C2_OK; in map() 371 if (err == C2_OK) { in map() 375 if (err != C2_OK) { in map() 413 if (err == C2_OK) { in map() 417 if (err != C2_OK) { in map() 493 if (err == C2_OK) { in map() 497 if (err != C2_OK) { in map() 555 return C2_OK; in map() 565 c2_status_t err = C2_OK; in unmap() [all …]
|
D | C2PlatformStorePluginLoader.cpp | 64 return C2_OK; in createBlockPool() 79 if (res != C2_OK) { in createAllocator() 84 return C2_OK; in createAllocator()
|
D | C2AllocatorIon.cpp | 172 if (mInit != C2_OK) { in Impl() 259 c2_status_t err = C2_OK; in map() 311 return C2_OK; in unmap() 328 if (mInit == C2_OK) { in ~Impl() 413 : mInit(C2_OK), in C2AllocatorIon() 430 if (mInit == C2_OK) { in ~C2AllocatorIon() 471 c2_status_t res = C2_OK; in mapUsage() 511 if (mInit != C2_OK) { in newLinearAllocation() 526 if (ret == C2_OK) { in newLinearAllocation() 535 if (mInit != C2_OK) { in priorLinearAllocation() [all …]
|
/hardware/google/av/media/codecs/raw/ |
D | C2SoftRawDec.cpp | 126 return C2_OK; in onInit() 131 return C2_OK; in onStop() 149 work->result = C2_OK; in process() 178 return C2_OK; in drain() 185 return C2_OK; in drain() 203 return C2_OK; in createComponent() 214 return C2_OK; in createInterface()
|
/hardware/google/av/codec2/hidl/1.0/mts/audio/ |
D | MtsHidlC2V1_0TargetAudioEncTest.cpp | 86 C2_OK); in SetUp() 200 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 233 ASSERT_EQ(status, C2_OK); in setupConfigParam() 316 ASSERT_EQ(C2_OK, linearPool->fetchLinearBlock( in encodeNFrames() 323 if (view.error() != C2_OK) { in encodeNFrames() 342 ASSERT_EQ(component->queue(&items), C2_OK); in encodeNFrames() 361 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 426 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_F() 432 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 456 ASSERT_EQ(mComponent->queue(&items), C2_OK); in TEST_F() [all …]
|
D | MtsHidlC2V1_0TargetAudioDecTest.cpp | 92 C2_OK); in SetUp() 253 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 286 ASSERT_EQ(status, C2_OK); in setupConfigParam() 303 if (status != C2_OK && inParams.size() == 0) { in getInputChannelInfo() 441 ASSERT_EQ(C2_OK, in decodeNFrames() 449 if (view.error() != C2_OK) { in decodeNFrames() 469 ASSERT_EQ(component->queue(&items), C2_OK); in decodeNFrames() 486 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() 491 ASSERT_EQ(mComponent->stop(), C2_OK); in TEST_F() 498 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_F() [all …]
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcEnc.cpp | 394 return C2_OK; in onInit() 398 return C2_OK; in onStop() 413 return C2_OK; in onFlush_sm() 465 return C2_OK; in setDimensions() 488 return C2_OK; in setNumCores() 514 return C2_OK; in setFrameRate() 541 return C2_OK; in setIpeParams() 565 return C2_OK; in setBitRate() 589 return C2_OK; in setFrameType() 623 return C2_OK; in setQp() [all …]
|
/hardware/google/av/media/codecs/gsm/ |
D | C2SoftGsmDec.cpp | 117 return C2_OK; in onInit() 131 return C2_OK; in onStop() 178 work->result = C2_OK; in process() 218 if (err != C2_OK) { in process() 256 return C2_OK; in drain() 263 return C2_OK; in drain() 281 return C2_OK; in createComponent() 292 return C2_OK; in createInterface()
|
/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.cpp | 121 return C2_OK; in onInit() 126 return C2_OK; in onStop() 144 work->result = C2_OK; in process() 187 if (err != C2_OK) { in process() 223 return C2_OK; in drain() 230 return C2_OK; in drain() 294 return C2_OK; in createComponent() 304 return C2_OK; in createInterface()
|
/hardware/google/av/media/codecs/base/ |
D | SimpleC2Component.cpp | 176 return C2_OK; in setListener_vb() 198 return C2_OK; in queue_nb() 234 return C2_OK; in flush_sm() 257 return C2_OK; in drain_nb() 272 if (err != C2_OK) { in start() 280 return C2_OK; in start() 304 if (err != C2_OK) { in stop() 307 return C2_OK; in stop() 326 return C2_OK; in reset() 333 return C2_OK; in release() [all …]
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | types.cpp | 166 return C2_OK; in objcpy() 171 return C2_OK; in objcpy() 186 return C2_OK; in objcpy() 230 return C2_OK; in objcpy() 248 if (status != C2_OK) { in objcpy() 338 return C2_OK; in objcpy() 362 return C2_OK; in objcpy() 464 if (status != C2_OK) { in objcpy() 475 if (status != C2_OK) { in objcpy() 479 return C2_OK; in objcpy() [all …]
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 271 return C2_OK; in onStop() 279 return C2_OK; in onStop() 300 return C2_OK; in onFlush_sm() 368 return C2_OK; in initEncParams() 373 return C2_OK; in initEncoder() 382 if (C2_OK != err) { in initEncoder() 396 return C2_OK; in initEncoder() 403 work->result = C2_OK; in process() 412 if (!mStarted && C2_OK != initEncoder()) { in process() 422 if (err != C2_OK) { in process() [all …]
|
/hardware/google/av/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 …]
|
/hardware/google/av/media/codecs/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 150 return C2_OK; in onInit() 170 return C2_OK; in onStop() 192 work->result = C2_OK; in process() 224 if (err != C2_OK) { in process() 298 return C2_OK; in drain() 306 return C2_OK; in drain() 324 return C2_OK; in createComponent() 336 return C2_OK; in createInterface()
|
D | C2SoftAmrWbEnc.cpp | 152 return err == OK ? C2_OK : C2_NO_MEMORY; in onInit() 183 return C2_OK; in onStop() 275 work->result = C2_OK; in process() 307 if (err != C2_OK) { in process() 373 return C2_OK; in drain() 381 return C2_OK; in drain() 399 return C2_OK; in createComponent() 411 return C2_OK; in createInterface()
|
D | C2SoftAmrDec.cpp | 145 return err == OK ? C2_OK : C2_NO_MEMORY; in onInit() 157 return C2_OK; in onStop() 249 work->result = C2_OK; in process() 305 if (err != C2_OK) { in process() 385 return C2_OK; in drain() 391 return C2_OK; in drain() 408 return C2_OK; in createComponent() 419 return C2_OK; in createInterface()
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacEnc.cpp | 127 return err == OK ? C2_OK : C2_CORRUPTED; in onInit() 159 if (C2_OK != status) return status; in onStop() 163 return C2_OK; in onStop() 180 work->result = C2_OK; in process() 236 if (err != C2_OK) { in process() 274 if (eos && (C2_OK != drain(DRAIN_COMPONENT_WITH_EOS, pool))) { in process() 393 return C2_OK; in drain() 413 return C2_OK; in drain() 431 return C2_OK; in createComponent() 442 return C2_OK; in createInterface()
|
D | C2SoftFlacDec.cpp | 114 return err == OK ? C2_OK : C2_NO_MEMORY; in onInit() 123 return C2_OK; in onStop() 173 work->result = C2_OK; in process() 275 if (err != C2_OK) { in process() 315 return C2_OK; in drain() 324 return C2_OK; in drain() 342 return C2_OK; in createComponent() 353 return C2_OK; in createInterface()
|
/hardware/google/av/codec2/vndk/include/ |
D | C2ErrnoUtils.h | 25 template<> constexpr c2_status_t _c2_errno2status_impl<0>() { return C2_OK; } 44 return result == 0 ? C2_OK : C2_CORRUPTED;
|
/hardware/google/av/media/codecs/aac/ |
D | C2SoftAacEnc.cpp | 166 return err == OK ? C2_OK : C2_CORRUPTED; in onInit() 182 return C2_OK; in onStop() 197 return C2_OK; in onFlush_sm() 286 work->result = C2_OK; in process() 412 work->result = C2_OK; in process() 435 if (err != C2_OK) { in process() 501 if (err != C2_OK) { in process() 542 return C2_OK; in drain() 556 return C2_OK; in drain() 574 return C2_OK; in createComponent() [all …]
|