852 Commits

Author SHA1 Message Date
popcornmix
fe72bc708f Merge pull request #157 from JamesH65/preview_fixes2
Patched in DavidS changes to fix up the preview modes
2014-03-28 14:37:46 +00:00
jamesh
5e67fb321c Merge in the fixed AWB changes from DavidS 2014-03-27 13:56:18 +00:00
jamesh
391dc69dfa Patched in DavidS changes to fix up the preview modes 2014-03-27 13:50:57 +00:00
Dom Cobley
58ab02e820 mmal: Add controls for enabling SEI 2014-03-27 12:33:11 +00:00
Dom Cobley
8f2193789b mmal: Add controls for manual AWB gains 2014-03-27 12:32:48 +00:00
popcornmix
a8fbe2cd6a Merge pull request #154 from JamesH65/framerate_and_filename_fixes
Fix for two bugs
2014-03-20 15:15:45 +00:00
jamesh
ea3e4ba011 Fix for two bugs
1. Bitrate needs to be set to 0 on OUTPUT port of encoder otherwise
it doesnt pick up the frame rate on its input port when connected
2. Filename incorrectly copied without terminator when set.
2014-03-20 14:56:46 +00:00
Dom Cobley
9641a1fdfb hello_pi: Update the texture coordinates to match latest firmware
See: https://github.com/raspberrypi/firmware/issues/256
2014-03-18 18:15:25 +00:00
jamesh
7beec2158d Changes for high frame rate modes and full FOV preview modes for stills 2014-03-14 18:59:19 +00:00
popcornmix
68a2cba184 Merge pull request #148 from JamesH65/framerate_fixes
Update frame rate settings to work correctly
2014-02-26 16:40:37 +00:00
jamesh
b40835cc18 Update frame rate settings to work correctly with new fixes to
exposure in the firmware.
2014-02-25 15:46:19 +00:00
Dom Cobley
8181677fc0 raspistill: Fix not copying the terminating byte of filename 2014-02-12 20:48:31 +00:00
Dom Cobley
7a6dbfe4d7 hello_pi: Fix rebuild script for hello_fft 2014-02-12 20:47:33 +00:00
popcornmix
44da20da53 Merge pull request #141 from luked99/vcos_memleak_fix
vcos: cleanup dummy threads properly
2014-02-05 11:31:50 +00:00
Luke Diamand
9ebccf1a1d vcos: cleanup dummy threads properly
If a thread created outside vcos_thread_create() gets a vcos
call (e.g. vcos_thread_at_exit), vcos creates a "dummy" thread
context so that other vcos functions will work.

Unfortunately, it wasn't hooking into pthreads to be arrange
to be called when the thread terminated, so none of the thread
termination happened: the dummy thread context was not called
and the thread at-exit functions were not called. This caused
memory to be leaked.

Use the destructor function that can be passed into
pthread_key_create() to get a callback when a thread exits,
and use this to do the dummy thread cleanup. Do not do
anything when a regular vcos thread exits (this is handled
separately).

