1 package gov
.nasa
.worldwind
.formats
.nitfs
;
3 import gov
.nasa
.worldwind
.*;
5 Copyright (C) 2001, 2007 United States Government
6 as represented by the Administrator of the
7 National Aeronautics and Space Administration.
12 * @author Lado Garakanidze
13 * @version $Id: AbstractRpf2DdsCompress Apr 23, 2007 11:06:16 AM lado
15 abstract class AbstractRpf2DdsCompress
extends DDSConverter
implements Rpf2DdsCompress
17 private static DDSBlock4x4 Dxt1TransparentBlock4x4
= new DDSBlock4x4( (short)0, (short)0, 0xFFFFFFFF );
19 public DDSBlock4x4
getDxt1TransparentBlock4x4()
21 return Dxt1TransparentBlock4x4
;
24 public void writeDxt1Header(java
.nio
.ByteBuffer buffer
, int width
, int height
)
26 DDSConverter
.buildHeaderDxt1( buffer
, width
, height
);