Package 

Class ExactResizer

  • All Implemented Interfaces:
    com.otaliastudios.transcoder.resize.Resizer

    
    public class ExactResizer
     implements Resizer
                        

    A Resizer that returns the exact dimensions that were passed to the constructor.

    • Method Summary

      Modifier and Type Method Description
      Size getOutputSize(@NonNull() Size inputSize) Parses the input size and returns the output.This method should throw an exception if the input size is not processable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExactResizer

        ExactResizer(int first, int second)
      • ExactResizer

        ExactResizer(Size size)
    • Method Detail

      • getOutputSize

        @NonNull() Size getOutputSize(@NonNull() Size inputSize)

        Parses the input size and returns the output.This method should throw an exception if the input size is not processable.

        Parameters:
        inputSize - the input video size