• J
    (API Change) libobs: Add bicubic/lanczos scaling · c8822055
    jp9000 提交于
    This adds bicubic and lanczos scaling capability to libobs to improve
    scaling quality and sharpness when the output resolution has to be
    scaled relative to the base resolution.  Bilinear is also available,
    although bilinear has rather poor quality and causes scaling to appear
    blurry.
    
    If the output resolution is close to the base resolution, then bilinear
    is used instead as an optimization, as there's no need to use these
    shaders if scaling is not in use.
    
    The Bicubic and Lanczos effects are also exposed via exported function
    to allow the ability to use those shaders in plugin modules if desired.
    
    The API change adds a variable 'scale_type' to the obs_video_info
    structure that allows the user interface to choose what type of scaling
    filter should be used.
    c8822055
obs-video.c 13.5 KB