docs: private static short[] toShortPixels(int[] pPixels) {
          short[] pixels = new short[pPixels.length];
  
          for (int i = 0; i < pixels.length; i++) {
              pixels[i] = (short) (pPixels[i] & 0xffff);
          }
  
          return pixels;
      }