// ** Adaptive strobe (not compatible with LCD_ANTIGHOSTING):**
//     Similar to black frame insertion, this works by alternating the image
//     brightness across frames and subframes (enabling the latter is recommended).
//     Doing so, will reduce the motion induced blur and image clarity, hopefully
//     approaching CRT behaviour.
//
//     Strength:
//         This modulates the clarity and the perceived flickering.
//     Hard limit strobe effect to:
//         This limit the maximum oscillation to reduce flickering on mid-tones
//     Gain adjustment, post gamma adjustment, Less gain on dark colors:
//         Since the perceived image depends on the display pixel refresh speed,
//         it may be needed to adjust this.
//     LCD Retention workaround cadence (frames):
//         Some (IPS?) panels may suffer from temporary image retention when BFI/like is used.
//         This parameter will invert the flipping every number of frames configured
//         hopefully preventing that issue.


#ifndef DO_ADPT_STROBE_PLUGIN
#define DO_ADPT_STROBE_PLUGIN
#endif

#pragma parameter ADPT_STROBE_STR	            "[Plugin] Adaptive Strobe ≈BFI Strength:"   0.8   0.0  1.0  0.05
#pragma parameter ADPT_STROBE_CEIL              "   .   Hard limit strobe effect to (less is more):"   0.5   0.0  0.5  0.05
#pragma parameter ADPT_STROBE_GAIN_ADJ          "   .   Gain adjustment"    0.9   0.0  1.0  0.05
#pragma parameter ADPT_STROBE_GAIN_ADJ_NODARK   "          Less gain on dark colors"    1.0   0.0  1.0  0.05
#pragma parameter ADPT_STROBE_GAMMA_ADJ         "   .   Post Gamma adjustment"   0.9   0.5  4.0  0.05
#pragma parameter ADPT_LCD_RETENTION_FIX        "   .   LCD Retention workaround cadence (frames)"   3600.0   0.0  300000.0  50.0
#pragma parameter ADPT_STROBE_SELECTIVE         "   .   Apply only to moving areas (subframes unsupported)"    0.0   0.0  1.0  1.0
#pragma parameter LABEL9999 " " 0 0 0 1
