...
 
Commits (4)
/mipi-bggr8-1x1
/mipi-gbrg8-1x1
/mipi-grbg10-1x1-file
/mipi-grbg8-1x1
/mipi-grbg8-1x1-file
/mipi-grbg8-vga
/mipi-rggb8-1x1
/mipi-y10-1x1-file
/mipi-y12-1x1-file
/mipi-y8-1x1
/mipi-y8-1x1-file
/mipi-y8-2x2
/mipi-y8-4x4
/mipi-y8-vga
/raw2ppm
......@@ -23,11 +23,17 @@ libexecdir ?= ${prefix}/libexec
pkglibexecdir ?= ${libexecdir}/${PACKAGE}
bin_SCRIPTS = \
mipi-rggb8-1x1 \
mipi-bggr8-1x1 \
mipi-gbrg8-1x1 \
mipi-grbg8-1x1 \
mipi-grbg8-vga \
mipi-grbg8-1x1-file \
mipi-grbg10-1x1-file \
mipi-y8-1x1 \
mipi-y8-1x1-file \
mipi-y8-2x2 \
mipi-y8-4x4 \
mipi-y8-vga \
mipi-y10-1x1-file \
mipi-y12-1x1-file \
......
......@@ -32,8 +32,30 @@ parm_grbg8() {
GST_CONVERT=( ! bayer2rgbneon )
}
parm_rggb8() {
CAM_FMT=RGGB
PIX_FMT=SRGGB8
GST_FMT=video/x-bayer,format=rggb
GST_CONVERT=( ! bayer2rgbneon )
}
parm_bggr8() {
CAM_FMT=BA81
PIX_FMT=SBGGR8
GST_FMT=video/x-bayer,format=bggr
GST_CONVERT=( ! bayer2rgbneon )
}
parm_gbrg8() {
CAM_FMT=GBRG
PIX_FMT=SGBRG8
GST_FMT=video/x-bayer,format=gbrg
GST_CONVERT=( ! bayer2rgbneon )
}
parm_grbg10() {
CAM_FMT=SGRBG10_1X10
PIX_FMT=SGRBG10
GST_FMT=-
GST_CONVERT=( - )
......@@ -42,6 +64,7 @@ parm_grbg10() {
parm_grbg12() {
CAM_FMT=SGRBG12_1X12
PIX_FMT=SGRBG12
GST_FMT=-
GST_CONVERT=( - )
......
#! /bin/bash
. @PKGLIBEXECDIR@/func
parm_mipi "${1:-0}"
parm_bggr8
parm_geo 0 0 1280 800 0 0
$SETUP_MEIDACTL_FN "$CAM_FMT/$GRAB_RES" "$TOP/$CROP_RES" "${2:-1/60}"
run_gst
#run_yavta
#! /bin/bash
. @PKGLIBEXECDIR@/func
parm_mipi "${1:-0}"
parm_gbrg8
parm_geo 0 0 1280 800 0 0
$SETUP_MEIDACTL_FN "$CAM_FMT/$GRAB_RES" "$TOP/$CROP_RES" "${2:-1/60}"
run_gst
#run_yavta
#! /bin/bash
. @PKGLIBEXECDIR@/func
parm_mipi "${1:-0}"
parm_grbg10
parm_geo 0 0 1280 800 0 0
$SETUP_MEIDACTL_FN "$CAM_FMT/$GRAB_RES" "$TOP/$CROP_RES" "${2:-1/60}"
run_yavta
#! /bin/bash
. @PKGLIBEXECDIR@/func
parm_mipi "${1:-0}"
parm_grbg8
parm_geo 0 0 1280 800 0 0
$SETUP_MEIDACTL_FN "$CAM_FMT/$GRAB_RES" "$TOP/$CROP_RES" "${2:-1/60}"
run_yavta
#! /bin/bash
. @PKGLIBEXECDIR@/func
parm_mipi "${1:-0}"
parm_rggb8
parm_geo 0 0 1280 800 0 0
$SETUP_MEIDACTL_FN "$CAM_FMT/$GRAB_RES" "$TOP/$CROP_RES" "${2:-1/60}"
run_gst
#run_yavta
#! /bin/bash
. @PKGLIBEXECDIR@/func
parm_mipi "${1:-0}"
parm_y8
parm_geo 0 0 1280 800 2 2
$SETUP_MEIDACTL_FN "$CAM_FMT/$GRAB_RES" "$TOP/$CROP_RES" "${2:-1/60}"
run_gst