aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-24Allow selecting the image resolution instead of "small/midium/large"resolution_improvementMauro Carvalho Chehab5-20/+129
The concept of small, midium, large is relative, as it depends on whatever the camera supports. Instead of using it, it is a way better to show a list of the supported resolutions. That works fine for most cameras, with uses a fixed set. On cameras with a scale, the Kernel actually exports the resolution range. On this case, let's present 4 resolutions between the minimum and maximum one. That should be reasonable for most usecases. Nowadays, all drivers should be reporting resolutions via VIDIOC_ENUM_FRAMESIZES. Yet, as one might run camorama with very legacy kernels, provide backward support, using small/midium/large resolutions just like before. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-24Dynamically create midium/large resolutionsMauro Carvalho Chehab2-28/+28
2018-07-24Prevent activating an already active sizeMauro Carvalho Chehab3-16/+36
Changing resolution is costly, as we need first to wait for pending buffers and stop streaming. So, optimize resolution switch by not trying to activate the already activated resolution.
2018-07-23Merge pull request #11 from mchehab/v4l2_convertAlessio Treglia114-39732/+648
V4l2 convert
2018-07-23Rename control widgets, in order to make easier to reference them.v4l2_convertMauro Carvalho Chehab2-25/+25
Right now, widgets associated with controls just have a random name. Instead, use a name related to their usage, to make easier to reference them inside src/camera-window.c.
2018-07-23Hide V4L2 controls if not present at the cameraMauro Carvalho Chehab3-26/+66
Not all controls are available on all cameras. Be sure to show only the ones that apply to the camera used. While here, fix the callback logic for whitebalance
2018-07-23Ignore pad bytes on camera streamsMauro Carvalho Chehab2-4/+10
On a perfect world, the memory mapped buffer would contain the exact frame image. However, due to hardware constraints (typically at their DMA engines), sometimes there are pad bytes after the end of each line. So, change the memcpy algorithm to take it into account.
2018-07-23Optimize the logic with sets control valuesMauro Carvalho Chehab4-25/+5
No need to write all controls when just one changes.
2018-07-23convert camorama to use the V4L2 APIMauro Carvalho Chehab9-429/+551
Currently, camorama is based on a very legacy API (V4L version 1). This got removed from Kernel a long time ago, still at Kernel 2.6.x cycles. It works thanks to libv4l1 emulation, but we may get rid of it soon at v4l-utils. So, let's just move on and implement V4L2 API support directly on Camorama, instead of relying on a compatibility layer.
2018-07-23Add two missing includes to main.cMauro Carvalho Chehab1-0/+2
Cleanup a few warnings by adding the proper header files.
2018-07-23Explicitly include libmMauro Carvalho Chehab2-2/+2
There are some routines inside camorama that require the library. Sometimes, it is not probed well, so explicitly add it.
2018-07-23Remove auto-generated filesMauro Carvalho Chehab104-39257/+23
It is very hard to see what's happening when the file-generated stuff is part of the git tree. Remove the ones that are generated by ./configure and make.
2018-02-19Merge pull request #10 from RepRapLtd/masterAlessio Treglia126-24/+40943
Motion detector filter
2017-09-26Final (?) version of the Reichardt-Hassenstein filter.Adrian Bowyer38-1598/+628
2016-09-12README updated.Adrian Bowyer2-0/+124
2016-09-12Reichardt filter added properly to menus etc.Adrian Bowyer35-601/+4978
2016-09-11Working version. Mirror filter replaced by Reichardt.Adrian Bowyer7-90/+173
Need to adjust the filter time constants.
2016-09-10Adding a visual flow/Reichardt filter to camorama. WIP.Adrian Bowyer106-37/+37342
2016-02-28Merge pull request #1 from alessio/fix-crash-on-64bit-sys-when-adding-a-filterAlessio Treglia1-2/+2
Prevent crash on 64-bit systems
2016-02-28Prevent crash on 64-bit systemsHans de Goede1-2/+2
This bug was originally reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1312662
2014-12-04Fix GtkSpinButton "adjustment with non-zero page size" deprecation message.Alessio Treglia1-1/+1
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/camorama/+bug/870609 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553523
2014-07-22Add manpage, taken from Debian.Alessio Treglia1-0/+50
2014-07-22Take xpm icon from Debian.Alessio Treglia1-0/+63
2014-07-22Refresh autotools's config.{guess,sub} files.Alessio Treglia2-325/+521
2014-07-21Drop Application from desktop file's Categories fieldAlessio Treglia1-1/+1
2014-07-21Use libv4l1 as an emulation layer to ensure compatibilityAlessio Treglia7-31/+42
with the most recent drivers Bug-Debian: http://bugs.debian.org/569089
2014-07-21Fix wrong software's version.Alessio Treglia1-1/+1
2014-07-21V4L1 support was dropped in the recent kernels. Update #include statements ↵Alessio Treglia1-1/+1
to rely on v4l-utils's headers. Origin: Ubuntu Bug-Ubuntu: https://launchpad.net/bugs/749079 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621953
2014-07-21Fix missing functions prototypes.Alessio Treglia1-0/+1
2014-07-21Including individual glib headers no longer supportedAlessio Treglia2-2/+2
From: Michael Biebl <biebl@debian.org> Origin: Debian Bug-Debian: http://bugs.debian.org/665516
2014-07-21Merge tag 'upstream/0.19'Alessio Treglia123-21590/+16121
Upstream version 0.19
2014-07-21Imported Upstream version 0.19upstream/0.19Alessio Treglia123-21590/+16121
2014-07-21Merge tag 'upstream/0.18'Alessio Treglia148-12875/+25255
Upstream version 0.18
2014-07-21Imported Upstream version 0.18upstream/0.18Alessio Treglia148-12875/+25255
2014-07-21Imported Upstream version 0.17upstream/0.17Alessio Treglia173-0/+57214

Privacy Policy