Home
last modified time | relevance | path

Searched refs:findInt32 (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorUtils.cpp62 if (meta->findInt32(kKeyWidth, &int32Data)) { in displayMetaData()
65 if (meta->findInt32(kKeyHeight, &int32Data)) { in displayMetaData()
68 if (meta->findInt32(kKeyIFramesInterval, &int32Data)) { in displayMetaData()
71 if (meta->findInt32(kKeyStride, &int32Data)) { in displayMetaData()
74 if (meta->findInt32(kKeySliceHeight, &int32Data)) { in displayMetaData()
77 if (meta->findInt32(kKeyChannelCount, &int32Data)) { in displayMetaData()
80 if (meta->findInt32(kKeySampleRate, &int32Data)) { in displayMetaData()
83 if (meta->findInt32(kKeyBitRate, &int32Data)) { in displayMetaData()
99 if (meta->findInt32(kKeyWantsNALFragments, &int32Data)) { in displayMetaData()
102 if (meta->findInt32(kKeyIsSyncFrame, &int32Data)) { in displayMetaData()
[all …]
/frameworks/av/media/libstagefright/
DUtils.cpp82 if (meta->findInt32(kKeyIsSyncFrame, &isSync) && isSync != 0) { in convertMetaDataToMessage()
88 CHECK(meta->findInt32(kKeyWidth, &width)); in convertMetaDataToMessage()
89 CHECK(meta->findInt32(kKeyHeight, &height)); in convertMetaDataToMessage()
95 if (meta->findInt32(kKeySARWidth, &sarWidth) in convertMetaDataToMessage()
96 && meta->findInt32(kKeySARHeight, &sarHeight)) { in convertMetaDataToMessage()
102 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in convertMetaDataToMessage()
103 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in convertMetaDataToMessage()
109 if (meta->findInt32(kKeyChannelMask, &channelMask)) { in convertMetaDataToMessage()
114 if (meta->findInt32(kKeyEncoderDelay, &delay)) { in convertMetaDataToMessage()
118 if (meta->findInt32(kKeyEncoderPadding, &padding)) { in convertMetaDataToMessage()
[all …]
DStagefrightMetadataRetriever.cpp221 if (buffer->meta_data()->findInt32(kKeyIsUnreadable, &unreadable) in extractVideoFrameWithCodecFlags()
249 CHECK(meta->findInt32(kKeyWidth, &width)); in extractVideoFrameWithCodecFlags()
250 CHECK(meta->findInt32(kKeyHeight, &height)); in extractVideoFrameWithCodecFlags()
262 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in extractVideoFrameWithCodecFlags()
276 if (meta->findInt32(kKeyDisplayWidth, &displayWidth)) { in extractVideoFrameWithCodecFlags()
279 if (meta->findInt32(kKeyDisplayHeight, &displayHeight)) { in extractVideoFrameWithCodecFlags()
284 CHECK(meta->findInt32(kKeyColorFormat, &srcFormat)); in extractVideoFrameWithCodecFlags()
339 if (fileMeta->findInt32(kKeyIsDRM, &drm) && drm != 0) { in getFrameAtTime()
520 if (!trackMeta->findInt32(kKeyBitRate, &audioBitrate)) { in parseMetaData()
526 CHECK(trackMeta->findInt32(kKeyWidth, &videoWidth)); in parseMetaData()
[all …]
DACodec.cpp889 if (!msg->findInt32("encoder", &encoder)) { in configureCodec()
904 && !msg->findInt32("bitrate", &bitRate)) { in configureCodec()
910 && msg->findInt32("store-metadata-in-buffers", &storeMeta) in configureCodec()
924 && msg->findInt32("prepend-sps-pps-to-idr-frames", &prependSPSPPS) in configureCodec()
954 if (!msg->findInt32("width", &width) in configureCodec()
955 || !msg->findInt32("height", &height)) { in configureCodec()
963 if (!msg->findInt32("channel-count", &numChannels) in configureCodec()
964 || !msg->findInt32("sample-rate", &sampleRate)) { in configureCodec()
976 if (!msg->findInt32("channel-count", &numChannels) in configureCodec()
977 || !msg->findInt32("sample-rate", &sampleRate)) { in configureCodec()
[all …]
DOMXCodec.cpp283 if (source->getFormat()->findInt32( in Create()
500 CHECK(meta->findInt32(kKeyBitRate, &bitRate)); in configureCodec()
508 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in configureCodec()
509 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in configureCodec()
511 if (!meta->findInt32(kKeyAACProfile, &aacProfile)) { in configureCodec()
516 if (!meta->findInt32(kKeyIsADTS, &isADTS)) { in configureCodec()
527 if (meta->findInt32(kKeyChannelCount, &numChannels) in configureCodec()
528 && meta->findInt32(kKeySampleRate, &sampleRate)) { in configureCodec()
542 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in configureCodec()
549 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in configureCodec()
[all …]
DMediaCodec.cpp92 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse()
295 CHECK(response->findInt32("flags", (int32_t *)flags)); in dequeueOutputBuffer()
473 CHECK(buffer->meta()->findInt32("omxFlags", &omxFlags)); in handleDequeueOutputBuffer()
499 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
505 CHECK(msg->findInt32("omx-error", &omxError)); in onMessageReceived()
506 CHECK(msg->findInt32("err", &internalError)); in onMessageReceived()
637 if (!msg->findInt32("err", &err)) { in onMessageReceived()
655 if (msg->findInt32("err", &err)) { in onMessageReceived()
666 CHECK(msg->findInt32("portIndex", &portIndex)); in onMessageReceived()
729 CHECK(msg->findInt32("width", &width)); in onMessageReceived()
[all …]
DAACWriter.cpp101 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource()
102 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate)); in addSource()
106 if (meta->findInt32(kKeyAACProfile, &mAACProfile)) { in addSource()
334 … if (buffer->meta_data()->findInt32(kKeyIsCodecConfig, &isCodecSpecific) && isCodecSpecific) { in threadFunc()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp314 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
405 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
468 CHECK(codecRequest->findInt32("what", &what)); in onMessageReceived()
481 CHECK(codecRequest->findInt32("err", &err)); in onMessageReceived()
524 CHECK(codecRequest->findInt32( in onMessageReceived()
528 CHECK(codecRequest->findInt32("sample-rate", &sampleRate)); in onMessageReceived()
552 if (!codecRequest->findInt32("channel-mask", &channelMask)) { in onMessageReceived()
573 CHECK(codecRequest->findInt32("width", &width)); in onMessageReceived()
574 CHECK(codecRequest->findInt32("height", &height)); in onMessageReceived()
596 if (videoInputFormat->findInt32("sar-width", &sarWidth) in onMessageReceived()
[all …]
DRTSPSource.cpp332 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
349 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
400 if (accessUnit->meta()->findInt32("damaged", &damaged) in onMessageReceived()
442 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
467 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
519 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived()
592 CHECK(msg->findInt32("result", &err)); in onSDPLoaded()
638 CHECK(msg->findInt32("result", &err)); in onDisconnected()
DNuPlayerRenderer.cpp118 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
149 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
427 CHECK(msg->findInt32("audio", &audio)); in onQueueBuffer()
513 CHECK(msg->findInt32("audio", &audio)); in onQueueEOS()
520 CHECK(msg->findInt32("finalResult", &finalResult)); in onQueueEOS()
543 CHECK(msg->findInt32("audio", &audio)); in onFlush()
DGenericSource.cpp114 CHECK(meta->findInt32(kKeyWidth, &width)); in prepareAsync()
115 CHECK(meta->findInt32(kKeyHeight, &height)); in prepareAsync()
244 if (!mbuf->meta_data()->findInt32( in readBuffer()
/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp422 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val1)) { in onNotify()
426 } else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val1)) { in onNotify()
429 } else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val1)) { in onNotify()
432 } else if (msg->findInt32(PLAYEREVENT_PREPARED, &val1)) { in onNotify()
435 } else if (msg->findInt32(PLAYEREVENT_CHANNEL_COUNT, &val1)) { in onNotify()
441 } else if (msg->findInt32(PLAYEREVENT_PLAY, &val1)) { in onNotify()
444 } else if (msg->findInt32(PLAYEREVENT_ERRORAFTERPREPARE, &val1)) { in onNotify()
506 if (msg->findInt32(WHATPARAM_BUFFERING_UPDATETHRESHOLD_PERCENT, &thresholdPercent)) { in onSetBufferingUpdateThreshold()
526 if (msg->findInt32(WHATPARAM_SETPLAYEVENTS_FLAGS, &eventFlags) && in onSetPlayEvents()
527 msg->findInt32(WHATPARAM_SETPLAYEVENTS_MARKER, &markerPositionMs) && in onSetPlayEvents()
[all …]
Dandroid_AudioSfDecoder.cpp266 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); in onPrepare()
268 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare()
327 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in onPrepare()
331 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
401 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop)); in onLoop()
627 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { in onNotify()
631 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { in onNotify()
635 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { in onNotify()
762 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in hasNewDecodeParams()
764 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams()
DAacBqToPcmCbRenderer.cpp185 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in onPrepare()
187 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h431 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
457 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived()
469 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
574 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
628 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
754 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
788 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
813 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
819 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
868 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived()
[all …]
DARTPSession.cpp131 if (msg->findInt32("first-rtcp", &firstRTCP)) { in onMessageReceived()
142 if (msg->findInt32("eos", &eos) && eos) { in onMessageReceived()
180 if (accessUnit->meta()->findInt32("damaged", &damaged) in onMessageReceived()
DMyTransmitter.h181 CHECK(meta->findInt32(kKeyWidth, &width)); in issueAnnounce()
182 CHECK(meta->findInt32(kKeyHeight, &height)); in issueAnnounce()
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()
456 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
546 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
597 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
735 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
764 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
Drtp_test.cpp201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width)); in main()
202 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height)); in main()
DARTPConnection.cpp186 CHECK(msg->findInt32("rtp-socket", &s)); in onAddStream()
188 CHECK(msg->findInt32("rtcp-socket", &s)); in onAddStream()
192 CHECK(msg->findInt32("injected", &injected)); in onAddStream()
214 CHECK(msg->findInt32("rtp-socket", &rtpSocket)); in onRemoveStream()
215 CHECK(msg->findInt32("rtcp-socket", &rtcpSocket)); in onRemoveStream()
649 CHECK(msg->findInt32("index", &index)); in onInjectPacket()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp81 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) { in dequeueAccessUnit()
109 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in read()
142 if (buffer->meta()->findInt32("damaged", &damaged) && damaged) { in queueAccessUnit()
166 if (!oldBuffer->meta()->findInt32( in queueDiscontinuity()
/frameworks/av/media/libstagefright/wifi-display/source/
DWifiDisplaySource.cpp89 if (response == NULL || !(*response)->findInt32("err", &err)) { in PostAndAwaitResponse()
180 CHECK(msg->findInt32("reason", &reason)); in onMessageReceived()
186 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived()
189 CHECK(msg->findInt32("err", &err)); in onMessageReceived()
214 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived()
236 CHECK(msg->findInt32( in onMessageReceived()
383 CHECK(msg->findInt32("playbackSessionID", &playbackSessionID)); in onMessageReceived()
386 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
438 CHECK(msg->findInt32("channel", &channel)); in onMessageReceived()
447 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived()
[all …]
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp42 CHECK(meta->findInt32(kKeyColorFormat, &tmp)); in SoftwareRenderer()
45 CHECK(meta->findInt32(kKeyWidth, &mWidth)); in SoftwareRenderer()
46 CHECK(meta->findInt32(kKeyHeight, &mHeight)); in SoftwareRenderer()
60 if (!meta->findInt32(kKeyRotation, &rotationDegrees)) { in SoftwareRenderer()
/frameworks/av/cmds/stagefright/
Dsf2.cpp168 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
276 CHECK(meta->findInt32(kKeyWidth, &width)); in makeFormat()
277 CHECK(meta->findInt32(kKeyHeight, &height)); in makeFormat()
285 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in makeFormat()
286 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in makeFormat()
292 if (meta->findInt32(kKeyIsADTS, &isADTS) && isADTS != 0) { in makeFormat()
410 if (meta->findInt32(kKeyMaxInputSize, &maxInputSize)) { in makeFormat()
495 if (!inBuffer->meta_data()->findInt32( in onFillThisBuffer()
Dmuxer.cpp111 CHECK(format->findInt32("width", &width)); in muxing()
112 CHECK(format->findInt32("height", &height)); in muxing()
168 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) { in muxing()
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.cpp288 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
304 CHECK(msg->findInt32("what", &what)); in onSenderNotify()
312 CHECK(msg->findInt32("err", &err)); in onSenderNotify()
329 CHECK(msg->findInt32("err", &err)); in onSenderNotify()

1234