Home
last modified time | relevance | path

Searched refs:CHECK_EQ (Results 1 – 25 of 111) sorted by relevance

12345

/frameworks/av/cmds/stagefright/
Dcodec.cpp95 CHECK_EQ(err, (status_t)OK); in decode()
114 CHECK_EQ(err, (status_t)OK); in decode()
133 CHECK_EQ(err, (status_t)OK); in decode()
149 CHECK_EQ((status_t)OK, codec->start()); in decode()
151 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); in decode()
152 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); in decode()
181 CHECK_EQ(err, (status_t)OK); in decode()
186 CHECK_EQ(err, (status_t)OK); in decode()
197 CHECK_EQ(err, (status_t)OK); in decode()
201 CHECK_EQ(err, -EAGAIN); in decode()
[all …]
DSimplePlayer.cpp232 CHECK_EQ(onStop(), (status_t)OK); in onMessageReceived()
273 CHECK_EQ(mState, UNPREPARED); in onPrepare()
295 CHECK_EQ(err, (status_t)OK); in onPrepare()
311 CHECK_EQ(err, (status_t)OK); in onPrepare()
329 CHECK_EQ(err, (status_t)OK); in onPrepare()
344 CHECK_EQ(err, (status_t)OK); in onPrepare()
347 CHECK_EQ(err, (status_t)OK); in onPrepare()
350 CHECK_EQ(err, (status_t)OK); in onPrepare()
357 CHECK_EQ(err, (status_t)OK); in onPrepare()
371 CHECK_EQ(err, (status_t)OK); in onPrepare()
[all …]
Dmediafilter.cpp476 CHECK_EQ((status_t)OK, codec->start()); in decode()
478 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); in decode()
479 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); in decode()
485 CHECK_EQ((status_t)OK, filterState->mCodec->setParameters(params)); in decode()
497 CHECK_EQ((status_t)OK, filterState->mCodec->start()); in decode()
498 CHECK_EQ((status_t)OK, filterState->mCodec->getInputBuffers( in decode()
500 CHECK_EQ((status_t)OK, filterState->mCodec->getOutputBuffers( in decode()
556 CHECK_EQ(err, -EAGAIN); in decode()
579 CHECK_EQ(err, -EAGAIN); in decode()
615 CHECK_EQ((status_t)OK, state->mCodec->getOutputBuffers( in decode()
[all …]
Dmuxer.cpp103 CHECK_EQ(err, (status_t)OK); in muxing()
142 CHECK_EQ(err, (status_t)OK); in muxing()
177 CHECK_EQ(err, (status_t)OK); in muxing()
181 CHECK_EQ(err, (status_t)OK); in muxing()
185 CHECK_EQ(err, (status_t)OK); in muxing()
Dstagefright.cpp151 CHECK_EQ((status_t)OK, source->start()); in dumpSource()
169 CHECK_EQ( in dumpSource()
180 CHECK_EQ((status_t)OK, source->stop()); in dumpSource()
552 CHECK_EQ(writer->addSource( in writeSourcesToMP4()
559 CHECK_EQ(writer->start(params.get()), (status_t)OK); in writeSourcesToMP4()
568 CHECK_EQ((status_t)OK, source->start()); in performSeekTest()
621 CHECK_EQ((status_t)OK, source->stop()); in performSeekTest()
861 CHECK_EQ(res, 'b'); in main()
977 CHECK_EQ(retriever->setDataSource(fd, 0, fileSize), (status_t)OK); in main()
994 CHECK_EQ(writeJpegFile("/sdcard/out.jpg", in main()
[all …]
Dstream.cpp193 CHECK_EQ(mWriter->addSource(track), (status_t)OK); in MyConvertingStreamSource()
196 CHECK_EQ(mWriter->start(), (status_t)OK); in MyConvertingStreamSource()
319 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in main()
325 CHECK_EQ(SurfaceComposerClient::getDisplayInfo(display, &info), NO_ERROR); in main()
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp139 CHECK_EQ(extensionFlag3, 0u); // TBD in version 3 in parseGASpecificConfig()
150 CHECK_EQ(parseAudioObjectType(bits, &audioObjectType), (status_t)OK); in parseAudioSpecificConfig()
169 CHECK_EQ(parseAudioObjectType(bits, &audioObjectType), (status_t)OK); in parseAudioSpecificConfig()
177 CHECK_EQ(parseGASpecificConfig( in parseAudioSpecificConfig()
189 CHECK_EQ(directMapping, 1u); in parseAudioSpecificConfig()
201 CHECK_EQ(parseAudioObjectType(bits, &extensionAudioObjectType), in parseAudioSpecificConfig()
269 CHECK_EQ(audioMuxVersionA, 0u); // otherwise future spec in parseStreamMuxConfig()
274 CHECK_EQ(audioMuxVersion, 0u); // XXX to be implemented in parseStreamMuxConfig()
277 CHECK_EQ(allStreamsSameTimeFraming, 1u); // There's only one stream. in parseStreamMuxConfig()
281 CHECK_EQ(numProgram, 0u); // disabled in RTP LATM in parseStreamMuxConfig()
[all …]
Drtp_test.cpp163 CHECK_EQ(session->setup(desc), (status_t)OK); in main()
175 CHECK_EQ(session->countTracks(), 1u); in main()
182 CHECK_EQ(decoder->start(), (status_t)OK); in main()
215 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
DUDPPusher.cpp46 CHECK_EQ(0, bind(mSocket, (const struct sockaddr *)&addr, sizeof(addr))); in UDPPusher()
64 CHECK_EQ(fread(&timeMs, 1, sizeof(timeMs), mFile), sizeof(timeMs)); in start()
92 CHECK_EQ(n, (ssize_t)buffer->size()); in onPush()
138 CHECK_EQ(n, (ssize_t)buffer->size()); in onMessageReceived()
DARTPWriter.cpp71 CHECK_EQ(0, ntohs(mRTPAddr.sin_port) & 1); in ARTPWriter()
194 CHECK_EQ(mSource->start(), (status_t)OK); in onMessageReceived()
199 CHECK_EQ(mSource->read(&buffer), (status_t)OK); in onMessageReceived()
223 CHECK_EQ(mSource->stop(), (status_t)OK); in onMessageReceived()
317 CHECK_EQ(n, (ssize_t)buffer->size()); in send()
481 CHECK_EQ(numChannels, 1); in dumpSessionDesc()
482 CHECK_EQ(sampleRate, (mMode == AMR_NB) ? 8000 : 16000); in dumpSessionDesc()
545 CHECK_EQ((unsigned)data[0], 0x67u); in makeH264SPropParamSets()
681 CHECK_EQ((unsigned)mediaData[0], 0u); in sendH263Data()
682 CHECK_EQ((unsigned)mediaData[1], 0u); in sendH263Data()
[all …]
DASessionDescription.cpp210 CHECK_EQ(*end, '\0'); in getFormatType()
244 CHECK_EQ(*end, '-'); in getDimensions()
249 CHECK_EQ(*end, '\0'); in getDimensions()
297 CHECK_EQ(*end, '\0'); in ParseFormatDesc()
DMyTransmitter.h130 CHECK_EQ(mEncoder->read(&buffer), (status_t)OK); in MyTransmitter()
282 CHECK_EQ(value.c_str()[i + 6], '\"'); in authenticate()
303 CHECK_EQ((int)mAuthType, (int)DIGEST); in addAuthentication()
497 CHECK_EQ(sscanf(value.c_str(), "%u-%u", &rtpPort, &rtcpPort), 2); in onMessageReceived()
509 CHECK_EQ(0, connect(mRTPSocket, in onMessageReceived()
513 CHECK_EQ(0, connect(mRTCPSocket, in onMessageReceived()
633 CHECK_EQ(mEncoder->read(&mediaBuf), (status_t)OK); in onMessageReceived()
676 CHECK_EQ(n, (ssize_t)buffer->size()); in onMessageReceived()
729 CHECK_EQ(n, (ssize_t)buffer->size()); in onMessageReceived()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
Dservice.cpp40 CHECK_EQ(drmFactory->registerAsService("clearkey"), android::NO_ERROR) in main()
42 CHECK_EQ(cryptoFactory->registerAsService("clearkey"), android::NO_ERROR) in main()
DserviceLazy.cpp44 CHECK_EQ(serviceRegistrar.registerService(drmFactory, "clearkey"), android::NO_ERROR) in main()
46 CHECK_EQ(serviceRegistrar.registerService(cryptoFactory, "clearkey"), android::NO_ERROR) in main()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp495 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
502 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
530 CHECK_EQ((int)port->mTransition, (int)PortInfo::NONE); in onPortEnable()
553 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortEnable()
610 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortFlush()
630 CHECK_EQ((int)mTargetState, (int)OMX_StateIdle); in checkTransitions()
644 CHECK_EQ((int)mState, (int)OMX_StateIdle); in checkTransitions()
658 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_TRUE); in checkTransitions()
660 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_FALSE); in checkTransitions()
710 CHECK_EQ(def.nPortIndex, mPorts.size()); in addPort()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp190 CHECK_EQ(0, in resetFormatIfChanged()
196 CHECK_EQ(0, in resetFormatIfChanged()
202 CHECK_EQ(0, native_window_set_buffers_dimensions( in resetFormatIfChanged()
206 CHECK_EQ(0, native_window_set_buffers_format( in resetFormatIfChanged()
224 CHECK_EQ(0, native_window_set_crop(mNativeWindow.get(), &crop)); in resetFormatIfChanged()
239 CHECK_EQ(0, native_window_set_buffers_transform( in resetFormatIfChanged()
273 CHECK_EQ(0, mapper.lock(buf->handle, in render()
431 CHECK_EQ(0, mapper.unlock(buf->handle)); in render()
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.cpp32 #define CHECK_EQ(a,b) CHECK((a)==(b)) macro
50 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in getNativeWindow_()
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp285 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postFillThisBuffer()
300 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postDrainThisBuffer()
385 CHECK_EQ(mState, UNINITIALIZED); in onAllocateComponent()
412 CHECK_EQ(mState, INITIALIZED); in onConfigureComponent()
487 CHECK_EQ(mState, CONFIGURED); in onStart()
525 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onInputBufferFilled()
530 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onInputBufferFilled()
597 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onOutputBufferDrained()
601 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onOutputBufferDrained()
/frameworks/ml/nn/extensions/
DREADME.md102 CHECK_EQ(ANeuralNetworksDevice_getExtensionSupport(device, MY_EXTENSION_NAME,
116 CHECK_EQ(ANeuralNetworksModel_getExtensionOperandType(model, MY_EXTENSION_NAME, MY_TENSOR, &type),
123 CHECK_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR);
133 CHECK_EQ(ANeuralNetworksModel_setOperandExtensionData(model, operandIndex, &params, sizeof(params)),
142 CHECK_EQ(ANeuralNetworksModel_getExtensionOperationType(model, MY_EXTENSION_NAME, MY_FUNCTION,
145 CHECK_EQ(ANeuralNetworksModel_addOperation(model, type, inputCount, inputs, outputCount, outputs),
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp182 CHECK_EQ(err, (status_t)OK); in dequeueMessageForNodeIgnoringBuffers()
332 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
427 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
435 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
613 CHECK_EQ(seekSource->start(), (status_t)OK); in testSeek()
620 CHECK_EQ(codec->start(), (status_t)OK); in testSeek()
722 CHECK_EQ(err, (status_t)ERROR_END_OF_STREAM); in testSeek()
743 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
753 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
868 CHECK_EQ(h->initCheck(), (status_t)OK); in main()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp439 CHECK_EQ(ret, 0); in SetUp()
486 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
488 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
501 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
511 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h83 #define CHECK_EQ(x,y) CHECK_OP(x,y,EQ,==) macro
99 #define CHECK_EQ_DBG CHECK_EQ
/frameworks/av/media/libstagefright/foundation/
DMediaBuffer.cpp97 CHECK_EQ(mRefCount, 0); in release()
116 CHECK_EQ(mRefCount.load(std::memory_order_relaxed), 1); in claim()
DMetaDataBase.cpp174 CHECK_EQ(size, sizeof(*value)); in findInt32()
189 CHECK_EQ(size, sizeof(*value)); in findInt64()
204 CHECK_EQ(size, sizeof(*value)); in findFloat()
219 CHECK_EQ(size, sizeof(*value)); in findPointer()
237 CHECK_EQ(size, sizeof(Rect)); in findRect()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp63 CHECK_EQ(parseJPEG(), (status_t)OK); in JPEGSource()
165 CHECK_EQ(marker, 0xff); in parseJPEG()

12345