Home
last modified time | relevance | path

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

1234

/frameworks/av/cmds/stagefright/
Dcodec.cpp92 CHECK_EQ(err, (status_t)OK); in decode()
111 CHECK_EQ(err, (status_t)OK); in decode()
130 CHECK_EQ(err, (status_t)OK); in decode()
145 CHECK_EQ((status_t)OK, codec->start()); in decode()
147 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); in decode()
148 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); in decode()
176 CHECK_EQ(err, (status_t)OK); in decode()
180 CHECK_EQ(err, (status_t)OK); in decode()
191 CHECK_EQ(err, (status_t)OK); in decode()
195 CHECK_EQ(err, -EAGAIN); in decode()
[all …]
DSimplePlayer.cpp234 CHECK_EQ(onStop(), (status_t)OK); in onMessageReceived()
275 CHECK_EQ(mState, UNPREPARED); in onPrepare()
297 CHECK_EQ(err, (status_t)OK); in onPrepare()
313 CHECK_EQ(err, (status_t)OK); in onPrepare()
331 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()
352 CHECK_EQ(err, (status_t)OK); in onPrepare()
359 CHECK_EQ(err, (status_t)OK); in onPrepare()
373 CHECK_EQ(err, (status_t)OK); in onPrepare()
[all …]
Dstagefright.cpp134 CHECK_EQ((status_t)OK, source->start()); in dumpSource()
147 CHECK_EQ( in dumpSource()
158 CHECK_EQ((status_t)OK, source->stop()); in dumpSource()
519 CHECK_EQ(writer->addSource( in writeSourcesToMP4()
526 CHECK_EQ(writer->start(params.get()), (status_t)OK); in writeSourcesToMP4()
535 CHECK_EQ((status_t)OK, source->start()); in performSeekTest()
588 CHECK_EQ((status_t)OK, source->stop()); in performSeekTest()
632 CHECK_EQ(QueryCodecs(omx, kMimeTypes[k], in dumpCodecProfiles()
728 CHECK_EQ(res, 'b'); in main()
838 CHECK_EQ(retriever->setDataSource(fd, 0, fileSize), (status_t)OK); in main()
[all …]
Dmuxer.cpp94 CHECK_EQ(err, (status_t)OK); in muxing()
133 CHECK_EQ(err, (status_t)OK); in muxing()
158 CHECK_EQ(err, (status_t)OK); in muxing()
162 CHECK_EQ(err, (status_t)OK); in muxing()
166 CHECK_EQ(err, (status_t)OK); in muxing()
Dsf2.cpp147 CHECK_EQ(mSource->start(), (status_t)OK); in onMessageReceived()
202 CHECK_EQ(mSource->stop(), (status_t)OK); in onMessageReceived()
330 CHECK_EQ((unsigned)ptr[0], 1u); // configurationVersion == 1 in makeFormat()
403 CHECK_EQ(esds.InitCheck(), (status_t)OK); in makeFormat()
635 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in main()
648 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK); in main()
649 CHECK_EQ(control->show(), (status_t)OK); in main()
655 CHECK_EQ((status_t)OK, in main()
669 CHECK_EQ(looper->start(true /* runOnCallingThread */), (status_t)OK); in main()
674 CHECK_EQ((status_t)OK, in main()
Daudioloop.cpp77 CHECK_EQ(client.connect(), (status_t)OK); in main()
132 CHECK_EQ(decoder->start(), (status_t)OK); in main()
142 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
Drecord.cpp186 CHECK_EQ(client.connect(), (status_t)OK);
234 CHECK_EQ((status_t)OK, writer->start());
241 CHECK_EQ((status_t)OK, encoder->start());
276 CHECK_EQ(err, (status_t)OK);
303 CHECK_EQ(client.connect(), (status_t)OK); in main()
Dstream.cpp184 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()
/frameworks/av/media/libstagefright/
DOMXCodec.cpp526 CHECK_EQ(esds.InitCheck(), (status_t)OK); in configureCodec()
716 CHECK_EQ(err, (status_t)OK); in setMinBufferSize()
725 CHECK_EQ(err, (status_t)OK); in setMinBufferSize()
729 CHECK_EQ(err, (status_t)OK); in setMinBufferSize()
734 CHECK_EQ(def.nBufferSize, size); in setMinBufferSize()
859 CHECK_EQ(index, portFormat.nIndex); in isColorFormatSupported()
905 CHECK_EQ((status_t)OK, findTargetColorFormat(meta, &colorFormat)); in setVideoInputFormat()
912 CHECK_EQ(setVideoPortFormatType( in setVideoInputFormat()
921 CHECK_EQ(err, (status_t)OK); in setVideoInputFormat()
926 CHECK_EQ((int)def.eDomain, (int)OMX_PortDomainVideo); in setVideoInputFormat()
[all …]
DACodec.cpp912 CHECK_EQ(mOMX->fillBuffer(mNode, info->mBufferID), in submitOutputMetaDataBuffer()
920 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in cancelBufferToNativeWindow()
959 CHECK_EQ((int)info->mStatus, in dequeueBufferFromNativeWindow()
990 CHECK_EQ(metaData->eType, kMetadataBufferTypeGrallocSource); in dequeueBufferFromNativeWindow()
1008 CHECK_EQ((status_t)OK, freeBuffer(portIndex, i)); in freeBuffersOnPort()
1025 CHECK_EQ((status_t)OK, freeBuffer(kPortIndexOutput, i)); in freeOutputBuffersNotOwnedByComponent()
1043 CHECK_EQ(mOMX->freeBuffer( in freeBuffer()
1465 CHECK_EQ((status_t)OK, initNativeWindow()); in configureCodec()
1472 CHECK_EQ(getPortFormat(kPortIndexOutput, outputFormat), (status_t)OK); in configureCodec()
1677 CHECK_EQ(getPortFormat(kPortIndexInput, inputFormat), (status_t)OK); in configureCodec()
[all …]
DMetaData.cpp117 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/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.cpp166 CHECK_EQ(session->setup(desc), (status_t)OK); in main()
178 CHECK_EQ(session->countTracks(), 1u); in main()
182 CHECK_EQ(client.connect(), (status_t)OK); in main()
192 CHECK_EQ(decoder->start(), (status_t)OK); in main()
225 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()
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 …]
DASessionDescription.cpp210 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()
/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_()
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/mpeg2ts/
DMPEG2PSExtractor.cpp289 CHECK_EQ(packet_startcode_prefix, 0x000001u); in dequeuePES()
369 CHECK_EQ(br.getBits(2), 2u); in dequeuePES()
405 CHECK_EQ(br.getBits(4), PTS_DTS_flags); in dequeuePES()
408 CHECK_EQ(br.getBits(1), 1u); in dequeuePES()
410 CHECK_EQ(br.getBits(1), 1u); in dequeuePES()
412 CHECK_EQ(br.getBits(1), 1u); in dequeuePES()
422 CHECK_EQ(br.getBits(4), 1u); in dequeuePES()
425 CHECK_EQ(br.getBits(1), 1u); in dequeuePES()
427 CHECK_EQ(br.getBits(1), 1u); in dequeuePES()
429 CHECK_EQ(br.getBits(1), 1u); in dequeuePES()
[all …]
DATSParser.cpp259 CHECK_EQ(br->getBits(1), 0u); in parseProgramMap()
264 CHECK_EQ(section_length & 0xc00, 0u); in parseProgramMap()
282 CHECK_EQ(program_info_length & 0xc00, 0u); in parseProgramMap()
308 CHECK_EQ(ES_info_length & 0xc00, 0u); in parseProgramMap()
328 CHECK_EQ(info_bytes_remaining, 0u); in parseProgramMap()
339 CHECK_EQ(infoBytesRemaining, 0u); in parseProgramMap()
601 CHECK_EQ(payloadSizeBits % 8, 0u); in parse()
709 CHECK_EQ(packet_startcode_prefix, 0x000001u); in parsePES()
725 CHECK_EQ(br->getBits(2), 2u); in parsePES()
766 CHECK_EQ(br->getBits(1), 1u); in parsePES()
[all …]
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp135 CHECK_EQ(0, in resetFormatIfChanged()
141 CHECK_EQ(0, in resetFormatIfChanged()
147 CHECK_EQ(0, native_window_set_buffers_dimensions( in resetFormatIfChanged()
151 CHECK_EQ(0, native_window_set_buffers_format( in resetFormatIfChanged()
164 CHECK_EQ(0, native_window_set_crop(mNativeWindow.get(), &crop)); in resetFormatIfChanged()
179 CHECK_EQ(0, native_window_set_buffers_transform( in resetFormatIfChanged()
201 CHECK_EQ(0, mapper.lock( in render()
278 CHECK_EQ(0, mapper.unlock(buf->handle)); in render()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp422 CHECK_EQ((int)mState, (int)mTargetState); in onChangeState()
426 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
433 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
461 CHECK_EQ((int)port->mTransition, (int)PortInfo::NONE); in onPortEnable()
477 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortEnable()
508 CHECK_EQ((int)port->mTransition, (int)PortInfo::NONE); in onPortFlush()
526 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortFlush()
546 CHECK_EQ((int)mTargetState, (int)OMX_StateIdle); in checkTransitions()
560 CHECK_EQ((int)mState, (int)OMX_StateIdle); in checkTransitions()
574 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_TRUE); in checkTransitions()
[all …]
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp105 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()
380 CHECK_EQ(outBytesUsed, 12u); in queueAVCBuffer()
585 CHECK_EQ(mRTPMode, TRANSPORT_TCP); in onNetNotify()
586 CHECK_EQ(sessionID, mRTPSessionID); in onNetNotify()
589 CHECK_EQ(mRTCPMode, TRANSPORT_TCP); in onNetNotify()
590 CHECK_EQ(sessionID, mRTCPSessionID); in onNetNotify()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp118 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()
226 CHECK_EQ(mBufferGroup->acquire_buffer(&buffer), (status_t)OK); in read()
258 CHECK_EQ(align, (size_t)0); in read()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp154 CHECK_EQ(err, (status_t)OK); in dequeueMessageForNodeIgnoringBuffers()
317 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
412 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
420 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
598 CHECK_EQ(seekSource->start(), (status_t)OK); in testSeek()
606 CHECK_EQ(codec->start(), (status_t)OK); in testSeek()
708 CHECK_EQ(err, (status_t)ERROR_END_OF_STREAM); in testSeek()
729 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
739 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
855 CHECK_EQ(h->initCheck(), (status_t)OK); in main()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp61 CHECK_EQ(initDecoder(), (status_t)OK); in SoftVorbis()
274 CHECK_EQ(0, _vorbis_unpack_info(mVi, &bits)); in onQueueFilled()
276 CHECK_EQ(0, _vorbis_unpack_books(mVi, &bits)); in onQueueFilled()
280 CHECK_EQ(0, vorbis_dsp_init(mState, mVi)); in onQueueFilled()
463 CHECK_EQ((int)mOutputPortSettingsChange, (int)AWAITING_ENABLED); in onPortEnableCompleted()

1234