• Martin Storsjö's avatar
    omx: Add support for broadcom OMX on raspberry pi · f1cd9b03
    Martin Storsjö authored
    The raspberry pi uses the alternative API/ABI for OMX; this makes
    such builds incompatible with all the normal OpenMAX implementations.
    Since this can't easily be detected at configure time (one can
    build for raspberry pi's OMX just fine using the generic, pristine
    Khronos OpenMAX IL headers, no need for their own extensions),
    require a separate configure switch for it instead.
    
    The broadcom host library can't be unloaded once loaded and started;
    the deinit function that it provides is a no-op, and after started,
    it has got background threads running, so dlclosing it makes it
    crash.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    f1cd9b03
omx.c 33.2 KB