/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamSplitter.cpp | 164 status_t Camera3StreamSplitter::addOutput(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutput() argument 167 status_t res = addOutputLocked(surfaceId, outputQueue); in addOutput() 181 status_t Camera3StreamSplitter::addOutputLocked(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutputLocked() argument 188 if (mOutputs[surfaceId] != nullptr) { in addOutputLocked() 189 SP_LOGE("%s: surfaceId: %u already taken!", __FUNCTION__, (unsigned) surfaceId); in addOutputLocked() 203 __FUNCTION__, mFormat, surfaceId); in addOutputLocked() 260 mOutputs[surfaceId] = gbp; in addOutputLocked() 261 mConsumerBufferCount[surfaceId] = maxConsumerBuffers; in addOutputLocked() 262 if (mConsumerBufferCount[surfaceId] > mMaxHalBuffers) { in addOutputLocked() 264 mConsumerBufferCount[surfaceId], mMaxHalBuffers); in addOutputLocked() [all …]
|
D | Camera3StreamSplitter.h | 69 status_t addOutput(size_t surfaceId, const sp<Surface>& outputQueue); 74 status_t removeOutput(size_t surfaceId); 126 void onBufferReplacedLocked(const sp<IGraphicBufferProducer>& from, size_t surfaceId); 137 void decrementBufRefCountLocked(uint64_t id, size_t surfaceId); 144 size_t surfaceId, int slot); 181 size_t decrementReferenceCountLocked(size_t surfaceId); 204 status_t addOutputLocked(size_t surfaceId, const sp<Surface>& outputQueue); 206 status_t removeOutputLocked(size_t surfaceId); 212 const BufferItem& bufferItem, size_t surfaceId);
|
D | Camera3SharedOutputStream.cpp | 329 for (const auto& surfaceId : surfaceIds) { in getUniqueSurfaceIds() local 330 if (surfaceId >= kMaxOutputs) { in getUniqueSurfaceIds() 333 outUniqueIds->push_back(mSurfaceUniqueIds[surfaceId].second); in getUniqueSurfaceIds() 421 ssize_t surfaceId = getNextSurfaceIdLocked(); in updateStream() local 422 if (surfaceId < 0) { in updateStream() 431 ret = mStreamSplitter->addOutput(surfaceId, it); in updateStream() 441 mSurfaceUniqueIds[surfaceId] = std::make_pair(it, mNextUniqueSurfaceId++); in updateStream() 442 outputMap->add(it, surfaceId); in updateStream()
|
D | Camera3Device.h | 833 bool isOutputSurfacePending(int streamId, size_t surfaceId);
|
D | Camera3Device.cpp | 5831 bool Camera3Device::RequestThread::isOutputSurfacePending(int streamId, size_t surfaceId) { in isOutputSurfacePending() argument 5838 const auto &it = std::find(s.second.begin(), s.second.end(), surfaceId); in isOutputSurfacePending() 5849 const auto &it = std::find(s.second.begin(), s.second.end(), surfaceId); in isOutputSurfacePending() 5860 const auto &it = std::find(s.second.begin(), s.second.end(), surfaceId); in isOutputSurfacePending()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GLEnvironment.java | 135 public void activateSurfaceWithId(int surfaceId) { in activateSurfaceWithId() argument 136 if (!nativeActivateSurfaceId(surfaceId)) { in activateSurfaceWithId() 137 throw new RuntimeException("Could not activate surface " + surfaceId + "!"); in activateSurfaceWithId() 142 public void unregisterSurfaceId(int surfaceId) { in unregisterSurfaceId() argument 143 if (!nativeRemoveSurfaceId(surfaceId)) { in unregisterSurfaceId() 144 throw new RuntimeException("Could not unregister surface " + surfaceId + "!"); in unregisterSurfaceId() 187 private native boolean nativeActivateSurfaceId(int surfaceId); in nativeActivateSurfaceId() argument 189 private native boolean nativeRemoveSurfaceId(int surfaceId); in nativeRemoveSurfaceId() argument
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_environment.h | 81 jint surfaceId); 86 jint surfaceId);
|
D | jni_gl_environment.cpp | 360 jint surfaceId) { in Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId() argument 362 return gl_env ? ToJBool(gl_env->SwitchToSurfaceId(surfaceId) && gl_env->Activate()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId() 367 jint surfaceId) { in Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId() argument 369 return gl_env ? ToJBool(gl_env->ReleaseSurfaceId(surfaceId)) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 210 StreamSurfaceId(int32_t streamId, int32_t surfaceId) { in StreamSurfaceId() argument 212 mSurfaceId = surfaceId; in StreamSurfaceId() 217 int32_t surfaceId() const { in surfaceId() function
|
D | CameraDeviceClient.cpp | 171 (*outSurfaceMap)[streamSurfaceId.streamId()].push_back(streamSurfaceId.surfaceId()); in insertGbpLocked() 175 streamSurfaceId.surfaceId()); in insertGbpLocked() 1228 removedSurfaceIds.push_back(mStreamMap[i].surfaceId()); in updateOutputConfiguration() 1896 mStreamMap.valueAt(i).surfaceId()); in dumpClient()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureRequest.java | 696 int surfaceId = 0; in convertSurfaceToStreamId() local 701 mSurfaceIdxArray[i] = surfaceId; in convertSurfaceToStreamId() 705 surfaceId++; in convertSurfaceToStreamId() 718 int surfaceId = 0; in convertSurfaceToStreamId() local 723 mSurfaceIdxArray[i] = surfaceId; in convertSurfaceToStreamId() 727 surfaceId++; in convertSurfaceToStreamId()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraDevice.cpp | 377 for (int surfaceId = 0; surfaceId < (int) gbps.size(); surfaceId++) { in allocateCaptureRequest() local 378 if (gbps[surfaceId] == surface->getIGraphicBufferProducer()) { in allocateCaptureRequest() 381 req->mSurfaceIdxList.push_back(surfaceId); in allocateCaptureRequest()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDevice.cpp | 366 for (int surfaceId = 0; surfaceId < (int) windowHandles.size(); surfaceId++) { in allocateCaptureRequestLocked() local 368 if (utils::isWindowNativeHandleEqual(windowHandles[surfaceId].getNativeHandle(), in allocateCaptureRequestLocked() 372 requestSurfaceIdxList.push_back(surfaceId); in allocateCaptureRequestLocked()
|