obs-studio/libobs
jp9000 05fc9c5b78 libobs: Fix calculation copying aligned textures
Direct3D textures are usually aligned to a specific pitch, so their
internal width is often not equal to the expected output width; this
means that if we want to use it on our texture output, that we must
de-align the texture while copying the texture data.

However, I unintentionally messed up the calculation at some point with
RGBA textures, so the variable size I was supposed to be using was
supposed to be multiplied by 4 (for RGBA), while I was still expecting
single channel data.  So, if the texture width was something like 1332,
the source (directx) texture line size would be somewhere at or above
5328 (because it's RGBA), then destination is at 1332 (YUV luma plane),
and it would unintentionally treat 3996 (or 5328 - 1332) bytes as the
unused alignment data.  So this fixes that miscalculation.
2015-01-14 14:57:27 -08:00
..
callback (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
data Rename parameters to avoid GLSL keyword conflicts 2015-01-08 01:42:22 +01:00
graphics libobs: Add output duplicator support 2015-01-03 02:37:13 -08:00
media-io Set various thread names 2015-01-03 02:37:20 -08:00
util libobs: Add ability to set thread names 2015-01-03 02:37:20 -08:00
CMakeLists.txt libobs: Add win32 crash handler 2015-01-03 02:37:21 -08:00
LibObsConfig.cmake.in cmake: Export plugin data destination 2014-09-27 09:41:32 -07:00
LibObsConfigVersion.cmake.in Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00
obs-audio-controls.c libobs: Fix a few warnings 2014-12-28 01:03:10 -08:00
obs-audio-controls.h libobs: Add peak hold property to volmeter 2014-12-14 18:39:54 +01:00
obs-avc.c libobs: Add function to determine AVC keyframes 2014-12-21 10:14:22 -08:00
obs-avc.h libobs: Add function to determine AVC keyframes 2014-12-21 10:14:22 -08:00
obs-cocoa.c (API Change) Refactor module handling 2014-07-27 17:29:10 -07:00
obs-config.h libobs: Update to 0.7.2 2015-01-06 16:48:06 -08:00
obs-data.c Sort obs_data_items by name 2014-10-01 15:32:49 +02:00
obs-data.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
obs-defs.h Change macro to MODULE_MISSING_EXPORTS for clarity 2014-07-27 17:28:35 -07:00
obs-display.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
obs-encoder.c libobs: Use def. colorspace when scaling encoder 2015-01-03 02:37:19 -08:00
obs-encoder.h libobs: Use extern "C" on export headers if C++ 2014-12-21 10:14:21 -08:00
obs-ffmpeg-compat.h Use propper ffmpeg compatiblity instead of relying on deprecated functions 2014-06-28 20:54:14 +02:00
obs-interaction.h Add interaction support to libobs 2014-09-15 17:19:37 -05:00
obs-internal.h libobs: Add frame caching for async video sources 2015-01-05 02:10:33 -08:00
obs-module.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
obs-module.h Some documentation improvements in obs-module.h 2014-10-19 15:00:07 +02:00
obs-nix.c Merge pull request #326 from azatoth/plugin_lib 2015-01-10 23:50:25 -08:00
obs-output.c libobs: Fix potential crash on output stop 2014-12-31 04:03:45 -08:00
obs-output.h libobs: Use extern "C" on export headers if C++ 2014-12-21 10:14:21 -08:00
obs-properties.c libobs: Return NULL on ending property list string 2015-01-06 01:27:16 -08:00
obs-properties.h libobs: Add obs_property_set_description 2015-01-03 20:46:18 -08:00
obs-scene.c libobs: Prevent infinite source recursion 2014-12-28 01:04:26 -08:00
obs-scene.h Scenes: Implement more item positioning features 2014-06-15 20:33:13 -07:00
obs-service.c (API Change) Pass data to get_properties when possible 2014-10-01 15:39:57 +02:00
obs-service.h libobs: Use extern "C" on export headers if C++ 2014-12-21 10:14:21 -08:00
obs-source.c libobs: Fix cache overflowing (memory leak) 2015-01-06 14:29:40 -08:00
obs-source.h libobs: Refactor source volume transition design 2014-12-28 01:51:43 -08:00
obs-ui.h Revamp API and start using doxygen 2014-02-12 08:04:50 -07:00
obs-video.c libobs: Fix calculation copying aligned textures 2015-01-14 14:57:27 -08:00
obs-view.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
obs-win-crash-handler.c libobs: Add win32 crash handler 2015-01-03 02:37:21 -08:00
obs-windows.c (API Change) Refactor module handling 2014-07-27 17:29:10 -07:00
obs.c libobs: Add win32 crash handler 2015-01-03 02:37:21 -08:00
obs.h libobs: Allow disabling of async video texture 2015-01-03 20:47:29 -08:00
obs.hpp Fix OBSRef move assignment not releasing the previous reference 2014-10-29 16:17:07 +01:00
obsconfig.h.in Export plugin destination and relative prefix to obsconfig.h 2014-07-26 14:27:39 +02:00