Package 

Class MultiResizer

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

    
    public class MultiResizer
     implements Resizer
                        

    A Resizer that applies a chain of multiple resizers. Of course order matters: the output of a resizer is the input of the next one.

    • Method Summary

      Modifier and Type Method Description
      void addResizer(@NonNull() Resizer resizer)
      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

      • MultiResizer

        MultiResizer()
    • 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