code: private boolean isRenditionMatchSizeSameSmaller(MediaFormat mediaFormat, MediaFormat mediaFormatRequested) {
      long widthRequested = mediaFormatRequested.getEffectiveMinWidth();
      long heightRequested = mediaFormatRequested.getEffectiveMinHeight();
  
      long widthMin = mediaFormat.getEffectiveMinWidth();
      long heightMin = mediaFormat.getEffectiveMinHeight();
  
      return widthMin <= widthRequested && heightMin <= heightRequested;
    }
docs: Checks if the given media format size is same size or smaller than the requested one.
  @param mediaFormat Media format
  @param mediaFormatRequested Requested media format
  @return true if media format is same size or smaller