Home
last modified time | relevance | path

Searched refs:streamId (Results 1 – 25 of 29) sorted by relevance

12

/hardware/interfaces/camera/device/3.5/default/
DCameraDeviceSession.cpp119 const buffer_handle_t& buf, uint64_t bufferId, int streamId) { in pushBufferId() argument
123 auto pair = mBufferIdMaps.emplace(streamId, BufferIdMap{}); in pushBufferId()
129 const buffer_handle_t& buf, int streamId) { in popBufferId() argument
132 auto streamIt = mBufferIdMaps.find(streamId); in popBufferId()
149 uint64_t CameraDeviceSession::getCapResultBufferId(const buffer_handle_t& buf, int streamId) { in getCapResultBufferId() argument
151 return popBufferId(buf, streamId); in getCapResultBufferId()
156 Camera3Stream* CameraDeviceSession::getStreamPointer(int32_t streamId) { in getStreamPointer() argument
158 if (mStreamMap.count(streamId) == 0) { in getStreamPointer()
159 ALOGE("%s: unknown streamId %d", __FUNCTION__, streamId); in getStreamPointer()
162 return &mStreamMap[streamId]; in getStreamPointer()
[all …]
DExternalCameraDeviceSession.cpp156 mHalBufferReqs[i].streamId = mBufferReqs[i].streamId; in waitForNextRequest()
199 int streamId = bufRets[i].streamId; in threadLoop() local
215 Status s = parent->importBuffer(streamId, in threadLoop()
222 ALOGE("%s: stream %d import buffer failed!", __FUNCTION__, streamId); in threadLoop()
228 ALOGE("%s: stream %d import fence failed!", __FUNCTION__, streamId); in threadLoop()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp270 Status CameraDeviceSession::importBuffer(int32_t streamId, in importBuffer() argument
286 CirculatingBuffers& cbs = mCirculatingBuffers[streamId]; in importBuffer()
292 ALOGE("%s: output buffer for stream %d is invalid!", __FUNCTION__, streamId); in importBuffer()
314 bool hasInputBuf = (request.inputBuffer.streamId != -1 && in importRequestImpl()
331 streamIds[i] = request.outputBuffers[i].streamId; in importRequestImpl()
337 streamIds[numOutputBufs] = request.inputBuffer.streamId; in importRequestImpl()
536 for (int streamId : streams) { in sendBatchBuffersLocked() local
537 auto it = batch->mBatchBufs.find(streamId); in sendBatchBuffersLocked()
547 ALOGE("%s: stream ID %d is not batched!", __FUNCTION__, streamId); in sendBatchBuffersLocked()
554 for (int streamId : streams) { in sendBatchBuffersLocked() local
[all …]
DCameraDeviceSession.h318 Status importBuffer(int32_t streamId,
352 virtual uint64_t getCapResultBufferId(const buffer_handle_t& buf, int streamId);
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp380 bool hasInputBuf = (request.v3_2.inputBuffer.streamId != -1 && in processOneCaptureRequest_3_4()
402 auto streamId = request.v3_2.inputBuffer.streamId; in processOneCaptureRequest_3_4() local
403 auto key = std::make_pair(request.v3_2.inputBuffer.streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
407 &mStreamMap[request.v3_2.inputBuffer.streamId], allFences[numOutputBufs], in processOneCaptureRequest_3_4()
409 bufCache.stream->physical_camera_id = mPhysicalCameraIdMap[streamId].c_str(); in processOneCaptureRequest_3_4()
417 auto streamId = request.v3_2.outputBuffers[i].streamId; in processOneCaptureRequest_3_4() local
418 auto key = std::make_pair(streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
422 &mStreamMap[streamId], allFences[i], in processOneCaptureRequest_3_4()
424 bufCache.stream->physical_camera_id = mPhysicalCameraIdMap[streamId].c_str(); in processOneCaptureRequest_3_4()
499 auto key = std::make_pair(request.v3_2.inputBuffer.streamId, request.v3_2.frameNumber); in processOneCaptureRequest_3_4()
[all …]
DExternalCameraDeviceSession.cpp509 Status ExternalCameraDeviceSession::importBuffer(int32_t streamId, in importBuffer() argument
514 return importBufferLocked(streamId, bufId, buf, outBufPtr, allowEmptyBuf); in importBuffer()
517 Status ExternalCameraDeviceSession::importBufferLocked(int32_t streamId, in importBufferLocked() argument
532 CirculatingBuffers& cbs = mCirculatingBuffers[streamId]; in importBufferLocked()
542 ALOGE("%s: output buffer for stream %d is invalid!", __FUNCTION__, streamId); in importBufferLocked()
572 streamIds[i] = request.outputBuffers[i].streamId; in importRequestLockedImpl()
632 if (request.inputBuffer.streamId != -1) { in processOneCaptureRequest()
753 int streamId = halBuf.streamId = request.outputBuffers[i].streamId; in processOneCaptureRequest() local
755 const Stream& stream = mStreamMap[streamId]; in processOneCaptureRequest()
783 uint32_t frameNumber, int32_t streamId, ErrorCode ec) { in notifyError() argument
[all …]
/hardware/interfaces/tv/input/1.0/default/
DTvInput.cpp93 tvStreamConfigs[pos].streamId = configs[i].stream_id; in getStreamConfigurations()
106 Return<void> TvInput::openStream(int32_t deviceId, int32_t streamId, openStream_cb cb) { in openStream() argument
108 stream.stream_id = streamId; in openStream()
130 Return<Result> TvInput::closeStream(int32_t deviceId, int32_t streamId) { in closeStream() argument
131 int ret = mDevice->close_stream(mDevice, deviceId, streamId); in closeStream()
DTvInput.h50 Return<void> openStream(int32_t deviceId, int32_t streamId,
52 Return<Result> closeStream(int32_t deviceId, int32_t streamId) override;
/hardware/interfaces/tv/input/1.0/
DITvInput.hal55 * @param streamId Steam ID for the steam to open. Must be one of the
65 openStream(int32_t deviceId, int32_t streamId)
72 * @param streamId Steam ID for the steam to open.
78 closeStream(int32_t deviceId, int32_t streamId) generates (Result result);
Dtypes.hal138 int32_t streamId;
/hardware/interfaces/camera/device/3.5/default/include/device_v3_5_impl/
DCameraDeviceSession.h143 Camera3Stream* getStreamPointer(int32_t streamId);
147 void pushBufferId(const buffer_handle_t& buf, uint64_t bufferId, int streamId);
151 uint64_t popBufferId(const buffer_handle_t& buf, int streamId);
158 virtual uint64_t getCapResultBufferId(const buffer_handle_t& buf, int streamId) override;
/hardware/interfaces/tv/input/1.0/vts/functional/
DVtsHalTvInputV1_0TargetTest.cpp233 int32_t stream_id = config[i].streamId; in TEST_F()
298 stream_ids.push_back(config[i].streamId); in TEST_F()
329 int32_t stream_id = stream_config_.valueAt(indices[0])[0].streamId; in TEST_F()
359 int32_t stream_id = stream_config_.valueAt(indices[0])[0].streamId; in TEST_F()
/hardware/interfaces/camera/device/3.5/
Dtypes.hal98 int32_t streamId;
124 * Failure due to bad BufferRequest input, eg: unknown streamId or repeated
125 * streamId.
139 int32_t streamId;
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp790 int deviceVerison, int32_t streamId, sp<DeviceCb> cb,
1360 if (bufReqs[i].streamId == mStreams[idx].id) { in requestStreamBuffers()
1368 __FUNCTION__, bufReqs[i].streamId); in requestStreamBuffers()
1384 bufRets[i].streamId = stream.id; in requestStreamBuffers()
1403 bufRets[i].streamId = stream.id; in requestStreamBuffers()
1433 if (mStreams[idx].id == buf.streamId && in returnStreamBuffers()
2880 int32_t streamId = 0; in TEST_F() local
2895 stream3_2 = {streamId, in TEST_F()
2915 [streamId](Status s, device::V3_4::HalStreamConfiguration halConfig) { in TEST_F()
2918 ASSERT_EQ(halConfig.streams[0].v3_3.v3_2.id, streamId); in TEST_F()
[all …]
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h154 int32_t streamId; member
222 Status importBuffer(int32_t streamId,
227 Status importBufferLocked(int32_t streamId,
242 void notifyError(uint32_t frameNumber, int32_t streamId, ErrorCode ec);
/hardware/google/av/codec2/vndk/util/
DC2Debug.cpp76 const C2Param::Type &i, bool addStream, unsigned streamId) { in attribParamIndex() argument
82 v += StringPrintf("%02d", streamId); in attribParamIndex()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraParametersIntf.h202 int32_t addOnlineRotation(uint32_t rotation, uint32_t streamId,
DQCameraParametersIntf.cpp822 uint32_t streamId, int32_t device_rotation) in addOnlineRotation() argument
826 return mImpl->addOnlineRotation(rotation, streamId, device_rotation); in addOnlineRotation()
DQCameraParameters.h774 int32_t addOnlineRotation(uint32_t rotation, uint32_t streamId, int32_t device_rotation);
/hardware/interfaces/tv/tuner/1.0/default/
DFilter.cpp388 .streamId = mPesOutput[3], in startPesFilterHandler()
/hardware/google/easel/amber/camera/include/
DHdrPlusTypes.h185 uint32_t streamId; member
/hardware/interfaces/tv/tuner/1.0/
Dtypes.hal933 uint16_t streamId;
1016 uint16_t streamId;
2135 DemuxStreamId streamId;
2411 DemuxStreamId streamId;
2472 DemuxStreamId streamId;
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp5990 uint32_t streamId = channel->getStreamID(channel->getStreamTypeMask()); in processCaptureRequest() local
5993 if (streamsArray.stream_request[j].streamID == streamId) { in processCaptureRequest()
6029 uint32_t streamId = channel->getStreamID(channel->getStreamTypeMask()); in processCaptureRequest() local
6032 if (streamsArray.stream_request[j].streamID == streamId) { in processCaptureRequest()
6056 uint32_t streamId = channel->getStreamID(channel->getStreamTypeMask()); in processCaptureRequest() local
6059 if (streamsArray.stream_request[j].streamID == streamId) { in processCaptureRequest()
6137 uint32_t streamId = channel->getStreamID(channel->getStreamTypeMask()); in processCaptureRequest() local
6140 if (streamsArray.stream_request[j].streamID == streamId) { in processCaptureRequest()
13876 rotation_info.streamId = snapshotStreamId; in translateFwkMetadataToHalMetadata()
15884 buffer.streamId = pbStreamId; in trySubmittingHdrPlusRequestLocked()
[all …]
DQCamera3Channel.cpp2838 buffer.streamId = mHdrPlusStreamId; in sendRawToHdrPlusService()
4991 rotation_info.streamId = mStreams[0]->getMyServerID(); in overrideMetadata()
5100 rotation_info.streamId = mStreams[0]->getMyServerID(); in overrideFwkMetadata()
/hardware/interfaces/camera/device/3.2/
Dtypes.hal434 int32_t streamId;
992 int32_t streamId;
995 * A cached buffer ID associated with streamId.

12