/frameworks/av/media/libaah_rtp/ |
D | aah_rx_player_ring_buffer.cpp | 43 CHECK(rd_ < capacity_); in reset() 62 CHECK(NULL != ring_); in pushBuffer() 63 CHECK(NULL != buf); in pushBuffer() 73 CHECK(rd_ == wr_); in pushBuffer() 74 CHECK(NULL == ring_[wr_]); in pushBuffer() 75 CHECK(wr_ < capacity_); in pushBuffer() 127 CHECK(wr_ < capacity_); in pushBuffer() 128 CHECK(NULL == ring_[wr_]); in pushBuffer() 133 CHECK(wr_ != rd_); in pushBuffer() 176 CHECK(ring_pos < capacity_); in pushBuffer() [all …]
|
D | aah_tx_packet.cpp | 54 CHECK(!mIsPacked); in setPTS() 78 CHECK(!mIsPacked); in setProgramID() 83 CHECK(!mIsPacked); in setSubstreamID() 89 CHECK(!mIsPacked); in setClockTransform() 95 CHECK(mIsPacked); in getPacket() 100 CHECK(mIsPacked); in getPacketLen() 105 CHECK(!mIsPacked); in setExpireTime() 116 CHECK(!mIsPacked); in setCodecType() 121 CHECK(!mIsPacked); in setRandomAccessPoint() 126 CHECK(!mIsPacked); in setDropable() [all …]
|
/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() 409 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); in handleDequeueOutputBuffer() 414 CHECK(buffer->meta()->findInt32("omxFlags", &omxFlags)); in handleDequeueOutputBuffer() 440 CHECK(msg->findInt32("what", &what)); in onMessageReceived() [all …]
|
D | Utils.cpp | 71 CHECK(meta->findCString(kKeyMIMEType, &mime)); in convertMetaDataToMessage() 83 CHECK(meta->findInt32(kKeyWidth, &width)); in convertMetaDataToMessage() 84 CHECK(meta->findInt32(kKeyHeight, &height)); in convertMetaDataToMessage() 90 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in convertMetaDataToMessage() 91 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in convertMetaDataToMessage() 129 CHECK(size >= 7); in convertMetaDataToMessage() 153 CHECK(size >= 2); in convertMetaDataToMessage() 159 CHECK(size >= length); in convertMetaDataToMessage() 177 CHECK(size >= 1); in convertMetaDataToMessage() 183 CHECK(size >= 2); in convertMetaDataToMessage() [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 | 82 CHECK(mDrmManagerClient); in DRMSource() 88 CHECK(success); in DRMSource() 94 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size)); in DRMSource() 98 CHECK(size >= 7); in DRMSource() 158 CHECK(pDecryptedDrmBuffer == &decryptedDrmBuffer); in read() 161 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); in read() 170 CHECK(srcOffset + mNALLengthSize <= len); in read() 188 CHECK(!"Should not be here."); in read() 207 CHECK(dstOffset + 4 <= (*buffer)->size()); in read() 259 CHECK(getTrackMetaData(index, 0)->findInt32(kKeyTrackID, &trackID)); in getTrack() [all …]
|
D | MPEG2TSWriter.cpp | 105 CHECK(meta->findCString(kKeyMIMEType, &mime)); in SourceInfo() 151 CHECK(meta->findCString(kKeyMIMEType, &mime)); in extractCodecSpecificData() 203 CHECK(size >= 2); in extractCodecSpecificData() 209 CHECK(size >= length); in extractCodecSpecificData() 220 CHECK(size >= 1); in extractCodecSpecificData() 226 CHECK(size >= 2); in extractCodecSpecificData() 232 CHECK(size >= length); in extractCodecSpecificData() 264 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in postAVCFrame() 295 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in appendAACFrames() 451 CHECK(mLastAccessUnit->meta()->findInt64("timeUs", &timeUs)); in lastAccessUnitTimeUs() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 191 CHECK(mSource == NULL); in onMessageReceived() 194 CHECK(msg->findObject("source", &obj)); in onMessageReceived() 205 CHECK(msg->findObject("native-window", &obj)); in onMessageReceived() 216 CHECK(msg->findObject("sink", &obj)); in onMessageReceived() 250 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 295 CHECK(msg->findMessage("codec-request", &codecRequest)); in onMessageReceived() 298 CHECK(codecRequest->findInt32("what", &what)); in onMessageReceived() 311 CHECK(codecRequest->findInt32("err", &err)); in onMessageReceived() 326 CHECK(IsFlushingState(mFlushingAudio, &needShutdown)); in onMessageReceived() 329 CHECK(IsFlushingState(mFlushingVideo, &needShutdown)); in onMessageReceived() [all …]
|
D | RTSPSource.cpp | 74 CHECK(mHandler == NULL); in start() 212 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived() 219 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 227 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 236 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 257 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 261 CHECK(msg->findBuffer("accessUnit", &accessUnit)); in onMessageReceived() 275 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived() 300 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 304 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived() [all …]
|
D | NuPlayerRenderer.cpp | 81 CHECK(!mFlushingAudio); in flush() 84 CHECK(!mFlushingVideo); in flush() 95 CHECK(mAudioQueue.empty()); in signalTimeDiscontinuity() 96 CHECK(mVideoQueue.empty()); in signalTimeDiscontinuity() 115 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 146 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 256 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in onDrainAudioQueue() 327 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in postDrainVideoQueue() 371 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); in onDrainVideoQueue() 403 CHECK(msg->findInt32("audio", &audio)); in onQueueBuffer() [all …]
|
D | NuPlayerDecoder.cpp | 46 CHECK(mCodec == NULL); in configure() 49 CHECK(meta->findCString(kKeyMIMEType, &mime)); in configure() 85 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 104 CHECK(mCSD.isEmpty()); in makeFormat() 124 CHECK(msg->findMessage("reply", &reply)); in onFillThisBuffer() 128 CHECK(msg->findBuffer("buffer", &outBuffer)); in onFillThisBuffer()
|
/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/wilhelm/tests/sandbox/ |
D | nativewindow.cpp | 31 #define CHECK assert macro 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) 61 CHECK(control != NULL); in getNativeWindow_() 62 CHECK(control->isValid()); in getNativeWindow_() 70 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 …]
|
/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/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/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/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() 326 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()
|