1. 26 1月, 2021 1 次提交
  2. 17 1月, 2021 1 次提交
  3. 14 11月, 2020 1 次提交
    • J
      libobs: Change service max res. to res. list · ebbe8d1b
      jp9000 提交于
      (This commit also modifies rtmp-services and UI)
      
      Changes the maximum resolution size to a resolution list, and splits the
      maximum FPS to its own function.
      
      (Note: ABI has not been modified because the last changes still haven't
      been released yet, so it's safe to modify this as long as the changes
      haven't been officially released)
      ebbe8d1b
  4. 12 11月, 2020 1 次提交
    • J
      libobs: Implement obs_service func to get max bitrates · fb7747c5
      jp9000 提交于
      (This commit also modifies rtmp-services)
      
      Implements obs_service_get_max_bitrate, which allows retrieving the
      maximum audio/video bitrates directly rather than being forced to use
      the apply method. Makes it a bit easier to get the bitrate values.
      fb7747c5
  5. 03 11月, 2020 1 次提交
  6. 02 11月, 2020 1 次提交
  7. 30 10月, 2020 1 次提交
  8. 16 10月, 2020 1 次提交
  9. 11 8月, 2020 2 次提交
  10. 30 7月, 2020 1 次提交
  11. 12 4月, 2020 2 次提交
  12. 15 3月, 2020 1 次提交
  13. 09 3月, 2020 1 次提交
    • J
      libobs: Fix source type versioning system · b2302902
      jp9000 提交于
      (This also modifies image-source, obs-text, text-freetype2, and UI)
      
      This improves source definition versioning.  To do this, it now stores
      two identifier names.  One "unversioned" which is the original name, and
      one "versioned" with the version number appended.
      
      This fixes both backward compatibility with older OBS versions, and
      fixes the inability to use "add existing" in OBS itself on sources
      created from older version definitions.
      b2302902
  14. 01 3月, 2020 1 次提交
  15. 19 2月, 2020 1 次提交
    • J
      libobs: Add obs_encoder_scaling_enabled() · de363d3e
      jp9000 提交于
      Returns whether rescaling is enabled for an encoder.  This will be used
      with texture-based encoders to determine whether to fall back to
      RAM-based encoding instead.
      de363d3e
  16. 08 2月, 2020 1 次提交
    • J
      libobs: Add group functions that can signal refresh · 99e63901
      jp9000 提交于
      Adds API:
      obs_scene_add_group2
      obs_scene_insert_group2
      obs_sceneitem_group_ungroup2
      
      These functions should be used by plugins if they need to use these
      functions and need to send a refresh signal.  If a major API rework ever
      happens the old functions should be removed.  The old functions should
      eventually be deprecated.
      
      The reason why specifying a 'signal' parameter is useful is because it's
      a bit more seamless for the user interface to be able to have custom
      handling of these specific cases.  It looks better and doesn't require
      completely erasing/recreating the entire list, which is visually
      unappealing.
      99e63901
  17. 31 1月, 2020 1 次提交
  18. 28 1月, 2020 1 次提交
  19. 21 1月, 2020 1 次提交
  20. 28 12月, 2019 2 次提交
    • J
      libobs: Add manual transition "torque" support · 2d35f863
      jp9000 提交于
      Allows the ability for manual transitioning to smoothly flow
      (interpolate) to the intended transition point over a short period of
      time rather than simply setting a hard transition point number.  Doing
      this allows manual transitioning to occur more smoothly, and in a more
      visually pleasant way.
      2d35f863
    • C
      libobs: Add manual transitioning support (T-bar) · a97039db
      Clayton Groeneveld 提交于
      Allows the ability to manually specify the transitioning point so the
      user can transition at a custom rate, usually done by a device that can
      be used as a T-bar
      Co-authored-by: NJim <obs.jim@gmail.com>
      a97039db
  21. 25 11月, 2019 1 次提交
  22. 16 10月, 2019 1 次提交
  23. 15 10月, 2019 1 次提交
    • L
      docs/sphinx: Fix various typos · d124e640
      luz.paz 提交于
      (This modifies UI, libobs, deps/obs-scripting, various cmake files)
      
      Found using:
      `codespell -q 3 -S *.ini,./UI/data/locale,./deps/w32-pthreads -L aci,dur,iff,mut,numer,uint`
      d124e640
  24. 20 9月, 2019 2 次提交
  25. 19 7月, 2019 1 次提交
    • J
      libobs: UI: Remove DrawBackdrop() to save fullscreen pass · 3456ed06
      jpark37 提交于
      It's a waste of GPU time to do two fullscreen passes to render final mix
      previews. Use blend states to simulate the black background of
      DrawBackdrop() for the following situations:
      
      - Main preview window (Studio Mode off)
      - Studio Mode: Program
      
      This does not effect:
      
      - Studio Mode: Preview (still uses DrawBackdrop)
      - Fullscreen Projector (uses GPU clear to black)
      - Windowed Projector (uses GPU clear to black)
      
      intel GPA, SetStablePowerState, Intel HD Graphics 530, 1920x1080
      
      Before:
      DrawBackdrop: ~529 us
      main texture: ~367 us (Cheaper than drawing a black quad?)
      
      After:
      [DrawBackdrop optimized away]
      main texture: ~383 us
      3456ed06
  26. 08 7月, 2019 2 次提交
    • J
      libobs: Implement pausing of outputs · 153fa633
      jp9000 提交于
      This implements pausing of outputs.  To accomplish this, raw audio/video
      data is halted to the encoders or raw output.  Pausing is as precisely
      timed as possible according to the timing of the obs_output_pause call,
      and audio data will be spliced down to the exact audio sample in
      accordance to that timing at the start/end marks.
      
      Outputs that support this (outputs used for recording) can set the
      OBS_OUTPUT_CAN_PAUSE capability flag.
      153fa633
    • J
      libobs: Add obs_get_frame_interval_ns · 70ecbcd5
      jp9000 提交于
      Returns the current video frame interval between frames, in nanoseconds.
      70ecbcd5
  27. 24 6月, 2019 1 次提交
    • J
      clang-format: Apply formatting · f53df7da
      jp9000 提交于
      Code submissions have continually suffered from formatting
      inconsistencies that constantly have to be addressed.  Using
      clang-format simplifies this by making code formatting more consistent,
      and allows automation of the code formatting so that maintainers can
      focus more on the code itself instead of code formatting.
      f53df7da
  28. 13 5月, 2019 1 次提交
    • V
      libobs: Add transition and showing counter functions · 52235ba8
      VodBox 提交于
      This commit adds a function to forcefully stop a transition, and to
      increment/decrement the showing counter for a source with the MAIN_VIEW
      type.
      
      These functions are needed for the transition previews to work as
      intended.
      52235ba8
  29. 10 5月, 2019 1 次提交
  30. 26 4月, 2019 1 次提交
    • J
      libobs: Add better default source color range handling · 8d125dc0
      jp9000 提交于
      Fixes handling of the `obs_source_frame::full_range` member variable,
      which is often set to false by default by many plugins even when using
      RGB, which would cause RGB to be marked as "partial range".  This change
      is crucial for when partial range RBG support is implemented.
      
      Adds `obs_source_frame2` structure that replaces the `full_range` member
      variable with a `range` variable, which uses the `video_range_type` enum
      to allow handling default range values.  This member variable treats
      VIDEO_RANGE_DEFAULT as full range if the format is RGB, and partial
      range if the format is YUV.
      
      Also adds `obs_source_output_video2` and `obs_source_preload_video2`
      functions which use the `obs_source_frame2` structure instead of the
      `obs_source_frame` structure.
      
      When using the original `obs_source_frame`, `obs_source_output_video`,
      and `obs_source_preload_video` functions, RGB will always be full range
      by default for backward compatibility purposes.
      8d125dc0
  31. 19 4月, 2019 1 次提交
  32. 22 3月, 2019 1 次提交
    • J
      libobs: Fix ABI break · 70b8f0aa
      jp9000 提交于
      OBS_EFFECT_AREA from 7d811499 was inserted in the middle of the enum,
      which breaks ABI for any binaries that use
      OBS_EFFECT_PREMULTIPLIED_ALPHA or OBS_EFFECT_BILINEAR_LOWRES.
      70b8f0aa
  33. 13 3月, 2019 1 次提交
  34. 07 3月, 2019 1 次提交
    • J
      Add "Area" scale filter · 7d811499
      James Park 提交于
      This new scale filter computes pixels by weighing the coverage area of
      source pixels over the target pixel. This algorithm works well for both
      upsampling and downsampling, but was mainly designed to upscale
      high-quality low-resolution sources like RGB/HDMI retro consoles. I've
      heard of people using odd workarounds like scaling up to very high
      resolutions before scaling back down to preserve pixel shartpness. This
      algorithm directly addresses this use-case in a much more direct
      fashion.
      
      The Area scale filter does a better job of preserving the thickness of
      thin features than the Point filter.
      
      The Area scale filter does not look at source pixels that lie outside
      of the target pixel, leading to a much sharper image than Bilinear,
      Bicubic, and Lanczos filters.
      
      This filter should interpolate pixels in linear space, but OBS is not
      equipped to do that at the moment.
      
      libobs: Add GPU effect, and wire up scene serialization.
      
      obs-filters: Add Area as an option for scale_filter.
      
      UI: Add Area as an option for both scene items, and canvas downscaling.
      7d811499
  35. 27 2月, 2019 1 次提交