| Constructor and Description |
|---|
AspectRatioResizer(float aspectRatio)
Creates a new resizer.
|
| Modifier and Type | Method and Description |
|---|---|
Size |
getOutputSize(Size inputSize)
Parses the input size and returns the output.
|
public AspectRatioResizer(float aspectRatio)
aspectRatio - the desired aspect ratio@NonNull public Size getOutputSize(@NonNull Size inputSize)
ResizergetOutputSize in interface ResizerinputSize - the input video size