Searched refs:CHECK (Results 1 - 25 of 256) sorted by relevance

1234567891011

/frameworks/av/media/libstagefright/filters/
H A DSimpleFilter.cpp25 CHECK(msg->findInt32("width", &mWidth));
26 CHECK(msg->findInt32("height", &mHeight));
33 CHECK(msg->findInt32("color-format", &mColorFormatIn));
/frameworks/av/drm/mediacas/plugins/clearkey/
H A Decm_generator.cpp50 CHECK(pptr);
51 CHECK(*pptr);
61 CHECK(asset);
62 CHECK(content_key);
63 CHECK(default_fields);
79 CHECK(asset);
80 CHECK(default_fields);
H A DClearKeyFetcher.cpp38 CHECK(license_fetcher_);
52 CHECK(asset_id);
53 CHECK(keys);
54 CHECK(initialized_);
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp31 #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 DHTTPHelper.cpp43 CHECK(clazz.get() != NULL);
46 CHECK(constructID != NULL);
55 CHECK(asBinderID != NULL);
59 CHECK(httpServiceBinderObj.get() != NULL);
/frameworks/av/media/libstagefright/foundation/
H A DMediaBuffer.cpp123 CHECK(prevCount > 0);
127 CHECK(mObserver != NULL);
138 CHECK(mGraphicBuffer == NULL);
143 CHECK(mGraphicBuffer == NULL);
159 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize));
179 CHECK(mObserver == NULL);
197 CHECK(observer == NULL || mObserver == NULL);
202 CHECK(mGraphicBuffer == NULL);
/frameworks/av/media/libstagefright/
H A DMediaAdapter.cpp36 CHECK(mCurrentMediaBuffer == NULL);
70 CHECK(buffer != NULL);
92 CHECK(mCurrentMediaBuffer == NULL);
96 CHECK(mCurrentMediaBuffer != NULL);
H A DMediaCodec.cpp791 CHECK(response->findInt32("status", &status));
822 CHECK(msg->senderAwaitsResponse(&replyID));
853 CHECK(found);
1070 CHECK(response->findSize("index", index));
1091 CHECK(response->findSize("index", index));
1092 CHECK(response->findSize("offset", offset));
1093 CHECK(response->findSize("size", size));
1094 CHECK(response->findInt64("timeUs", presentationTimeUs));
1095 CHECK(response->findInt32("flags", (int32_t *)flags));
1143 CHECK(respons
[all...]
H A DMediaCodecSource.cpp109 CHECK(meta->findCString(kKeyMIMEType, &mime));
231 CHECK(msg->findObject("meta", &obj));
248 CHECK(msg->senderAwaitsResponse(&replyID));
261 CHECK(msg->senderAwaitsResponse(&replyID));
389 CHECK(mFlags & FLAG_USE_SURFACE_INPUT);
437 CHECK(mLooper != NULL);
440 CHECK(mOutputFormat->findString("mime", &mime));
481 CHECK(mOutputFormat->findString("mime", &outputMIME));
526 CHECK(mIsVideo);
640 CHECK(mFlag
[all...]
H A DAudioPlayer.cpp71 CHECK(mSource == NULL);
84 CHECK(!mStarted);
85 CHECK(mSource != NULL);
101 CHECK(mFirstBuffer == NULL);
113 CHECK(mFirstBuffer == NULL);
123 CHECK(success);
124 CHECK(useOffload() || !strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
127 CHECK(success);
131 CHECK(success);
272 CHECK(mStarte
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp41 CHECK(meta->findCString(kKeyMIMEType, &mime));
109 CHECK(msg->senderAwaitsResponse(&replyID));
118 CHECK(meta->findCString(kKeyMIMEType, &tmp));
127 CHECK(msg->findMessage("notify", &notify));
135 CHECK(msg->findInt32("generation", &generation));
166 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
H A DConverter.cpp67 CHECK(mOutputFormat->findString("mime", &mime));
92 CHECK(mEncoder == NULL);
111 CHECK(mFlags & FLAG_USE_SURFACE_INPUT);
145 CHECK(mOutputFormat->findString("mime", &outputMIME));
238 CHECK(mIsVideo);
298 CHECK(msg->findInt32("what", &what));
306 CHECK(msg->findBuffer("accessUnit", &accessUnit));
323 CHECK(msg->findBuffer("accessUnit", &accessUnit));
426 CHECK(mOutputFormat->findString("mime", &mime));
445 CHECK(ms
[all...]
H A DRepeaterSource.cpp27 CHECK(!mStarted);
50 CHECK(!mStarted);
78 CHECK(mStarted);
113 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
144 CHECK(mBuffer == NULL);
/frameworks/base/media/jni/
H A Dandroid_media_MediaDataSource.cpp38 CHECK(mMediaDataSourceObj != NULL);
41 CHECK(mediaDataSourceClass.get() != NULL);
44 CHECK(mReadMethod != NULL);
46 CHECK(mGetSizeMethod != NULL);
48 CHECK(mCloseMethod != NULL);
52 CHECK(mByteArrayObj != NULL);
H A Dandroid_media_MediaCodec.cpp126 CHECK(clazz != NULL);
146 CHECK((mCodec != NULL) != (mInitStatus != OK));
152 CHECK(mByteBufferClass != NULL);
156 CHECK(byteOrderClass.get() != NULL);
160 CHECK(nativeOrderID != NULL);
165 CHECK(mNativeByteOrderObj != NULL);
173 CHECK(mByteBufferOrderMethodID != NULL);
177 CHECK(mByteBufferAsReadOnlyBufferMethodID != NULL);
181 CHECK(mByteBufferPositionMethodID != NULL);
185 CHECK(mByteBufferLimitMethodI
[all...]
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp18 CHECK(numChannels == 1 || numChannels == 2);
28 CHECK(!mStarted);
40 CHECK(mStarted);
H A Dmediafilter.cpp198 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/libmedia/
H A DMediaProfiles.cpp175 CHECK(!strcmp("codec", atts[0]) &&
183 CHECK(codec != -1);
191 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
199 CHECK(!strcmp("codec", atts[0]) &&
205 CHECK(codec != -1);
213 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
220 CHECK(!strcmp("name", atts[0]) &&
225 CHECK(codec != -1);
236 CHECK(!strcmp("name", atts[0]) &&
241 CHECK(code
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp344 CHECK(response->findInt32("err", &err));
358 CHECK(response->findInt32("err", &err));
406 CHECK(response->findInt32("err", &err));
416 CHECK(response->findInt32("err", &err));
430 CHECK(response->findInt32("err", &err));
441 CHECK(response->findInt32("err", &err));
523 CHECK(format->findInt32("auto", &isAuto));
524 CHECK(format->findInt32("default", &isDefault));
525 CHECK(format->findInt32("forced", &isForced));
539 CHECK(mSourc
[all...]
H A DNuPlayerDecoderBase.cpp133 CHECK(msg->findMessage("format", &format));
141 CHECK(msg->findMessage("params", &params));
149 CHECK(msg->findObject("renderer", &obj));
157 CHECK(msg->senderAwaitsResponse(&replyID));
181 CHECK(msg->findInt32("notifyComplete", &notifyComplete));
H A DNuPlayerRenderer.cpp186 CHECK(response->findInt32("err", &err));
220 CHECK(response->findInt32("err", &err));
254 CHECK(response->findInt32("err", &err));
272 CHECK(response->findInt32("err", &err));
417 CHECK(response->findInt32("offload", &offload));
456 CHECK(msg->findMessage("format", &format));
459 CHECK(msg->findInt32("offload-only", &offloadOnly));
462 CHECK(msg->findInt32("has-video", &hasVideo));
465 CHECK(msg->findInt32("flags", (int32_t *)&flags));
468 CHECK(ms
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp162 CHECK(desc->setTo(raw, strlen(raw)));
181 CHECK(decoder != NULL);
192 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width));
193 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height));
205 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp46 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...]
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp79 CHECK(format->findString("mime", &mime));
235 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
261 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
290 CHECK(msg->findInt32("generation", &generation));
306 CHECK(msg->findInt32("what", &what));
314 CHECK(msg->findInt32("err", &err));
331 CHECK(msg->findInt32("err", &err));
340 CHECK(msg->findSize("numBytesQueued", &numBytesQueued));
349 CHECK(msg->findInt64("avgLatencyUs", &avgLatencyUs));
352 CHECK(ms
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp59 CHECK(data == NULL);
115 CHECK(portIndex < mPorts.size());
130 CHECK(isSetParameterAllowed(index, params));
241 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE);
278 CHECK((*header)->pPlatformPrivate == NULL);
294 CHECK((mState == OMX_StateIdle && mTargetState == OMX_StateLoaded)
303 CHECK(!buffer->mOwnedByUs);
307 CHECK(header->pPlatformPrivate == header->pBuffer);
326 CHECK(found);
365 CHECK(ms
[all...]

Completed in 517 milliseconds

1234567891011