/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 244 CHECK(response->findSize("index", index)); in dequeueInputBuffer() 265 CHECK(response->findSize("index", index)); in dequeueOutputBuffer() 266 CHECK(response->findSize("offset", offset)); in dequeueOutputBuffer() 267 CHECK(response->findSize("size", size)); in dequeueOutputBuffer() 268 CHECK(response->findInt64("timeUs", presentationTimeUs)); in dequeueOutputBuffer() 269 CHECK(response->findInt32("flags", (int32_t *)flags)); in dequeueOutputBuffer() 300 CHECK(response->findMessage("format", format)); in getOutputFormat() 421 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); in handleDequeueOutputBuffer() 426 CHECK(buffer->meta()->findInt32("omxFlags", &omxFlags)); in handleDequeueOutputBuffer() 452 CHECK(msg->findInt32("what", &what)); in onMessageReceived() [all …]
|
D | MediaBuffer.cpp | 104 CHECK(prevCount > 0); in release() 108 CHECK(mObserver != NULL); in claim() 119 CHECK(mGraphicBuffer == NULL); in data() 124 CHECK(mGraphicBuffer == NULL); in size() 140 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); in set_range() 160 CHECK(mObserver == NULL); in ~MediaBuffer() 174 CHECK(observer == NULL || mObserver == NULL); in setObserver() 191 CHECK(mGraphicBuffer == NULL); in clone()
|
D | AudioPlayer.cpp | 68 CHECK(mSource == NULL); in setSource() 73 CHECK(!mStarted); in start() 74 CHECK(mSource != NULL); in start() 90 CHECK(mFirstBuffer == NULL); in start() 102 CHECK(mFirstBuffer == NULL); in start() 112 CHECK(success); in start() 113 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); in start() 116 CHECK(success); in start() 120 CHECK(success); in start() 197 CHECK(mStarted); in pause() [all …]
|
D | DRMExtractor.cpp | 77 CHECK(mDrmManagerClient); in DRMSource() 83 CHECK(success); in DRMSource() 89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size)); in DRMSource() 93 CHECK(size >= 7); in DRMSource() 153 CHECK(pDecryptedDrmBuffer == &decryptedDrmBuffer); in read() 156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); in read() 165 CHECK(srcOffset + mNALLengthSize <= len); in read() 183 CHECK(!"Should not be here."); in read() 202 CHECK(dstOffset + 4 <= (*buffer)->size()); in read() 254 CHECK(getTrackMetaData(index, 0)->findInt32(kKeyTrackID, &trackID)); in getTrack() [all …]
|
D | MPEG2TSWriter.cpp | 106 CHECK(meta->findCString(kKeyMIMEType, &mime)); in SourceInfo() 152 CHECK(meta->findCString(kKeyMIMEType, &mime)); in extractCodecSpecificData() 204 CHECK(size >= 2); in extractCodecSpecificData() 210 CHECK(size >= length); in extractCodecSpecificData() 221 CHECK(size >= 1); in extractCodecSpecificData() 227 CHECK(size >= 2); in extractCodecSpecificData() 233 CHECK(size >= length); in extractCodecSpecificData() 265 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in postAVCFrame() 296 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in appendAACFrames() 454 CHECK(mLastAccessUnit->meta()->findInt64("timeUs", &timeUs)); in lastAccessUnitTimeUs() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 80 CHECK(clazz != NULL); in makeIntegerObject() 83 CHECK(integerConstructID != NULL); in makeIntegerObject() 90 CHECK(clazz != NULL); in makeLongObject() 93 CHECK(longConstructID != NULL); in makeLongObject() 100 CHECK(clazz != NULL); in makeFloatObject() 103 CHECK(floatConstructID != NULL); in makeFloatObject() 114 CHECK(clazz != NULL); in makeByteBufferObject() 118 CHECK(byteBufWrapID != NULL); in makeByteBufferObject() 178 CHECK(msg->findInt32(key, &val)); in ConvertMessageToMap() 187 CHECK(msg->findInt64(key, &val)); in ConvertMessageToMap() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | sf2.cpp | 54 CHECK(!mDecodeAudio || mSurface == NULL); in Controller() 87 CHECK(meta->findCString(kKeyMIMEType, &mime)); in onMessageReceived() 101 CHECK(mSource != NULL); in onMessageReceived() 136 CHECK(mSeekState == SEEK_NONE in onMessageReceived() 168 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 266 CHECK(mCSD.isEmpty()); in makeFormat() 269 CHECK(meta->findCString(kKeyMIMEType, &mime)); in makeFormat() 276 CHECK(meta->findInt32(kKeyWidth, &width)); in makeFormat() 277 CHECK(meta->findInt32(kKeyHeight, &height)); in makeFormat() 282 CHECK(!strncasecmp("audio/", mime, 6)); in makeFormat() [all …]
|
D | stagefright.cpp | 124 CHECK(size >= 7); in displayAVCProfileLevelIfPossible() 125 CHECK(ptr[0] == 1); // configurationVersion == 1 in displayAVCProfileLevelIfPossible() 169 CHECK(meta->findCString(kKeyMIMEType, &mime)); in playSource() 180 CHECK(!gPreferSoftwareCodec); in playSource() 223 CHECK(meta->findInt64(kKeyDuration, &durationUs)); in playSource() 235 CHECK(buffer == NULL); in playSource() 245 CHECK(buffer->meta_data()->findInt64(kKeyTime, ×tampUs)); in playSource() 323 CHECK(buffer == NULL); in playSource() 428 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in DetectSyncSource() 434 CHECK(!"sync frame detection not implemented yet for MPEG4"); in DetectSyncSource() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 205 CHECK(mSource == NULL); in onMessageReceived() 208 CHECK(msg->findObject("source", &obj)); in onMessageReceived() 217 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 241 CHECK(msg->findObject("native-window", &obj)); in onMessageReceived() 255 CHECK(msg->findObject("sink", &obj)); in onMessageReceived() 289 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 351 CHECK(msg->findMessage("codec-request", &codecRequest)); in onMessageReceived() 354 CHECK(codecRequest->findInt32("what", &what)); in onMessageReceived() 367 CHECK(codecRequest->findInt32("err", &err)); in onMessageReceived() 382 CHECK(IsFlushingState(mFlushingAudio, &needShutdown)); in onMessageReceived() [all …]
|
D | RTSPSource.cpp | 75 CHECK(mHandler == NULL); in start() 220 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived() 227 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 235 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 244 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 265 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 274 CHECK(msg->findBuffer("accessUnit", &accessUnit)); in onMessageReceived() 319 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived() 344 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived() 362 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() [all …]
|
D | NuPlayerRenderer.cpp | 82 CHECK(!mFlushingAudio); in flush() 85 CHECK(!mFlushingVideo); in flush() 96 CHECK(mAudioQueue.empty()); in signalTimeDiscontinuity() 97 CHECK(mVideoQueue.empty()); in signalTimeDiscontinuity() 116 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 147 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 257 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in onDrainAudioQueue() 328 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in postDrainVideoQueue() 372 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in onDrainVideoQueue() 415 CHECK(msg->findInt32("audio", &audio)); in onQueueBuffer() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | udptest.cpp | 97 CHECK(msg->findString("remoteHost", &remoteHost)); in onMessageReceived() 100 CHECK(msg->findInt32("remotePort", &remotePort)); in onMessageReceived() 121 CHECK(msg->findInt32("localPort", &localPort)); in onMessageReceived() 164 CHECK(msg->findInt32("reason", &reason)); in onMessageReceived() 170 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() 173 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 176 CHECK(msg->findString("detail", &detail)); in onMessageReceived() 191 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() 194 CHECK(msg->findBuffer("data", &data)); in onMessageReceived() 199 CHECK(msg->findString("fromAddr", &fromAddr)); in onMessageReceived() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | nativewindow.cpp | 31 #define CHECK assert macro 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) 60 CHECK(control != NULL); in getNativeWindow_() 61 CHECK(control->isValid()); in getNativeWindow_() 69 CHECK(surface != NULL); in getNativeWindow_()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 166 CHECK(!strcmp("codec", atts[0]) && in createVideoCodec() 174 CHECK(codec != -1); in createVideoCodec() 182 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec() 190 CHECK(!strcmp("codec", atts[0]) && in createAudioCodec() 196 CHECK(codec != -1); in createAudioCodec() 204 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec() 211 CHECK(!strcmp("name", atts[0]) && in createAudioDecoderCap() 216 CHECK(codec != -1); in createAudioDecoderCap() 227 CHECK(!strcmp("name", atts[0]) && in createVideoDecoderCap() 232 CHECK(codec != -1); in createVideoDecoderCap() [all …]
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 44 CHECK(position >= 0); in Read() 45 CHECK(length >= 0); in Read() 170 CHECK(meta->findCString(kKeyMIMEType, &mime)); in MatroskaSource() 180 CHECK(meta->findData( in MatroskaSource() 274 CHECK(nextCluster != NULL); in advance_l() 275 CHECK(!nextCluster->EOS()); in advance_l() 287 CHECK(mBlockEntry != NULL); in advance_l() 288 CHECK(mBlockEntry->GetBlock() != NULL); in advance_l() 397 CHECK(mCluster); in seek() 398 CHECK(!mCluster->EOS()); in seek() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyTransmitter.h | 128 CHECK(buffer != NULL); in MyTransmitter() 181 CHECK(meta->findInt32(kKeyWidth, &width)); in issueAnnounce() 182 CHECK(meta->findInt32(kKeyHeight, &height)); in issueAnnounce() 274 CHECK(!strncmp(value.c_str(), "Digest", 6)); in authenticate() 347 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 359 CHECK(msg->findInt32("server-ip", (int32_t *)&mServerIP)); in onMessageReceived() 368 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 374 CHECK(msg->findObject("response", &obj)); in onMessageReceived() 379 CHECK(response != NULL); in onMessageReceived() 456 CHECK(msg->findInt32("result", &result)); in onMessageReceived() [all …]
|
D | MyHandler.h | 148 CHECK(ARTSPConnection::ParseURL( in mNotify() 356 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 394 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 401 CHECK(msg->findObject("response", &obj)); in onMessageReceived() 459 CHECK(MakeURL( in onMessageReceived() 492 CHECK(msg->findSize("index", &index)); in onMessageReceived() 501 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 507 CHECK(track != NULL); in onMessageReceived() 510 CHECK(msg->findObject("response", &obj)); in onMessageReceived() 627 CHECK(msg->findInt32("result", &result)); in onMessageReceived() [all …]
|
D | rtp_test.cpp | 164 CHECK(desc->setTo(raw, strlen(raw))); in main() 190 CHECK(decoder != NULL); in main() 201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width)); in main() 202 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height)); in main() 214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in main()
|
/frameworks/av/media/libstagefright/omx/ |
D | SimpleSoftOMXComponent.cpp | 59 CHECK(data == NULL); in sendCommand() 100 CHECK(portIndex < mPorts.size()); in isSetParameterAllowed() 115 CHECK(isSetParameterAllowed(index, params)); in setParameter() 218 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE); in useBuffer() 255 CHECK((*header)->pPlatformPrivate == NULL); in allocateBuffer() 271 CHECK((mState == OMX_StateIdle && mTargetState == OMX_StateLoaded) in freeBuffer() 280 CHECK(!buffer->mOwnedByUs); in freeBuffer() 284 CHECK(header->pPlatformPrivate == header->pBuffer); in freeBuffer() 303 CHECK(found); in freeBuffer() 342 CHECK(msg->findInt32("cmd", &cmd)); in onMessageReceived() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 46 CHECK(mApiHandle == NULL && mEncoderHandle == NULL); in initCheck() 47 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate)); in initCheck() 48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels)); in initCheck() 49 CHECK(mChannels <= 2 && mChannels >= 1); in initCheck() 50 CHECK(mMeta->findInt32(kKeyBitRate, &mBitRate)); in initCheck() 53 CHECK(mApiHandle); in initCheck() 61 CHECK(mMemOperator != NULL); in initCheck() 152 CHECK(mInputFrame != NULL); in start() 223 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode)); in read() 301 CHECK(VO_ERR_NONE == mApiHandle->SetInputData(mEncoderHandle,&inputData)); in read()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TimedText3GPPSource.cpp | 49 CHECK(textBuffer != NULL); in read() 72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in extractAndAppendLocalDescriptions() 73 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0); in extractAndAppendLocalDescriptions() 96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in extractGlobalDescriptions() 97 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0); in extractGlobalDescriptions()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | VideoEditorSRC.cpp | 53 CHECK(format->findCString(kKeyMIMEType, &mime)); in VideoEditorSRC() 54 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); in VideoEditorSRC() 70 CHECK(!mStarted); in start() 249 CHECK(mBuffer); in getNextBuffer() 299 CHECK(format->findCString(kKeyMIMEType, &mime)); in checkAndSetResampler() 300 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); in checkAndSetResampler() 302 CHECK(format->findInt32(kKeySampleRate, &mSampleRate)); in checkAndSetResampler() 303 CHECK(format->findInt32(kKeyChannelCount, &mChannelCnt)); in checkAndSetResampler() 325 CHECK(mResampler); in checkAndSetResampler()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 42 CHECK(meta->findInt32(kKeyColorFormat, &tmp)); in SoftwareRenderer() 45 CHECK(meta->findInt32(kKeyWidth, &mWidth)); in SoftwareRenderer() 46 CHECK(meta->findInt32(kKeyHeight, &mHeight)); in SoftwareRenderer() 88 CHECK(mConverter->isValid()); in SoftwareRenderer() 92 CHECK(mNativeWindow != NULL); in SoftwareRenderer() 93 CHECK(mCropWidth > 0); in SoftwareRenderer() 94 CHECK(mCropHeight > 0); in SoftwareRenderer() 95 CHECK(mConverter == NULL || mConverter->isValid()); in SoftwareRenderer()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 92 CHECK(!"should not be here"); in handleBufferMessage() 106 CHECK(!"should not be here"); in handleBufferMessage() 191 CHECK(buffer.mMemory != NULL); in allocatePortBuffers() 266 CHECK(meta->findCString(kKeyMIMEType, &trackMIME)); in MakeSource() 525 CHECK(meta != NULL); in CreateSourceForMime() 528 CHECK(meta->findCString(kKeyMIMEType, &trackMime)); in CreateSourceForMime() 598 CHECK(codec != NULL); in testSeek() 603 CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs)); in testSeek() 646 CHECK(buffer == NULL); in testSeek() 649 CHECK(buffer != NULL); in testSeek() [all …]
|
/frameworks/ex/variablespeed/jni/ |
D | sola_time_scaler.cc | 34 CHECK(initialized_); in Correlate() 155 CHECK(initialized_); in Reset() 181 CHECK(initialized_); in input_limit() 187 CHECK(initialized_); in available() 205 CHECK(initialized_); in Drain() 213 CHECK(initialized_); in InjectSamples() 229 CHECK(initialized_); in RetrieveSamples() 246 CHECK(initialized_); in Process()
|