Home
last modified time | relevance | path

Searched refs:findInt32 (Results 1 – 25 of 93) 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()
745 if (msg->findInt32(elem.first, &value)) { in convertMessageToMetaDataFromMappings()
791 if (meta->findInt32(elem.second, &value)) { in convertMetaDataToMessageFromMappings()
868 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 …]
DMediaCodec.cpp861 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse()
1050 if (format->findInt32("profile", &profile)) { in configure()
1054 if (format->findInt32("level", &level)) { in configure()
1062 format->findInt32("width", &mVideoWidth); in configure()
1063 format->findInt32("height", &mVideoHeight); in configure()
1064 if (!format->findInt32("rotation-degrees", &mRotationDegrees)) { in configure()
1073 if (format->findInt32("max-width", &maxWidth)) { in configure()
1077 if (format->findInt32("max-height", &maxHeight)) { in configure()
1158 CHECK(response->findInt32("status", &status)); in releaseCrypto()
1469 CHECK(response->findInt32("flags", (int32_t *)flags)); in dequeueOutputBuffer()
[all …]
DAACWriter.cpp86 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource()
87 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate)); in addSource()
91 if (meta->findInt32(kKeyAACProfile, &mAACProfile)) { in addSource()
319 if (buffer->meta_data().findInt32(kKeyIsCodecConfig, &isCodecSpecific) && isCodecSpecific) { in threadFunc()
/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/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 …]
DNuPlayerDecoderPassThrough.cpp72 format->findInt32("has-video", &hasVideo); in onConfigure()
98 CHECK(msg->findInt32("generation", &generation)); in isStaleReply()
231 CHECK(accessUnit->meta()->findInt32("discontinuity", &type)); in fetchInputData()
292 CHECK(msg->findInt32("err", &streamErr) || !hasBuffer); in onInputBufferFetched()
423 CHECK(msg->findInt32("size", &size)); in onMessageReceived()
/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/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp179 if ((index < 0 && meta->findInt32( in getImageInternal()
421 if (format->findInt32("color-standard", &standard) in parseColorAspects()
422 && format->findInt32("color-transfer", &transfer) in parseColorAspects()
423 && format->findInt32("color-range", &range)) { in parseColorAspects()
561 if (!trackMeta->findInt32(kKeyBitRate, &audioBitrate)) { in parseMetaData()
567 trackMeta->findInt32(kKeyBitsPerSample, &bitsPerSample); in parseMetaData()
568 trackMeta->findInt32(kKeySampleRate, &sampleRate); in parseMetaData()
580 CHECK(trackMeta->findInt32(kKeyWidth, &videoWidth)); in parseMetaData()
581 CHECK(trackMeta->findInt32(kKeyHeight, &videoHeight)); in parseMetaData()
582 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in parseMetaData()
[all …]
/frameworks/av/media/libstagefright/foundation/tests/
DMetaDataBaseUnitTest.cpp102 status = metaData->findInt32(kKeyWidth, &width); in TEST_F()
106 status = metaData->findInt32(kKeyHeight, &height); in TEST_F()
110 status = metaData->findInt32(kKeyVideoProfile, &profile); in TEST_F()
114 status = metaData->findInt32(kKeyVideoLevel, &level); in TEST_F()
143 status = metaData->findInt32(kKeyRotation, &angle); in TEST_F()
182 status = metaData->findInt32(kKeyWidth, &width); in TEST_F()
186 status = metaData->findInt32(kKeyHeight, &height); in TEST_F()
226 status = metaData->findInt32(kKeyWidth, &width); in TEST_F()
/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.cpp279 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); in onPrepare()
281 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare()
334 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in onPrepare()
338 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
408 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop)); in onLoop()
634 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { in onNotify()
638 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { in onNotify()
642 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { in onNotify()
769 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in hasNewDecodeParams()
771 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h466 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
492 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived()
504 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
620 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
674 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
806 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
836 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
861 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
867 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
918 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp702 if (!msg->findInt32("encoder", &encoder)) { in configure()
713 && msg->findInt32("android._input-metadata-buffer-type", &storeMeta) in configure()
736 if (!msg->findInt32(KEY_SAMPLE_RATE, &i32)) { in configure()
740 if (!msg->findInt32(KEY_CHANNEL_COUNT, &i32)) { in configure()
746 && !msg->findInt32(KEY_BIT_RATE, &i32) in configure()
753 if (!msg->findInt32(KEY_WIDTH, &i32)) { in configure()
757 if (!msg->findInt32(KEY_HEIGHT, &i32)) { in configure()
763 if (msg->findInt32(KEY_BITRATE_MODE, &mode) && mode == BITRATE_MODE_CQ) { in configure()
764 if (!msg->findInt32(KEY_QUALITY, &i32)) { in configure()
769 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()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp89 if (!md->findInt32(kKeyWidth, &width) in videoTrack()
90 || !md->findInt32(kKeyHeight, &height) in videoTrack()
119 if (!md->findInt32(kKeyChannelCount, &nChannels) in audioTrack()
120 || !md->findInt32(kKeySampleRate, &samplerate) in audioTrack()
128 if (!md->findInt32(kKeyBitsPerSample, &bitsPerSample)) { in audioTrack()
499 params->findInt32(kKeyRealTimeRecording, &isRealTimeRecording); in start()
514 if (params->findInt32(kKeyTimeScale, &tcsl)) { in start()
553 params->findInt32(kKeyBitRate, &bitRate); in start()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp74 CHECK(format->findInt32("color-format", &colorFormatNew)); in resetFormatIfChanged()
77 CHECK(format->findInt32("width", &widthNew)); in resetFormatIfChanged()
78 CHECK(format->findInt32("slice-height", &heightNew)); in resetFormatIfChanged()
79 CHECK(format->findInt32("stride", &strideNew)); in resetFormatIfChanged()
94 && format->findInt32("android._dataspace", (int32_t *)&dataSpace) in resetFormatIfChanged()
232 if (!format->findInt32("rotation-degrees", &rotationDegrees)) { in resetFormatIfChanged()
434 if (format->findInt32("android._dataspace", (int32_t *)&dataSpace) && dataSpace != mDataSpace) { in render()

1234