• Julian Scheel's avatar
    mmal/deinterlace: Do not use local buffer pools · 974e13d7
    Julian Scheel authored
    The mmal deinterlace filter does currently support the mmal opaque encoding
    only and thus must be used together with mmal vout and mmal codec. This
    ensures that pictures being used contain valid mmal buffer headers in the
    picture_sys. Using them instead of locally allocated buffer headers simplifies
    the code and avoids error-prone dangling with the data attached to the buffer
    headers. Furthermore it is a prerequisite to enable zerocopy on the buffer
    ports, which can even be a good thing when using opaque buffers.
    If at some point in time the image_fx component in mmal will be fixed to also
    support I420 input we may reintroduce them for operating this filter
    independently from mmal codec and vout.
    Signed-off-by: default avatarJulian Scheel <julian@jusst.de>
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    974e13d7
deinterlace.c 15.2 KB