Exemple #1
0
  /**
   * Returns a reference to the subband tree structure representing the subband decomposition for
   * the specified tile-component.
   *
   * <p>This method gets the subband tree from the source and then calculates the magnitude bits for
   * each leaf using the method calcSbParams().
   *
   * @param t The index of the tile.
   * @param c The index of the component.
   * @return The subband tree structure, see SubbandAn.
   * @see SubbandAn
   * @see Subband
   * @see #calcSbParams
   */
  public SubbandAn getAnSubbandTree(int t, int c) {
    SubbandAn sbba;

    // Ask for the wavelet tree of the source
    sbba = src.getAnSubbandTree(t, c);
    // Calculate the stepWMSE
    calcSbParams(sbba, c);
    return sbba;
  }
Exemple #2
0
 /**
  * Returns the vertical offset of the code-block partition. Allowable values are 0 and 1, nothing
  * else.
  */
 public int getCbULY() {
   return src.getCbULY();
 }