Hackseung Lee [Thu, 9 Nov 2017 03:52:35 +0000 (12:52 +0900)]
tizen/hello_video test non-tunneled EmptyBufferDone call-back
Change-Id: I11a2a5e87bf0e7679df8f739fe9db552fbc40bc3
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
Hackseung Lee [Thu, 9 Nov 2017 03:46:50 +0000 (12:46 +0900)]
tizen/IL add tizen feature
Change-Id: I22d3f9d5d436e207bb9b0aa7dc1631171a536b62
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
Hackseung Lee [Tue, 31 Oct 2017 23:34:31 +0000 (08:34 +0900)]
gbs: add build environment
Change-Id: I9fe43306246452bcea48ab7b495848102955ad06
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
Hackseung Lee [Tue, 31 Oct 2017 23:20:38 +0000 (08:20 +0900)]
Merge remote-tracking branch 'userland/master' into tizen
Signed-off-by: Hackseung Lee <lhs@dignsys.com>
Dave Stevenson [Fri, 6 Oct 2017 16:26:31 +0000 (17:26 +0100)]
Raspicam: Add manual controls for analog and digital gain.
Requires exposure mode to be left at "auto" (or at least not
"off").
Fixes the value of analog and digital gains independently,
so eg fixing analog gain at x4.0 will still allow exposure
and digital gain to vary.
Dave Stevenson [Wed, 27 Sep 2017 17:04:41 +0000 (18:04 +0100)]
MMAL: Fix example_basic_2 to actually play video
example_basic_2 seemed to be broken. It tried to use
ZERO_COPY but in an invalid way. It also never looked
for format changed events off the decoder, so would
just stop once the decoder issued those.
It now correctly allocates pools so that it can use zero
copy, and also acts on MMAL_EVENT_FORMAT_CHANGED events
to reallocate the pools and hence proceed.
Fixes #285
Dave Stevenson [Mon, 21 Aug 2017 16:02:46 +0000 (17:02 +0100)]
.gitignore: Ignore typical output files
Yukimasa Sugizaki [Tue, 10 Oct 2017 09:45:29 +0000 (18:45 +0900)]
mmal_wrapper: Fix a short allocation for pools and queues (#426)
mmal_component_wrapper: Fix a short allocation for pools and queues
popcornmix [Tue, 12 Sep 2017 12:48:11 +0000 (13:48 +0100)]
interface: Remove some compiler warnings
popcornmix [Fri, 15 Sep 2017 15:07:38 +0000 (16:07 +0100)]
tvservice: Avoid unmatched reference counting on attach/unplugged events
Thanks to Phil for spotting the suspicious code.
See: https://github.com/raspberrypi/firmware/issues/875
Dave Stevenson [Mon, 2 Oct 2017 14:54:12 +0000 (15:54 +0100)]
IL ISP: Add white balance and digital gain to ISP component
Dave Stevenson [Tue, 15 Aug 2017 16:53:26 +0000 (17:53 +0100)]
IL Camera: Add manual analog and digital gain controls.
With MMAL_PARAMETER_ANALOG_GAIN and MMAL_PARAMETER_DIGITAL_GAIN
setting either numerator or denominator to 0 will retain auto
operation, otherwise the tuner will adopt the specified gain
where the hardware will allow.
The AGC algorithm does NOT include a fixed digital gain,
so a fixed digital gain with auto exposure and analog gain
will typically result in over exposed images.
Dave Stevenson [Fri, 8 Sep 2017 17:27:14 +0000 (18:27 +0100)]
vcsm: Add dmabuf import function.
Dave Stevenson [Fri, 8 Sep 2017 17:26:10 +0000 (18:26 +0100)]
IL/MMAL: Add I420 and YUVUV 10bpp formats
10bits per pixel packed in the least significant bits
of 16 bit words.
Not replicated in VC_IMAGE, and only supported by the ISP component.
popcornmix [Fri, 18 Aug 2017 15:06:57 +0000 (16:06 +0100)]
vcsm: Add new clean/invalidate command for 2D blocks
popcornmix [Fri, 14 Jul 2017 13:48:11 +0000 (14:48 +0100)]
hello_fft: Fixup offset calculation when mapping/unmapping buffers
See: https://github.com/raspberrypi/userland/issues/408
Dave Stevenson [Tue, 22 Aug 2017 14:18:31 +0000 (15:18 +0100)]
vc_image headers: Tidy up duplication
When vc_image_helper.h was merged in, some stuff got
left behind in vc_image.h leading to duplication and
confusion. Clean it up.
Dave Stevenson [Fri, 21 Jul 2017 23:34:34 +0000 (00:34 +0100)]
IL ISP: Add option for adjusting the input CCM
Two new parameters:
CcmShift shifts the CCM N bits left or right
CustomCcm overrides the defined CCM totally. It is divided by 8
so that the magnitude of samples remains as expected.
Dave Stevenson [Fri, 21 Jul 2017 23:32:46 +0000 (00:32 +0100)]
IL ISP: Add option to alter the shift in the output stage.
Allows data to be packed into the least significant bits of
a 16 bit word.
Tizen Infrastructure [Wed, 19 Jul 2017 10:44:26 +0000 (10:44 +0000)]
Initial empty repository
m00fighter [Thu, 13 Jul 2017 09:19:30 +0000 (12:19 +0300)]
Raspicam: Add command line option for flicker avoidance (#406)
Make it possible to control flicker avoidance from command line.
Option "--flicker" or "-fli", with values of "off", "auto", "50hz" or "60hz".
Dave Stevenson [Tue, 11 Jul 2017 13:24:34 +0000 (14:24 +0100)]
MMAL/RIL: Add mapping for OMX_IndexConfigCommon[In|Out]putCrop
InputCrop is supported by resize (and soon vc.ril.isp).
MMAL/RIL: Add MMAL_PARAMETER_RESIZE_PARAMS / OMX_IndexParamResize mapping
Used by the resize component as an alternative way of setting up
the resize parameters.
IL ISP: Add black level and lens shading controls
Lens shading takes the same form as the override used on
the camera component.
Dave Stevenson [Tue, 11 Jul 2017 13:24:05 +0000 (14:24 +0100)]
vc_image/mmal/il/isp: Add support for 16bit/component YUV420 and YUVUV
popcornmix [Wed, 31 May 2017 13:39:25 +0000 (14:39 +0100)]
vcdbg: Don't use dma when file provided
Dave Stevenson [Tue, 13 Jun 2017 17:05:59 +0000 (18:05 +0100)]
vc_image/mmal/il/isp: Add support for 16bit/component YUV420 and YUVUV
Adopt 64pixel/128byte wide columns for YUV_UV_16 so that the strides
work out the same as YUV_UV.
Plumbed int through vc_image for basic setup.
OpenMaxIL/MMAL have the plumbing in place.
IL "source" component can generate YUV420_16, YUV_UV_128, or
YUVUV_16 for most patterns. (YUVUV_128 and YUVUV_16 produce
different results to other formats for random. YUVUV_16 also
produces a doubled slope angle for diagonal)
IL "isp" component will accept them as input formats.
Dave Stevenson [Tue, 13 Jun 2017 16:58:36 +0000 (17:58 +0100)]
vc_image: Remove structure definition duplication
interface/vctypes/vc_image_structs.h gained all the
VC_IMAGE structures, but they didn't removed from
helpers/vc_image/vc_image.h.
Remove this duplication.
Phil Elwell [Wed, 31 May 2017 09:21:16 +0000 (10:21 +0100)]
dtoverlay: Short-circuit empty parameter handling
Return success early if a parameter declaration has an empty body,
to avoid mallocing a zero-length block and save time.
popcornmix [Tue, 30 May 2017 14:59:10 +0000 (15:59 +0100)]
tvservice: Avoid referencing uninitialised state when unsuccessful
Dave Stevenson [Tue, 16 May 2017 12:54:22 +0000 (13:54 +0100)]
Camera/tuner: Allow client to override lens shading table.
Provide a mechanism to push an amended lens shading table
for when the user has changed the optics significantly.
It disables all ALCS and other manipulation of the table.
Provided table copies part of the OMAP3 style, taking a 64x64
grid of values. Each value is 3p5 fixed point representation,
same OMAP mode 6
0x6: Coded as 3-bit integer, 5-bit fraction Range from 0
to 7+31/32
Dave Stevenson [Thu, 9 Mar 2017 10:39:09 +0000 (10:39 +0000)]
MMAL: Add support for the missing raw12, raw16, and 10to8dpcm formats
Fill in the gaps in the 4CCs and mapping tables.
Used the V4L2 4CCs where they are defined.
popcornmix [Tue, 16 May 2017 12:50:54 +0000 (13:50 +0100)]
vc_image: Add VC_IMAGE_PROP_VPITCH property
Phil Elwell [Mon, 15 May 2017 11:14:05 +0000 (12:14 +0100)]
dtoverlay app: Add the -D (dry-run) option
Dry-run mode does the same processing as adding an overlay, but instead
of submitting the overlay to the kernel it saves the result in
"dry_run.dtbo" in the current directory. This feature is provided as a
diagnostic aid - when combined with the dtmerge command it allows one
to simulate the application of an overlay in the same manner as the
dynamic overlays are applied.
Phil Elwell [Mon, 15 May 2017 11:04:48 +0000 (12:04 +0100)]
dtoverlay: Update fixups when a node is renamed
When the firmware applies an overlay it processes the fixups before
applying any parameters. Under Linux, parameters are handled by the
dtoverlay/dtparam application before submission to the kernel, which
is where the fixups are applied. As a consequence, fixups must be
modified if they refer to nodes which are renamed as the result of
using a parameter.
The process of updating the fixups (and symbols, in case the kernel
cares in the future) is too heavyweight to want the firmware to
do it unnecessarily, so internally use the fact that the fixups
have been applied as an indication that they no longer need to be
patched.
See: https://github.com/raspberrypi/linux/issues/2002
Phil Elwell [Mon, 27 Mar 2017 13:50:25 +0000 (14:50 +0100)]
dtoverlay: Change node address when "reg" is set
The DT parameter mechanism has long needed the ability to change node
names to allow the same overlay to be used repeatedly. Many such use
cases can be handled by simply patching the address part of the node
name when the node's "reg" property is written.
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=178721
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
hexameron [Fri, 21 Apr 2017 09:00:30 +0000 (09:00 +0000)]
Make vchiq_test functional test more interesting.
Helps show Linux 4.11 failure with cache flushing.
Chris Salisbury [Sun, 16 Apr 2017 12:13:58 +0000 (21:13 +0900)]
Escaped the * characters
The example split command reads incorrectly due to *68* being interpreted as italics in markdown (i.e. it is the equivalent of <i>68</i> in html).
Dave Stevenson [Tue, 4 Apr 2017 14:42:05 +0000 (15:42 +0100)]
RaspiVid: Fix typo in help text for network streaming example.
s\raspvid\raspivid
Dave Stevenson [Thu, 23 Mar 2017 09:58:39 +0000 (09:58 +0000)]
Use nproc build jobs
Fixes #377.
Replace hard coded -j6 in make lines for -j `nproc`
to adopt the same number of jobs as processor cores.
Discussion abounds as to whether there is a better
multiple for CPU vs I/O speeds, but it's better than
always using 6.
Dave Stevenson [Mon, 27 Feb 2017 17:38:14 +0000 (17:38 +0000)]
Raspivid: fix uninitialised variable issue
If going through the "if (pState->netListen)" path,
sfd could potentially uninitialised before it is
used in fdopen.
Initialise to -1 and check it is >= 0 before use.
Dave Stevenson [Mon, 27 Feb 2017 17:23:15 +0000 (17:23 +0000)]
raspividyuv: Update file handling to include network and pts.
Copy open_filename and support code from raspivid to include
streaming to a network, and saving timestamps to a 2nd file handle.
Dave Stevenson [Mon, 27 Feb 2017 16:38:17 +0000 (16:38 +0000)]
Raspicam: Enable zero copy for the two raw capture apps
raspiyuv and raspividyuv are both shifting a fair amount
of data around and currently doing a copy through VCHI.
Enable zero copy to reduce this overhead. This does add
a dependency on VCSM, but that has been in the standard
builds for several years.
Mike [Wed, 22 Mar 2017 02:35:36 +0000 (11:35 +0900)]
Update comment for vc_dispmanx_resource_read_data
I think this is copying data *from* VideoCore memory, not *to" VideoCore memory.
popcornmix [Fri, 17 Mar 2017 13:16:44 +0000 (13:16 +0000)]
cmake: Install user-vcsm.h to opt/vc/include/interface/vcsm
popcornmix [Tue, 21 Mar 2017 20:52:52 +0000 (20:52 +0000)]
warnings: Fix some mostly spurious warnings
These are triggered when building with -O2 (with firmware compiler)
Phil Elwell [Wed, 15 Mar 2017 12:34:00 +0000 (12:34 +0000)]
dtoverlay: Make empty alias a valid string
dtoverlay_get_alias returns a string with no length indication. In
the case that the alias is present but empty, return an empty string.
Phil Elwell [Wed, 15 Mar 2017 13:26:38 +0000 (13:26 +0000)]
dtoverlay: Add dt_node_is_enabled
popcornmix [Tue, 21 Mar 2017 20:49:16 +0000 (20:49 +0000)]
gpu_service: Add deinit call when service is finished with
This allows the auto turbo mode to be disabled when done
Khem Raj [Sat, 11 Mar 2017 08:51:44 +0000 (00:51 -0800)]
bcm_host: Honor previously set value of CMAKE_SHARED_LINKER_FLAGS
This fixes the problem where linker flags coming from top level
makefiles or environment are no longer respected anymore. This
is for example important to pass hardening flags to the build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Dave Stevenson [Thu, 2 Mar 2017 00:34:40 +0000 (00:34 +0000)]
ILCamera: Add option to disable ISP processing stages
Opaque 32bit bitmask. Bottom 16 bits -> bayer_en.
Top 16 bits to ycbcr_en.
Critical blocks (eg Bayer/YUV input, resizes, and output
formatters) are masked out so the pipeline shouldn't totally
stall.
Dave Stevenson [Thu, 2 Mar 2017 00:33:00 +0000 (00:33 +0000)]
MMAL/IL: Allow video render to take non aligned sliceheight
Components can advertise to mmal_ril that they can take unaligned
nSliceHeight values.
The framework then won't align the sliceheight.
popcornmix [Wed, 1 Mar 2017 23:37:18 +0000 (23:37 +0000)]
cmake: Expose all symbols from vchostif in bcm_host
popcornmix [Thu, 2 Mar 2017 00:10:12 +0000 (00:10 +0000)]
tvservice: Allow progressive composite modes to be chosen
Phil Elwell [Thu, 16 Feb 2017 17:58:08 +0000 (17:58 +0000)]
dtoverlay: find symbols, write properties
Add functions to find nodes by alias or symbol, and write properties.
See: https://github.com/raspberrypi/firmware/issues/613
Dave Stevenson [Sat, 25 Feb 2017 13:02:26 +0000 (13:02 +0000)]
RaspiStill: Fix regression in
d35be767 - uninitialised variable
d35be767 relied on state->width/height being zero before setting
up the defaults, but the state structure is just on the stack
in main() and not initialised.
Initialise the whole structure to 0.
popcornmix [Mon, 13 Feb 2017 18:26:35 +0000 (18:26 +0000)]
gpuserv: Add new vchiq service for executing vpu and qpu jobs
Olga Khylkouskaya [Fri, 10 Feb 2017 20:17:49 +0000 (12:17 -0800)]
Zooming in, out and reset zoom while capturing video. (#360)
* very first draft for zoom, will make nice later, need to switch to other project
* zoom while video is capturing using i, o and r keys
* introduce constants and center zoom
* fixed reseting zoom in first zoom in
* some fixes from code review, not all for now
* removed wrong line
* added help for zoom change
* code review fixes
* renamed zoom command
popcornmix [Wed, 8 Feb 2017 19:28:55 +0000 (19:28 +0000)]
cec: Mark deprecated functions
popcornmix [Wed, 16 Nov 2016 22:08:44 +0000 (22:08 +0000)]
debug_sym: Use pointer type for user address
Anthony Ryan [Sun, 5 Feb 2017 02:42:25 +0000 (21:42 -0500)]
Add pkg-config file for mmal
Also adds a pkg-config file for vcsm, which mmal depends upon for
zero copy buffers.
Dave Stevenson [Mon, 6 Feb 2017 13:15:48 +0000 (13:15 +0000)]
RaspiStill: Read sensor information correctly if one of each type is attached.
On a CM with one OV5647 and one IMX219, the setup of whichever sensor
is camera 0 was taken for both sensors. That meant the default resolution
and EXIF headers were wrong for the second camera.
Adrian Antunez [Thu, 26 Jan 2017 09:33:42 +0000 (10:33 +0100)]
Fixed dummy error: SIGUSR2 should capture and exit even if verbose is false
James Hughes [Tue, 17 Jan 2017 10:33:40 +0000 (10:33 +0000)]
raspicam: Fix for Luma mode double sized files in timelapse
Implemented a fix provided by 6x9, ensures that zero or small
camera callback buffer lengths are handled correctly
Fix for issue 365
James Hughes [Tue, 24 Jan 2017 10:14:18 +0000 (10:14 +0000)]
RaspiStill.c : Fixed a typo
Missing n in \n when displaying app name
Phil Elwell [Tue, 24 Jan 2017 10:19:32 +0000 (10:19 +0000)]
Merge pull request #368 from AdrianAntunez/master
Added SIGUSR2 signal to capture and exit immediatelly
Adrian Antunez [Tue, 24 Jan 2017 09:01:38 +0000 (10:01 +0100)]
Added SIGUSR2 signal to capture and exit immediatelly
maroviher [Fri, 13 Jan 2017 17:29:29 +0000 (18:29 +0100)]
Fixed segmentation fault by parsing a network target file name if no port given (raspivid -o tcp://1.1.1.1). (#359)
Added listening mode for tcp (e.g. raspivid -l -o tcp://192.168.0.1:5001)
droogmic [Fri, 13 Jan 2017 17:20:07 +0000 (18:20 +0100)]
Fix typo RaspiStill.c (#364)
cameara to camera
Tim Gover [Thu, 21 Apr 2016 20:09:38 +0000 (21:09 +0100)]
Example code for storing a FBO in VC shared memory
Add a new RaspiStill example scene (vcsm_square) that shows how to
render a camera buffer using a GLES2 shader to an frame-buffer texture
in shared memory. The texture is then modified by the CPU and drawn to
the window surface.
The example just draws an animated rectangle to demonstrate that the
pipeline is working. A more interesting example might use a GL
shader to do edge detect, pass the output to OpenVC and then render
or composite the result.
To run 'raspistill --gl --glscene vcsm_square'
Tim Gover [Thu, 21 Apr 2016 21:03:06 +0000 (22:03 +0100)]
Add EGL client support for EGL_IMAGE_BRCM_VCSM
Allocate a VCSM buffer using the dimensions supplied by the caller and
pass the vc mem-handle to 3D driver.
N.B. This API requires an update to the VideoCore firmware. If the update
is not present then eglCreateImageKHR will return an error if VCSM EGL
images are requested.
If HAVE_VCSM is defined then EGL is statically linked with libvcsm,
otherwise, libvcsm is loaded lazily as a plug-in when the first VCSM
EGL vcsm image target is requested.
Tim Gover [Thu, 21 Apr 2016 21:00:14 +0000 (22:00 +0100)]
Define target for new EGL_IMAGE_BRCM_VCSM EGL extension
Define the target for EGL images stored in VideoCore shared memory.
Khem Raj [Mon, 21 Nov 2016 12:08:04 +0000 (04:08 -0800)]
vcfilesys.c: Use PRId64 c99 type for printing 64bit integer in portable way (#358)
Fixes building this file on 64bit arm
error: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Phil Elwell [Thu, 17 Nov 2016 17:28:04 +0000 (17:28 +0000)]
vchiq_test: Fix client race condition
There is a potential race between the callback thread and the main test
thread when switching between asynchronous and synchronous modes.
The vchi_clnt_callback function tries to rapidly swallow zero-length
pong packets in asynchronous mode by looping in the callback until the
message queue is emptied. There is a danger that if the main test thread
switches to synchronous mode before the callback thread notices the
queue is empty that the callback thread will erroneously receive the
synchronous pong packet.
Remove the race by forcing the callback thread to leave dequeue loop
when a sync point (non-zero length reply) is received.
See: https://github.com/raspberrypi/linux/pull/1717
Khem Raj [Thu, 18 Feb 2016 09:04:46 +0000 (09:04 +0000)]
Fix enum conversion warnings
Signed-off-by: Khem Raj <raj.khem@gmail.com>
popcornmix [Mon, 14 Nov 2016 16:01:04 +0000 (16:01 +0000)]
vcdbg: Use dma driver to access gpu memory
Adam Heinrich [Fri, 11 Nov 2016 13:30:48 +0000 (14:30 +0100)]
RaspiVid: Add raw (YUV420, RGB or grayscale) video output
The raw video output is useful for image processing applications where
both motion vectors from encoder and image data are needed. This commit
adds a new --raw option which inserts a video splitter component between
camera's preview output and preview's input, which allows us to set
callback to capture raw video data into a file.
Another option --raw-format is introduced which allows us to choose
YUV420, RGB or grayscale format.
Parts of the code (video output format configuration and
splitter_buffer_callback()) come from RaspiYUV.c.
The splitter component is created only if the --raw option is specified.
Signed-off-by: Adam Heinrich <adam@adamh.cz>
Khem Raj [Sat, 12 Nov 2016 20:32:25 +0000 (12:32 -0800)]
mmal: Add missing struct field definition (#355)
Fixes
util/mmal_il.c:776:35: error:
implicit conversion from enumeration type 'enum OMX_BAYERORDERTYPE' to different enumeration type
'OMX_COLOR_FORMATTYPE' (aka 'enum OMX_COLOR_FORMATTYPE') [-Werror,-Wenum-conversion]
{MMAL_ENCODING_UNKNOWN, OMX_BayerOrderMax}
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Dave Stevenson [Thu, 10 Nov 2016 23:17:23 +0000 (23:17 +0000)]
RaspiVid: Segment PTS file too if set
IMV and encoded video streams would be segmented
by the -sg option, but not the PTS file. Segment
PTS file too.
Dave Stevenson [Thu, 10 Nov 2016 23:15:33 +0000 (23:15 +0000)]
RaspiVid: -sg option could try opening "null" file
https://github.com/raspberrypi/userland/issues/346
RaspiVid with -sg set but no IMV filename would
try to update to a new IMV file for which it didn't
have a filename.
Dave Stevenson [Thu, 10 Nov 2016 22:36:52 +0000 (22:36 +0000)]
Raspistill: Only fail setting restart int if not 0
Older firmwares don't support setting the JPEG
restart interval, but RaspiStill will abort if
it fails.
Only abort if the restart interval is non-zero
(ie other than the default) and it fails.
Andrew Wedgbury [Mon, 31 Oct 2016 15:59:14 +0000 (15:59 +0000)]
hello_pi: Add hello_mmal_encode example (#349)
hello_mmal_encode: Updates following PR comments
hello_mmal_encode: Change indent to match other examples
Phil Elwell [Sun, 30 Oct 2016 19:14:41 +0000 (19:14 +0000)]
Merge pull request #353 from Electron752/master
Fix arm64 issues vchiq_test
luked99 [Sun, 30 Oct 2016 13:22:07 +0000 (13:22 +0000)]
buildme: fix whitespace (#352)
No changes other than whitespace.
Ryan Finnie [Wed, 19 Oct 2016 23:12:14 +0000 (23:12 +0000)]
Add ARM64 CMake variable for 64-bit targets
At the moment, much of the codebase compiles on 64-bit targets, but not
all (mostly 32-bit assembly). -DARM64=ON allows for skipping
directories which currently do not compile correctly.
This is backwards compatible with existing behavior (i.e. no -DARM on a
32-bit target compiles everything as before), and hopefully will
ultimately become unnecessary as remaining components are fixed for
64-bit use.
Michael Zoran [Sun, 30 Oct 2016 03:07:45 +0000 (20:07 -0700)]
vchiq_test: Fix race condition in clnt_callback
In clnt_callback in the message available path, the
message may be released before it is inspected. This can
cause the message to not be recognized and the necessary event
signaled causing the test to hang.
The solution is to store the header size in a variable before
it is released.
Michael Zoran [Sun, 30 Oct 2016 02:58:06 +0000 (19:58 -0700)]
Fix the minimum amount of pointer size related issues
in vchiq_test to allow the tests to function/pass on
a arm64 kernel.
Peter Harliman Liem [Sat, 29 Oct 2016 21:17:59 +0000 (05:17 +0800)]
Add end bracket for cpp extern (#351)
The missing bracket would cause compilation error in cpp.
popcornmix [Tue, 25 Oct 2016 15:34:14 +0000 (16:34 +0100)]
vc_image: Include colourspace in RGB to YUV conversions
Dave Stevenson [Tue, 25 Oct 2016 15:33:06 +0000 (16:33 +0100)]
Video_decode: Check licenced codecs at component create
Check licence state of each codec at component create.
Only advertise licenced codecs through OMX_IndexParamVideoPortFormat/
MMAL_PARAMETER_SUPPORTED_ENCODINGS.
Do not allow OMX_IndexParamPortDefinition to be set to an
unlicenced codec type.
MMAL_IL code modified to return MMAL_ENCODING_WVC1 as first
match for OMX_VIDEO_CodingWMV. It's the main supported variant
on Pi.
Dave Stevenson [Tue, 25 Oct 2016 15:32:09 +0000 (16:32 +0100)]
MMAL: Add parameters to configure source pattern
Mapping for OMX_IndexParamSource
Dave Stevenson [Tue, 25 Oct 2016 15:30:49 +0000 (16:30 +0100)]
IL ISP: Major updates.
Supports Bayer (needs more pipe tweaks)
Add RGB565 and RGBA input formats
Add RGB output formats
Corrects RGB888/BGR888 colour ordering.
Correct buffer flag handling.
Return buffers after checking for new buffers to fully utilise
the pipe if buffer callbacks are taking some time.
popcornmix [Thu, 20 Oct 2016 14:49:09 +0000 (15:49 +0100)]
mmal: improvements to mmal_queue code
removes the unecessary post from mmal_queue_(timed)wait
and the sanity check if we don't have asserts enabled
popcornmix [Mon, 3 Oct 2016 16:07:44 +0000 (17:07 +0100)]
Merge pull request #341 from luked99/warnings/vcos_verify
Warnings/vcos verify
Luke Diamand [Thu, 29 Sep 2016 19:12:11 +0000 (20:12 +0100)]
fix vcos_verify() warning: replace _verify() with _assert()
vcos_verify() returns an rvalue which the compiler expects to be
used and warns about.
In this usage of vcos_verify() it looks like vcos_assert()
would be better, since this code path should never be taken.
Luke Diamand [Thu, 29 Sep 2016 19:14:13 +0000 (20:14 +0100)]
vcos_verify() warnings - discard result from vcos_verify()
It looks like vcos_verify() is being used here to enable
better debugging (hit a breakpoint if we ever take this code
path and drop into a debugger, but in normal use do nothing).
The compiler now warns about the ignored vcos_verify() rvalue,
so just cast the result to (void).
popcornmix [Thu, 29 Sep 2016 19:10:55 +0000 (20:10 +0100)]
Merge pull request #340 from luked99/buildme-shell-expansion
buildme: avoid shell expansion of tr expression
Luke Diamand [Mon, 26 Sep 2016 21:05:36 +0000 (22:05 +0100)]
buildme: avoid shell expansion of tr expression
Quote the tr expression to prevent the shell expanding it if
there happens to be a file called [a-z] or [A-Z], for example, a
file called "a".
popcornmix [Thu, 29 Sep 2016 18:40:16 +0000 (19:40 +0100)]
Merge pull request #336 from luked99/warnings/remove-vcos-get-free-mem
Remove vcos_get_free_mem()
popcornmix [Thu, 29 Sep 2016 18:40:04 +0000 (19:40 +0100)]
Merge pull request #335 from luked99/warnings/fix-unused-definition
Fix definition of UNUSED(x)
popcornmix [Thu, 29 Sep 2016 11:49:36 +0000 (12:49 +0100)]
Merge pull request #338 from adamheinrich/raspivid_unified_fopen
RaspiVid: Make open_filename() unified
Luke Diamand [Fri, 23 Sep 2016 22:22:05 +0000 (23:22 +0100)]
Deprecate pthreads vcos_get_free_mem()
The pthreads version of vcos_get_free_mem() isn't used anywhere
and causes compiler warnings due to its use of sbrk() without
the relevant #defines.
Ideally it should look at something like /proc/vmstat, but
that's not what it does.
So turn it into a stub function and mark it deprecated. The
VMCS version will carry on working as before.
See issue #316.