Skip to content

Commit

Permalink
Documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ifb committed Jan 5, 2018
1 parent c69c364 commit 508298c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ References:
Mobius
===

tonemap.Mobius(clip clip[, float exposure=2.0, float transition=0.3])
tonemap.Mobius(clip clip[, float exposure=2.0, float transition=0.3, float peak=1.0])

Generalization of Reinhard to a Mobius transform with linear section. Smoothly maps out-of-range values while retaining contrast and colors for in-range material as much as possible. Use this when you care about color accuracy more than detail preservation.

Expand All @@ -66,14 +66,16 @@ References:
Reinhard
===

tonemap.Reinhard(clip clip[, float exposure=2.0, contrast=0.5])
tonemap.Reinhard(clip clip[, float exposure=2.0, contrast=0.5, float peak=1.0])

* clip: Clip to process. Only planar 32-bit float is supported.

* exposure: Gain to apply.

* contrast: Controls the local contrast coefficient at the display peak. Default to 0.5, which means that in-gamut values will be about half as bright as when clipping.

* peak: Reference peak brightness

#####
References:
<https://www.cs.utah.edu/~reinhard/cdrom/>
Expand All @@ -87,7 +89,7 @@ The usual autotools method:
make
```

On Mingw-64 you can try something like the following:
On Mingw-w64 you can try something like the following:
```
gcc -c tonemap.c -I include/vapoursynth -O3 -ffast-math -mfpmath=sse -msse2 -march=native -std=c99 -Wall
gcc -shared -o tonemap.dll tonemap.o -Wl,--out-implib,tonemap.a
Expand Down

0 comments on commit 508298c

Please sign in to comment.