jdk/src/java.desktop/share/native/libawt/java2d/loops/UshortIndexed.h
author prr
Fri, 19 Sep 2014 09:41:05 -0700
changeset 26751 70bac69b37c9
parent 25859 jdk/src/java.desktop/share/native/libawt/sun/java2d/loops/UshortIndexed.h@3317bb8137f4
permissions -rw-r--r--
8056216: Remove "sun" directory layer from libawt and common Reviewed-by: erikj, ihse, coffeys
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
23010
6dadb192ad81 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents: 15970
diff changeset
     2
 * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#ifndef UshortIndexed_h_Included
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#define UshortIndexed_h_Included
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#include "IntDcm.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#include "ByteIndexed.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * This file contains macro and type definitions used by the macros in
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * LoopMacros.h to manipulate a surface of type "UshortIndexed".
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
typedef jushort UshortIndexedPixelType;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
typedef jushort UshortIndexedDataType;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
#define UshortIndexedPixelStride                2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 * Note that even though the type is called UshortIndex it is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
 * really only used as 12-bit indexed (per the BitsPerPixel
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
 * define), thus we need to mask 12 bits of the index into Lut.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
#define UshortIndexedBitsPerPixel               12
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
#define UshortIndexedLutMask                    0xfff
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
#define DeclareUshortIndexedLoadVars(PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    jint *PREFIX ## Lut;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
#define DeclareUshortIndexedStoreVars(PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
    int PREFIX ## XDither, PREFIX ## YDither; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    char *PREFIX ## rerr, *PREFIX ## gerr, *PREFIX ## berr; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
    unsigned char *PREFIX ## InvLut;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
#define SetUshortIndexedStoreVarsYPos(PREFIX, pRasInfo, LOC) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
         PREFIX ## YDither = ((LOC & 7) << 3); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
#define SetUshortIndexedStoreVarsXPos(PREFIX, pRasInfo, LOC) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
        PREFIX ## rerr = (pRasInfo)->redErrTable + PREFIX ## YDither; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
        PREFIX ## gerr = (pRasInfo)->grnErrTable + PREFIX ## YDither; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
        PREFIX ## berr = (pRasInfo)->bluErrTable + PREFIX ## YDither; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
        PREFIX ## XDither = (LOC & 7); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
