[libcamera-devel] [PATCH v1 3/3] [DNI] Add HOWTO scaler instructions for future reference

Umang Jain email at uajain.com
Fri Oct 2 12:34:16 CEST 2020


---
 scaler-instructions.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 scaler-instructions.txt

diff --git a/scaler-instructions.txt b/scaler-instructions.txt
new file mode 100644
index 0000000..3151db3
--- /dev/null
+++ b/scaler-instructions.txt
@@ -0,0 +1,18 @@
+# Build uajain/exif-scaler-NV12 tester with -Dandroid=enabled
+# Load the vivid module if not done already
+
+# Capture few frames in NV12 from cam
+./build/src/cam/cam -c vivid -C2 -F -s pixelformat=NV12
+
+# Note down scaled down image's size from the above capture's o/p $size
+# scaled down raw output is written to /tmp
+
+cd /tmp
+~/src/raw2rgbpnm/raw2rgbpnm -s $size -f RGB24 30-09-2020.18-47-29.0.raw thumbnail.ppm
+
+# View new.ppm
+eog thumbnail.ppm
+
+---
+
+raw2rgbpnm git : git://git.retiisi.eu/~sailus/raw2rgbpnm.git
-- 
2.26.2



More information about the libcamera-devel mailing list