/frameworks/av/media/libstagefright/filters/ |
H A D | SimpleFilter.cpp | 25 CHECK(msg->findInt32("width", &mWidth)); 26 CHECK(msg->findInt32("height", &mHeight)); 33 CHECK(msg->findInt32("color-format", &mColorFormatIn));
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | nativewindow.cpp | 31 #define CHECK assert macro 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) 60 CHECK(control != NULL); 61 CHECK(control->isValid()); 69 CHECK(surface != NULL);
|
/frameworks/av/media/libstagefright/http/ |
H A D | HTTPHelper.cpp | 43 CHECK(clazz.get() != NULL); 46 CHECK(constructID != NULL); 55 CHECK(asBinderID != NULL); 59 CHECK(httpServiceBinderObj.get() != NULL);
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 82 CHECK(clazz.get() != NULL); 86 CHECK(integerConstructID != NULL); 93 CHECK(clazz.get() != NULL); 96 CHECK(longConstructID != NULL); 103 CHECK(clazz.get() != NULL); 107 CHECK(floatConstructID != NULL); 118 CHECK(clazz.get() != NULL); 123 CHECK(byteBufWrapID != NULL); 183 CHECK(msg->findInt32(key, &val)); 192 CHECK(ms [all...] |
H A D | android_media_MediaDataSource.cpp | 37 CHECK(mMediaDataSourceObj != NULL); 40 CHECK(mediaDataSourceClass.get() != NULL); 43 CHECK(mReadMethod != NULL); 45 CHECK(mGetSizeMethod != NULL); 47 CHECK(mCloseMethod != NULL); 51 CHECK(mByteArrayObj != NULL);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaBuffer.cpp | 103 CHECK(prevCount > 0); 107 CHECK(mObserver != NULL); 118 CHECK(mGraphicBuffer == NULL); 123 CHECK(mGraphicBuffer == NULL); 139 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); 159 CHECK(mObserver == NULL); 173 CHECK(observer == NULL || mObserver == NULL); 190 CHECK(mGraphicBuffer == NULL);
|
H A D | MediaAdapter.cpp | 36 CHECK(mCurrentMediaBuffer == NULL); 70 CHECK(buffer != NULL); 92 CHECK(mCurrentMediaBuffer == NULL); 96 CHECK(mCurrentMediaBuffer != NULL);
|
H A D | MediaCodecSource.cpp | 91 CHECK(meta->findCString(kKeyMIMEType, &mime)); 177 CHECK(msg->findObject("meta", &obj)); 191 CHECK(msg->senderAwaitsResponse(&replyID)); 207 CHECK(msg->findInt32("generation", &generation)); 308 CHECK(mFlags & FLAG_USE_SURFACE_INPUT); 354 CHECK(mLooper != NULL); 357 CHECK(mOutputFormat->findString("mime", &mime)); 402 CHECK(mOutputFormat->findString("mime", &outputMIME)); 430 CHECK(mIsVideo); 536 CHECK(mFlag [all...] |
H A D | DRMExtractor.cpp | 77 CHECK(mDrmManagerClient); 83 CHECK(success); 89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size)); 93 CHECK(size >= 7); 153 CHECK(pDecryptedDrmBuffer == &decryptedDrmBuffer); 156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); 165 CHECK(srcOffset + mNALLengthSize <= len); 183 CHECK(!"Should not be here."); 203 CHECK(dstOffset + 4 <= (*buffer)->size()); 255 CHECK(getTrackMetaDat [all...] |
H A D | MediaCodec.cpp | 502 CHECK(found); 719 CHECK(response->findSize("index", index)); 740 CHECK(response->findSize("index", index)); 741 CHECK(response->findSize("offset", offset)); 742 CHECK(response->findSize("size", size)); 743 CHECK(response->findInt64("timeUs", presentationTimeUs)); 744 CHECK(response->findInt32("flags", (int32_t *)flags)); 792 CHECK(response->findMessage("format", format)); 806 CHECK(response->findMessage("format", format)); 820 CHECK(respons [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 49 CHECK(textBuffer != NULL); 72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 73 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0); 96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 97 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 353 CHECK(response->findInt32("err", &err)); 363 CHECK(response->findInt32("err", &err)); 377 CHECK(response->findInt32("err", &err)); 388 CHECK(response->findInt32("err", &err)); 425 CHECK(format->findInt32("type", &trackType)); 443 CHECK(format->findString("language", &lang)); 452 CHECK(format->findInt32("auto", &isAuto)); 453 CHECK(format->findInt32("default", &isDefault)); 454 CHECK(format->findInt32("forced", &isForced)); 468 CHECK(mSourc [all...] |
H A D | RTSPSource.cpp | 87 CHECK(mHandler == NULL); 88 CHECK(mSDPLoader == NULL); 306 CHECK(response->findInt32("err", &err)); 325 CHECK(msg->senderAwaitsResponse(&replyID)); 332 CHECK(msg->findInt32("generation", &generation)); 333 CHECK(msg->senderAwaitsResponse(&mSeekReplyID)); 342 CHECK(msg->findInt64("timeUs", &seekTimeUs)); 351 CHECK(msg->findInt32("what", &what)); 411 CHECK(msg->findInt64("time", &timeUs)); 420 CHECK(ms [all...] |
H A D | NuPlayerDecoderBase.cpp | 128 CHECK(msg->findMessage("format", &format)); 136 CHECK(msg->findMessage("params", ¶ms)); 144 CHECK(msg->findObject("renderer", &obj)); 152 CHECK(msg->senderAwaitsResponse(&replyID)); 155 CHECK(msg->findPointer("buffers", (void **)&dstBuffers)); 179 CHECK(msg->findInt32("notifyComplete", ¬ifyComplete));
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 71 CHECK(!mDecodeAudio || mSurface == NULL); 128 CHECK(meta->findCString(kKeyMIMEType, &mime)); 179 CHECK(mSeekState == SEEK_NONE 211 CHECK(msg->findInt32("what", &what)); 289 CHECK(mCSD.isEmpty()); 292 CHECK(meta->findCString(kKeyMIMEType, &mime)); 299 CHECK(meta->findInt32(kKeyWidth, &width)); 300 CHECK(meta->findInt32(kKeyHeight, &height)); 305 CHECK(!strncasecmp("audio/", mime, 6)); 308 CHECK(met [all...] |
H A D | SineSource.cpp | 18 CHECK(numChannels == 1 || numChannels == 2); 28 CHECK(!mStarted); 40 CHECK(mStarted);
|
H A D | mediafilter.cpp | 198 CHECK(srcFormat->findInt32("stride", &srcStride) 203 CHECK(destFormat->findInt32("stride", &destStride) 209 CHECK(srcWidth <= destStride && srcHeight <= destSliceHeight); 220 CHECK(srcBuffer->meta()->findInt64("timeUs", &timeUs)); 244 CHECK(err == OK); 247 CHECK(err == OK); 303 CHECK(err == OK); 334 CHECK(err == OK); 337 CHECK(format->findString("mime", &mime)); 346 CHECK(er [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | MediaPuller.cpp | 41 CHECK(meta->findCString(kKeyMIMEType, &mime)); 109 CHECK(msg->senderAwaitsResponse(&replyID)); 118 CHECK(meta->findCString(kKeyMIMEType, &tmp)); 127 CHECK(msg->findMessage("notify", ¬ify)); 135 CHECK(msg->findInt32("generation", &generation)); 166 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
|
H A D | Converter.cpp | 66 CHECK(mOutputFormat->findString("mime", &mime)); 91 CHECK(mEncoder == NULL); 110 CHECK(mFlags & FLAG_USE_SURFACE_INPUT); 144 CHECK(mOutputFormat->findString("mime", &outputMIME)); 237 CHECK(mIsVideo); 297 CHECK(msg->findInt32("what", &what)); 305 CHECK(msg->findBuffer("accessUnit", &accessUnit)); 322 CHECK(msg->findBuffer("accessUnit", &accessUnit)); 425 CHECK(mOutputFormat->findString("mime", &mime)); 444 CHECK(ms [all...] |
H A D | RepeaterSource.cpp | 27 CHECK(!mStarted); 50 CHECK(!mStarted); 78 CHECK(mStarted); 113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode)); 144 CHECK(mBuffer == NULL);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 108 CHECK(&from != this); 183 CHECK(mData != NULL); 202 CHECK((result > 0) && ((size_t) result) < sizeof(s)); 209 CHECK((result > 0) && ((size_t) result) < sizeof(s)); 216 CHECK((result > 0) && ((size_t) result) < sizeof(s)); 223 CHECK((result > 0) && ((size_t) result) < sizeof(s)); 230 CHECK((result > 0) && ((size_t) result) < sizeof(s)); 237 CHECK((result > 0) && ((size_t) result) < sizeof(s)); 244 CHECK((result > 0) && ((size_t) result) < sizeof(s)); 251 CHECK((resul [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 172 CHECK(!strcmp("codec", atts[0]) && 180 CHECK(codec != -1); 188 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); 196 CHECK(!strcmp("codec", atts[0]) && 202 CHECK(codec != -1); 210 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); 217 CHECK(!strcmp("name", atts[0]) && 222 CHECK(codec != -1); 233 CHECK(!strcmp("name", atts[0]) && 238 CHECK(code [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 136 CHECK(encoder != NULL); 143 CHECK(encoder != NULL); 149 CHECK(encoder != NULL); 191 CHECK(outQueue.empty()); 192 CHECK(inQueue.empty()); 196 CHECK(mHandle != NULL); 206 CHECK(mEncParams != NULL); 253 CHECK(mInputFrameData != NULL); 270 CHECK(mSliceGroup == NULL); 276 CHECK(mSliceGrou [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 164 CHECK(desc->setTo(raw, strlen(raw))); 190 CHECK(decoder != NULL); 201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width)); 202 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height)); 214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 46 CHECK(mApiHandle == NULL && mEncoderHandle == NULL); 47 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate)); 48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels)); 49 CHECK(mChannels <= 2 && mChannels >= 1); 50 CHECK(mMeta->findInt32(kKeyBitRate, &mBitRate)); 53 CHECK(mApiHandle); 61 CHECK(mMemOperator != NULL); 152 CHECK(mInputFrame != NULL); 221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode)); 299 CHECK(VO_ERR_NON [all...] |