Module create

Source

Structs

NoiseGenArgs
Settings and video data defining how to generate the film grain params.

Enums

TransferFunction

Constants

BT1886_BLACKPOINT 馃敀
BT1886_GAMMA 馃敀
BT1886_WHITEPOINT 馃敀
PQ_C1 馃敀
PQ_C2 馃敀
PQ_C3 馃敀
PQ_M1 馃敀
PQ_M2 馃敀

Functions

bt1886_alpha 馃敀
The variable for user gain: 伪 = (Lw^(1/位) - Lb^(1/位)) ^ 位
bt1886_beta 馃敀
The variable for user black level lift: 尾 = Lb^(1/位) / (Lw^(1/位) - Lb^(1/位))
bt1886_inv_blackpoint 馃敀
bt1886_inv_whitepoint 馃敀
generate_luma_noise_points 馃敀
generate_photon_noise_params
Generates a set of photon noise parameters for a segment of video given a set of args.
write_film_grain_segment 馃敀
write_grain_table
Write a set of generated film grain params to a table file, using the standard film grain table format supported by aomenc, rav1e, and svt-av1.