code: private boolean isRenditionMatchSizeSameBigger(MediaFormat mediaFormat, MediaFormat mediaFormatRequested) {
      long widthRequested = mediaFormatRequested.getEffectiveMinWidth();
      long heightRequested = mediaFormatRequested.getEffectiveMinHeight();
  
      long widthMax = mediaFormat.getEffectiveMaxWidth();
      long heightMax = mediaFormat.getEffectiveMaxHeight();
  
      return ((widthMax >= widthRequested) || (widthMax == 0))
          && ((heightMax >= heightRequested) || (heightMax == 0));
    }
docs: Checks if the given media format size is same size or bigger than the requested one.
  @param mediaFormat Media format
  @param mediaFormatRequested Requested media format
  @return true if media format is same size or bigger