/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 144 ASSERT_EQ(err, C2_OK); in TEST_P() 148 ASSERT_EQ(err, C2_OK); in TEST_P() 151 ASSERT_EQ(err, C2_OK); in TEST_P() 160 ASSERT_EQ(err, C2_OK); in TEST_P() 167 ASSERT_EQ(err, C2_OK); in TEST_P() 177 c2_status_t err = C2_OK; in TEST_P() 184 ASSERT_EQ(err, C2_OK); in TEST_P() 192 EXPECT_EQ(err, C2_OK); in TEST_P() 194 ASSERT_EQ(err, C2_OK); in TEST_P() 208 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P() [all …]
|
/frameworks/av/media/codec2/hidl/plugin/ |
D | FilterWrapper.cpp | 68 if (err != C2_OK) { in takeFilters() 151 c2_status_t result = C2_OK; in query_vb() 182 if (err != C2_OK && err != C2_BAD_INDEX) { in query_vb() 219 if (err != C2_OK) { in query_vb() 240 c2_status_t result = C2_OK; in config_vb() 250 if (err != C2_OK) { in config_vb() 276 if (err != C2_OK) { in config_vb() 301 if (result != C2_OK) { in querySupportedParams_nb() 310 if (err != C2_OK) { in querySupportedParams_nb() 334 if (result != C2_OK && result != C2_BAD_INDEX) { in querySupportedValues_vb() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 71 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp() 78 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 86 mWorkResult = C2_OK; in SetUp() 176 ASSERT_EQ(status, C2_OK) << "Query max buffer size info failed"; in getInputMaxBufSize() 209 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 231 if (status == C2_OK && failures.size() == 0u) return true; in setupConfigParam() 242 ASSERT_EQ(c2err, C2_OK) << "Query channel count info failed"; in getChannelCount() 280 ASSERT_EQ(c2err, C2_OK) << "Query sample rate info failed"; in getSampleRate() 292 if (c2err == C2_OK && queried.size() == 1) { in getSamplesPerFrame() 302 ASSERT_EQ(c2err, C2_OK) << "Query max buffer size info failed"; in getSamplesPerFrame() [all …]
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 98 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp() 105 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 113 mWorkResult = C2_OK; in SetUp() 244 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 266 if (status == C2_OK && failures.size() == 0u) return true; in setupConfigParam() 282 ASSERT_EQ(status, C2_OK) << "Query sample rate and channel count info failed"; in getInputChannelInfo() 365 ASSERT_EQ(C2_OK, in decodeNFrames() 372 if (view.error() != C2_OK) { in decodeNFrames() 392 ASSERT_EQ(component->queue(&items), C2_OK); in decodeNFrames() 434 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 72 C2_OK); in SetUp() 79 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 99 ASSERT_EQ(getMaxMinResolutionSupported(), C2_OK); in SetUp() 169 if (work->result != C2_OK) mFailedWorkReceived++; in handleWorkDone() 254 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 270 c2_status_t status = C2_OK; in setupConfigParam() 286 if (status != C2_OK || failures.size() != 0u) return false; 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() [all …]
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 121 CHECK_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, &mLinearAllocator), C2_OK); in SetUp() 128 ASSERT_EQ(c2err, C2_OK) << "Query media type failed"; in SetUp() 135 mWorkResult = C2_OK; in SetUp() 371 if (c2err != C2_OK && queried.size() == 0) { in validateComponent() 433 ASSERT_EQ(err, C2_OK) << "setOutputSurface failed"; in setOutputSurface() 487 ASSERT_EQ(C2_OK, linearPool->fetchLinearBlock( in decodeNFrames() 494 if (view.error() != C2_OK) { in decodeNFrames() 513 ASSERT_EQ(component->queue(&items), C2_OK); in decodeNFrames() 573 if (status == C2_OK && failures.size() == 0u) { in configPixelFormat() 614 ASSERT_EQ(mComponent->start(), C2_OK); in TEST_P() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorBlob.cpp | 47 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 …]
|
D | C2Store.cpp | 164 if (res != C2_OK) { in fetchAllocator() 172 return C2_OK; in fetchAllocator() 197 if (res == C2_OK) { in UseComponentStoreForIonAllocator() 198 if (query[0].status == C2_OK) { in UseComponentStoreForIonAllocator() 208 if (query[1].status == C2_OK) { in UseComponentStoreForIonAllocator() 223 if (res == C2_OK) { in UseComponentStoreForIonAllocator() 253 if (res == C2_OK) { in UseComponentStoreForDmaBufAllocator() 254 if (query[0].status == C2_OK) { in UseComponentStoreForDmaBufAllocator() 264 if (query[1].status == C2_OK) { in UseComponentStoreForDmaBufAllocator() 282 if (res == C2_OK) { in UseComponentStoreForDmaBufAllocator() [all …]
|
D | C2AllocatorIon.cpp | 143 if (mInit != C2_OK) { in Impl() 238 return C2_OK; in unmap() 256 if (mInit == C2_OK) { in ~Impl() 286 c2_status_t err = C2_OK; in mapInternal() 356 c2_status_t err = C2_OK; in mapInternal() 482 : mInit(C2_OK), in C2AllocatorIon() 499 if (mInit == C2_OK) { in ~C2AllocatorIon() 540 c2_status_t res = C2_OK; in mapUsage() 584 if (mInit != C2_OK) { in newLinearAllocation() 599 if (ret == C2_OK) { in newLinearAllocation() [all …]
|
D | C2PlatformStorePluginLoader.cpp | 72 return C2_OK; in createBlockPool() 89 if (res != C2_OK) { in createAllocator() 94 return C2_OK; in createAllocator()
|
/frameworks/av/media/codec2/components/raw/ |
D | C2SoftRawDec.cpp | 121 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()
|
/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/fuzzer/ |
D | C2Fuzzer.cpp | 166 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()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 72 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()
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 308 if (status != C2_OK && status != C2_BAD_INDEX) { in query() 392 if (status != C2_OK && status != C2_BAD_INDEX) { in config() 429 if (status != C2_OK) { in querySupportedParams() 470 if (status != C2_OK) { in querySupportedValues() 673 if (status != C2_OK) { in createComponent() 689 if (status != C2_OK) { in createComponent() 704 if (status != C2_OK) { in createComponent() 717 } else if (status != C2_OK) { in createComponent() 733 if (status != C2_OK) { in createComponent() 753 if (status != C2_OK) { in createInterface() [all …]
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 158 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() 341 c2_status_t err = C2_OK; in process() 358 if (initEncoder() != C2_OK) { in process() 372 if (err != C2_OK) { in process() 407 work->result = C2_OK; in process() 568 if (err != C2_OK) { in drainInternal() 596 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/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/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/tests/vndk/ |
D | C2BufferTest.cpp | 250 if (err != C2_OK) { in allocateLinear() 265 if (err != C2_OK) { in mapLinear() 280 ASSERT_EQ(C2_OK, mLinearAllocation->unmap(mAddr, mSize, nullptr)); in unmapLinear() 296 if (err != C2_OK) { in allocateGraphic() 311 if (err != C2_OK) { in mapGraphic() 325 ASSERT_EQ(C2_OK, mGraphicAllocation->unmap(mAddrGraphic, mMappedRect, nullptr)); in unmapGraphic() 335 ASSERT_EQ(store->fetchAllocator(C2AllocatorStore::DEFAULT_LINEAR, mLinearAllocator), C2_OK); in getLinearAllocator() 379 ASSERT_EQ(C2_OK, blockPool->fetchLinearBlock( in TEST_F() 387 ASSERT_EQ(C2_OK, writeView.error()); in TEST_F() 412 ASSERT_EQ(C2_OK, readView.error()); in TEST_F() [all …]
|
/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() 384 return C2_OK; in drain() 390 return C2_OK; in drain() 407 return C2_OK; in createComponent() 418 return C2_OK; in createInterface()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 608 return C2_OK; in onInit() 612 return C2_OK; in onStop() 633 return C2_OK; in onFlush_sm() 684 return C2_OK; in setDimensions() 707 return C2_OK; in setNumCores() 733 return C2_OK; in setFrameRate() 760 return C2_OK; in setIpeParams() 784 return C2_OK; in setBitRate() 808 return C2_OK; in setFrameType() 874 return C2_OK; in setQp() [all …]
|
/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() 304 if (eos && (C2_OK != drain(DRAIN_COMPONENT_WITH_EOS, pool))) { in process() 426 return C2_OK; in drain() 443 return C2_OK; in drain() 461 return C2_OK; in createComponent() 472 return C2_OK; in createInterface()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 57 C2_OK) { in createCodec2Component() 78 c2_status_t status = C2_OK; in decodeFrames() 114 if (status != C2_OK || block == nullptr) { in decodeFrames() 120 if (view.error() != C2_OK) { in decodeFrames() 135 if (status != C2_OK) { in decodeFrames()
|