Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/
DUtils.cpp73 if (meta->findInt32(key, &value)) {
85 meta->findInt32(kKeyColorRange, &range); in convertMetaDataToMessageColorAspects()
86 meta->findInt32(kKeyColorPrimaries, &primaries); in convertMetaDataToMessageColorAspects()
87 meta->findInt32(kKeyTransferFunction, &transferFunction); in convertMetaDataToMessageColorAspects()
88 meta->findInt32(kKeyColorMatrix, &colorMatrix); in convertMetaDataToMessageColorAspects()
119 if (format->findInt32("android._is-hdr", &isHdr)) { in isHdr()
130 if (format->findInt32("color-transfer", &transfer)) { in isHdr()
744 if (msg->findInt32(elem.first, &value)) { in convertMessageToMetaDataFromMappings()
790 if (meta->findInt32(elem.second, &value)) { in convertMetaDataToMessageFromMappings()
867 if (meta->findInt32(kKeyCASystemID, &systemId)) { in convertMetaDataToMessage()
[all …]
DFrameDecoder.cpp49 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in allocVideoFrame()
62 if (trackMeta->findInt32(kKeySARWidth, &sarWidth) in allocVideoFrame()
63 && trackMeta->findInt32(kKeySARHeight, &sarHeight) in allocVideoFrame()
67 } else if (trackMeta->findInt32(kKeyDisplayWidth, &displayWidth) in allocVideoFrame()
68 && trackMeta->findInt32(kKeyDisplayHeight, &displayHeight) in allocVideoFrame()
103 return trackMeta->findInt32(kKeyThumbnailWidth, width) in findThumbnailInfo()
104 && trackMeta->findInt32(kKeyThumbnailHeight, height) in findThumbnailInfo()
111 return trackMeta->findInt32(kKeyTileWidth, tileWidth) && (*tileWidth > 0) in findGridInfo()
112 && trackMeta->findInt32(kKeyTileHeight, tileHeight) && (*tileHeight > 0) in findGridInfo()
113 && trackMeta->findInt32(kKeyGridRows, gridRows) && (*gridRows > 0) in findGridInfo()
[all …]
DMediaTrack.cpp137 if (format->mFormat->findInt32("is-sync-frame", &val32)) { in read()
140 if (format->mFormat->findInt32("temporal-layer-id", &val32)) { in read()
143 if (format->mFormat->findInt32("temporal-layer-count", &val32)) { in read()
146 if (format->mFormat->findInt32("crypto-default-iv-size", &val32)) { in read()
149 if (format->mFormat->findInt32("crypto-mode", &val32)) { in read()
152 if (format->mFormat->findInt32("crypto-encrypted-byte-block", &val32)) { in read()
155 if (format->mFormat->findInt32("crypto-skip-byte-block", &val32)) { in read()
158 if (format->mFormat->findInt32("valid-samples", &val32)) { in read()
DACodec.cpp131 if (msg->findInt32("bitrate-mode", &tmp)) { in getVideoBitrateMode()
151 return (!isCQ && msg->findInt32("bitrate", bitrate)) in findVideoBitrateControlInfo()
152 || (isCQ && msg->findInt32("quality", quality)); in findVideoBitrateControlInfo()
648 (void)response->findInt32("err", &err); in setSurface()
1709 if (!msg->findInt32("encoder", &encoder)) { in configureCodec()
1740 && !msg->findInt32("bitrate", &bitrate)) { in configureCodec()
1746 if (encoder && msg->findInt32("bitrate", &bitrate)) { in configureCodec()
1756 if (msg->findInt32("android._input-metadata-buffer-type", &storeMeta) in configureCodec()
1785 && msg->findInt32("prepend-sps-pps-to-idr-frames", &prependSPSPPS) in configureCodec()
1812 && msg->findInt32("android._store-metadata-in-buffers-output", &storeMeta) in configureCodec()
[all …]
DStagefrightMetadataRetriever.cpp178 if ((index < 0 && meta->findInt32( in getImageInternal()
420 if (format->findInt32("color-standard", &standard) in parseColorAspects()
421 && format->findInt32("color-transfer", &transfer) in parseColorAspects()
422 && format->findInt32("color-range", &range)) { in parseColorAspects()
560 if (!trackMeta->findInt32(kKeyBitRate, &audioBitrate)) { in parseMetaData()
566 trackMeta->findInt32(kKeyBitsPerSample, &bitsPerSample); in parseMetaData()
567 trackMeta->findInt32(kKeySampleRate, &sampleRate); in parseMetaData()
579 CHECK(trackMeta->findInt32(kKeyWidth, &videoWidth)); in parseMetaData()
580 CHECK(trackMeta->findInt32(kKeyHeight, &videoHeight)); in parseMetaData()
581 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in parseMetaData()
[all …]
/frameworks/av/media/libstagefright/filters/
DSimpleFilter.cpp25 CHECK(msg->findInt32("width", &mWidth)); in configure()
26 CHECK(msg->findInt32("height", &mHeight)); in configure()
27 if (!msg->findInt32("stride", &mStride)) { in configure()
30 if (!msg->findInt32("slice-height", &mSliceHeight)) { in configure()
33 CHECK(msg->findInt32("color-format", &mColorFormatIn)); in configure()
DMediaFilter.cpp361 if (inputInfo->mData->meta()->findInt32("eos", &eos) && eos != 0) { in processBuffers()
423 CHECK(msg->findInt32("width", &mWidth)); in onConfigureComponent()
424 CHECK(msg->findInt32("height", &mHeight)); in onConfigureComponent()
425 if (!msg->findInt32("stride", &mStride)) { in onConfigureComponent()
428 if (!msg->findInt32("slice-height", &mSliceHeight)) { in onConfigureComponent()
434 if (msg->findInt32("max-input-size", &maxInputSize) in onConfigureComponent()
439 if (!msg->findInt32("color-format", &mColorFormatIn)) { in onConfigureComponent()
513 CHECK(msg->findInt32("buffer-id", (int32_t*)&bufferID)); in onInputBufferFilled()
540 CHECK(msg->findInt32("err", &err)); in onInputBufferFilled()
558 if (buffer != NULL && buffer->meta()->findInt32("csd", &isCSD) in onInputBufferFilled()
[all …]
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2.cpp78 if (meta->findInt32(kKeySampleRate, &sampleRate)) { in sendMetaDataToHal()
81 if (meta->findInt32(kKeyChannelMask, &channelMask)) { in sendMetaDataToHal()
84 if (meta->findInt32(kKeyBitRate, &bitRate)) { in sendMetaDataToHal()
87 if (meta->findInt32(kKeyEncoderDelay, &delaySamples)) { in sendMetaDataToHal()
90 if (meta->findInt32(kKeyEncoderPadding, &paddingSamples)) { in sendMetaDataToHal()
445 CHECK(response->findInt32("err", &err)); in getBufferingSettings()
459 CHECK(response->findInt32("err", &err)); in setBufferingSettings()
506 CHECK(response->findInt32("err", &err)); in setPlaybackSettings()
516 CHECK(response->findInt32("err", &err)); in getPlaybackSettings()
530 CHECK(response->findInt32("err", &err)); in setSyncSettings()
[all …]
DNuPlayer2Renderer.cpp207 CHECK(response->findInt32("err", &err)); in setPlaybackSettings()
235 CHECK(response->findInt32("err", &err)); in getPlaybackSettings()
267 CHECK(response->findInt32("err", &err)); in setSyncSettings()
285 CHECK(response->findInt32("err", &err)); in getSyncSettings()
427 if (postStatus != OK || response.get() == nullptr || !response->findInt32("err", &err)) { in openAudioSink()
431 CHECK(response->findInt32("offload", &offload)); in openAudioSink()
473 CHECK(msg->findInt32("offload-only", &offloadOnly)); in onMessageReceived()
476 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived()
479 CHECK(msg->findInt32("flags", (int32_t *)&flags)); in onMessageReceived()
482 CHECK(msg->findInt32("isStreaming", (int32_t *)&isStreaming)); in onMessageReceived()
[all …]
DNuPlayer2Decoder.cpp130 CHECK(response->findInt32("err", &err)); in setVideoSurface()
142 CHECK(msg->findInt32("callbackID", &cbID)); in onMessageReceived()
155 CHECK(msg->findInt32("index", &index)); in onMessageReceived()
169 CHECK(msg->findInt32("index", &index)); in onMessageReceived()
173 CHECK(msg->findInt32("flags", &flags)); in onMessageReceived()
191 CHECK(msg->findInt32("err", &err)); in onMessageReceived()
221 if (msg->findInt32("err", &err) && err != OK) { in onMessageReceived()
314 if (format->findInt32("secure", &secure) && secure != 0) { in onConfigure()
424 if (params->findInt32("temporal-layer-count", &numVideoTemporalLayerTotal) in onSetParameters()
631 CHECK(response->findInt32("status", &status)); in releaseCrypto()
[all …]
DHTTPLiveSource2.cpp256 CHECK(msg->findInt32("generation", &generation)); in pollForRawData()
334 CHECK(msg->findInt32("what", &what)); in onSessionNotify()
344 format->findInt32("width", &width) && format->findInt32("height", &height)) { in onSessionNotify()
371 CHECK(msg->findInt32("err", &err)); in onSessionNotify()
380 CHECK(msg->findInt32( in onSessionNotify()
419 CHECK(msg->findInt32("percentage", &percentage)); in onSessionNotify()
DRTSPSource2.cpp305 CHECK(response->findInt32("err", &err)); in seekTo()
449 CHECK(msg->findInt32("generation", &generation)); in onSignalEOS()
486 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
498 CHECK(msg->findInt32("mode", &mode)); in onMessageReceived()
514 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
567 msg->findInt32("err", &err); in onMessageReceived()
594 if (accessUnit->meta()->findInt32("damaged", &damaged) in onMessageReceived()
630 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
656 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
701 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived()
[all …]
DNuPlayer2DecoderPassThrough.cpp71 format->findInt32("has-video", &hasVideo); in onConfigure()
97 CHECK(msg->findInt32("generation", &generation)); in isStaleReply()
230 CHECK(accessUnit->meta()->findInt32("discontinuity", &type)); in fetchInputData()
291 CHECK(msg->findInt32("err", &streamErr) || !hasBuffer); in onInputBufferFetched()
422 CHECK(msg->findInt32("size", &size)); in onMessageReceived()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp352 CHECK(response->findInt32("err", &err)); in getBufferingSettings()
366 CHECK(response->findInt32("err", &err)); in setBufferingSettings()
414 CHECK(response->findInt32("err", &err)); in setPlaybackSettings()
424 CHECK(response->findInt32("err", &err)); in getPlaybackSettings()
438 CHECK(response->findInt32("err", &err)); in setSyncSettings()
449 CHECK(response->findInt32("err", &err)); in getSyncSettings()
504 if (!format->findInt32("type", &trackType)) { in writeTrackInfo()
538 CHECK(format->findInt32("auto", &isAuto)); in writeTrackInfo()
539 CHECK(format->findInt32("default", &isDefault)); in writeTrackInfo()
540 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo()
[all …]
DNuPlayerDecoder.cpp133 CHECK(response->findInt32("err", &err)); in setVideoSurface()
145 CHECK(msg->findInt32("callbackID", &cbID)); in onMessageReceived()
158 CHECK(msg->findInt32("index", &index)); in onMessageReceived()
172 CHECK(msg->findInt32("index", &index)); in onMessageReceived()
176 CHECK(msg->findInt32("flags", &flags)); in onMessageReceived()
194 CHECK(msg->findInt32("err", &err)); in onMessageReceived()
224 if (msg->findInt32("err", &err) && err != OK) { in onMessageReceived()
306 if (format->findInt32("secure", &secure) && secure != 0) { in onConfigure()
370 if (mOutputFormat->findInt32("width", &width) in onConfigure()
371 && mOutputFormat->findInt32("height", &height)) { in onConfigure()
[all …]
DNuPlayerRenderer.cpp208 CHECK(response->findInt32("err", &err)); in setPlaybackSettings()
242 CHECK(response->findInt32("err", &err)); in getPlaybackSettings()
276 CHECK(response->findInt32("err", &err)); in setSyncSettings()
294 CHECK(response->findInt32("err", &err)); in getSyncSettings()
440 if (postStatus != OK || response.get() == nullptr || !response->findInt32("err", &err)) { in openAudioSink()
444 CHECK(response->findInt32("offload", &offload)); in openAudioSink()
486 CHECK(msg->findInt32("offload-only", &offloadOnly)); in onMessageReceived()
489 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived()
492 CHECK(msg->findInt32("flags", (int32_t *)&flags)); in onMessageReceived()
495 CHECK(msg->findInt32("isStreaming", (int32_t *)&isStreaming)); in onMessageReceived()
[all …]
DHTTPLiveSource.cpp254 CHECK(msg->findInt32("generation", &generation)); in pollForRawData()
332 CHECK(msg->findInt32("what", &what)); in onSessionNotify()
342 format->findInt32("width", &width) && format->findInt32("height", &height)) { in onSessionNotify()
369 CHECK(msg->findInt32("err", &err)); in onSessionNotify()
378 CHECK(msg->findInt32( in onSessionNotify()
417 CHECK(msg->findInt32("percentage", &percentage)); in onSessionNotify()
DRTSPSource.cpp306 CHECK(response->findInt32("err", &err)); in seekTo()
450 CHECK(msg->findInt32("generation", &generation)); in onSignalEOS()
487 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
499 CHECK(msg->findInt32("mode", &mode)); in onMessageReceived()
515 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
568 msg->findInt32("err", &err); in onMessageReceived()
595 if (accessUnit->meta()->findInt32("damaged", &damaged) in onMessageReceived()
631 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived()
657 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
702 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp102 if (!buffer->meta()->findInt32("discontinuity", &discontinuity)) { in getFormat()
128 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) { in dequeueAccessUnit()
180 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in read()
211 if (buffer->meta()->findInt32("isSync", &isSync)) { in read()
233 if (buffer->meta()->findInt32("cryptoMode", &cryptoMode)) { in read()
238 CHECK(buffer->meta()->findInt32("cryptoKey", &cryptoKey)); in read()
243 CHECK(buffer->meta()->findInt32("pesOffset", &pesOffset) in read()
289 if (buffer->meta()->findInt32("damaged", &damaged) && damaged) { in queueAccessUnit()
299 if (buffer->meta()->findInt32("discontinuity", &discontinuity)){ in queueAccessUnit()
371 if (!oldBuffer->meta()->findInt32( in queueDiscontinuity()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp423 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val1)) { in onNotify()
427 } else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val1)) { in onNotify()
430 } else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val1)) { in onNotify()
433 } else if (msg->findInt32(PLAYEREVENT_PREPARED, &val1)) { in onNotify()
436 } else if (msg->findInt32(PLAYEREVENT_CHANNEL_COUNT, &val1)) { in onNotify()
442 } else if (msg->findInt32(PLAYEREVENT_PLAY, &val1)) { in onNotify()
445 } else if (msg->findInt32(PLAYEREVENT_ERRORAFTERPREPARE, &val1)) { in onNotify()
507 if (msg->findInt32(WHATPARAM_BUFFERING_UPDATETHRESHOLD_PERCENT, &thresholdPercent)) { in onSetBufferingUpdateThreshold()
527 if (msg->findInt32(WHATPARAM_SETPLAYEVENTS_FLAGS, &eventFlags) && in onSetPlayEvents()
528 msg->findInt32(WHATPARAM_SETPLAYEVENTS_MARKER, &markerPositionMs) && in onSetPlayEvents()
[all …]
Dandroid_AudioSfDecoder.cpp275 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); in onPrepare()
277 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare()
330 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in onPrepare()
334 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
404 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop)); in onLoop()
630 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { in onNotify()
634 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { in onNotify()
638 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { in onNotify()
765 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in hasNewDecodeParams()
767 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h465 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
491 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived()
503 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
619 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
673 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
805 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
835 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
860 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
866 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
917 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp698 if (!msg->findInt32("encoder", &encoder)) { in configure()
709 && msg->findInt32("android._input-metadata-buffer-type", &storeMeta) in configure()
732 if (!msg->findInt32(KEY_SAMPLE_RATE, &i32)) { in configure()
736 if (!msg->findInt32(KEY_CHANNEL_COUNT, &i32)) { in configure()
742 && !msg->findInt32(KEY_BIT_RATE, &i32) in configure()
749 if (!msg->findInt32(KEY_WIDTH, &i32)) { in configure()
753 if (!msg->findInt32(KEY_HEIGHT, &i32)) { in configure()
759 if (msg->findInt32(KEY_BITRATE_MODE, &mode) && mode == BITRATE_MODE_CQ) { in configure()
760 if (!msg->findInt32(KEY_QUALITY, &i32)) { in configure()
765 if (!msg->findInt32(KEY_BIT_RATE, &i32) in configure()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp124 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
153 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
183 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
186 if (ifmt->findInt32("max-input-size", &maxInputSize)) { in TEST_P()
302 EXPECT_TRUE(ofmt->findInt32("color-format", &ocolor)); in TEST_P()
339 ASSERT_TRUE(ofmt->findInt32("color-format", &ocolor)); in TEST_P()
358 ofmt->findInt32("stride", &stride) || ofmt->findInt32("width", &stride); in TEST_P()
359 ofmt->findInt32("slice-height", &vstride) || ofmt->findInt32("height", &vstride); in TEST_P()
/frameworks/av/cmds/stagefright/
Dmediafilter.cpp198 CHECK(srcFormat->findInt32("stride", &srcStride) in tryCopyDecodedBuffer()
199 && srcFormat->findInt32("slice-height", &srcSliceHeight) in tryCopyDecodedBuffer()
200 && srcFormat->findInt32("width", &srcWidth) in tryCopyDecodedBuffer()
201 && srcFormat->findInt32("height", & srcHeight) in tryCopyDecodedBuffer()
202 && srcFormat->findInt32("color-format", &srcColorFormat)); in tryCopyDecodedBuffer()
203 CHECK(destFormat->findInt32("stride", &destStride) in tryCopyDecodedBuffer()
204 && destFormat->findInt32("slice-height", &destSliceHeight) in tryCopyDecodedBuffer()
205 && destFormat->findInt32("width", &destWidth) in tryCopyDecodedBuffer()
206 && destFormat->findInt32("height", & destHeight) in tryCopyDecodedBuffer()
207 && destFormat->findInt32("color-format", &destColorFormat)); in tryCopyDecodedBuffer()

1234