Home
last modified time | relevance | path

Searched refs:streamInfo (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp335 OutputStreamInfo& streamInfo, bool isStreamInfoValid, in createSurfaceFromGbp() argument
476 streamInfo.width = width; in createSurfaceFromGbp()
477 streamInfo.height = height; in createSurfaceFromGbp()
478 streamInfo.format = format; in createSurfaceFromGbp()
479 streamInfo.dataSpace = dataSpace; in createSurfaceFromGbp()
480 streamInfo.consumerUsage = consumerUsage; in createSurfaceFromGbp()
481 streamInfo.sensorPixelModesUsed = overriddenSensorPixelModes; in createSurfaceFromGbp()
482 streamInfo.dynamicRangeProfile = dynamicRangeProfile; in createSurfaceFromGbp()
483 streamInfo.streamUseCase = streamUseCase; in createSurfaceFromGbp()
484 streamInfo.timestampBase = timestampBase; in createSurfaceFromGbp()
[all …]
DSessionConfigurationUtils.h97 camera3::OutputStreamInfo& streamInfo, bool isStreamInfoValid,
114 void mapStreamInfo(const OutputStreamInfo &streamInfo,
/frameworks/wilhelm/src/itf/
DIStreamInformation.cpp115 const StreamInfo& streamInfo = thiz->mStreamInfoTable.itemAt((size_t)streamIndex); in IStreamInformation_QueryStreamInformation()
117 switch (streamInfo.domain) { in IStreamInformation_QueryStreamInformation()
119 *(XAMediaContainerInformation *)info = streamInfo.containerInfo; in IStreamInformation_QueryStreamInformation()
122 *(XAAudioStreamInformation *)info = streamInfo.audioInfo; in IStreamInformation_QueryStreamInformation()
125 *(XAVideoStreamInformation *)info = streamInfo.videoInfo; in IStreamInformation_QueryStreamInformation()
128 *(XAImageStreamInformation *)info = streamInfo.imageInfo; in IStreamInformation_QueryStreamInformation()
131 *(XATimedTextStreamInformation *)info = streamInfo.textInfo; in IStreamInformation_QueryStreamInformation()
134 *(XAMIDIStreamInformation *)info = streamInfo.midiInfo; in IStreamInformation_QueryStreamInformation()
137 *(XAVendorStreamInformation *)info = streamInfo.vendorInfo; in IStreamInformation_QueryStreamInformation()
141 "unknown domain %u", streamIndex, streamInfo.domain); in IStreamInformation_QueryStreamInformation()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp168 CameraDeviceBase::StreamInfo streamInfo; in updatePreviewStream() local
169 res = device->getStreamInfo(mPreviewStreamId, &streamInfo); in updatePreviewStream()
175 if (streamInfo.width != (uint32_t)params.previewWidth || in updatePreviewStream()
176 streamInfo.height != (uint32_t)params.previewHeight) { in updatePreviewStream()
178 __FUNCTION__, mId, streamInfo.width, streamInfo.height, in updatePreviewStream()
319 CameraDeviceBase::StreamInfo streamInfo; in recordingStreamNeedsUpdate() local
320 res = device->getStreamInfo(mRecordingStreamId, &streamInfo); in recordingStreamNeedsUpdate()
329 streamInfo.width != (uint32_t)params.videoWidth || in recordingStreamNeedsUpdate()
330 streamInfo.height != (uint32_t)params.videoHeight || in recordingStreamNeedsUpdate()
331 !streamInfo.matchFormat((uint32_t)params.videoFormat) || in recordingStreamNeedsUpdate()
[all …]
DJpegProcessor.cpp127 CameraDeviceBase::StreamInfo streamInfo; in updateStream() local
128 res = device->getStreamInfo(mCaptureStreamId, &streamInfo); in updateStream()
135 if (streamInfo.width != (uint32_t)params.pictureWidth || in updateStream()
136 streamInfo.height != (uint32_t)params.pictureHeight) { in updateStream()
DCallbackProcessor.cpp127 CameraDeviceBase::StreamInfo streamInfo; in updateStream() local
128 res = device->getStreamInfo(mCallbackStreamId, &streamInfo); in updateStream()
135 if (streamInfo.width != (uint32_t)params.previewWidth || in updateStream()
136 streamInfo.height != (uint32_t)params.previewHeight || in updateStream()
137 !streamInfo.matchFormat((uint32_t)callbackFormat)) { in updateStream()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.cpp39 const StreamInfo& streamInfo) { in registerStream() argument
42 int streamId = streamInfo.streamId; in registerStream()
43 StreamSetKey streamSetKey = {streamInfo.streamSetId, streamInfo.isMultiRes}; in registerStream()
51 if (streamInfo.totalBufferCount > kMaxBufferCount || streamInfo.totalBufferCount == 0) { in registerStream()
53 __FUNCTION__, streamId, streamSetKey.id, streamInfo.totalBufferCount); in registerStream()
56 if (!streamInfo.isConfigured) { in registerStream()
79 mStreamSetMap[i].streamInfoMap[streamIdx].streamSetId != streamInfo.streamSetId && in registerStream()
80 mStreamSetMap[i].streamInfoMap[streamIdx].isMultiRes != streamInfo.isMultiRes) { in registerStream()
104 currentStreamSet.streamInfoMap.add(streamId, streamInfo); in registerStream()
111 if (streamInfo.totalBufferCount > currentStreamSet.maxAllowedBufferCount) { in registerStream()
[all …]
DCamera3BufferManager.h85 status_t registerStream(wp<Camera3OutputStream>& stream, const StreamInfo &streamInfo);
DCamera3Device.cpp1198 status_t Camera3Device::getStreamInfo(int id, StreamInfo *streamInfo) { in getStreamInfo() argument
1200 if (nullptr == streamInfo) { in getStreamInfo()
1229 streamInfo->width = stream->getWidth(); in getStreamInfo()
1230 streamInfo->height = stream->getHeight(); in getStreamInfo()
1231 streamInfo->format = stream->getFormat(); in getStreamInfo()
1232 streamInfo->dataSpace = stream->getDataSpace(); in getStreamInfo()
1233 streamInfo->formatOverridden = stream->isFormatOverridden(); in getStreamInfo()
1234 streamInfo->originalFormat = stream->getOriginalFormat(); in getStreamInfo()
1235 streamInfo->dataSpaceOverridden = stream->isDataSpaceOverridden(); in getStreamInfo()
1236 streamInfo->originalDataSpace = stream->getOriginalDataSpace(); in getStreamInfo()
[all …]
DCamera3OutputStream.cpp782 StreamInfo streamInfo( in configureConsumerQueueLocked() local
788 streamInfo); in configureConsumerQueueLocked()
DCamera3Device.h174 status_t getStreamInfo(int id, StreamInfo *streamInfo) override;
/frameworks/base/core/java/android/hardware/camera2/
DMultiResolutionImageReader.java159 for (MultiResolutionStreamInfo streamInfo : streams) { in MultiResolutionImageReader()
160 mReaders[index] = ImageReader.newInstance(streamInfo.getWidth(), in MultiResolutionImageReader()
161 streamInfo.getHeight(), format, maxImages); in MultiResolutionImageReader()
162 mStreamInfo[index] = streamInfo; in MultiResolutionImageReader()
/frameworks/base/core/java/android/hardware/camera2/params/
DMultiResolutionStreamConfigurationMap.java250 for (MultiResolutionStreamInfo streamInfo : streamInfoList) { in appendConfigurationsString()
252 streamInfo.getWidth(), streamInfo.getHeight(), in appendConfigurationsString()
253 streamInfo.getPhysicalCameraId())); in appendConfigurationsString()
DMandatoryStreamCombination.java1359 MandatoryStreamInformation streamInfo; in getAvailableMandatoryStreamCombinationsInternal() local
1363 streamInfo = new MandatoryStreamInformation(sizes, template.mFormat, in getAvailableMandatoryStreamCombinationsInternal()
1374 streamsInfo.add(streamInfo); in getAvailableMandatoryStreamCombinationsInternal()
1477 MandatoryStreamInformation streamInfo; in getAvailableMandatoryStreamUseCaseCombinations() local
1481 streamInfo = new MandatoryStreamInformation(sizes, template.mFormat, in getAvailableMandatoryStreamUseCaseCombinations()
1490 streamsInfo.add(streamInfo); in getAvailableMandatoryStreamUseCaseCombinations()
1539 MandatoryStreamInformation streamInfo; in getAvailableMandatoryConcurrentStreamCombinations() local
1557 streamInfo = new MandatoryStreamInformation(sizes, template.mFormat, in getAvailableMandatoryConcurrentStreamCombinations()
1565 streamsInfo.add(streamInfo); in getAvailableMandatoryConcurrentStreamCombinations()
1687 MandatoryStreamInformation streamInfo; in createUHSensorMandatoryStreamCombination() local
[all …]
DOutputConfiguration.java562 MultiResolutionStreamInfo streamInfo = in createInstancesForMultiResolutionOutput() local
567 config.setPhysicalCameraId(streamInfo.getPhysicalCameraId()); in createInstancesForMultiResolutionOutput()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp115 StreamInfo streamInfo; in player_handleMediaPlayerEventNotifications() local
116 streamInfo.domain = XA_DOMAINTYPE_VIDEO; in player_handleMediaPlayerEventNotifications()
117 streamInfo.videoInfo.codecId = 0;// unknown, we don't have that info FIXME in player_handleMediaPlayerEventNotifications()
118 streamInfo.videoInfo.width = (XAuint32)data1; in player_handleMediaPlayerEventNotifications()
119 streamInfo.videoInfo.height = (XAuint32)data2; in player_handleMediaPlayerEventNotifications()
120 streamInfo.videoInfo.bitRate = 0;// unknown, we don't have that info FIXME in player_handleMediaPlayerEventNotifications()
121 streamInfo.videoInfo.frameRate = 0; in player_handleMediaPlayerEventNotifications()
122 streamInfo.videoInfo.duration = XA_TIME_UNKNOWN; in player_handleMediaPlayerEventNotifications()
125 ssize_t index = mp->mStreamInfo.mStreamInfoTable.add(streamInfo); in player_handleMediaPlayerEventNotifications()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp910 OutputStreamInfo streamInfo; in createStream() local
926 res = SessionConfigurationUtils::createSurfaceFromGbp(streamInfo, in createStream()
959 err = compositeStream->createStream(surfaces, deferredConsumer, streamInfo.width, in createStream()
960 streamInfo.height, streamInfo.format, in createStream()
962 &streamId, physicalCameraId, streamInfo.sensorPixelModesUsed, &surfaceIds, in createStream()
970 err = mDevice->createStream(surfaces, deferredConsumer, streamInfo.width, in createStream()
971 streamInfo.height, streamInfo.format, streamInfo.dataSpace, in createStream()
973 &streamId, physicalCameraId, streamInfo.sensorPixelModesUsed, &surfaceIds, in createStream()
975 /*consumerUsage*/0, streamInfo.dynamicRangeProfile, streamInfo.streamUseCase, in createStream()
976 streamInfo.timestampBase, streamInfo.mirrorMode); in createStream()
[all …]
DDepthCompositeStream.cpp875 status_t DepthCompositeStream::getCompositeStreamInfo(const OutputStreamInfo &streamInfo, in getCompositeStreamInfo() argument
899 auto ret = checkAndGetMatchingDepthSize(streamInfo.width, streamInfo.height, depthSizes, in getCompositeStreamInfo()
900 depthSizesMaximumResolution, streamInfo.sensorPixelModesUsed, &chosenDepthWidth, in getCompositeStreamInfo()
909 compositeOutput->insert(compositeOutput->end(), 2, streamInfo); in getCompositeStreamInfo()
DDepthCompositeStream.h68 static status_t getCompositeStreamInfo(const OutputStreamInfo &streamInfo,
DHeicCompositeStream.cpp333 status_t HeicCompositeStream::getCompositeStreamInfo(const OutputStreamInfo &streamInfo, in getCompositeStreamInfo() argument
343 streamInfo.width, streamInfo.height, &useHeic, &useGrid, nullptr); in getCompositeStreamInfo()
349 compositeOutput->insert(compositeOutput->end(), 2, streamInfo); in getCompositeStreamInfo()
359 (*compositeOutput)[1].width = streamInfo.width; in getCompositeStreamInfo()
360 (*compositeOutput)[1].height = streamInfo.height; in getCompositeStreamInfo()
DHeicCompositeStream.h75 static status_t getCompositeStreamInfo(const OutputStreamInfo &streamInfo,
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp798 C2InfoBuffer streamInfo = info.asStream(false /* output */, 1u); in TEST_F() local
799 ASSERT_EQ(kParamIndexNumber1, streamInfo.index().coreIndex()); in TEST_F()
800 ASSERT_TRUE(streamInfo.index().forStream()); in TEST_F()
801 ASSERT_TRUE(streamInfo.index().forInput()); in TEST_F()
802 ASSERT_EQ(1u, streamInfo.index().stream()); in TEST_F()
803 ASSERT_EQ(C2Param::INFO, streamInfo.index().kind()); in TEST_F()
804 ASSERT_EQ(C2BufferData::LINEAR, streamInfo.data().type()); in TEST_F()
805 ASSERT_EQ(1024, streamInfo.data().linearBlocks()[0].offset()); in TEST_F()
806 ASSERT_EQ(kCapacity / 2, streamInfo.data().linearBlocks()[0].size()); in TEST_F()
808 ASSERT_EQ(linearBlock->handle(), streamInfo.data().linearBlocks()[0].handle()); in TEST_F()
[all …]
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1635 FLAC__StreamMetadata_StreamInfo streamInfo = flacDecoder->getStreamInfo(); in addFlacMetadata() local
1636 maxInputSize = streamInfo.max_framesize; in addFlacMetadata()
1640 if (streamInfo.max_blocksize != 0 in addFlacMetadata()
1641 && streamInfo.channels != 0 in addFlacMetadata()
1642 && ((streamInfo.bits_per_sample + 7) / 8) > in addFlacMetadata()
1643 INT32_MAX / streamInfo.max_blocksize / streamInfo.channels) { in addFlacMetadata()
1647 maxInputSize = ((streamInfo.bits_per_sample + 7) / 8) in addFlacMetadata()
1648 * streamInfo.max_blocksize * streamInfo.channels; in addFlacMetadata()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h272 virtual status_t getStreamInfo(int id, StreamInfo *streamInfo) = 0;