obs-studio/libobs/media-io
jp9000 36ffa65b68 libobs/media-io: Add frame funcs for separate GPU thread
Normally, the total and skipped frame count for the encoder is performed
in the video-io thread.  However, because a new thread is being
introduced for texture-based encoding, the frontend has no way of being
able to query that.  So, instead of making the frontend query that data
separately, just make the texture encoder thread increment the values of
video-io.  That way, the frontend doesn't need to change any code, and
can continue using the same functions for determining the total/skipped
frame count.

This can cause the frame count to be doubled if both a texture-based
encoder and a raw data encoder is active at the same time, but it's an
acceptable alternative.
2019-02-07 17:00:46 -08:00
..
audio-io.c libobs/media-io: Reset audio array for each input 2016-01-26 11:49:36 -08:00
audio-io.h Merge pull request #1139 from takev/pulseaudio-surround-selection 2018-01-19 16:14:04 -08:00
audio-math.h libobs/media-io: Add common audio math functions 2015-06-26 03:40:27 -07:00
audio-resampler-ffmpeg.c libobs/media-io: Change speaker layout to match FFmpeg aac. 2018-02-06 06:14:24 -08:00
audio-resampler.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
format-conversion.c libobs/media-io: Fix decompress_420 function 2017-10-02 07:36:02 -07:00
format-conversion.h libobs: Add packed yuv to planar 4:4:4 conversion 2015-04-16 22:51:31 -07:00
frame-rate.h libobs/media-io: Add frame rate helpers 2015-11-14 15:37:47 +01:00
media-io-defs.h libobs: Move macro to internal C file 2017-10-02 07:36:02 -07:00
media-remux.c libobs/media-io: Prevent overwriting of remux input 2018-08-12 17:06:39 +02:00
media-remux.h Add media remuxer to media-io 2014-10-12 06:27:33 +02:00
video-fourcc.c libobs: Add Y800 color format support 2016-03-24 03:33:35 -07:00
video-frame.c libobs: Add Y800 color format support 2016-03-24 03:33:35 -07:00
video-frame.h libobs/media-io: Add frame copying function 2014-12-31 04:03:45 -08:00
video-io.c libobs/media-io: Add frame funcs for separate GPU thread 2019-02-07 17:00:46 -08:00
video-io.h libobs/media-io: Add frame funcs for separate GPU thread 2019-02-07 17:00:46 -08:00
video-matrices.c libobs: Fix full range min/max output 2015-04-10 07:27:26 -07:00
video-scaler-ffmpeg.c libobs: Add Y800 color format support 2016-03-24 03:33:35 -07:00
video-scaler.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00