mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add java docs for ContrastProcessor constructor.
* Add docs for the public constructor for consistency with all the other frame processors. PiperOrigin-RevId: 473726586
This commit is contained in:
parent
10cb5f17e0
commit
7a460fa3bd
1 changed files with 9 additions and 0 deletions
|
|
@ -32,6 +32,15 @@ import java.io.IOException;
|
||||||
|
|
||||||
private final GlProgram glProgram;
|
private final GlProgram glProgram;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a new instance.
|
||||||
|
*
|
||||||
|
* @param context The {@link Context}.
|
||||||
|
* @param contrastEffect The {@link Contrast} to apply to each frame in order.
|
||||||
|
* @param useHdr Whether input textures come from an HDR source. If {@code true}, colors will be
|
||||||
|
* in linear RGB BT.2020. If {@code false}, colors will be in gamma RGB BT.709.
|
||||||
|
* @throws FrameProcessingException If a problem occurs while reading shader files.
|
||||||
|
*/
|
||||||
public ContrastProcessor(Context context, Contrast contrastEffect, boolean useHdr)
|
public ContrastProcessor(Context context, Contrast contrastEffect, boolean useHdr)
|
||||||
throws FrameProcessingException {
|
throws FrameProcessingException {
|
||||||
super(useHdr);
|
super(useHdr);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue