1. 30 1月, 2017 1 次提交
    • T
      libobs: Add optional ultrawide -> wide scaling techniques · ab3531ca
      Take Vos 提交于
      This algorithm reduces scaling distortion on the center of the image
      when scaling from ultrawide to wide.
      
      (Jim: edited effect files to prevent an impact in performance for
      standard scaling.  Now effectively generates an extra pixel shader, and
      the extra code is only applied to the DrawUndistort technique, while the
      original Draw technique is unaffected due to the compiler automatically
      removing unused code branches via the hard-coded boolean value)
      
      From jp9000/obs-studio#762
      ab3531ca
  2. 25 3月, 2016 1 次提交
  3. 08 1月, 2015 1 次提交
  4. 15 12月, 2014 1 次提交
    • 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