Commit Graph

18 Commits

Author SHA1 Message Date
popcornmix
f97b1af1b3 Revert "Add MMAL and MMAL_APPS to 64bit builds"
This reverts commit 7d3c6b9f4c.
2020-05-28 15:02:54 +01:00
Dave Stevenson
7d3c6b9f4c Add MMAL and MMAL_APPS to 64bit builds
Drops
host_applications/android/apps/vidtex
interface/mmal/openmaxil
interface/mmal/client(/brcmjpeg)
as they aren't directly supported and need further fixup for 64bit.
2019-12-11 14:04:13 +00:00
Conn O'Griofa
5070cb7fc1 Remove legacy pkgconfig to avoid Mesa conflicts
When building software targeting Pi, it's common practice to use
the pkgconfig to assist building by specifying PKG_CONFIG_PATH.

Unfortunately, the presence of the legacy pkgconfig that conflict with
Mesa's libraries will cause issues for users that build against the
firmware pkgconfig, but wish to target Mesa. (Pi 4B or earlier revisions
using the f/kms overlay).

Although a possible workaround may be to omit the custom PKG_CONFIG_PATH
of the firmware pkgconfig during build, there are plausible use cases in
which to target a software build against Mesa whilst also leveraging
the non GL-specific firmware libraries (e.g. MMAL for hardware codec support
that works on the FKMS overlay, or BCM_HOST for basic board detection).

Note: this conflict is already resolved via the Raspbian packages by deliberately
omitting the conflicting .pc files during the packaging stage; see https://github.com/raspberrypi/firmware/issues/857
2019-10-24 08:16:46 +01:00
Anthony Ryan
4ae82611f3 Add pkg-config file for mmal
Also adds a pkg-config file for vcsm, which mmal depends upon for
zero copy buffers.
2017-02-08 19:26:09 +00:00
Ryan Finnie
1250b73f53 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.
2016-10-30 12:58:02 +00:00
Luke Diamand
d9ffcca70e Remove the unused usbdk code
This code does not get used for anything, and simply generates
compiler warnings which can't easily (if at all) be fixed. Remove
it.
2016-09-02 21:02:56 +01:00
popcornmix
dd98890106 makefile: Switch to building and using GL libs with custom names 2016-07-05 21:53:19 +01:00
Khem Raj
05d60a01d5 cmake: generate and install pkgconfig files
many packages expect packageconfig support especially for detecting EGL
libraries. This patch helps in compiling those packages on RPi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-05-31 19:52:34 +01:00
popcornmix
930ecc100b dtoverlay: Add makefile updates 2016-03-16 00:32:53 +00:00
popcornmix
6bdc6fef56 cmake: define PROJECT_APIVER
this helps in compiling components which use packageconfig to poke for
library versions and requiring minimum supported version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-02-16 00:27:43 +00:00
popcornmix
c5341f09dc cmake: Add -fPIC to avoid linking issues with Pi2 compile flags 2015-02-13 12:38:04 +00:00
popcornmix
99dd0f0ec8 mmal: Add MMAL container parsing code 2014-09-15 22:57:46 +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
Dom Cobley
bf389223da mmal: Avoid building mmal components and add rules for mmal_vc_diag 2013-11-17 13:04:13 +00:00
SnowLeopard71
cea7c5c6e8 add -D_FILE_OFFSET_BITS=64 to fix 2gb file size limit
Fix 2gb file size limit by adding missing -D_FILE_OFFSET_BITS=64.
Previous pull request applied on 'next' branch instead of 'master'
2013-10-25 12:14:09 -04:00
Ben Avison
71c8628b19 Accelerated the khrn_hashword() function.
This function has been reimplemented in assembly, so that the data to be
processed can be preloaded ahead of when it is needed. To suit the quirks
of the BCM2708 L2 cache, each 32-byte cache line is preloaded only once,
and only at its lowest address. Speed improvements of up to 2.2x have been
measured over the un-optimised code.
2013-01-21 16:14:29 +00:00
Dom Cobley
9852ce2882 Update master branch to next 2012-12-27 19:00:17 +00:00
popcornmix
729c0e6562 Initial import of userland code 2012-10-24 11:42:57 +01:00