#define InitUshortIndexedLoadVars(PREFIX, pRasInfo) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    PREFIX ## Lut = (pRasInfo)->lutBase
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
/* REMIND Could collapse Init..Store..X and Init..Store..Y into one Init
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
 * and factor out the Set.. macros.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
#define InitUshortIndexedStoreVarsY(PREFIX, pRasInfo) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        SetUshortIndexedStoreVarsYPos(PREFIX, pRasInfo, (pRasInfo)->bounds.y1); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
        PREFIX ## InvLut = (pRasInfo)->invColorTable; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
#define InitUshortIndexedStoreVarsX(PREFIX, pRasInfo) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
    SetUshortIndexedStoreVarsXPos(PREFIX, pRasInfo, (pRasInfo)->bounds.x1);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
#define NextUshortIndexedStoreVarsX(PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
    PREFIX ## XDither = (PREFIX ## XDither + 1) & 7
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
#define NextUshortIndexedStoreVarsY(PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
    PREFIX ## YDither = (PREFIX ## YDither + (1 << 3)) & (7 << 3)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
typedef jushort UshortIndexedBmPixelType;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
typedef jushort UshortIndexedBmDataType;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
#define UshortIndexedBmPixelStride      2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
#define UshortIndexedBmBitsPerPixel     12
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
#define DeclareUshortIndexedBmLoadVars  DeclareUshortIndexedLoadVars
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
#define DeclareUshortIndexedBmStoreVars DeclareUshortIndexedStoreVars
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
#define InitUshortIndexedBmLoadVars     InitUshortIndexedLoadVars
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
#define InitUshortIndexedBmStoreVarsY   InitUshortIndexedStoreVarsY
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
#define InitUshortIndexedBmStoreVarsX   InitUshortIndexedStoreVarsX
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
#define NextUshortIndexedBmStoreVarsX   NextUshortIndexedStoreVarsX
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
#define NextUshortIndexedBmStoreVarsY   NextUshortIndexedStoreVarsY
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
#define UshortIndexedXparLutEntry                       -1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
#define UshortIndexedIsXparLutEntry(pix)                (pix < 0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
#define StoreUshortIndexedNonXparFromArgb               StoreUshortIndexedFrom1IntArgb
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
#define StoreUshortIndexedPixel(pRas, x, pixel) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
    ((pRas)[x] = (jushort) (pixel))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
#define DeclareUshortIndexedPixelData(PREFIX)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
#define ExtractUshortIndexedPixelData(PIXEL, PREFIX)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
#define StoreUshortIndexedPixelData(pPix, x, pixel, PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
    (pPix)[x] = (jushort) (pixel)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
#define UshortIndexedPixelFromArgb(pixel, rgb, pRasInfo) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        jint r, g, b; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        ExtractIntDcmComponentsX123(rgb, r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        (pixel) = SurfaceData_InvColorMap((pRasInfo)->invColorTable, \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
                                          r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
#define LoadUshortIndexedTo1IntRgb(pRas, PREFIX, x, rgb) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
   (rgb) = PREFIX ## Lut[(pRas[x])&UshortIndexedLutMask];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
#define LoadUshortIndexedTo1IntArgb(pRas, PREFIX, x, argb) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
   (argb) = PREFIX ## Lut[(pRas[x])&UshortIndexedLutMask];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
#define LoadUshortIndexedTo3ByteRgb(pRas, PREFIX, x, r, g, b) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        jint rgb = PREFIX ## Lut[(pRas[x])&UshortIndexedLutMask]; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
        ExtractIntDcmComponentsX123(rgb, r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
#define LoadUshortIndexedTo4ByteArgb(pRas, PREFIX, x, a, r, g, b) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
        jint argb = PREFIX ## Lut[(pRas[x])&UshortIndexedLutMask]; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
        ExtractIntDcmComponents1234(argb, a, r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
#define StoreUshortIndexedFrom1IntRgb(pRas, PREFIX, x, rgb) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
        int r, g, b; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
        ExtractIntDcmComponentsX123(rgb, r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
        StoreUshortIndexedFrom3ByteRgb(pRas, PREFIX, x, r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
#define StoreUshortIndexedFrom1IntArgb(pRas, PREFIX, x, argb) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
    StoreUshortIndexedFrom1IntRgb(pRas, PREFIX, x, argb)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
#define StoreUshortIndexedFrom3ByteRgb(pRas, PREFIX, x, r, g, b) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
        r += PREFIX ## rerr[PREFIX ## XDither]; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
        g += PREFIX ## gerr[PREFIX ## XDither]; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
        b += PREFIX ## berr[PREFIX ## XDither]; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
        ByteClamp3Components(r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
        (pRas)[x] = SurfaceData_InvColorMap(PREFIX ## InvLut, r, g, b); \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
#define StoreUshortIndexedFrom4ByteArgb(pRas, PREFIX, x, a, r, g, b) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
    StoreUshortIndexedFrom3ByteRgb(pRas, PREFIX, x, r, g, b)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
#define DeclareUshortIndexedAlphaLoadData(PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
    jint *PREFIX ## Lut; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
    jint PREFIX ## rgb;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
#define InitUshortIndexedAlphaLoadData(PREFIX, pRasInfo) \
15970
068f2b5c2145 8005796: [parfait] Possible uninitialised variable at jdk/src/share/native/sun/java2d/loops/ByteBinary1Bit.c
jgodinez
parents: 5506
diff changeset
   173
    do { \
068f2b5c2145 8005796: [parfait] Possible uninitialised variable at jdk/src/share/native/sun/java2d/loops/ByteBinary1Bit.c
jgodinez
parents: 5506
diff changeset
   174
        PREFIX ## Lut = (pRasInfo)->lutBase; \
068f2b5c2145 8005796: [parfait] Possible uninitialised variable at jdk/src/share/native/sun/java2d/loops/ByteBinary1Bit.c
jgodinez
parents: 5506
diff changeset
   175
        PREFIX ## rgb = 0; \
068f2b5c2145 8005796: [parfait] Possible uninitialised variable at jdk/src/share/native/sun/java2d/loops/ByteBinary1Bit.c
jgodinez
parents: 5506
diff changeset
   176
    } while (0)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
#define LoadAlphaFromUshortIndexedFor4ByteArgb(pRas, PREFIX, COMP_PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
        PREFIX ## rgb = PREFIX ## Lut[((pRas)[0])&UshortIndexedLutMask]; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        COMP_PREFIX ## A = ((juint) PREFIX ## rgb) >> 24; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
#define Postload4ByteArgbFromUshortIndexed(pRas, PREFIX, COMP_PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
    do { \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
        COMP_PREFIX ## R = (PREFIX ## rgb >> 16) & 0xff; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
        COMP_PREFIX ## G = (PREFIX ## rgb >>  8) & 0xff; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
        COMP_PREFIX ## B = (PREFIX ## rgb >>  0) & 0xff; \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
    } while (0)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
#define UshortIndexedIsPremultiplied    0
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
#define StoreUshortIndexedFrom4ByteArgbComps(pRas, PREFIX, x, COMP_PREFIX) \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
    StoreUshortIndexedFrom4ByteArgb(pRas, PREFIX, x, \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
                                  COMP_PREFIX ## A, COMP_PREFIX ## R, \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
                                  COMP_PREFIX ## G, COMP_PREFIX ## B)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
#endif /* UshortIndexed_h_Included */