Signed-off-by: Luke Diamand <luke@diamand.org>
2014-02-04 18:47:14 +00:00
Dom Cobley
5001a97d3d hello_pi: Add missing execute permission to rebuild.sh 2014-01-30 13:12:17 +00:00
Dom Cobley
5c34cc2c27 hello_pi: Add hello_fft demo app from Andrew Holme 2014-01-30 13:04:20 +00:00
Dom Cobley
5cecd5ae71 interface: Updates from vdec3 firmware update 2014-01-17 22:33:27 +00:00
Dom Cobley
3873291450 hello_pi: Tidy up hello_video code 2014-01-17 22:31:06 +00:00
popcornmix
6da40ffd91 Merge pull request #139 from aizvorski/master
Make constant QP mode actually have constant QP
2014-01-17 03:34:26 -08:00
popcornmix
312f1efc9c Merge pull request #138 from rktrlng/mmal_header_install
Add cmake rules to install mmal headerfiles to /opt/vc/include/interface...
2014-01-16 07:37:38 -08:00
Alexander Izvorski
d79e095579 Make constant QP mode actually have constant QP 2014-01-16 04:26:38 -08:00
Rik Teerling
b8a1cdc1be Add cmake rules to install mmal headerfiles to /opt/vc/include/interface/mmal/* 2014-01-15 23:39:21 +01:00
Christian Kröner
10a05713c4 Wrong sign in if condition
if (-this_delay_ms < -state->timelapse/2), -this_delay_ms is always positive,
and -state->timelapse/2 is negative, so this if is never true.  The if
condition should be if (-this_delay_ms < state->timelapse/2).
2014-01-06 13:25:57 +01:00
Gordon Hollingworth
350dfd09b0 Add circular buffer mode.
This commit adds the functionality to set up a circular buffer in memory
which stores the last N seconds of video.  When the application is sent a
signal or a key is pressed the last N seconds are saved.
2014-01-04 12:18:10 +00:00
JamesH65
9314be82a5 Merge pull request #135 from tomekziel/master
Fix "Invalid command line option" message - invalid arg index was used
2014-01-03 14:15:47 -08:00
Tomasz Zielinski
8082e05b39 Fix "Invalid command line option" message - invalid arg index was used 2014-01-03 21:03:03 +01:00
Dom Cobley
c55de24125 mmal: Add MPJEG fourcc type 2014-01-02 21:16:18 +00:00
Dom Cobley
0129ef7019 hello_pi: Tidy up of hello_videocube apps 2014-01-02 20:58:51 +00:00
popcornmix
aee3ec867b Merge pull request #125 from mehow/segmentation
Added -sn flag to set initial segment number.
2013-12-24 07:10:21 -08:00
Michal Tkacz
be8b43bfd5 Added -sn flag to set initial segment number. 2013-12-24 15:54:46 +01:00
JamesH65
0ff08326fa Merge pull request #130 from JamesH65/colfx_bugfix
Issue #11 (jamesh65/userland) colfx options not working correctly
2013-12-23 03:07:46 -08:00
JamesH65
ac82823c37 Merge pull request #127 from cybear/patch-1
Fix spelling error in raspistill
2013-12-23 03:07:07 -08:00
JamesH65
4b6a5e9a0a Merge pull request #124 from ethanol100/splitForWaitMethods
Split files when using a waitMethod like keypress or signal
2013-12-23 03:06:14 -08:00
jamesh
d33a2ee945 Issue #11 (jamesh65/userland) colfx options not working correctly
Fixed a bug - was setting the U value twice, and not setting V.
Bumped version numbers to suit.
2013-12-23 10:51:56 +00:00
Björn Söderqvist
c7d452fe8b Fix spelling error in raspistill
Fix spelling of "stablisation" => "stabilisation" in help text of raspistill
2013-12-11 14:46:44 +01:00
Dom Cobley
d2c9f912da RaspiStill example code for YUV fast paths
Update RaspiStill framework to provide access to the new EGL image
targets that provide a fastpath for mapping the individual YUV planes to
one byte per pixel GL_LUMINANCE buffers. These are still accessed as OES
textures so this is effectively a greyscale image created from a single
plane of a MMAL buffer.

Also added some example code (yuv, sobel) that demonstrates how to use
the new EGL image targets.

Also, add -gc to the command line to capture the GL frame-buffer as a TGA file.

Thanks to Tim Gover
2013-11-28 22:26:15 +00:00
Christian Kröner
3fe0da7064 Add switch -sp to split files in signal/keypress (and other WaitMethods) modes 2013-11-25 14:54:25 +01:00
popcornmix
40f174657f Merge pull request #123 from JamesH65/segmentation
Segmentation option for multiple files generated from a stream.
2013-11-25 03:32:09 -08:00
Dom Cobley
bf389223da mmal: Avoid building mmal components and add rules for mmal_vc_diag 2013-11-17 13:04:13 +00:00
Dom Cobley
01d2f93fa6 vcos: log messages to stderr rather than stdout 2013-11-17 13:02:49 +00:00
jamesh
d49a9a537d Segmentation option for multiple files generated from a stream.
Should be a seamless switch between files.

Also changed quantisation default to the required 0.

Bumped version number, updated docs.
2013-11-16 11:25:06 +00:00
popcornmix
628498eb6c Merge pull request #122 from JamesH65/inline
Add a inline headers option
2013-11-13 03:56:48 -08:00
jamesh
12446df940 Add a inline headers option. Inserts PPS and SPS headers
on each I-Frame
2013-11-13 10:50:08 +00:00
popcornmix
9ed398f1dd Merge pull request #121 from JamesH65/quantisation
Add a quantisation parameter to raspivid.
2013-11-12 13:19:22 -08:00
jamesh
509f060c3c Add a quantisation parameter to raspivid to allow greater control
including variable bitrate if combined with birate = 0

Updated docs to match.
2013-11-11 16:58:08 +00:00
Dom Cobley
0d486513f5 RaspiStill: Add option to render preview via GL.
Add RaspiTex.c which demonstrates how the camera preview buffers can be
bound to EGL Images and rendered via Open GLES.

To enable GL rendering add --gl to the command line and select a
GL scene
* square - A simple rotating square
* teapot - The classic teapot demo
* mirror - OpenGL ES 2.X Hall of mirrors example
2013-11-10 17:47:38 +00:00
Jimmy Petersen
18d15f67aa Fixed variable name error in code example doc
- Changed declaration of buffer header variable in documentation
  code example to use name "buffer" instead of "header" since
  this is the name used throughout the remaining code.
2013-11-08 15:37:14 +01:00
Dom Cobley
4fce58db6e dispmanx: Add api to set palette of resource 2013-11-07 16:38:03 +00:00
Dom Cobley
2b4f278e8a mmal: Add system time parameter 2013-11-04 19:06:24 +00:00