• Pavel Rojtberg's avatar
    cap_v4l: implement PROP_CONVERT_RGB · eac5cab5
    Pavel Rojtberg authored
    allows disabling automatic conversion to RGB for certain formats. If
    conversion is disabled the returned image just points to the underlying
    buffer, so no memcpy is performed.
    
    Note that we do not check image size in retrieve frame any more as it
    can not possibly while the device is streaming.
    Furthermore this code was disabled altogether by the wrong ifdef in the
    previous commit.
    eac5cab5
cap_v4l.cpp 77.1 KB