Skip to content
Posted on:June 15, 2007 at 02:14 AM

DDS Surface Format

DDS Surface Format
DDS Surface Format

  <p>
    Direct X SDK 안에 있는 Texture Tool에서 발췌</td> </tr> 
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        No
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Byte
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        Format
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        Description
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        1
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A4L4
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        8-bit using 4 bits each for alpha and luminance.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        2
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        8-bit alpha only
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        3
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        L8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        8-bit luminance only
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        4
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        P8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        5
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        R3G3B2
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        6
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A1R5G5B5
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        7
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A4R4G4B4
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A8L8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        9
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A8P8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        10
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A8R3G3B2
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        11
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        L16
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        12
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        R5G6B5
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        13
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        X1R5G5B5
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        14
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        X4R4G4B4
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        15
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 24-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        R8G8B8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        16
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A2B10G10R10
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        17
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A2R10G10B10
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        18
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A8B8G8R8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        19
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A8R8G8B8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        20
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        G16R16
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        21
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        X8B8G8R8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        22
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        X8R8G8B8
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        23
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Unsigned 64-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A16B16G16R16
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        24
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Signed 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        CxV8U8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        16-bit normal compression format. The texture sampler computes the C channel from: C=sqrt(1-U2-V2)
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        25
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Signed 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        V8U8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        16-bit bump-map format using 8 bits each for u and v data.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        26
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Signed 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        Q8W8V8U8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        32-bit bump-map format using 8 bits for each channel.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        27
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Signed 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        V16UI6
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        32-bit bump-map format using 16 bits for each channel.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        28
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Signed 64-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        Q16W16V16U16
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        64-bit bump-map format using 16 bits for each component.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        29
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Mixed 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        L6V5U5
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        16-bit bump-map format with luminance using 6 bits for luminance, and 5 bits each for v and u.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        30
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Mixed 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A2W10V10U10
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        32-bit bump-map format using 2 bits for alpha and 10 bits each for w, v, and u.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        31
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Mixed 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        X8L8V8U8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        32-bit bump-map format with luminance using 8 bits for each channel.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        32
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 4-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        DXT1
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        Compressed texture format with 1-bit alpha,
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        33
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        DXT2
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        Compressed texture format with 4-bit premultiplied alpha
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        34
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        DXT3
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        Compressed texture format with 4-bit nonpremultiplied alpha
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        35
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        DXT4
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        Compressed texture format with interpolated premultipled alpha
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        36
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 8-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        DXT5
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        Compressed texture format with interpolated nonpremultiplied alpha
      </td>
    </tr>
    
    <tr style="height: 90pt;" height="120">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 90pt; background-color: transparent;" width="32" height="120">
        37
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        G8R8_G8B8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        A 16-bit packed RGB format analogous to YUY2 (Y0U0, Y1V0, Y2U2, etc.). It requires a pixel pair in order to properly represent the color value. The first pixel in the pair contains 8 bits of green (in the high 8 bits) and 8 bits of red (in the low 8 bits). The second pixel contains 8 bits of green (in the high 8 bits) and 8 bits of blue (in the low 8 bits). Together, the two pixels share the red and blue components, while each has a unique green component (G0R0, G1B0, G2R2, etc.). The texture sampler does not normalize the colors when looking up into a pixel shader; they remain in the range of 0.0f to 255.0f. This is true for all programmable pixel shader models. For the fixed function pixel shader, the hardware should normalize to the 0.f to 1.f range and essentially treat it as the YUY2 texture. Hardware that exposes this format must have the PixelShader1xMaxValue member of D3DCAPS9 set to a value capable of handling that range.
      </td>
    </tr>
    
    <tr style="height: 90pt;" height="120">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 90pt; background-color: transparent;" width="32" height="120">
        38
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        R8G8_B8G8
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        A 16-bit packed RGB format analogous to UYVY (U0Y0, V0Y1, U2Y2, etc.). It requires a pixel pair in order to properly represent the color value. The first pixel in the pair contains 8 bits of green (in the low 8 bits) and 8 bits of red (in the high 8 bits). The second pixel contains 8 bits of green (in the low 8 bits) and 8 bits of blue (in the high 8 bits). Together, the two pixels share the red and blue components, while each has a unique green component (R0G0, B0G1, R2G2, etc.). The texture sampler does not normalize the colors when looking up into a pixel shader; they remain in the range of 0.0f to 255.0f. This is true for all programmable pixel shader models. For the fixed function pixel shader, the hardware should normalize to the 0.f to 1.f range and essentially treat it as the YUY2 texture. Hardware that exposes this format must have PixelShader1xMaxValue member of D3DCAPS9 set to a value capable of handling that range.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        39
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        UYVY
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        UYVY format (PC98 compliance)
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        40
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Four CC 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        YUY2
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        YUY2 format (PC98 compliance)
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        41
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Floating-Point 16-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        R16F
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        16-bit float format using 16 bits for the red channel.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        42
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Floating-Point 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        G16R16F
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        32-bit float format using 16 bits for the red channel and 16 bits for the green channel.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        43
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        Floating-Point 64-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A16B16G16R16F
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        64-bit float format using 16 bits for the each channel (alpha, blue, green, red).
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        44
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        IEEE Floating-Point 32-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        R32F
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        32-bit float format using 32 bits for the red channel.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        45
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        IEEE Floating-Point 64-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        G32R32F
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        64-bit float format using 32 bits for the red channel and 32 bits for the green channel.
      </td>
    </tr>
    
    <tr style="height: 11.25pt;" height="15">
      <td class="xl23" style="border-color: #d4d0c8; width: 24pt; height: 11.25pt; background-color: transparent;" width="32" height="15">
        46
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 140pt; background-color: transparent;" width="187">
        IEEE Floating-Point 128-bit
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 72pt; background-color: transparent;" width="96">
        A32B32G32R32F
      </td>
      
      <td class="xl22" style="border-color: #d4d0c8; width: 560pt; background-color: transparent;" width="746">
        128-bit float format using 32 bits for the each channel (alpha, blue, green, red).
      </td>
    </tr></tbody> </table>
DDS
Web Analytics