commit | d502149dd9e27e8b6617ea5ee4659c5d75b3baf6 | [log] [tgz] |
---|---|---|
author | Yinhang Liu <[email protected]> | Tue May 23 17:44:51 2017 +0800 |
committer | Wind Yuan <[email protected]> | Fri Jun 02 04:04:49 2017 -0400 |
tree | e7d032b560b34b1138af20366dfae831c5eb35bd | |
parent | c13d2c54fb3648b27aa1f4b67887fbfe23b2272d [diff] |
cl-stitch: support 4k resolution mode * tune 4k parameters for video stream * add debug information to make it easier for qualiy tuning * support framerate options in test-image-stitching via OpenCV codec * gst-launch-1.0 cmdline: $ gst-launch-1.0 filesrc location=input.nv12 \ ! videoparse format=nv12 width=4096 height=2048 framerate=24/1 \ ! xcamfilter copy-mode=1 enable-stitch=true stitch-scale=local \ stitch-fisheye-map=true stitch-fm-ocl=true stitch-res-mode=4k \ ! video/x-raw, foramt=NV12, width=4096, height=2048 \ ! queue ! vaapih264enc rate-control=cbr \ ! tcpclientsink host="host-ip" port=3000 blocksize=1024000 sync=false * test-image-stitching cmdline: $ test-image-stitching --input input.nv12 --output output.mp4 \ --input-w 4096 --input-h 2048 --output-w 4096 --output-h 2048 \ --scale-mode local --enable-fisheyemap --fm-ocl true \ --res-mode 4k --framerate 24.0 --save true Signed-off-by: Wind Yuan <[email protected]>
Copyright (C) 2014-2017 Intel Corporation
libxcam core source code under the terms of Apache License, Version 2.0
libXCam is a project for extended camera features and focus on image quality improvement and video analysis. There are lots features supported in image pre-processing, image post-processing and smart analysis. This library makes GPU/CPU/ISP working together to improve image quality. OpenCL is used to improve performance in different platforms.
Environment variable settings
For different --prefix options, the environment variables may be different. Please set the environment variable according to the actual situation.
--prefix=/usr/local:
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0:$GST_PLUGIN_PATH
--prefix=/usr:
export LD_LIBRARY_PATH=/usr/lib/:$LD_LIBRARY_PATH export GST_PLUGIN_PATH=/usr/lib/gstreamer-1.0:$GST_PLUGIN_PATH
$ ./autogen.sh [options]
--prefix=PREFIX install architecture-independent files in PREFIX [default=/usr/local] --enable-debug enable debug, [default=no] --enable-profiling enable profiling, [default=no] --enable-drm enable drm buffer, [default=yes] --enable-aiq enable Aiq 3A algorithm build, [default=no] --enable-gst enable gstreamer plugin build, [default=no] --enable-libcl enable libcl image processor, [default=yes] --enable-opencv enable opencv library, [default=no] --enable-docs build Doxygen documentation [default=no] --enable-3alib enable 3A lib build, [default=no] --enable-smartlib enable smart analysis lib build, [default=no]
For example:
$ ./autogen.sh --prefix=/usr --enable-3alib --enable-aiq --enable-gst --enable-drm \ --enable-libcl --enable-opencv --enable-profiling --enable-smartlib
$ make
$ sudo make install