class com.sun.javafx.tk.quantum.PixelUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.javafx.tk.quantum.PixelUtils
  super_class: java.lang.Object
{
  private static com.sun.javafx.iio.ImageFormatDescription[] supportedFormats;
    descriptor: [Lcom/sun/javafx/iio/ImageFormatDescription;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 47
            invokestatic com.sun.javafx.iio.ImageStorage.getSupportedDescriptions:()[Lcom/sun/javafx/iio/ImageFormatDescription;
         1: .line 46
            putstatic com.sun.javafx.tk.quantum.PixelUtils.supportedFormats:[Lcom/sun/javafx/iio/ImageFormatDescription;
         2: .line 47
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.javafx.tk.quantum.PixelUtils this
         0: .line 43
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 44
            return
        end local 0 // com.sun.javafx.tk.quantum.PixelUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/javafx/tk/quantum/PixelUtils;

  protected static boolean supportedFormatType(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=2, locals=7, args_size=1
        start local 0 // java.lang.String type
         0: .line 50
            getstatic com.sun.javafx.tk.quantum.PixelUtils.supportedFormats:[Lcom/sun/javafx/iio/ImageFormatDescription;
            dup
            astore 4
            arraylength
            istore 3
            iconst_0
            istore 2
            goto 8
      StackMap locals: java.lang.String top int int com.sun.javafx.iio.ImageFormatDescription[]
      StackMap stack:
         1: aload 4
            iload 2
            aaload
            astore 1 /* ifd */
        start local 1 // com.sun.javafx.iio.ImageFormatDescription ifd
         2: .line 51
            aload 1 /* ifd */
            invokeinterface com.sun.javafx.iio.ImageFormatDescription.getExtensions:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 6
      StackMap locals: java.lang.String com.sun.javafx.iio.ImageFormatDescription int int com.sun.javafx.iio.ImageFormatDescription[] top java.util.Iterator
      StackMap stack:
         3: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 5 /* ext */
        start local 5 // java.lang.String ext
         4: .line 52
            aload 0 /* type */
            aload 5 /* ext */
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 6
         5: .line 53
            iconst_1
            ireturn
        end local 5 // java.lang.String ext
         6: .line 51
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        end local 1 // com.sun.javafx.iio.ImageFormatDescription ifd
         7: .line 50
            iinc 2 1
      StackMap locals: java.lang.String top int int com.sun.javafx.iio.ImageFormatDescription[]
      StackMap stack:
         8: iload 2
            iload 3
            if_icmplt 1
         9: .line 57
            iconst_0
            ireturn
        end local 0 // java.lang.String type
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  type  Ljava/lang/String;
            2    7     1   ifd  Lcom/sun/javafx/iio/ImageFormatDescription;
            4    6     5   ext  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      type  

  public static com.sun.glass.ui.Pixels imageToPixels(com.sun.prism.Image);
    descriptor: (Lcom/sun/prism/Image;)Lcom/sun/glass/ui/Pixels;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=9, locals=10, args_size=1
        start local 0 // com.sun.prism.Image image
         0: .line 61
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getDataType:()Lcom/sun/prism/PixelFormat$DataType;
            astore 1 /* pixelType */
        start local 1 // com.sun.prism.PixelFormat$DataType pixelType
         1: .line 62
            invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
            astore 2 /* app */
        start local 2 // com.sun.glass.ui.Application app
         2: .line 63
            invokestatic com.sun.glass.ui.Pixels.getNativeFormat:()I
            istore 3 /* nativeFormat */
        start local 3 // int nativeFormat
         3: .line 66
            aload 1 /* pixelType */
            getstatic com.sun.prism.PixelFormat$DataType.BYTE:Lcom/sun/prism/PixelFormat$DataType;
            if_acmpne 32
         4: .line 67
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getPixelBuffer:()Ljava/nio/Buffer;
            checkcast java.nio.ByteBuffer
            astore 5 /* bytes */
        start local 5 // java.nio.ByteBuffer bytes
         5: .line 68
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getWidth:()I
            istore 6 /* w */
        start local 6 // int w
         6: .line 69
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getHeight:()I
            istore 7 /* h */
        start local 7 // int h
         7: .line 70
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getScanlineStride:()I
            istore 8 /* scanBytes */
        start local 8 // int scanBytes
         8: .line 72
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getBytesPerPixelUnit:()I
            iconst_3
            if_icmpne 26
         9: .line 73
            iload 3 /* nativeFormat */
            tableswitch { // 1 - 2
                    1: 17
                    2: 10
              default: 24
          }
        10: .line 76
      StackMap locals: com.sun.prism.Image com.sun.prism.PixelFormat$DataType com.sun.glass.ui.Application int top java.nio.ByteBuffer int int int
      StackMap stack:
            iload 6 /* w */
            iload 7 /* h */
            imul
            iconst_4
            imul
            newarray 8
            astore 9 /* newbytes */
        start local 9 // byte[] newbytes
        11: .line 77
            invokestatic com.sun.javafx.image.impl.ByteRgb.ToByteArgbConverter:()Lcom/sun/javafx/image/ByteToBytePixelConverter;
            aload 5 /* bytes */
            iconst_0
            iload 8 /* scanBytes */
        12: .line 78
            aload 9 /* newbytes */
            iconst_0
            iload 6 /* w */
            iconst_4
            imul
        13: .line 79
            iload 6 /* w */
            iload 7 /* h */
        14: .line 77
            invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:(Ljava/nio/ByteBuffer;II[BIIII)V
        15: .line 80
            aload 9 /* newbytes */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 5 /* bytes */
        16: .line 81
            goto 28
        end local 9 // byte[] newbytes
        17: .line 85
      StackMap locals:
      StackMap stack:
            iload 6 /* w */
            iload 7 /* h */
            imul
            iconst_4
            imul
            newarray 8
            astore 9 /* newbytes */
        start local 9 // byte[] newbytes
        18: .line 86
            invokestatic com.sun.javafx.image.impl.ByteRgb.ToByteBgraPreConverter:()Lcom/sun/javafx/image/ByteToBytePixelConverter;
            aload 5 /* bytes */
            iconst_0
            iload 8 /* scanBytes */
        19: .line 87
            aload 9 /* newbytes */
            iconst_0
            iload 6 /* w */
            iconst_4
            imul
        20: .line 88
            iload 6 /* w */
            iload 7 /* h */
        21: .line 86
            invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:(Ljava/nio/ByteBuffer;II[BIIII)V
        22: .line 89
            aload 9 /* newbytes */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 5 /* bytes */
        23: .line 90
            goto 28
        end local 9 // byte[] newbytes
        24: .line 93
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unhandled native format: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* nativeFormat */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        25: .line 95
      StackMap locals:
      StackMap stack:
            goto 28
      StackMap locals:
      StackMap stack:
        26: aload 0 /* image */
            invokevirtual com.sun.prism.Image.getPixelFormat:()Lcom/sun/prism/PixelFormat;
            getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
            if_acmpeq 28
        27: .line 96
            new java.lang.IllegalArgumentException
            dup
            ldc "non-RGB image format"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        28: .line 98
      StackMap locals:
      StackMap stack:
            aload 2 /* app */
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getWidth:()I
        29: .line 99
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getHeight:()I
            aload 5 /* bytes */
        30: .line 98
            invokevirtual com.sun.glass.ui.Application.createPixels:(IILjava/nio/ByteBuffer;)Lcom/sun/glass/ui/Pixels;
            astore 4 /* pixels */
        start local 4 // com.sun.glass.ui.Pixels pixels
        31: .line 100
            aload 4 /* pixels */
            areturn
        end local 8 // int scanBytes
        end local 7 // int h
        end local 6 // int w
        end local 5 // java.nio.ByteBuffer bytes
        end local 4 // com.sun.glass.ui.Pixels pixels
        32: .line 101
      StackMap locals: com.sun.prism.Image com.sun.prism.PixelFormat$DataType com.sun.glass.ui.Application int
      StackMap stack:
            aload 1 /* pixelType */
            getstatic com.sun.prism.PixelFormat$DataType.INT:Lcom/sun/prism/PixelFormat$DataType;
            if_acmpne 40
        33: .line 102
            invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
            getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
            if_acmpeq 35
        34: .line 104
            new java.lang.UnsupportedOperationException
            dup
            ldc "INT_ARGB_PRE only supported for LITTLE_ENDIAN machines"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        35: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getPixelBuffer:()Ljava/nio/Buffer;
            checkcast java.nio.IntBuffer
            astore 5 /* ints */
        start local 5 // java.nio.IntBuffer ints
        36: .line 111
            aload 2 /* app */
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getWidth:()I
        37: .line 112
            aload 0 /* image */
            invokevirtual com.sun.prism.Image.getHeight:()I
            aload 5 /* ints */
        38: .line 111
            invokevirtual com.sun.glass.ui.Application.createPixels:(IILjava/nio/IntBuffer;)Lcom/sun/glass/ui/Pixels;
            astore 4 /* pixels */
        start local 4 // com.sun.glass.ui.Pixels pixels
        39: .line 113
            aload 4 /* pixels */
            areturn
        end local 5 // java.nio.IntBuffer ints
        end local 4 // com.sun.glass.ui.Pixels pixels
        40: .line 115
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unhandled image type: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* pixelType */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // int nativeFormat
        end local 2 // com.sun.glass.ui.Application app
        end local 1 // com.sun.prism.PixelFormat$DataType pixelType
        end local 0 // com.sun.prism.Image image
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   41     0         image  Lcom/sun/prism/Image;
            1   41     1     pixelType  Lcom/sun/prism/PixelFormat$DataType;
            2   41     2           app  Lcom/sun/glass/ui/Application;
            3   41     3  nativeFormat  I
           31   32     4        pixels  Lcom/sun/glass/ui/Pixels;
           39   40     4        pixels  Lcom/sun/glass/ui/Pixels;
            5   32     5         bytes  Ljava/nio/ByteBuffer;
            6   32     6             w  I
            7   32     7             h  I
            8   32     8     scanBytes  I
           11   17     9      newbytes  [B
           18   24     9      newbytes  [B
           36   40     5          ints  Ljava/nio/IntBuffer;
    MethodParameters:
       Name  Flags
      image  

  public static com.sun.prism.Image pixelsToImage(com.sun.glass.ui.Pixels);
    descriptor: (Lcom/sun/glass/ui/Pixels;)Lcom/sun/prism/Image;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // com.sun.glass.ui.Pixels pix
         0: .line 120
            aload 0 /* pix */
            invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
            astore 1 /* pixbuf */
        start local 1 // java.nio.Buffer pixbuf
         1: .line 121
            aload 0 /* pix */
            invokevirtual com.sun.glass.ui.Pixels.getBytesPerComponent:()I
            iconst_1
            if_icmpne 6
         2: .line 122
            aload 1 /* pixbuf */
            invokevirtual java.nio.Buffer.capacity:()I
            invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
            astore 2 /* buf */
        start local 2 // java.nio.ByteBuffer buf
         3: .line 123
            aload 2 /* buf */
            aload 1 /* pixbuf */
            checkcast java.nio.ByteBuffer
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
         4: .line 124
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
            pop
         5: .line 125
            aload 2 /* buf */
            aload 0 /* pix */
            invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
            aload 0 /* pix */
            invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
            invokestatic com.sun.prism.Image.fromByteBgraPreData:(Ljava/nio/ByteBuffer;II)Lcom/sun/prism/Image;
            areturn
        end local 2 // java.nio.ByteBuffer buf
         6: .line 126
      StackMap locals: java.nio.Buffer
      StackMap stack:
            aload 0 /* pix */
            invokevirtual com.sun.glass.ui.Pixels.getBytesPerComponent:()I
            iconst_4
            if_icmpne 13
         7: .line 127
            aload 1 /* pixbuf */
            invokevirtual java.nio.Buffer.capacity:()I
            invokestatic java.nio.IntBuffer.allocate:(I)Ljava/nio/IntBuffer;
            astore 2 /* buf */
        start local 2 // java.nio.IntBuffer buf
         8: .line 128
            aload 2 /* buf */
            aload 1 /* pixbuf */
            checkcast java.nio.IntBuffer
            invokevirtual java.nio.IntBuffer.put:(Ljava/nio/IntBuffer;)Ljava/nio/IntBuffer;
            pop
         9: .line 129
            aload 2 /* buf */
            invokevirtual java.nio.IntBuffer.rewind:()Ljava/nio/Buffer;
            pop
        10: .line 130
            aload 1 /* pixbuf */
            checkcast java.nio.IntBuffer
        11: .line 131
            aload 0 /* pix */
            invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
            aload 0 /* pix */
            invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
        12: .line 130
            invokestatic com.sun.prism.Image.fromIntArgbPreData:(Ljava/nio/IntBuffer;II)Lcom/sun/prism/Image;
            areturn
        end local 2 // java.nio.IntBuffer buf
        13: .line 133
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unhandled pixel buffer: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        14: .line 134
            aload 1 /* pixbuf */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        15: .line 133
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.nio.Buffer pixbuf
        end local 0 // com.sun.glass.ui.Pixels pix
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   16     0     pix  Lcom/sun/glass/ui/Pixels;
            1   16     1  pixbuf  Ljava/nio/Buffer;
            3    6     2     buf  Ljava/nio/ByteBuffer;
            8   13     2     buf  Ljava/nio/IntBuffer;
    MethodParameters:
      Name  Flags
      pix   
}
SourceFile: "PixelUtils.java"
InnerClasses:
  public final DataType = com.sun.prism.PixelFormat$DataType of com.sun.prism.PixelFormat