obs-studio/libobs/data
James Park c4819678c9 libobs: Fix and simplify Area scale filter
It appears there's a projection flip that is applied in some situations,
like the preview pane in studio mode, and the shader math fails when
it's active causing the output color to be zero. This fixes the math for
GLSL (with a tiny redundancy penalty to HLSL), and cleans up some
unnecessary code along the way.

Use abs() to avoid zero area in case the OpenGL projection flip is
active. Also simplify the math, and remove the unnecessary sampler
state.
2019-04-04 08:39:54 -07:00
..
area.effect libobs: Fix and simplify Area scale filter 2019-04-04 08:39:54 -07:00
bicubic_scale.effect libobs: Add optional ultrawide -> wide scaling techniques 2017-01-30 05:59:17 -08:00
bilinear_lowres_scale.effect libobs: Don't use 'output' as a keyword in shader 2015-04-10 09:58:04 -07:00
default.effect Move all data into the subdir it belongs to 2014-07-19 01:38:41 +02:00
default_rect.effect libobs: Remove need for DrawMatrix technique in effects 2016-03-21 21:22:26 -07:00
deinterlace_base.effect libobs: Fix field order of retro/linear 2x shaders 2016-04-24 01:21:30 -07:00
deinterlace_blend.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
deinterlace_blend_2x.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
deinterlace_discard.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
deinterlace_discard_2x.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
deinterlace_linear.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
deinterlace_linear_2x.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
deinterlace_yadif.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
deinterlace_yadif_2x.effect libobs: Add deinterlacing API functions 2016-03-21 21:22:32 -07:00
format_conversion.effect libobs: Use NV12 textures when available 2019-02-07 17:00:46 -08:00
lanczos_scale.effect libobs: Add optional ultrawide -> wide scaling techniques 2017-01-30 05:59:17 -08:00
opaque.effect libobs: Add obs_get_opaque_effect function 2015-03-22 19:18:04 -07:00
premultiplied_alpha.effect libobs: Add premultiplied alpha base effect 2016-03-26 21:41:49 -07:00
repeat.effect UI: Add scene item canvas overflow to preview 2019-02-08 20:38:53 +13:00
solid.effect libobs: Add random shader 2017-05-06 11:29:24 -07:00