/frameworks/av/media/libstagefright/ |
Utils.cpp | 89 if (meta->findInt32(kKeyBitRate, &avgBitRate)) { 94 if (meta->findInt32(kKeyIsSyncFrame, &isSync) && isSync != 0) { 100 CHECK(meta->findInt32(kKeyWidth, &width)); 101 CHECK(meta->findInt32(kKeyHeight, &height)); 107 if (meta->findInt32(kKeySARWidth, &sarWidth) 108 && meta->findInt32(kKeySARHeight, &sarHeight)) { 114 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { 128 if (meta->findInt32(kKeyRotation, &rotationDegrees)) { 133 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 134 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)) [all...] |
ACodec.cpp | [all...] |
StagefrightMetadataRetriever.cpp | 228 if (buffer->meta_data()->findInt32(kKeyIsUnreadable, &unreadable) 256 CHECK(meta->findInt32(kKeyWidth, &width)); 257 CHECK(meta->findInt32(kKeyHeight, &height)); 269 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { 283 if (meta->findInt32(kKeyDisplayWidth, &displayWidth)) { 286 if (meta->findInt32(kKeyDisplayHeight, &displayHeight)) { 291 CHECK(meta->findInt32(kKeyColorFormat, &srcFormat)); 346 if (fileMeta->findInt32(kKeyIsDRM, &drm) && drm != 0) { 547 if (!trackMeta->findInt32(kKeyBitRate, &audioBitrate)) { 553 CHECK(trackMeta->findInt32(kKeyWidth, &videoWidth)) [all...] |
OMXCodec.cpp | 296 if (source->getFormat()->findInt32( 580 CHECK(meta->findInt32(kKeyBitRate, &bitRate)); 588 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 589 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); 591 if (!meta->findInt32(kKeyAACProfile, &aacProfile)) { 596 if (!meta->findInt32(kKeyIsADTS, &isADTS)) { 607 if (meta->findInt32(kKeyChannelCount, &numChannels) 608 && meta->findInt32(kKeySampleRate, &sampleRate)) { 619 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 620 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)) [all...] |
MediaCodec.cpp | 168 if (!(*response)->findInt32("err", &err)) { 456 CHECK(response->findInt32("flags", (int32_t *)flags)); 702 CHECK(buffer->meta()->findInt32("omxFlags", &omxFlags)); 728 CHECK(msg->findInt32("what", &what)); 734 CHECK(msg->findInt32("err", &err)); 735 CHECK(msg->findInt32("actionCode", &actionCode)); 898 if (mOutputFormat->findInt32("using-sw-renderer", &usingSwRenderer) 912 if (!msg->findInt32("err", &err)) { 930 if (msg->findInt32("err", &err)) { 942 CHECK(msg->findInt32("portIndex", &portIndex)) [all...] |
MediaCodecSource.cpp | 107 if (!response->findInt32("err", &err)) { 202 CHECK(msg->findInt32("generation", &generation)); 467 if (!response->findInt32("err", &err)) { 674 CHECK(msg->findInt32("callbackID", &cbID)); 677 CHECK(msg->findInt32("index", &index)); 689 CHECK(msg->findInt32("index", &index)); 693 CHECK(msg->findInt32("flags", &flags)); 762 CHECK(msg->findInt32("err", &err));
|
/frameworks/av/include/media/stagefright/foundation/ |
ParsedMessage.h | 31 bool findInt32(const char *name, int32_t *value) const;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.cpp | 183 CHECK(msg->findInt32("generation", &generation)); 221 CHECK(msg->findInt32("what", &what)); 231 format->findInt32("width", &width) && format->findInt32("height", &height)) { 257 CHECK(msg->findInt32("err", &err)); 266 CHECK(msg->findInt32(
|
NuPlayer.cpp | 346 CHECK(format->findInt32("type", &trackType)); 360 CHECK(format->findInt32("auto", &isAuto)); 361 CHECK(format->findInt32("default", &isDefault)); 362 CHECK(format->findInt32("forced", &isForced)); 445 CHECK(msg->findInt32("type", (int32_t*)&type32)); 472 CHECK(msg->findInt32("select", &select)); 493 && info->findInt32("type", &type) 516 CHECK(msg->findInt32("generation", &generation)); 610 CHECK(msg->findInt32("generation", &generation)); 689 CHECK(msg->findInt32("generation", &requesterGeneration)) [all...] |
GenericSource.cpp | 237 if (meta->findInt32(kKeyRequiresSecureBuffers, &secure) 257 if (totalBitrate >= 0 && meta->findInt32(kKeyBitRate, &bitrate)) { 816 CHECK(msg->findInt32("trackIndex", &trackIndex)); 867 CHECK(msg->findInt32("generation", &generation)); 907 CHECK(msg->findInt32("err", &err)); 939 CHECK(msg->findInt32("generation", &msgGeneration)); 973 CHECK(msg->findInt32("generation", &msgGeneration)); 1017 CHECK(msg->findInt32("audio", &audio)); [all...] |
NuPlayerRenderer.cpp | 320 if (!response->findInt32("err", &err)) { 324 CHECK(response->findInt32("offload", &offload)); 345 CHECK(msg->findInt32("offload-only", &offloadOnly)); 348 CHECK(msg->findInt32("has-video", &hasVideo)); 351 CHECK(msg->findInt32("flags", (int32_t *)&flags)); 387 CHECK(msg->findInt32("generation", &generation)); 421 CHECK(msg->findInt32("generation", &generation)); 438 CHECK(msg->findInt32("generation", &generation)); 514 CHECK(msg->findInt32("generation", &generation)); 968 CHECK(msg->findInt32("audio", &audio)) [all...] |
NuPlayerDecoderBase.cpp | 56 if (!(*response)->findInt32("err", &err)) { 167 CHECK(msg->findInt32("notifyComplete", ¬ifyComplete));
|
RTSPSource.cpp | 322 CHECK(msg->findInt32("generation", &generation)); 339 CHECK(msg->findInt32("what", &what)); 389 if (accessUnit->meta()->findInt32("damaged", &damaged) 431 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); 456 CHECK(msg->findInt32("finalResult", &finalResult)); 511 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); 584 CHECK(msg->findInt32("result", &err)); 634 CHECK(msg->findInt32("result", &err));
|
/frameworks/wilhelm/src/android/ |
android_AudioSfDecoder.cpp | 268 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); 270 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); 329 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 333 CHECK(meta->findInt32(kKeySampleRate, &sr)); 338 // CHECK(meta->findInt32(kKeyChannelMask, &channelMask)); 403 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop)); 629 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { 633 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { 637 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { 764 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)) [all...] |
android_GenericPlayer.cpp | 423 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val1)) { 427 } else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val1)) { 430 } else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val1)) { 433 } else if (msg->findInt32(PLAYEREVENT_PREPARED, &val1)) { 436 } else if (msg->findInt32(PLAYEREVENT_CHANNEL_COUNT, &val1)) { 442 } else if (msg->findInt32(PLAYEREVENT_PLAY, &val1)) { 445 } else if (msg->findInt32(PLAYEREVENT_ERRORAFTERPREPARE, &val1)) { 507 if (msg->findInt32(WHATPARAM_BUFFERING_UPDATETHRESHOLD_PERCENT, &thresholdPercent)) { 527 if (msg->findInt32(WHATPARAM_SETPLAYEVENTS_FLAGS, &eventFlags) && 528 msg->findInt32(WHATPARAM_SETPLAYEVENTS_MARKER, &markerPositionMs) & [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
AnotherPacketSource.cpp | 94 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { 121 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) { 159 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { 201 if (buffer->meta()->findInt32("damaged", &damaged) && damaged) { 216 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { 262 if (!oldBuffer->meta()->findInt32(
|
/frameworks/av/media/libstagefright/colorconversion/ |
SoftwareRenderer.cpp | 65 CHECK(format->findInt32("color-format", &colorFormatNew)); 68 CHECK(format->findInt32("stride", &widthNew)); 69 CHECK(format->findInt32("slice-height", &heightNew)); 167 if (!format->findInt32("rotation-degrees", &rotationDegrees)) {
|
/frameworks/av/media/libstagefright/httplive/ |
PlaylistFetcher.cpp | 95 if (mPlaylist->meta() == NULL || !mPlaylist->meta()->findInt32( 135 CHECK(mPlaylist->meta()->findInt32("target-duration", &targetDurationSecs)); 426 CHECK(msg->findInt32("generation", &generation)); 456 CHECK(msg->findInt32("streamTypeMask", (int32_t *)&streamTypeMask)); 464 CHECK(msg->findInt32("startDiscontinuitySeq", &startDiscontinuitySeq)); 465 CHECK(msg->findInt32("adaptive", &adaptive)); 520 CHECK(msg->findInt32("clear", &clear)); 567 && latestMeta->findInt32("discontinuitySeq", &discontinuitySeq) 614 if (mPlaylist->meta() == NULL || !mPlaylist->meta()->findInt32( 739 mPlaylist->meta()->findInt32("media-sequence", &firstSeqNumberInPlaylist) [all...] |
LiveSession.cpp | 161 meta->findInt32("targetDuration", &targetDuration); 227 CHECK((*accessUnit)->meta()->findInt32("discontinuity", &type)); 240 if ((*accessUnit)->meta()->findInt32("swapPacketSource", &swap) && swap) { 242 CHECK((*accessUnit)->meta()->findInt32("switchGeneration", &switchGeneration)); 280 (*accessUnit)->meta()->findInt32("discontinuitySeq", &discontinuitySeq); 294 } else if ((*accessUnit)->meta()->findInt32("discard", &discard) && discard) { 318 if ((*accessUnit)->meta()->findInt32("subtitleGeneration", &subtitleGeneration) 421 CHECK(msg->findInt32("what", &what)); 475 CHECK(msg->findInt32("err", &err)); 547 CHECK(msg->findInt32("switchGeneration", &switchGeneration)) [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
MyHandler.h | 444 CHECK(msg->findInt32("result", &result)); 470 if (msg->findInt32("reconnect", &reconnect) && reconnect) { 482 CHECK(msg->findInt32("result", &result)); 598 CHECK(msg->findInt32("result", &result)); 652 CHECK(msg->findInt32("result", &result)); 784 CHECK(msg->findInt32("result", &result)); 818 CHECK(msg->findInt32("generation", &generation)); 843 CHECK(msg->findInt32("result", &result)); 849 CHECK(msg->findInt32("generation", &generation)); 900 if (msg->findInt32("reconnect", &reconnect) && reconnect) [all...] |
rtp_test.cpp | 201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width)); 202 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height));
|
/frameworks/av/media/libstagefright/wifi-display/ |
MediaSender.cpp | 290 CHECK(msg->findInt32("generation", &generation)); 306 CHECK(msg->findInt32("what", &what)); 314 CHECK(msg->findInt32("err", &err)); 331 CHECK(msg->findInt32("err", &err)); 419 CHECK(accessUnit->meta()->findInt32("rangeOffset", &rangeOffset)); 420 CHECK(accessUnit->meta()->findInt32("rangeLength", &rangeLength));
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
WifiDisplaySource.cpp | 95 if (response == NULL || !(*response)->findInt32("err", &err)) { 186 CHECK(msg->findInt32("reason", &reason)); 192 CHECK(msg->findInt32("sessionID", &sessionID)); 195 CHECK(msg->findInt32("err", &err)); 220 CHECK(msg->findInt32("sessionID", &sessionID)); 242 CHECK(msg->findInt32( 389 CHECK(msg->findInt32("playbackSessionID", &playbackSessionID)); 392 CHECK(msg->findInt32("what", &what)); 446 CHECK(msg->findInt32("channel", &channel)); 455 CHECK(msg->findInt32("sessionID", &sessionID)) [all...] |
MediaPuller.cpp | 58 if (!response->findInt32("err", &err)) { 135 CHECK(msg->findInt32("generation", &generation));
|
/frameworks/av/cmds/stagefright/ |
sf2.cpp | 212 CHECK(msg->findInt32("what", &what)); 300 CHECK(meta->findInt32(kKeyWidth, &width)); 301 CHECK(meta->findInt32(kKeyHeight, &height)); 309 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 310 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); 316 if (meta->findInt32(kKeyIsADTS, &isADTS) && isADTS != 0) { 434 if (meta->findInt32(kKeyMaxInputSize, &maxInputSize)) { 519 if (!inBuffer->meta_data()->findInt32(
|