在Android Camera2API 中CaptureRequest 和Image 之间是显式连接吗?
In Android Camera2API is explicit connection between CaptureRequest and Image?
目前,请求结果和图像之间的每个连接都应由开发人员以编程方式完成(可能使用队列)。有时这可能会有问题,例如preview-precapture-burst 序列可能会重叠,开发时需要注意。问题可能已解决,当 Image 将引用 requests/result/tag 时。
这种联系是不是深藏在HAL中?创建此连接安全吗?
多亏了这个post: there is pretty simple implementation which I need, and is placed in official android repository in Camera2 app: https://android.googlesource.com/platform/packages/apps/Camera2/+/9c94ab3/src/com/android/camera/one/v2/ImageCaptureManager.java#53
--编辑--
我从 Android Developera - "The CaptureResult and Image are linked by the timestamp both have. Matching timestamps come from the same frame."
得到了官方答复
目前,请求结果和图像之间的每个连接都应由开发人员以编程方式完成(可能使用队列)。有时这可能会有问题,例如preview-precapture-burst 序列可能会重叠,开发时需要注意。问题可能已解决,当 Image 将引用 requests/result/tag 时。 这种联系是不是深藏在HAL中?创建此连接安全吗?
多亏了这个post:
--编辑-- 我从 Android Developera - "The CaptureResult and Image are linked by the timestamp both have. Matching timestamps come from the same frame."
得到了官方答复