1. 08 7月, 2019 4 次提交
    • 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
      obs-ffmpeg: Remove unnecessary function · 3b581a37
      jp9000 提交于
      This terrible boilerplate code is no longer necessary, as it is now
      fixed by the previous commit.
      3b581a37
    • J
      libobs: Correct raw output starting audio data · 85ca1b69
      jp9000 提交于
      If the audio subsystem was buffered to any extent, the audio of a raw
      output would start off at a negative offset, requiring each raw output
      to implement a "prepare_audio" function (as seen in the FFmpeg output)
      in order to ensure proper synchronization with video.  This did not
      apply to encoded outputs because it was already being performed by the
      obs-encoder code.
      85ca1b69
    • J
      libobs: Add obs_get_frame_interval_ns · 70ecbcd5
      jp9000 提交于
      Returns the current video frame interval between frames, in nanoseconds.
      70ecbcd5
  2. 07 7月, 2019 3 次提交
  3. 02 7月, 2019 2 次提交
  4. 01 7月, 2019 3 次提交
  5. 29 6月, 2019 3 次提交
  6. 27 6月, 2019 3 次提交
  7. 26 6月, 2019 3 次提交
  8. 25 6月, 2019 4 次提交
  9. 24 6月, 2019 2 次提交
    • J
      obs-ffmpeg: Move external headers to external dir · 8c54b7f3
      jp9000 提交于
      Prevents automatic formatting with clang-format
      8c54b7f3
    • 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
  10. 23 6月, 2019 1 次提交
  11. 22 6月, 2019 1 次提交
  12. 19 6月, 2019 2 次提交
    • J
      libobs: Full-screen triangle format conversions · aa22b61e
      James Park 提交于
      The cache coherency of rasterization for full-screen passes is better
      using an oversized triangle that is clipped rather than two triangles.
      Traversal order of rasterization is GPU-specific, but will almost
      certainly be better using an undivided primitive.
      
      A smaller benefit is that quads along the diagonal are not evaluated
      multiple times, but that's minor in comparison.
      
      Redo format shaders to bypass vertex buffer, and input layout. Add
      global shader bool "obs_glsl_compile" to make API-specific decisions,
      i.e. handle upside-down UVs. gl_ortho is not needed for format
      conversion because the vertex shader does not use ViewProj anymore.
      
      This can be applied to more situations, but start small first.
      
      Testbed full screen passes, Intel HD Graphics 530:
      RGBA -> UYVX: 467 -> 439 us, ~6% savings
      UYVX -> uv: 295 -> 239 us, ~19% savings
      aa22b61e
    • J
      Merge pull request #1894 from Rosuav/lock-unlock-event · 6a795d52
      Jim 提交于
      libobs/UI: Implement an item_locked event
      6a795d52
  13. 18 6月, 2019 4 次提交
  14. 17 6月, 2019 1 次提交
  15. 16 6月, 2019 4 次提交