Skip to content
Branch: hello_mmal
Commits on Jan 31, 2018
  1. Raspicam: Verbose does not need to be disabled when writing to stdout

    ledazul authored and 6by9 committed Jan 30, 2018
    When writing to stdout ("-o -") verbose mode was being cancelled
    due to an expected conflict.
    Verbose text actually goes to stderr, so there is no conflict,
    therefore remove the code that was disabling verbose mode.
  2. raspividyuv: Fix saving timestamps.

    6by9 committed Jan 31, 2018
    The copy/paste from raspivid was missing some bits, so
    fix it.
Commits on Jan 29, 2018
  1. Support for independant display configuration

    JamesH65 authored and popcornmix committed Sep 12, 2017
    Add config.txt entries for individual display transposition and
    mods to dispmanx to support it.
    Required (in a way) for new LCD displays that operate by default
    in portrait, where you need to rotate them, but not the HDMI
    Displays info structure now contains information to say what needs to be
    done to the orientation to make it landscape so display driver can
    tell dispmanx whether a transpose is required without configuration
    options needing to be set.
    Three new config.txt flags:
    display_lcd_rotate -specifies rotate of LCD only.
    display_hdmi_rotate - rotate of HDMI/composite only.
    extra_transpose_buffer - allocates an extra transpose buffer when of
    a display is required.
  2. vc_image_helper: Add YUV 16 bit formats to second header

    6by9 authored and popcornmix committed Jan 29, 2018
    Duplicated in vc_image.h and vc_image_helper.h :-(
  3. vc_image: Add VC_IMAGE_TF_U8 and V8 to the ANY_TFORMAT case

    6by9 authored and popcornmix committed Nov 13, 2017
    Thew case_VC_IMAGE_ANY_TFORMAT macro was missing VC_IMAGE_TF_U8
    and VC_IMAGE_TF_V8, so computing the pitch was failing.
    The case described in raspberrypi#433
    is fixed with this.
  4. Video encode: Add option to set number of droppable P frames

    6by9 authored and popcornmix committed Jan 9, 2018
    OMX_IndexParamBrcmDroppablePFrames allowed the codec to be set up
    to make every other P-frame droppable (ie not a refernce frame for
    any subsequent frames).
    Extend this with OMX_IndexParamBrcmDroppableRunLength/
    reference P frames will be inserted.

    6by9 authored and popcornmix committed Nov 13, 2017
    Also adds MMAL_BUFFER_HEADER_FLAG_NAL_END to map to
  6. mmal_il: Add missing mappings for 8 bit Bayer encodings

    6by9 authored and popcornmix committed Nov 29, 2017
    Mappings were missing for MMAL_ENCODING_BAYER_SGRBG8,
    SGBRG8, and SRGGB8. Add them.
  7. gx_create_window error cleanup fix

    piense authored and popcornmix committed Jan 23, 2018
    In the event of an error the cleanup code for gx_create_window() was cleaning up things that hadn't happened and crashing.
  8. Verbose is not disabled when capture is streamed

    ledazul authored and 6by9 committed Jan 29, 2018
    Verbose was being disabled when a capture is sent to stdout, but verbose is sent to stderr, so there is no need to disable it.
Commits on Jan 18, 2018
  1. Install interface/peer headers.

    gamaral authored and popcornmix committed Apr 27, 2014
    Currently vc_vchi_dispmanx.h requires vc_vchi_dispmanx_common.h which is
    not distributed on install. This limits access to the ELEMENT_CHANGE_*
Commits on Jan 3, 2018
Commits on Dec 8, 2017
  1. dtoverlay app: Report unknown parameters in help

    pelwell committed Dec 8, 2017
    dtoverlay and dtparam will now report the first unknown parameter and
    return an error.
    Signed-off-by: Phil Elwell <>
  2. dtoverlay app: Keep overlay symbols private

    pelwell committed Dec 8, 2017
    As of 4.14, the kernel overlay merging includes any symbols defined
    by an overlay, which can cause clashes between overlays (and even
    within them in the case that an overlay deliberately adds a global
    symbol as a way of exporting it to other overlays).
    In future we may choose to make use of this mechanism as a nicer
    way of exporting symbols, but for now just delete all symbols before
    presenting the overlay to the kernel.
    Signed-off-by: Phil Elwell <>
  3. host-apps/dtoverlay: don't install scripts in random location

    yann-morin-1998 authored and pelwell committed Mar 7, 2017
    Currently, we add a custom command that installs the dtoverlay pre/post
    scripts in ${CMAKE_BINARY_DIR}/../../bin
      - this points outside of the package directory; it even points two
        directories higher;
      - when doing cross-compilation, this is definitely not the place where
        the /bin directory really is;
      - the scripts are already properly installed without this code.
    Remove that code, it serves no purpose and breaks for cross-compilation.
    Signed-off-by: "Yann E. MORIN" <>
  4. dtoverlay: Create "/aliases" node when needed

    pelwell committed Nov 29, 2017
    Attempting to add an alias currently fails if there is no
    existing "/aliases" node. Prevent an error by creating one
    as necessary.
    See: raspberrypi/firmware#906
    Signed-off-by: Phil Elwell <>
Commits on Dec 5, 2017
  1. Update

    JamesH65 committed Dec 5, 2017
Commits on Nov 27, 2017
  1. Include stdarg.h in dtoverlay.h

    XECDesign authored and pelwell committed Nov 27, 2017
Commits on Nov 14, 2017
Commits on Nov 3, 2017
  1. RaspiVid: Print message stating TC358743 drivers are unsupported (ras…

    6by9 committed Nov 3, 2017
    Support requests for the TC358743 are getting annoying, so
    state that the drivers are unsupported, and are there on an
    as-is basis.
  2. Merge pull request raspberrypi#438 from maditnerd/patch-1

    JamesH65 committed Nov 3, 2017
    RaspiCamControl.c : Typo in digital gain
Commits on Oct 10, 2017
  1. Raspicam: Add manual controls for analog and digital gain.

    6by9 authored and popcornmix committed Oct 6, 2017
    Requires exposure mode to be left at "auto" (or at least not
    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.
  2. MMAL: Fix example_basic_2 to actually play video

    6by9 authored and popcornmix committed Sep 27, 2017
    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 raspberrypi#285
  3. .gitignore: Ignore typical output files

    6by9 authored and popcornmix committed Aug 21, 2017
  4. mmal_wrapper: Fix a short allocation for pools and queues (raspberryp…

    Terminus-IMRC authored and 6by9 committed Oct 10, 2017
    mmal_component_wrapper: Fix a short allocation for pools and queues
Commits on Oct 6, 2017
  1. tvservice: Avoid unmatched reference counting on attach/unplugged events

    popcornmix committed Sep 15, 2017
    Thanks to Phil for spotting the suspicious code.
    See: raspberrypi/firmware#875
  2. IL Camera: Add manual analog and digital gain controls.

    6by9 authored and popcornmix committed Aug 15, 2017
    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.
Commits on Sep 8, 2017
  1. vcsm: Add dmabuf import function.

    6by9 authored and popcornmix committed Sep 8, 2017
  2. IL/MMAL: Add I420 and YUVUV 10bpp formats

    6by9 authored and popcornmix committed Sep 8, 2017
    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.
Commits on Aug 22, 2017
You can’t perform that action at this time.