gen-image: Add option to specify histogram type
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>
Wed, 7 Sep 2016 07:51:38 +0000 (09:51 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 3 Mar 2017 18:02:53 +0000 (20:02 +0200)
commit4963e46bc2529c6d4eed49420bf4278d1d2b1de0
tree3400cf262a74ed686664f12957b837b3fdbf5255
parent95f1f96d06d2587811b5b80de8e0f2aa9a0750cd
gen-image: Add option to specify histogram type

The VSP hardware can compute both 1D (HGO) and 2D (HGT) histograms. The
gen-image utility needs to know which histogram type it should generate
a reference frame for. Add a command line option which allows the user
to set the type.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
src/gen-image.c