universal8895: camera3: add samsung fields to camera3_stream_t struct
authorJan Altensen <info@stricted.net>
Thu, 24 Dec 2020 23:29:08 +0000 (00:29 +0100)
committerJan Altensen <info@stricted.net>
Thu, 24 Dec 2020 23:29:08 +0000 (00:29 +0100)
Change-Id: I8abf86c3d261c0e49031142b8dc3e2e5d2ea1a8b

include/hardware/camera3.h

index 7fb86dfb506b814011494a9b8fce5caa2a499729..08725a7d8a047bda2a12b9e657e80a7ddf62fa03 100644 (file)
@@ -18,7 +18,7 @@
 #define ANDROID_INCLUDE_CAMERA3_H
 
 #include <system/camera_metadata.h>
-#include "camera_common.h"
+#include <hardware/camera_common.h>
 
 /**
  * Camera device HAL 3.6[ CAMERA_DEVICE_API_VERSION_3_6 ]
@@ -1659,6 +1659,9 @@ typedef struct camera3_stream {
      */
     uint32_t usage;
 
+    /* unknown samsung addition */
+    char unknown1[4];
+
     /**
      * The maximum number of buffers the HAL device may need to have dequeued at
      * the same time. The HAL device may not have more buffers in-flight from
@@ -1758,6 +1761,9 @@ typedef struct camera3_stream {
     /* reserved for future use */
     void *reserved[6];
 
+    /* unknown samsung addition */
+    char unknown2[0x14];
+
 } camera3_stream_t;
 
 /**