Searched defs:streamId (Results 1 - 17 of 17) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h93 virtual binder::Status deleteStream(int streamId) override;
130 virtual binder::Status prepare(int32_t streamId) override;
133 virtual binder::Status tearDown(int32_t streamId) override;
136 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId) override;
139 virtual binder::Status updateOutputConfiguration(int streamId,
143 virtual binder::Status finalizeOutputConfigurations(int32_t streamId,
175 virtual void notifyPrepared(int streamId);
191 // StreamSurfaceId encapsulates streamId + surfaceId for a particular surface.
192 // streamId specifies the index of the stream the surface belongs to, and the
201 StreamSurfaceId(int32_t streamId, int32_ argument
205 int32_t streamId() const { function in class:android::CameraDeviceClient::final
[all...]
H A DCameraDeviceClient.cpp154 if (outSurfaceMap->find(streamSurfaceId.streamId()) == outSurfaceMap->end()) {
155 (*outSurfaceMap)[streamSurfaceId.streamId()] = std::vector<size_t>();
156 outputStreamIds->push_back(streamSurfaceId.streamId());
158 (*outSurfaceMap)[streamSurfaceId.streamId()].push_back(streamSurfaceId.surfaceId());
161 __FUNCTION__, mCameraIdStr.string(), streamSurfaceId.streamId(),
165 *currentStreamId = streamSurfaceId.streamId();
258 int32_t streamId; local
260 res = insertGbpLocked(gbp, &surfaceMap, &outputStreamIds, &streamId);
265 ssize_t index = mConfiguredOutputs.indexOfKey(streamId);
276 int streamId local
519 deleteStream(int streamId) argument
677 int streamId = camera3::CAMERA3_STREAM_ID_INVALID; local
742 int streamId = camera3::CAMERA3_STREAM_ID_INVALID; local
778 setStreamTransformLocked(int streamId) argument
829 int streamId = -1; local
877 updateOutputConfiguration(int streamId, const hardware::camera2::params::OutputConfiguration &outputConfiguration) argument
1331 prepare(int streamId) argument
1371 prepare2(int maxCount, int streamId) argument
1419 tearDown(int streamId) argument
1460 finalizeOutputConfigurations(int32_t streamId, const hardware::camera2::params::OutputConfiguration &outputConfiguration) argument
1649 notifyPrepared(int streamId) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.h41 int streamId; member in struct:android::camera3::StreamInfo
59 streamId(id),
H A DCamera3BufferManager.cpp42 int streamId = streamInfo.streamId; local
45 if (streamId == CAMERA3_STREAM_ID_INVALID || streamSetId == CAMERA3_STREAM_SET_ID_INVALID) {
47 __FUNCTION__, streamId, streamSetId);
52 __FUNCTION__, streamId, streamSetId, streamInfo.totalBufferCount);
56 ALOGE("%s: Stream (%d) is not configured", __FUNCTION__, streamId);
76 ssize_t streamIdx = mStreamSetMap[i].streamInfoMap.indexOfKey(streamId);
96 ssize_t streamIdx = currentStreamSet.streamInfoMap.indexOfKey(streamId);
99 __FUNCTION__, streamId, streamSetId);
102 currentStreamSet.streamInfoMap.add(streamId, streamInf
116 unregisterStream(int streamId, int streamSetId) argument
159 notifyBufferRemoved(int streamId, int streamSetId) argument
167 checkAndFreeBufferOnOtherStreamsLocked( int streamId, int streamSetId) argument
239 getBufferForStream(int streamId, int streamSetId, sp<GraphicBuffer>* gb, int* fenceFd) argument
329 onBufferReleased( int streamId, int streamSetId, bool* shouldFreeBuffer) argument
393 onBuffersRemoved(int streamId, int streamSetId, size_t count) argument
452 int streamId = mStreamSetMap[i].handoutBufferCountMap.keyAt(m); local
459 int streamId = mStreamSetMap[i].attachedBufferCountMap.keyAt(m); local
468 checkIfStreamRegisteredLocked(int streamId, int streamSetId) const argument
[all...]
H A DCamera3Device.cpp1035 ssize_t idx = mOutputStreams.indexOfKey(bSrc.streamId);
1038 __FUNCTION__, result.frameNumber, i, bSrc.streamId);
1044 res = mInterface->popInflightBuffer(result.frameNumber, bSrc.streamId, &buffer);
1047 __FUNCTION__, result.frameNumber, i, bSrc.streamId);
1067 if (result.inputBuffer.streamId == -1) {
1070 if (mInputStream->getId() != result.inputBuffer.streamId) {
1072 result.frameNumber, result.inputBuffer.streamId);
1077 res = mInterface->popInflightBuffer(result.frameNumber, result.inputBuffer.streamId,
1081 __FUNCTION__, result.frameNumber, result.inputBuffer.streamId);
1989 status_t Camera3Device::prepare(int streamId) { argument
1993 prepare(int maxCount, int streamId) argument
2021 tearDown(int streamId) argument
2044 addBufferListenerForStream(int streamId, wp<Camera3StreamBufferListener> listener) argument
2099 setConsumerSurfaces(int streamId, const std::vector<sp<Surface>>& consumers, std::vector<int> *surfaceIds) argument
2155 updateStream(int streamId, const std::vector<sp<Surface>> &newSurfaces, const std::vector<OutputStreamInfo> &outputInfo, const std::vector<size_t> &removedSurfaceIds, KeyedVector<sp<Surface>, size_t> *outputMap) argument
2189 dropStreamBuffers(bool dropping, int streamId) argument
2815 int32_t streamId = pair.second; local
3256 int streamId = 0; local
3523 int streamId = cam3stream->getId(); local
3559 int streamId = it->first; local
3647 int streamId = Camera3Stream::cast(dst)->getId(); local
3731 int32_t streamId = Camera3Stream::cast(request->input_buffer->stream)->getId(); local
3761 int32_t streamId = Camera3Stream::cast(src->stream)->getId(); local
3981 int32_t streamId = key & 0xFFFFFFFF; local
3988 pushInflightBufferLocked( int32_t frameNumber, int32_t streamId, buffer_handle_t *buffer, int acquireFence) argument
3996 popInflightBuffer( int32_t frameNumber, int32_t streamId, buffer_handle_t **buffer) argument
4014 getBufferId( const buffer_handle_t& buf, int streamId) argument
4030 onBufferFreed( int streamId, const native_handle_t* handle) argument
4949 isOutputSurfacePending(int streamId, size_t surfaceId) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java51 streamId(source.readInt()).
124 public Builder streamId(int streamId) { argument
125 mStreamId = streamId;
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DICameraDeviceUserWrapper.java120 public void deleteStream(int streamId) throws CameraAccessException { argument
122 mRemoteDevice.deleteStream(streamId);
193 public void prepare(int streamId) throws CameraAccessException { argument
195 mRemoteDevice.prepare(streamId);
202 public void tearDown(int streamId) throws CameraAccessException { argument
204 mRemoteDevice.tearDown(streamId);
211 public void prepare2(int maxCount, int streamId) throws CameraAccessException { argument
213 mRemoteDevice.prepare2(maxCount, streamId);
220 public void updateOutputConfiguration(int streamId, OutputConfiguration config) argument
223 mRemoteDevice.updateOutputConfiguration(streamId, confi
230 finalizeOutputConfigurations(int streamId, OutputConfiguration deferredConfig) argument
[all...]
H A DCameraDeviceImpl.java419 int streamId = mConfiguredOutputs.keyAt(i);
426 deleteList.add(streamId);
450 int streamId = mRemoteDevice.createInputStream(inputConfig.getWidth(),
453 streamId, inputConfig);
458 for (Integer streamId : deleteList) {
459 mRemoteDevice.deleteStream(streamId);
460 mConfiguredOutputs.delete(streamId);
466 int streamId = mRemoteDevice.createStream(outConfig);
467 mConfiguredOutputs.put(streamId, outConfig);
800 int streamId
2174 onPrepared(int streamId) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTest.java255 public void onPrepared(int streamId) throws RemoteException { argument
H A DCameraDeviceBinderTest.java150 public void onPrepared(int streamId) throws RemoteException { argument
205 int streamId = mCameraUser.createStream(mOutputConfiguration);
206 assertEquals(0, streamId);
276 int streamId = mCameraUser.createStream(mOutputConfiguration);
277 assertEquals(0, streamId);
287 mCameraUser.deleteStream(streamId);
307 int streamId = mCameraUser.createStream(mOutputConfiguration);
308 assertEquals(0, streamId);
328 mCameraUser.deleteStream(streamId);
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHal.java55 void onFirstFrameCaptured(int deviceId, int streamId); argument
60 private static native int nativeAddOrUpdateStream(long ptr, int deviceId, int streamId, argument
62 private static native int nativeRemoveStream(long ptr, int deviceId, int streamId); argument
149 private void firstFrameCapturedFromNative(int deviceId, int streamId) { argument
151 mHandler.obtainMessage(EVENT_STREAM_CONFIGURATION_CHANGED, deviceId, streamId));
200 int streamId = msg.arg2;
201 mCallback.onFirstFrameCaptured(deviceId, streamId);
H A DTvInputHardwareManager.java233 public void onFirstFrameCaptured(int deviceId, int streamId) { argument
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp316 void Camera2ClientBase<TClientBase>::notifyPrepared(int streamId) { argument
317 (void)streamId;
320 __FUNCTION__, streamId);
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp213 virtual binder::Status onPrepared(int streamId) { argument
214 (void) streamId;
484 status_t streamId; local
485 res = device->createStream(output, &streamId);
487 EXPECT_LE(0, streamId);
585 res = device->deleteStream(streamId);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java262 public void onPrepared(int streamId) { argument
264 /*arg1*/ streamId, /*arg2*/ 0);
330 int streamId = msg.arg1;
331 mCallbacks.onPrepared(streamId);
542 public void deleteStream(int streamId) { argument
558 int index = mSurfaces.indexOfKey(streamId);
560 String err = "Cannot delete stream, stream id " + streamId + " doesn't exist.";
652 public void updateOutputConfiguration(int streamId, OutputConfiguration config) { argument
698 public void prepare(int streamId) { argument
709 mCameraCallbacks.onPrepared(streamId);
712 prepare2(int maxCount, int streamId) argument
717 tearDown(int streamId) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvInputHal.cpp69 jmethodID streamId; member in struct:android::__anon1138
258 int addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface);
259 int removeStream(int deviceId, int streamId);
265 void onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded);
340 int JTvInputHal::addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) { argument
342 if (connections.indexOfKey(streamId) < 0) {
343 connections.add(streamId, Connection());
345 Connection& connection = connections.editValueFor(streamId);
376 if (list[i].streamId == streamId) {
410 removeStream(int deviceId, int streamId) argument
531 onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) argument
592 nativeAddOrUpdateStream(JNIEnv* env, jclass clazz, jlong ptr, jint deviceId, jint streamId, jobject jsurface) argument
605 nativeRemoveStream(JNIEnv* env, jclass clazz, jlong ptr, jint deviceId, jint streamId) argument
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp308 int32_t streamId = -1; local
311 streamId = kvPair.first;
315 if (streamId < 0) {
341 auto remoteRet = mRemote->updateOutputConfiguration(streamId, outConfig);
365 mConfiguredOutputs[streamId] = std::make_pair(output->mWindow, outConfig);
394 int streamId = kvPair.first; local
400 req->mStreamIdxList.push_back(streamId);
652 int streamId = kvPair.first; local
655 deleteList.push_back(streamId); // Need to delete a no longer needed stream
698 for (auto streamId
710 int streamId; local
830 int32_t streamId = resultExtras.errorStreamId; local
[all...]

Completed in 173 milliseconds