Home
last modified time | relevance | path

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

/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.cpp164 CameraDeviceBase::StreamInfo streamInfo; in updatePreviewStream() local
165 res = device->getStreamInfo(mPreviewStreamId, &streamInfo); in updatePreviewStream()
171 if (streamInfo.width != (uint32_t)params.previewWidth || in updatePreviewStream()
172 streamInfo.height != (uint32_t)params.previewHeight) { in updatePreviewStream()
174 __FUNCTION__, mId, streamInfo.width, streamInfo.height, in updatePreviewStream()
314 CameraDeviceBase::StreamInfo streamInfo; in recordingStreamNeedsUpdate() local
315 res = device->getStreamInfo(mRecordingStreamId, &streamInfo); in recordingStreamNeedsUpdate()
324 streamInfo.width != (uint32_t)params.videoWidth || in recordingStreamNeedsUpdate()
325 streamInfo.height != (uint32_t)params.videoHeight || in recordingStreamNeedsUpdate()
326 !streamInfo.matchFormat((uint32_t)params.videoFormat) || in recordingStreamNeedsUpdate()
[all …]
DJpegProcessor.cpp119 CameraDeviceBase::StreamInfo streamInfo; in updateStream() local
120 res = device->getStreamInfo(mCaptureStreamId, &streamInfo); in updateStream()
127 if (streamInfo.width != (uint32_t)params.pictureWidth || in updateStream()
128 streamInfo.height != (uint32_t)params.pictureHeight) { in updateStream()
DCallbackProcessor.cpp124 CameraDeviceBase::StreamInfo streamInfo; in updateStream() local
125 res = device->getStreamInfo(mCallbackStreamId, &streamInfo); in updateStream()
132 if (streamInfo.width != (uint32_t)params.previewWidth || in updateStream()
133 streamInfo.height != (uint32_t)params.previewHeight || in updateStream()
134 !streamInfo.matchFormat((uint32_t)callbackFormat)) { in updateStream()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp591 void CameraDeviceClient::mapStreamInfo(const OutputStreamInfo &streamInfo, in mapStreamInfo() argument
599 stream->v3_2.width = streamInfo.width; in mapStreamInfo()
600 stream->v3_2.height = streamInfo.height; in mapStreamInfo()
601 stream->v3_2.format = Camera3Device::mapToPixelFormat(streamInfo.format); in mapStreamInfo()
602 auto u = streamInfo.consumerUsage; in mapStreamInfo()
603 camera3::Camera3OutputStream::applyZSLUsageQuirk(streamInfo.format, &u); in mapStreamInfo()
605 stream->v3_2.dataSpace = Camera3Device::mapToHidlDataspace(streamInfo.dataSpace); in mapStreamInfo()
676 OutputStreamInfo streamInfo; in isSessionConfigurationSupported() local
689 streamInfo.width = it.getWidth(); in isSessionConfigurationSupported()
690 streamInfo.height = it.getHeight(); in isSessionConfigurationSupported()
[all …]
DCameraDeviceClient.h246 static void mapStreamInfo(const OutputStreamInfo &streamInfo,
276 binder::Status createSurfaceFromGbp(OutputStreamInfo& streamInfo, bool isStreamInfoValid,
DDepthCompositeStream.cpp790 status_t DepthCompositeStream::getCompositeStreamInfo(const OutputStreamInfo &streamInfo, in getCompositeStreamInfo() argument
804 auto ret = getMatchingDepthSize(streamInfo.width, streamInfo.height, depthSizes, &depthWidth, in getCompositeStreamInfo()
812 compositeOutput->insert(compositeOutput->end(), 2, streamInfo); in getCompositeStreamInfo()
DDepthCompositeStream.h65 static status_t getCompositeStreamInfo(const OutputStreamInfo &streamInfo,
DHeicCompositeStream.cpp297 status_t HeicCompositeStream::getCompositeStreamInfo(const OutputStreamInfo &streamInfo, in getCompositeStreamInfo() argument
307 streamInfo.width, streamInfo.height, &useHeic, &useGrid, nullptr); in getCompositeStreamInfo()
313 compositeOutput->insert(compositeOutput->end(), 2, streamInfo); in getCompositeStreamInfo()
323 (*compositeOutput)[1].width = streamInfo.width; in getCompositeStreamInfo()
324 (*compositeOutput)[1].height = streamInfo.height; in getCompositeStreamInfo()
DHeicCompositeStream.h71 static status_t getCompositeStreamInfo(const OutputStreamInfo &streamInfo,
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.cpp39 const StreamInfo& streamInfo) { in registerStream() argument
42 int streamId = streamInfo.streamId; in registerStream()
43 int streamSetId = streamInfo.streamSetId; in registerStream()
50 if (streamInfo.totalBufferCount > kMaxBufferCount || streamInfo.totalBufferCount == 0) { in registerStream()
52 __FUNCTION__, streamId, streamSetId, streamInfo.totalBufferCount); in registerStream()
55 if (!streamInfo.isConfigured) { in registerStream()
78 mStreamSetMap[i].streamInfoMap[streamIdx].streamSetId != streamInfo.streamSetId) { in registerStream()
102 currentStreamSet.streamInfoMap.add(streamId, streamInfo); in registerStream()
109 if (streamInfo.totalBufferCount > currentStreamSet.maxAllowedBufferCount) { in registerStream()
110 currentStreamSet.maxAllowedBufferCount = streamInfo.totalBufferCount; in registerStream()
DCamera3BufferManager.h85 status_t registerStream(wp<Camera3OutputStream>& stream, const StreamInfo &streamInfo);
DCamera3OutputStream.cpp496 StreamInfo streamInfo( in configureConsumerQueueLocked() local
502 streamInfo); in configureConsumerQueueLocked()
DCamera3Device.cpp1879 status_t Camera3Device::getStreamInfo(int id, StreamInfo *streamInfo) { in getStreamInfo() argument
1881 if (nullptr == streamInfo) { in getStreamInfo()
1910 streamInfo->width = stream->getWidth(); in getStreamInfo()
1911 streamInfo->height = stream->getHeight(); in getStreamInfo()
1912 streamInfo->format = stream->getFormat(); in getStreamInfo()
1913 streamInfo->dataSpace = stream->getDataSpace(); in getStreamInfo()
1914 streamInfo->formatOverridden = stream->isFormatOverridden(); in getStreamInfo()
1915 streamInfo->originalFormat = stream->getOriginalFormat(); in getStreamInfo()
1916 streamInfo->dataSpaceOverridden = stream->isDataSpaceOverridden(); in getStreamInfo()
1917 streamInfo->originalDataSpace = stream->getOriginalDataSpace(); in getStreamInfo()
DCamera3Device.h131 status_t getStreamInfo(int id, StreamInfo *streamInfo) override;
/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/media/extractors/mkv/
DMatroskaExtractor.cpp1626 FLAC__StreamMetadata_StreamInfo streamInfo = flacDecoder->getStreamInfo(); in addFlacMetadata() local
1627 maxInputSize = streamInfo.max_framesize; in addFlacMetadata()
1631 if (streamInfo.max_blocksize != 0 in addFlacMetadata()
1632 && streamInfo.channels != 0 in addFlacMetadata()
1633 && ((streamInfo.bits_per_sample + 7) / 8) > in addFlacMetadata()
1634 INT32_MAX / streamInfo.max_blocksize / streamInfo.channels) { in addFlacMetadata()
1638 maxInputSize = ((streamInfo.bits_per_sample + 7) / 8) in addFlacMetadata()
1639 * streamInfo.max_blocksize * streamInfo.channels; in addFlacMetadata()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h209 virtual status_t getStreamInfo(int id, StreamInfo *streamInfo) = 0;
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java858 MandatoryStreamInformation streamInfo; in generateAvailableCombinations() local
860 streamInfo = new MandatoryStreamInformation(sizes, template.mFormat); in generateAvailableCombinations()
868 streamsInfo.add(streamInfo); in generateAvailableCombinations()