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

Message ID 20201002103416.53623-4-email@uajain.com
State Superseded
Headers show
Series
  • Basic NV12 image thumbnailer
Related show

Commit Message

Umang Jain Oct. 2, 2020, 10:34 a.m. UTC
---
 scaler-instructions.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 scaler-instructions.txt

Patch

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