/frameworks/av/cmds/stagefright/ |
D | codec.cpp | 95 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() 180 CHECK_EQ(err, (status_t)OK); in decode() 184 CHECK_EQ(err, (status_t)OK); in decode() 195 CHECK_EQ(err, (status_t)OK); in decode() 199 CHECK_EQ(err, -EAGAIN); in decode() [all …]
|
D | SimplePlayer.cpp | 231 CHECK_EQ(onStop(), (status_t)OK); in onMessageReceived() 272 CHECK_EQ(mState, UNPREPARED); in onPrepare() 294 CHECK_EQ(err, (status_t)OK); in onPrepare() 310 CHECK_EQ(err, (status_t)OK); in onPrepare() 328 CHECK_EQ(err, (status_t)OK); in onPrepare() 343 CHECK_EQ(err, (status_t)OK); in onPrepare() 346 CHECK_EQ(err, (status_t)OK); in onPrepare() 349 CHECK_EQ(err, (status_t)OK); in onPrepare() 356 CHECK_EQ(err, (status_t)OK); in onPrepare() 370 CHECK_EQ(err, (status_t)OK); in onPrepare() [all …]
|
D | mediafilter.cpp | 476 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() 554 CHECK_EQ(err, -EAGAIN); in decode() 577 CHECK_EQ(err, -EAGAIN); in decode() 613 CHECK_EQ((status_t)OK, state->mCodec->getOutputBuffers( in decode() [all …]
|
D | sf2.cpp | 147 CHECK_EQ(mSource->start(), (status_t)OK); in onMessageReceived() 201 CHECK_EQ(mSource->stop(), (status_t)OK); in onMessageReceived() 329 CHECK_EQ((unsigned)ptr[0], 1u); // configurationVersion == 1 in makeFormat() 402 CHECK_EQ(esds.InitCheck(), (status_t)OK); in makeFormat() 634 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in main() 647 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK); in main() 648 CHECK_EQ(control->show(), (status_t)OK); in main() 654 CHECK_EQ((status_t)OK, in main() 668 CHECK_EQ(looper->start(true /* runOnCallingThread */), (status_t)OK); in main() 673 CHECK_EQ((status_t)OK, in main()
|
D | muxer.cpp | 104 CHECK_EQ(err, (status_t)OK); in muxing() 143 CHECK_EQ(err, (status_t)OK); in muxing() 178 CHECK_EQ(err, (status_t)OK); in muxing() 182 CHECK_EQ(err, (status_t)OK); in muxing() 186 CHECK_EQ(err, (status_t)OK); in muxing()
|
D | stagefright.cpp | 144 CHECK_EQ((status_t)OK, source->start()); in dumpSource() 157 CHECK_EQ( in dumpSource() 168 CHECK_EQ((status_t)OK, source->stop()); in dumpSource() 530 CHECK_EQ(writer->addSource( in writeSourcesToMP4() 537 CHECK_EQ(writer->start(params.get()), (status_t)OK); in writeSourcesToMP4() 546 CHECK_EQ((status_t)OK, source->start()); in performSeekTest() 599 CHECK_EQ((status_t)OK, source->stop()); in performSeekTest() 753 CHECK_EQ(res, 'b'); in main() 863 CHECK_EQ(retriever->setDataSource(fd, 0, fileSize), (status_t)OK); in main() 878 CHECK_EQ(writeJpegFile("/sdcard/out.jpg", in main() [all …]
|
D | stream.cpp | 184 CHECK_EQ(mWriter->addSource(extractor->getTrack(i)), (status_t)OK); in MyConvertingStreamSource() 187 CHECK_EQ(mWriter->start(), (status_t)OK); in MyConvertingStreamSource() 312 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in main() 335 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK); in main() 336 CHECK_EQ(control->show(), (status_t)OK); in main()
|
D | audioloop.cpp | 142 CHECK_EQ(decoder->start(), (status_t)OK); in main() 152 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
|
D | record.cpp | 231 CHECK_EQ((status_t)OK, writer->start()); 238 CHECK_EQ((status_t)OK, encoder->start()); 272 CHECK_EQ(err, (status_t)OK);
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AMPEG4AudioAssembler.cpp | 139 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 …]
|
D | rtp_test.cpp | 166 CHECK_EQ(session->setup(desc), (status_t)OK); in main() 178 CHECK_EQ(session->countTracks(), 1u); in main() 185 CHECK_EQ(decoder->start(), (status_t)OK); in main() 218 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
|
D | UDPPusher.cpp | 46 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()
|
D | ARTPWriter.cpp | 71 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() 479 CHECK_EQ(numChannels, 1); in dumpSessionDesc() 480 CHECK_EQ(sampleRate, (mMode == AMR_NB) ? 8000 : 16000); in dumpSessionDesc() 543 CHECK_EQ((unsigned)data[0], 0x67u); in makeH264SPropParamSets() 679 CHECK_EQ((unsigned)mediaData[0], 0u); in sendH263Data() 680 CHECK_EQ((unsigned)mediaData[1], 0u); in sendH263Data() [all …]
|
D | ASessionDescription.cpp | 210 CHECK_EQ(*end, '\0'); in getFormatType() 242 CHECK_EQ(*end, '-'); in getDimensions() 247 CHECK_EQ(*end, '\0'); in getDimensions() 295 CHECK_EQ(*end, '\0'); in ParseFormatDesc()
|
D | MyTransmitter.h | 130 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/wilhelm/tests/sandbox/ |
D | nativewindow.cpp | 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) macro 50 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in getNativeWindow_() 64 CHECK_EQ(control->setLayer(30000), (status_t)OK); in getNativeWindow_() 65 CHECK_EQ(control->show(), (status_t)OK); in getNativeWindow_()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 153 CHECK_EQ(0, in resetFormatIfChanged() 159 CHECK_EQ(0, in resetFormatIfChanged() 165 CHECK_EQ(0, native_window_set_buffers_dimensions( in resetFormatIfChanged() 169 CHECK_EQ(0, native_window_set_buffers_format( in resetFormatIfChanged() 182 CHECK_EQ(0, native_window_set_crop(mNativeWindow.get(), &crop)); in resetFormatIfChanged() 197 CHECK_EQ(0, native_window_set_buffers_transform( in resetFormatIfChanged() 231 CHECK_EQ(0, mapper.lock( in render() 357 CHECK_EQ(0, mapper.unlock(buf->handle)); in render()
|
/frameworks/av/media/libstagefright/omx/ |
D | SimpleSoftOMXComponent.cpp | 430 CHECK_EQ((int)mState, (int)mTargetState); in onChangeState() 434 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState() 441 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState() 469 CHECK_EQ((int)port->mTransition, (int)PortInfo::NONE); in onPortEnable() 485 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortEnable() 542 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortFlush() 562 CHECK_EQ((int)mTargetState, (int)OMX_StateIdle); in checkTransitions() 576 CHECK_EQ((int)mState, (int)OMX_StateIdle); in checkTransitions() 590 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_TRUE); in checkTransitions() 592 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_FALSE); in checkTransitions() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
D | RTPSender.cpp | 105 CHECK_EQ(mRTPSessionID, 0); in initAsync() 106 CHECK_EQ(mRTCPSessionID, 0); in initAsync() 122 CHECK_EQ(rtpMode, TRANSPORT_TCP); in initAsync() 147 CHECK_EQ(rtcpMode, TRANSPORT_TCP); in initAsync() 250 CHECK_EQ(0, tsPackets->size() % 188); in queueTSPackets() 378 CHECK_EQ(outBytesUsed, 12u); in queueAVCBuffer() 583 CHECK_EQ(mRTPMode, TRANSPORT_TCP); in onNetNotify() 584 CHECK_EQ(sessionID, mRTPSessionID); in onNetNotify() 587 CHECK_EQ(mRTCPMode, TRANSPORT_TCP); in onNetNotify() 588 CHECK_EQ(sessionID, mRTCPSessionID); in onNetNotify() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 118 CHECK_EQ((status_t)OK, getSampleRateTableIndex(mSampleRate, index)); in setAudioSpecificConfigData() 145 CHECK_EQ((status_t)OK, initCheck()); in start() 186 CHECK_EQ((VO_U32)VO_ERR_NONE, mApiHandle->Uninit(mEncoderHandle)); in stop() 224 CHECK_EQ(mBufferGroup->acquire_buffer(&buffer), (status_t)OK); in read() 256 CHECK_EQ(align, (size_t)0); in read()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 156 CHECK_EQ(err, (status_t)OK); in dequeueMessageForNodeIgnoringBuffers() 296 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions() 391 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions() 399 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions() 577 CHECK_EQ(seekSource->start(), (status_t)OK); in testSeek() 584 CHECK_EQ(codec->start(), (status_t)OK); in testSeek() 686 CHECK_EQ(err, (status_t)ERROR_END_OF_STREAM); in testSeek() 707 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek() 717 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek() 833 CHECK_EQ(h->initCheck(), (status_t)OK); in main()
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 308 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postFillThisBuffer() 329 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postDrainThisBuffer() 444 CHECK_EQ(mState, UNINITIALIZED); in onAllocateComponent() 474 CHECK_EQ(mState, INITIALIZED); in onConfigureComponent() 556 CHECK_EQ(mState, CONFIGURED); in onStart() 592 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onInputBufferFilled() 597 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onInputBufferFilled() 661 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onOutputBufferDrained() 665 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onOutputBufferDrained()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MetaData.cpp | 117 CHECK_EQ(size, sizeof(*value)); in findInt32() 132 CHECK_EQ(size, sizeof(*value)); in findInt64() 147 CHECK_EQ(size, sizeof(*value)); in findFloat() 162 CHECK_EQ(size, sizeof(*value)); in findPointer() 180 CHECK_EQ(size, sizeof(Rect)); in findRect()
|
/frameworks/av/media/libstagefright/ |
D | JPEGSource.cpp | 62 CHECK_EQ(parseJPEG(), (status_t)OK); in JPEGSource() 164 CHECK_EQ(marker, 0xff); in parseJPEG()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | WifiDisplaySource.cpp | 109 CHECK_EQ(mState, INITIALIZED); in start() 236 CHECK_EQ(mState, AWAITING_CLIENT_CONNECTION); in onMessageReceived() 259 CHECK_EQ(err, (status_t)OK); in onMessageReceived() 449 CHECK_EQ(what, PlaybackSession::kWhatBinaryData); in onMessageReceived() 623 CHECK_EQ(sessionID, mClientSessionID); in sendM4() 732 CHECK_EQ(sessionID, mClientSessionID); in sendM16() 1017 CHECK_EQ(sessionID, mClientSessionID); in onReceiveM16Response() 1163 CHECK_EQ(sessionID, mClientSessionID); in onSetupRequest() 1401 CHECK_EQ(mState, AWAITING_CLIENT_PLAY); in onPlayRequest() 1412 CHECK_EQ(err, (status_t)OK); in finishPlay() [all …]
|