Package ca.eandb.jmist.framework.loader.openexr.attribute

Examples of ca.eandb.jmist.framework.loader.openexr.attribute.ChannelList.channels()


        ByteBuffer inBuf = ByteBuffer.wrap(buf.getData(), buf.getOffset(), buf.getLength())
            .order(ByteOrder.LITTLE_ENDIAN);

        for (int y = y0; y <= y1; y++) {
          for (Channel channel : chlist.channels()) {
            String name = channel.getName();
            int sx = channel.getxSampling();
            int sy = channel.getySampling();

            if ((y % sy) == 0) {
View Full Code Here


    int y0 = tile.getYMin();
    int x1 = tile.getXMax();
    int y1 = tile.getYMax();

    int size = 0;
    for (Channel channel : chlist.channels()) {
      PixelType type = channel.getPixelType();
      int sx = channel.getxSampling();
      int sy = channel.getySampling();
      int nx = 1 + (x1 - x0 - (x1 % sx)) / sx;
      int ny = 1 + (y1 - y0 - (y1 % sy)) / sy;
View Full Code Here

    ChannelList chlist = getChannelList();
    int tw = tileSize.getX();
    int th = tileSize.getY();

    int size = 0;
    for (Channel channel : chlist.channels()) {
      PixelType type = channel.getPixelType();
      int sx = channel.getxSampling();
      int sy = channel.getySampling();
      int nx = 1 + (tw - 1) / sx;
      int ny = 1 + (th - 1) / sy;
View Full Code Here

      int y1 = Math.min(y0 + cm.getScanLinesPerBlock() - 1, dw.getYMax());
      Box2i block = new Box2i(x0, y0, x1, y1);
      int blockSize = computeTileSize(block);

      for (int y = y0; y <= y1; y++) {
        for (Channel channel : chlist.channels()) {
          String name = channel.getName();
          int sx = channel.getxSampling();
          int sy = channel.getySampling();
          if (y % sy == 0) {
            int nx = 1 + (x1 - x0 - (x1 % sx)) / sx;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.