Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef BLTSVILLE_H
     20 #define BLTSVILLE_H
     21 #include "ocd.h"
     22 #include "bverror.h"
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #include "bvblend.h"
     25 #include "bvfilter.h"
     26 #include "bvbuffdesc.h"
     27 #include "bvcache.h"
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #include "bventry.h"
     30 #include "bvsurfgeom.h"
     31 struct bvrect {
     32  int left;
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  int top;
     35  unsigned int width;
     36  unsigned int height;
     37 };
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define BVFLAG_OP_SHIFT 0
     40 #define BVFLAG_OP_MASK (0xF << BVFLAG_OP_SHIFT)
     41 #define BVFLAG_ROP (0x1 << BVFLAG_OP_SHIFT)
     42 #define BVFLAG_BLEND (0x2 << BVFLAG_OP_SHIFT)
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define BVFLAG_FILTER (0x4 << BVFLAG_OP_SHIFT)
     45 #define BVFLAG_KEY_SRC 0x00000010
     46 #define BVFLAG_KEY_DST 0x00000020
     47 #define BVFLAG_CLIP 0x00000040
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define BVFLAG_SRCMASK 0x00000080
     50 #define BVFLAG_ASYNC 0x00000100
     51 #define BVFLAG_TILE_SRC1 0x00000200
     52 #define BVFLAG_TILE_SRC2 0x00000400
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define BVFLAG_TILE_MASK 0x00000800
     55 #define BVFLAG_BATCH_SHIFT 12
     56 #define BVFLAG_BATCH_MASK (3 << BVFLAG_BATCH_SHIFT)
     57 #define BVFLAG_BATCH_NONE (0 << BVFLAG_BATCH_SHIFT)
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define BVFLAG_BATCH_BEGIN (1 << BVFLAG_BATCH_SHIFT)
     60 #define BVFLAG_BATCH_CONTINUE (2 << BVFLAG_BATCH_SHIFT)
     61 #define BVFLAG_BATCH_END (3 << BVFLAG_BATCH_SHIFT)
     62 #define BVFLAG_HORZ_FLIP_SRC1 0x00004000
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define BVFLAG_VERT_FLIP_SRC1 0x00008000
     65 #define BVFLAG_HORZ_FLIP_SRC2 0x00010000
     66 #define BVFLAG_VERT_FLIP_SRC2 0x00020000
     67 #define BVFLAG_HORZ_FLIP_MASK 0x00040000
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define BVFLAG_VERT_FLIP_MASK 0x00080000
     70 #define BVFLAG_SCALE_RETURN 0x00100000
     71 #define BVFLAG_DITHER_RETURN 0x00200000
     72 #define BVIMPL_ANY 0
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define BVIMPL_FIRST_HW (1 << 31)
     75 #define BVIMPL_FIRST_CPU (1 << 0)
     76 #define BVSCALEDEF_VENDOR_SHIFT 24
     77 #define BVSCALEDEF_VENDOR_MASK (0xFF << BVSCALEDEF_VENDOR_SHIFT)
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define BVSCALEDEF_VENDOR_ALL (0 << BVSCALEDEF_VENDOR_SHIFT)
     80 #define BVSCALEDEF_VENDOR_TI (1 << BVSCALEDEF_VENDOR_SHIFT)
     81 #define BVSCALEDEF_VENDOR_GENERIC (0xFF << BVSCALEDEF_VENDOR_SHIFT)
     82 #define BVSCALEDEF_CLASS_SHIFT 22
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define BVSCALEDEF_IMPLICIT (0 << BVSCALEDEF_CLASS_SHIFT)
     85 #define BVSCALEDEF_EXPLICIT (1 << BVSCALEDEF_CLASS_SHIFT)
     86 #define BVSCALEDEF_CLASS_MASK (3 << BVSCALEDEF_CLASS_MASK)
     87 #define BVSCALEDEF_QUALITY_SHIFT 16
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define BVSCALEDEF_FASTEST (0x00 << BVSCALEDEF_QUALITY_SHIFT)
     90 #define BVSCALEDEF_GOOD (0x15 << BVSCALEDEF_QUALITY_SHIFT)
     91 #define BVSCALEDEF_BETTER (0x2A << BVSCALEDEF_QUALITY_SHIFT)
     92 #define BVSCALEDEF_BEST (0x3F << BVSCALEDEF_QUALITY_SHIFT)
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define BVSCALEDEF_QUALITY_MASK (0x3F << BVSCALEDEF_QUALITY_MASK)
     95 #define BVSCALEDEF_TECHNIQUE_SHIFT 8
     96 #define BVSCALEDEF_DONT_CARE (0x0 << BVSCALEDEF_TECHNIQUE_SHIFT)
     97 #define BVSCALEDEF_NOT_NEAREST_NEIGHBOR (0x1 << BVSCALEDEF_TECHNIQUE_SHIFT)
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 #define BVSCALEDEF_POINT_SAMPLE (0x2 << BVSCALEDEF_TECHNIQUE_SHIFT)
    100 #define BVSCALEDEF_INTERPOLATED (0x3 << BVSCALEDEF_TECHNIQUE_SHIFT)
    101 #define BVSCALEDEF_TECHNIQUE_MASK (0xF << BVSCALEDEF_TECHNIQUE_SHIFT)
    102 #define BVSCALEDEF_TYPE_SHIFT 0
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104 #define BVSCALEDEF_PHOTO (1 << BVSCALEDEF_TYPE_SHIFT)
    105 #define BVSCALEDEF_DRAWING (2 << BVSCALEDEF_TYPE_SHIFT)
    106 #define BVSCALEDEF_TYPE_MASK (3 << BVSCALEDEF_TYPE_MASK)
    107 #define BVSCALEDEF_HORZ_SHIFT 8
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 #define BVSCALEDEF_HORZ_MASK (0xFF << BVSCALEDEF_HORZ_SHIFT)
    110 #define BVSCALEDEF_VERT_SHIFT 0
    111 #define BVSCALEDEF_VERT_MASK (0xFF << BVSCALEDEF_VERT_SHIFT)
    112 #define BVSCALEDEF_NEAREST_NEIGHBOR 0x00
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 #define BVSCALEDEF_LINEAR 0x01
    115 #define BVSCALEDEF_CUBIC 0x02
    116 #define BVSCALEDEF_3_TAP 0x03
    117 #define BVSCALEDEF_5_TAP 0x05
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119 #define BVSCALEDEF_7_TAP 0x07
    120 #define BVSCALEDEF_9_TAP 0x09
    121 enum bvscalemode {
    122  BVSCALE_FASTEST = BVSCALEDEF_VENDOR_ALL |
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124  BVSCALEDEF_IMPLICIT |
    125  BVSCALEDEF_FASTEST |
    126  BVSCALEDEF_DONT_CARE,
    127  BVSCALE_FASTEST_NOT_NEAREST_NEIGHBOR = BVSCALEDEF_VENDOR_ALL |
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129  BVSCALEDEF_IMPLICIT |
    130  BVSCALEDEF_FASTEST |
    131  BVSCALEDEF_NOT_NEAREST_NEIGHBOR,
    132  BVSCALE_FASTEST_POINT_SAMPLE = BVSCALEDEF_VENDOR_ALL |
    133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    134  BVSCALEDEF_IMPLICIT |
    135  BVSCALEDEF_FASTEST |
    136  BVSCALEDEF_POINT_SAMPLE,
    137  BVSCALE_FASTEST_INTERPOLATED = BVSCALEDEF_VENDOR_ALL |
    138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    139  BVSCALEDEF_IMPLICIT |
    140  BVSCALEDEF_FASTEST |
    141  BVSCALEDEF_INTERPOLATED,
    142  BVSCALE_FASTEST_PHOTO = BVSCALEDEF_VENDOR_ALL |
    143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    144  BVSCALEDEF_IMPLICIT |
    145  BVSCALEDEF_FASTEST |
    146  BVSCALEDEF_PHOTO,
    147  BVSCALE_FASTEST_DRAWING = BVSCALEDEF_VENDOR_ALL |
    148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    149  BVSCALEDEF_IMPLICIT |
    150  BVSCALEDEF_FASTEST |
    151  BVSCALEDEF_DRAWING,
    152  BVSCALE_GOOD = BVSCALEDEF_VENDOR_ALL |
    153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    154  BVSCALEDEF_IMPLICIT |
    155  BVSCALEDEF_GOOD |
    156  BVSCALEDEF_DONT_CARE,
    157  BVSCALE_GOOD_POINT_SAMPLE = BVSCALEDEF_VENDOR_ALL |
    158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    159  BVSCALEDEF_IMPLICIT |
    160  BVSCALEDEF_GOOD |
    161  BVSCALEDEF_POINT_SAMPLE,
    162  BVSCALE_GOOD_INTERPOLATED = BVSCALEDEF_VENDOR_ALL |
    163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    164  BVSCALEDEF_IMPLICIT |
    165  BVSCALEDEF_GOOD |
    166  BVSCALEDEF_INTERPOLATED,
    167  BVSCALE_GOOD_PHOTO = BVSCALEDEF_VENDOR_ALL |
    168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    169  BVSCALEDEF_IMPLICIT |
    170  BVSCALEDEF_GOOD |
    171  BVSCALEDEF_PHOTO,
    172  BVSCALE_GOOD_DRAWING = BVSCALEDEF_VENDOR_ALL |
    173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    174  BVSCALEDEF_IMPLICIT |
    175  BVSCALEDEF_GOOD |
    176  BVSCALEDEF_DRAWING,
    177  BVSCALE_BETTER = BVSCALEDEF_VENDOR_ALL |
    178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    179  BVSCALEDEF_IMPLICIT |
    180  BVSCALEDEF_BETTER |
    181  BVSCALEDEF_DONT_CARE,
    182  BVSCALE_BETTER_POINT_SAMPLE = BVSCALEDEF_VENDOR_ALL |
    183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    184  BVSCALEDEF_IMPLICIT |
    185  BVSCALEDEF_BETTER |
    186  BVSCALEDEF_POINT_SAMPLE,
    187  BVSCALE_BETTER_INTERPOLATED = BVSCALEDEF_VENDOR_ALL |
    188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    189  BVSCALEDEF_IMPLICIT |
    190  BVSCALEDEF_BETTER |
    191  BVSCALEDEF_INTERPOLATED,
    192  BVSCALE_BETTER_PHOTO = BVSCALEDEF_VENDOR_ALL |
    193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    194  BVSCALEDEF_IMPLICIT |
    195  BVSCALEDEF_BETTER |
    196  BVSCALEDEF_PHOTO,
    197  BVSCALE_BETTER_DRAWING = BVSCALEDEF_VENDOR_ALL |
    198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    199  BVSCALEDEF_IMPLICIT |
    200  BVSCALEDEF_BETTER |
    201  BVSCALEDEF_DRAWING,
    202  BVSCALE_BEST = BVSCALEDEF_VENDOR_ALL |
    203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    204  BVSCALEDEF_IMPLICIT |
    205  BVSCALEDEF_BEST |
    206  BVSCALEDEF_DONT_CARE,
    207  BVSCALE_BEST_POINT_SAMPLE = BVSCALEDEF_VENDOR_ALL |
    208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    209  BVSCALEDEF_IMPLICIT |
    210  BVSCALEDEF_BEST |
    211  BVSCALEDEF_POINT_SAMPLE,
    212  BVSCALE_BEST_INTERPOLATED = BVSCALEDEF_VENDOR_ALL |
    213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    214  BVSCALEDEF_IMPLICIT |
    215  BVSCALEDEF_BEST |
    216  BVSCALEDEF_INTERPOLATED,
    217  BVSCALE_BEST_PHOTO = BVSCALEDEF_VENDOR_ALL |
    218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    219  BVSCALEDEF_IMPLICIT |
    220  BVSCALEDEF_BEST |
    221  BVSCALEDEF_PHOTO,
    222  BVSCALE_BEST_DRAWING = BVSCALEDEF_VENDOR_ALL |
    223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    224  BVSCALEDEF_IMPLICIT |
    225  BVSCALEDEF_BEST |
    226  BVSCALEDEF_DRAWING,
    227  BVSCALE_NEAREST_NEIGHBOR = BVSCALEDEF_VENDOR_GENERIC |
    228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    229  BVSCALEDEF_EXPLICIT |
    230  (BVSCALEDEF_NEAREST_NEIGHBOR << BVSCALEDEF_HORZ_SHIFT) |
    231  (BVSCALEDEF_NEAREST_NEIGHBOR << BVSCALEDEF_VERT_SHIFT),
    232  BVSCALE_BILINEAR = BVSCALEDEF_VENDOR_GENERIC |
    233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    234  BVSCALEDEF_EXPLICIT |
    235  (BVSCALEDEF_LINEAR << BVSCALEDEF_HORZ_SHIFT) |
    236  (BVSCALEDEF_LINEAR << BVSCALEDEF_VERT_SHIFT),
    237  BVSCALE_BICUBIC = BVSCALEDEF_VENDOR_GENERIC |
    238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    239  BVSCALEDEF_EXPLICIT |
    240  (BVSCALEDEF_CUBIC << BVSCALEDEF_HORZ_SHIFT) |
    241  (BVSCALEDEF_CUBIC << BVSCALEDEF_VERT_SHIFT),
    242  BVSCALE_3x3_TAP = BVSCALEDEF_VENDOR_GENERIC |
    243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    244  BVSCALEDEF_EXPLICIT |
    245  (BVSCALEDEF_3_TAP << BVSCALEDEF_HORZ_SHIFT) |
    246  (BVSCALEDEF_3_TAP << BVSCALEDEF_VERT_SHIFT),
    247  BVSCALE_5x5_TAP = BVSCALEDEF_VENDOR_GENERIC |
    248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    249  BVSCALEDEF_EXPLICIT |
    250  (BVSCALEDEF_5_TAP << BVSCALEDEF_HORZ_SHIFT) |
    251  (BVSCALEDEF_5_TAP << BVSCALEDEF_VERT_SHIFT),
    252  BVSCALE_7x7_TAP = BVSCALEDEF_VENDOR_GENERIC |
    253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    254  BVSCALEDEF_EXPLICIT |
    255  (BVSCALEDEF_7_TAP << BVSCALEDEF_HORZ_SHIFT) |
    256  (BVSCALEDEF_7_TAP << BVSCALEDEF_VERT_SHIFT),
    257  BVSCALE_9x9_TAP = BVSCALEDEF_VENDOR_GENERIC |
    258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    259  BVSCALEDEF_EXPLICIT |
    260  (BVSCALEDEF_9_TAP << BVSCALEDEF_HORZ_SHIFT) |
    261  (BVSCALEDEF_9_TAP << BVSCALEDEF_VERT_SHIFT),
    262 #ifdef BVSCALE_EXTERNAL_INCLUDE
    263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    264 #include BVSCALE_EXTERNAL_INCLUDE
    265 #endif
    266 };
    267 #define BVDITHERDEF_VENDOR_SHIFT 24
    268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    269 #define BVDITHERDEF_VENDOR_MASK (0xFF << BVDITHERDEF_VENDOR_SHIFT)
    270 #define BVDITHERDEF_VENDOR_ALL (0 << BVDITHERDEF_VENDOR_SHIFT)
    271 #define BVDITHERDEF_VENDOR_TI (1 << BVDITHERDEF_VENDOR_SHIFT)
    272 #define BVDITHERDEF_VENDOR_GENERIC (0xFF << BVDITHERDEF_VENDOR_SHIFT)
    273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    274 #define BVDITHERDEF_TYPE_SHIFT 16
    275 #define BVDITHERDEF_PHOTO (0x01 << BVDITHERDEF_TYPE_SHIFT)
    276 #define BVDITHERDEF_DRAWING (0x02 << BVDITHERDEF_TYPE_SHIFT)
    277 #define BVDITHERDEF_TECHNIQUE_SHIFT 8
    278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    279 #define BVDITHERDEF_DONT_CARE (0x00 << BVDITHERDEF_TECHNIQUE_SHIFT)
    280 #define BVDITHERDEF_RANDOM (0x01 << BVDITHERDEF_TECHNIQUE_SHIFT)
    281 #define BVDITHERDEF_ORDERED (0x02 << BVDITHERDEF_TECHNIQUE_SHIFT)
    282 #define BVDITHERDEF_DIFFUSED (0x04 << BVDITHERDEF_TECHNIQUE_SHIFT)
    283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    284 #define BVDITHERDEF_ON (0xFF << BVDITHERDEF_TECHNIQUE_SHIFT)
    285 #define BVDITHERDEF_QUALITY_SHIFT 0
    286 #define BVDITHERDEF_FASTEST (0x00 << BVDITHERDEF_QUALITY_SHIFT)
    287 #define BVDITHERDEF_GOOD (0x55 << BVDITHERDEF_QUALITY_SHIFT)
    288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    289 #define BVDITHERDEF_BETTER (0xAA << BVDITHERDEF_QUALITY_SHIFT)
    290 #define BVDITHERDEF_BEST (0xFF << BVDITHERDEF_QUALITY_SHIFT)
    291 enum bvdithermode {
    292  BVDITHER_FASTEST = BVDITHERDEF_VENDOR_ALL |
    293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    294  BVDITHERDEF_FASTEST |
    295  BVDITHERDEF_DONT_CARE,
    296  BVDITHER_FASTEST_ON = BVDITHERDEF_VENDOR_ALL |
    297  BVDITHERDEF_FASTEST |
    298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    299  BVDITHERDEF_ON,
    300  BVDITHER_FASTEST_RANDOM = BVDITHERDEF_VENDOR_ALL |
    301  BVDITHERDEF_FASTEST |
    302  BVDITHERDEF_RANDOM,
    303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    304  BVDITHER_FASTEST_ORDERED = BVDITHERDEF_VENDOR_ALL |
    305  BVDITHERDEF_FASTEST |
    306  BVDITHERDEF_ORDERED,
    307  BVDITHER_FASTEST_DIFFUSED = BVDITHERDEF_VENDOR_ALL |
    308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    309  BVDITHERDEF_FASTEST |
    310  BVDITHERDEF_DIFFUSED,
    311  BVDITHER_FASTEST_PHOTO = BVDITHERDEF_VENDOR_ALL |
    312  BVDITHERDEF_FASTEST |
    313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    314  BVDITHERDEF_PHOTO,
    315  BVDITHER_FASTEST_DRAWING = BVDITHERDEF_VENDOR_ALL |
    316  BVDITHERDEF_FASTEST |
    317  BVDITHERDEF_DRAWING,
    318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    319  BVDITHER_GOOD = BVDITHERDEF_VENDOR_ALL |
    320  BVDITHERDEF_GOOD |
    321  BVDITHERDEF_DONT_CARE,
    322  BVDITHER_GOOD_ON = BVDITHERDEF_VENDOR_ALL |
    323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    324  BVDITHERDEF_GOOD |
    325  BVDITHERDEF_ON,
    326  BVDITHER_GOOD_RANDOM = BVDITHERDEF_VENDOR_ALL |
    327  BVDITHERDEF_GOOD |
    328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    329  BVDITHERDEF_RANDOM,
    330  BVDITHER_GOOD_ORDERED = BVDITHERDEF_VENDOR_ALL |
    331  BVDITHERDEF_GOOD |
    332  BVDITHERDEF_ORDERED,
    333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    334  BVDITHER_GOOD_DIFFUSED = BVDITHERDEF_VENDOR_ALL |
    335  BVDITHERDEF_GOOD |
    336  BVDITHERDEF_DIFFUSED,
    337  BVDITHER_GOOD_PHOTO = BVDITHERDEF_VENDOR_ALL |
    338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    339  BVDITHERDEF_GOOD |
    340  BVDITHERDEF_PHOTO,
    341  BVDITHER_GOOD_DRAWING = BVDITHERDEF_VENDOR_ALL |
    342  BVDITHERDEF_GOOD |
    343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    344  BVDITHERDEF_DRAWING,
    345  BVDITHER_BETTER = BVDITHERDEF_VENDOR_ALL |
    346  BVDITHERDEF_BETTER |
    347  BVDITHERDEF_DONT_CARE,
    348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    349  BVDITHER_BETTER_ON = BVDITHERDEF_VENDOR_ALL |
    350  BVDITHERDEF_BETTER |
    351  BVDITHERDEF_ON,
    352  BVDITHER_BETTER_RANDOM = BVDITHERDEF_VENDOR_ALL |
    353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    354  BVDITHERDEF_BETTER |
    355  BVDITHERDEF_RANDOM,
    356  BVDITHER_BETTER_ORDERED = BVDITHERDEF_VENDOR_ALL |
    357  BVDITHERDEF_BETTER |
    358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    359  BVDITHERDEF_ORDERED,
    360  BVDITHER_BETTER_DIFFUSED = BVDITHERDEF_VENDOR_ALL |
    361  BVDITHERDEF_BETTER |
    362  BVDITHERDEF_DIFFUSED,
    363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    364  BVDITHER_BETTER_PHOTO = BVDITHERDEF_VENDOR_ALL |
    365  BVDITHERDEF_BETTER |
    366  BVDITHERDEF_PHOTO,
    367  BVDITHER_BETTER_DRAWING = BVDITHERDEF_VENDOR_ALL |
    368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    369  BVDITHERDEF_BETTER |
    370  BVDITHERDEF_DRAWING,
    371  BVDITHER_BEST = BVDITHERDEF_VENDOR_ALL |
    372  BVDITHERDEF_BEST |
    373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    374  BVDITHERDEF_DONT_CARE,
    375  BVDITHER_BEST_ON = BVDITHERDEF_VENDOR_ALL |
    376  BVDITHERDEF_BEST |
    377  BVDITHERDEF_ON,
    378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    379  BVDITHER_BEST_RANDOM = BVDITHERDEF_VENDOR_ALL |
    380  BVDITHERDEF_BEST |
    381  BVDITHERDEF_RANDOM,
    382  BVDITHER_BEST_ORDERED = BVDITHERDEF_VENDOR_ALL |
    383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    384  BVDITHERDEF_BEST |
    385  BVDITHERDEF_ORDERED,
    386  BVDITHER_BEST_DIFFUSED = BVDITHERDEF_VENDOR_ALL |
    387  BVDITHERDEF_BEST |
    388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    389  BVDITHERDEF_DIFFUSED,
    390  BVDITHER_BEST_PHOTO = BVDITHERDEF_VENDOR_ALL |
    391  BVDITHERDEF_BEST |
    392  BVDITHERDEF_PHOTO,
    393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    394  BVDITHER_BEST_DRAWING = BVDITHERDEF_VENDOR_ALL |
    395  BVDITHERDEF_BEST |
    396  BVDITHERDEF_DRAWING,
    397  BVDITHER_NONE = BVDITHERDEF_VENDOR_GENERIC + 0,
    398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    399  BVDITHER_ORDERED_2x2 = BVDITHERDEF_VENDOR_GENERIC + 4,
    400  BVDITHER_ORDERED_4x4 = BVDITHERDEF_VENDOR_GENERIC + 16,
    401  BVDITHER_ORDERED_2x2_4x4 = BVDITHERDEF_VENDOR_GENERIC + 4 + 16,
    402 #ifdef BVDITHER_EXTERNAL_INCLUDE
    403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    404 #include BVDITHER_EXTERNAL_INCLUDE
    405 #endif
    406 };
    407 #define BVTILE_LEFT_SHIFT 0
    408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    409 #define BVTILE_TOP_SHIFT (BVTILE_LEFT_SHIFT + 2)
    410 #define BVTILE_RIGHT_SHIFT (BVTILE_TOP_SHIFT + 2)
    411 #define BVTILE_BOTTOM_SHIFT (BVTILE_RIGHT_SHIFT + 2)
    412 #define BVTILE_LEFT_REPEAT (0 << BVTILE_LEFT_SHIFT)
    413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    414 #define BVTILE_TOP_REPEAT (0 << BVTILE_TOP_SHIFT)
    415 #define BVTILE_RIGHT_REPEAT (0 << BVTILE_RIGHT_SHIFT)
    416 #define BVTILE_BOTTOM_REPEAT (0 << BVTILE_BOTTOM_SHIFT)
    417 #define BVTILE_LEFT_MIRROR (1 << BVTILE_LEFT_SHIFT)
    418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    419 #define BVTILE_TOP_MIRROR (1 << BVTILE_TOP_SHIFT)
    420 #define BVTILE_RIGHT_MIRROR (1 << BVTILE_RIGHT_SHIFT)
    421 #define BVTILE_BOTTOM_MIRROR (1 << BVTILE_BOTTOM_SHIFT)
    422 struct bvtileparams {
    423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    424  unsigned int structsize;
    425  unsigned long flags;
    426  void *virtaddr;
    427  int dstleft;
    428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    429  int dsttop;
    430  unsigned int srcwidth;
    431  unsigned int srcheight;
    432 };
    433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    434 #define BVBATCH_OP 0x00000001
    435 #define BVBATCH_KEY 0x00000002
    436 #define BVBATCH_MISCFLAGS 0x00000004
    437 #define BVBATCH_ALPHA 0x00000008
    438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    439 #define BVBATCH_DITHER 0x00000010
    440 #define BVBATCH_SCALE 0x00000020
    441 #define BVBATCH_DST 0x00000100
    442 #define BVBATCH_SRC1 0x00000200
    443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    444 #define BVBATCH_SRC2 0x00000400
    445 #define BVBATCH_MASK 0x00000800
    446 #define BVBATCH_DSTRECT_ORIGIN 0x00001000
    447 #define BVBATCH_DSTRECT_SIZE 0x00002000
    448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    449 #define BVBATCH_SRC1RECT_ORIGIN 0x00004000
    450 #define BVBATCH_SRC1RECT_SIZE 0x00008000
    451 #define BVBATCH_SRC2RECT_ORIGIN 0x00010000
    452 #define BVBATCH_SRC2RECT_SIZE 0x00020000
    453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    454 #define BVBATCH_MASKRECT_ORIGIN 0x00040000
    455 #define BVBATCH_MASKRECT_SIZE 0x00080000
    456 #define BVBATCH_CLIPRECT_ORIGIN 0x00100000
    457 #define BVBATCH_CLIPRECT_SIZE 0x00200000
    458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    459 #define BVBATCH_CLIPRECT (BVBATCH_CLIPRECT_ORIGIN |   BVBATCH_CLIPRECT_SIZE)
    460 #define BVBATCH_TILE_SRC1 0x00400000
    461 #define BVBATCH_TILE_SRC2 0x00800000
    462 #define BVBATCH_TILE_MASK 0x00100000
    463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    464 #define BVBATCH_ENDNOP 0x80000000
    465 struct bvcallbackerror {
    466  unsigned int structsize;
    467  enum bverror error;
    468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    469  char *errdesc;
    470 };
    471 struct bvbatch;
    472 union bvinbuff {
    473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    474  struct bvbuffdesc *desc;
    475  struct bvtileparams *tileparams;
    476 };
    477 union bvop {
    478 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    479  unsigned short rop;
    480  enum bvblend blend;
    481  struct bvfilter *filter;
    482 };
    483 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    484 struct bvbltparams {
    485  unsigned int structsize;
    486  char *errdesc;
    487  unsigned long implementation;
    488 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    489  unsigned long flags;
    490  union bvop op;
    491  void *colorkey;
    492  union bvalpha globalalpha;
    493 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    494  enum bvscalemode scalemode;
    495  enum bvdithermode dithermode;
    496  struct bvbuffdesc *dstdesc;
    497  struct bvsurfgeom *dstgeom;
    498 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    499  struct bvrect dstrect;
    500  union bvinbuff src1;
    501  struct bvsurfgeom *src1geom;
    502  struct bvrect src1rect;
    503 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    504  union bvinbuff src2;
    505  struct bvsurfgeom *src2geom;
    506  struct bvrect src2rect;
    507  union bvinbuff mask;
    508 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    509  struct bvsurfgeom *maskgeom;
    510  struct bvrect maskrect;
    511  struct bvrect cliprect;
    512  unsigned long batchflags;
    513 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    514  struct bvbatch *batch;
    515  void (*callbackfn)(struct bvcallbackerror *err,
    516  unsigned long callbackdata);
    517  unsigned long callbackdata;
    518 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    519 };
    520 #endif
    521