Skip to contentSkip to conversation

gmsl-yavta: Save output frames to .ppm files

PATCH Applied Laurent Pinchart 2 participants 2 messages Jan 31, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 gmsl-yavta: Save output frames to .ppm files

The script produces the PPM variant of PNM, the correct file extension is .ppm.

---
 gmsl-yavta.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gmsl-yavta.sh +1 -1
index a123bf52a16d..0ec0560441d8 100755
@@ -83,5 +83,5 @@ wait
 
 for f in $out/*bin; do
     name=$(basename $f .bin)
-    raw2rgbpnm -f YUYV -s 1280x800 $out/$name.bin $out/$name.pnm
+    raw2rgbpnm -f YUYV -s 1280x800 $out/$name.bin $out/$name.ppm
 done
Signature · 3 lines
Regards,

Laurent Pinchart
#1 lore raw

Hi Laurent,

Thanks for your patch.

Quoted 4 lines · Laurent Pinchart

The script produces the PPM variant of PNM, the correct file extension is .ppm.

Applied.

Quoted 20 lines
---
 gmsl-yavta.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gmsl-yavta.sh +1 -1
index a123bf52a16d..0ec0560441d8 100755
@@ -83,5 +83,5 @@ wait
 
 for f in $out/*bin; do
     name=$(basename $f .bin)
-    raw2rgbpnm -f YUYV -s 1280x800 $out/$name.bin $out/$name.pnm
+    raw2rgbpnm -f YUYV -s 1280x800 $out/$name.bin $out/$name.ppm
 done
Signature · 3 lines
Regards,

Laurent Pinchart
Signature · 2 lines
Regards,
Niklas S�derlund