Lines Matching refs:Half
232 * For the {@link Format#Half} type, {@link ByteBuffer}s should
237 * Half precision floating point.
240 Half(2),
499 if (format == Format.Half)
587 * Converts single floating-point data to {@link Format#Half half} floating-point data.
597 format = Format.Half;
608 short half = FastMath.convertFloatToHalf(f);
609 halfData.putShort(half);
629 case Half:
681 if (format == Format.Half){
691 case Half:
726 if (format == Format.Half){
736 case Half:
789 if (format == Format.Half){
790 // because half is stored as bytebuf but its 2 bytes long
805 case Half:
860 case Half:
979 case Half:
1013 case Half: