MCPcopy Create free account
hub / github.com/YACReader/yacreader / changeBrightness

Function changeBrightness

YACReader/render.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27inline int changeBrightness(int value, int brightness)
28{
29 return kClamp(value + brightness * 255 / 100, 0, 255);
30}
31
32inline int changeContrast(int value, int contrast)
33{

Callers 1

setFilterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected