| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| gfx6_multisample_state.c | 36 uint8_t bits; local 43 bits = brw_multisample_positions_1x_2x >> (8 * index); 46 bits = brw_multisample_positions_4x >> (8 * index); 49 bits = brw_multisample_positions_8x[index >> 2] >> (8 * (index & 3)); 52 bits = brw_multisample_positions_16x[index >> 2] >> (8 * (index & 3)); 59 result[0] = ((bits >> 4) & 0xf) / 16.0f; 60 result[1] = (bits & 0xf) / 16.0f;
|
| /xsrc/external/mit/xf86-video-siliconmotion/dist/src/ |
| smi_501.h | 41 #define bits(lo, hi) hi + 1 - lo macro 52 * updates this address continuously. Bits [2:0] are hardwired 69 int32_t address : bits( 0, 27); 70 int32_t u0 : bits(28, 29); 71 int32_t idle : bits(30, 30); 72 int32_t start : bits(31, 31); 129 int32_t engine : bits( 0, 0); 130 int32_t cmdfifo : bits( 1, 1); 131 int32_t setup : bits( 2, 2); 132 int32_t u0 : bits( 3, 10) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| anv_util.c | 60 anv_dump_pipe_bits(enum anv_pipe_bits bits) 62 if (bits & ANV_PIPE_DEPTH_CACHE_FLUSH_BIT) 64 if (bits & ANV_PIPE_DATA_CACHE_FLUSH_BIT) 66 if (bits & ANV_PIPE_HDC_PIPELINE_FLUSH_BIT) 68 if (bits & ANV_PIPE_RENDER_TARGET_CACHE_FLUSH_BIT) 70 if (bits & ANV_PIPE_TILE_CACHE_FLUSH_BIT) 72 if (bits & ANV_PIPE_STATE_CACHE_INVALIDATE_BIT) 74 if (bits & ANV_PIPE_CONSTANT_CACHE_INVALIDATE_BIT) 76 if (bits & ANV_PIPE_VF_CACHE_INVALIDATE_BIT) 78 if (bits & ANV_PIPE_TEXTURE_CACHE_INVALIDATE_BIT [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/ |
| xaaTEGlyph.c | 238 reversing the bits and sending them to the screen 272 CARD32 bits; local 281 bits = SHIFT_R(glyphs[0][line++],skipleft); 283 WRITE_BITS3(bits); 285 WRITE_BITS2(bits); 287 WRITE_BITS1(bits); 448 CARD32 bits; local 459 bits = SHIFT_R(glyphs[0][line++],skipleft); 461 WRITE_BITS3(bits); 463 WRITE_BITS2(bits); 557 CARD32 bits = (*glyphp)[line]; local 604 unsigned int bits; local 646 unsigned int bits; local 717 unsigned int bits; local 748 unsigned int bits; local 824 unsigned int bits; local 871 unsigned int bits; local 906 unsigned int bits; local 960 unsigned int bits; local 995 unsigned int bits; local 1055 unsigned int bits; local [all...] |
| xaaBitmap.c | 39 CARD32 bits; local 42 bits = *src; 43 WRITE_BITS3(bits); 48 bits = *src; 49 WRITE_BITS2(bits); 51 bits = *src; 52 WRITE_BITS1(bits); 63 CARD32 bits; local 66 bits = ~(*src); 67 WRITE_BITS3(bits); 88 CARD32 bits; local 112 CARD32 bits; local [all...] |
| /xsrc/external/mit/MesaLib/src/panfrost/bifrost/ |
| bifrost_gen_disasm.c | 3 #define _BITS(bits, pos, width) (((bits) >> (pos)) & ((1 << (width)) - 1)) 5 bi_disasm_fma_arshift_i32(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_regs *next_regs, unsigned staging_register, unsigned branch_offset, struct bi_constants *consts, bool last) 11 const char *lane2 = lane2_table[_BITS(bits, 9, 2)]; 17 dump_src(fp, _BITS(bits, 0, 3), *srcs, branch_offset, consts, true); 18 if (!(0xfb & (1 << _BITS(bits, 0, 3)))) fputs("(INVALID)", fp); 20 dump_src(fp, _BITS(bits, 3, 3), *srcs, branch_offset, consts, true); 21 if (!(0x8 & (1 << _BITS(bits, 3, 3)))) fputs("(INVALID)", fp); 23 dump_src(fp, _BITS(bits, 6, 3), *srcs, branch_offset, consts, true); 28 bi_disasm_fma_arshift_v2i16_0(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_regs *next_regs, unsigned staging_register, unsigned br (…) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| gen6_multisample_state.c | 36 uint8_t bits; local 43 bits = brw_multisample_positions_1x_2x >> (8 * index); 46 bits = brw_multisample_positions_4x >> (8 * index); 49 bits = brw_multisample_positions_8x[index >> 2] >> (8 * (index & 3)); 52 bits = brw_multisample_positions_16x[index >> 2] >> (8 * (index & 3)); 59 result[0] = ((bits >> 4) & 0xf) / 16.0f; 60 result[1] = (bits & 0xf) / 16.0f;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/va/ |
| picture_vc1.c | 38 context->desc.vc1.picture_type = vc1->picture_fields.bits.picture_type; 39 context->desc.vc1.frame_coding_mode = vc1->picture_fields.bits.frame_coding_mode; 41 context->desc.vc1.pulldown = vc1->sequence_fields.bits.pulldown; 42 context->desc.vc1.interlace = vc1->sequence_fields.bits.interlace; 43 context->desc.vc1.tfcntrflag = vc1->sequence_fields.bits.tfcntrflag; 44 context->desc.vc1.finterpflag = vc1->sequence_fields.bits.finterpflag; 45 context->desc.vc1.psf = vc1->sequence_fields.bits.psf; 46 context->desc.vc1.dquant = vc1->pic_quantizer_fields.bits.dquant; 47 context->desc.vc1.panscan_flag = vc1->entrypoint_fields.bits.panscan_flag; 49 vc1->reference_fields.bits.reference_distance_flag [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/va/ |
| picture_vc1.c | 38 context->desc.vc1.picture_type = vc1->picture_fields.bits.picture_type; 39 context->desc.vc1.frame_coding_mode = vc1->picture_fields.bits.frame_coding_mode; 41 context->desc.vc1.pulldown = vc1->sequence_fields.bits.pulldown; 42 context->desc.vc1.interlace = vc1->sequence_fields.bits.interlace; 43 context->desc.vc1.tfcntrflag = vc1->sequence_fields.bits.tfcntrflag; 44 context->desc.vc1.finterpflag = vc1->sequence_fields.bits.finterpflag; 45 context->desc.vc1.psf = vc1->sequence_fields.bits.psf; 46 context->desc.vc1.dquant = vc1->pic_quantizer_fields.bits.dquant; 47 context->desc.vc1.panscan_flag = vc1->entrypoint_fields.bits.panscan_flag; 49 vc1->reference_fields.bits.reference_distance_flag [all...] |
| /xsrc/external/mit/xorg-server/dist/dix/ |
| cursor.c | 66 CursorBitsPtr bits; member in struct:_GlyphShare 77 FreeCursorBits(CursorBitsPtr bits) 79 if (--bits->refcnt > 0) 81 free(bits->source); 82 free(bits->mask); 83 free(bits->argb); 84 dixFiniPrivates(bits, PRIVATE_CURSOR_BITS); 85 if (bits->refcnt == 0) { 89 (this = *prev) && (this->bits != bits); prev = &this->next) 244 CursorBitsPtr bits; local 335 CursorBitsPtr bits; local [all...] |
| /xsrc/external/mit/xorg-server/dist/test/xi2/ |
| protocol-xiselectevents.c | 48 * BadValue for invalid mask bits 122 _set_bit(unsigned char *bits, int bit) 124 SetBit(bits, bit); 126 SetBit(bits, XI_TouchBegin); 127 SetBit(bits, XI_TouchUpdate); 128 SetBit(bits, XI_TouchEnd); 131 SetBit(bits, XI_GesturePinchBegin); 132 SetBit(bits, XI_GesturePinchUpdate); 133 SetBit(bits, XI_GesturePinchEnd); 136 SetBit(bits, XI_GestureSwipeBegin) 169 unsigned char *bits; local [all...] |
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| cursor.c | 69 CursorBitsPtr bits; member in struct:_GlyphShare 82 FreeCursorBits(CursorBitsPtr bits) 84 if (--bits->refcnt > 0) 86 free(bits->source); 87 free(bits->mask); 89 free(bits->argb); 91 dixFiniPrivates(bits, PRIVATE_CURSOR_BITS); 92 if (bits->refcnt == 0) 97 (this = *prev) && (this->bits != bits); 237 CursorBitsPtr bits; local 312 CursorBitsPtr bits; local [all...] |
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| glamor_transfer.h | 30 uint8_t *bits, uint32_t byte_stride); 35 uint8_t *bits, uint32_t byte_stride); 44 uint8_t *bits, uint32_t byte_stride); 47 glamor_download_rect(PixmapPtr pixmap, int x, int y, int w, int h, uint8_t *bits);
|
| /xsrc/external/mit/brotli/dist/c/enc/ |
| write_bits.h | 7 /* Write bits into a byte array. */ 19 /* This function writes bits into bytes in increasing addresses, and within 22 The function can write up to 56 bits in one go with WriteBits 23 Example: let's assume that 3 bits (Rs below) have been written already: 29 Now, we could write 5 or less bits in MSB by just shifting by 3 32 For n bits, we take the last 5 bits, OR that with high bits in BYTE-0, 35 uint64_t bits, 39 (uint32_t)(bits >> 32), (uint32_t)(bits & 0xFFFFFFFF) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/ |
| vl_rbsp.h | 84 * Make at least 16 more bits available 89 unsigned i, bits; local 91 /* abort if we still have enough bits */ 97 /* abort if we have less than 24 bits left in this nal */ 101 /* check that we have enough bits left from the last fillbits */ 104 /* handle the already escaped bits */ 109 bits = vl_vlc_valid_bits(&rbsp->nal); 110 for (i = valid + 24; i <= bits; i += 8) { 113 rbsp->escaped = bits - i; 114 bits -= 8 137 unsigned bits = 0; local 163 unsigned bits, value; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/ |
| vl_rbsp.h | 84 * Make at least 16 more bits available 89 unsigned i, bits; local 91 /* abort if we still have enough bits */ 97 /* abort if we have less than 24 bits left in this nal */ 101 /* check that we have enough bits left from the last fillbits */ 104 /* handle the already escaped bits */ 109 bits = vl_vlc_valid_bits(&rbsp->nal); 110 for (i = valid + 24; i <= bits; i += 8) { 113 rbsp->escaped = bits - i; 114 bits -= 8 137 unsigned bits = 0; local 163 unsigned bits, value; local [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/fb/ |
| fbblt.c | 90 FbBits bits, bits1; local 126 bits = READ(--src); 128 FbDoRightMaskByteMergeRop(dst, bits, endbyte, endmask); 136 bits = READ(--src); 138 WRITE(dst, FbDoMergeRop(bits, READ(dst))); 142 bits = READ(--src); 144 FbDoLeftMaskByteMergeRop(dst, bits, startbyte, startmask); 148 bits = READ(src++); 149 FbDoLeftMaskByteMergeRop(dst, bits, startbyte, startmask); 158 bits = READ(src++) [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/fb/ |
| fbblt.c | 90 FbBits bits, bits1; local 126 bits = READ(--src); 128 FbDoRightMaskByteMergeRop(dst, bits, endbyte, endmask); 136 bits = READ(--src); 138 WRITE(dst, FbDoMergeRop(bits, READ(dst))); 142 bits = READ(--src); 144 FbDoLeftMaskByteMergeRop(dst, bits, startbyte, startmask); 148 bits = READ(src++); 149 FbDoLeftMaskByteMergeRop(dst, bits, startbyte, startmask); 158 bits = READ(src++) [all...] |
| /xsrc/external/mit/xorg-server/dist/fb/ |
| fbblt.c | 55 FbBits bits, bits1; local 125 bits = READ(--src); 127 FbDoRightMaskByteMergeRop(dst, bits, endbyte, endmask); 136 bits = READ(--src); 138 WRITE(dst, FbDoMergeRop(bits, READ(dst))); 142 bits = READ(--src); 144 FbDoLeftMaskByteMergeRop(dst, bits, startbyte, startmask); 149 bits = READ(src++); 150 FbDoLeftMaskByteMergeRop(dst, bits, startbyte, startmask); 182 bits = READ(src++) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_pipe_control.c | 42 * PIPE_CONTROL_* bits), and it will take care of splitting it into multiple 64 /* A pipe control command with flush and invalidate bits set 113 * Exercising the write cache flush bits (Render Target Cache Flush 145 * Data, Required Write Cache Flush bits set) 207 uint32_t bits = 0; local 224 bits |= invalidate_bits[access]; 227 bits |= flush_bits[i]; 246 bits |= flush_bits[i]; 264 bits |= invalidate_bits[access]; 267 bits |= flush_bits[i] 341 unsigned bits = PIPE_CONTROL_DATA_CACHE_FLUSH | PIPE_CONTROL_CS_STALL; local [all...] |
| /xsrc/external/mit/xorg-server/dist/Xi/ |
| xiselectev.c | 93 * Check the given mask (in len bytes) for invalid mask bits. 94 * Invalid mask bits are any bits above XI2LastEvent. 189 unsigned char *bits = (unsigned char *) &evmask[1]; local 191 if (BitIsOn(bits, XI_HierarchyChanged)) { 199 unsigned char *bits = (unsigned char *) &evmask[1]; local 201 if (BitIsOn(bits, XI_RawKeyPress) || 202 BitIsOn(bits, XI_RawKeyRelease) || 203 BitIsOn(bits, XI_RawButtonPress) || 204 BitIsOn(bits, XI_RawButtonRelease) | 215 unsigned char *bits = (unsigned char *) &evmask[1]; local [all...] |
| /xsrc/external/mit/pixman/dist/test/ |
| alphamap.c | 34 uint32_t *bits = pixman_image_get_data (image); local 36 fence_free (bits); 42 uint32_t *bits; local 47 bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp); 49 bits = (uint32_t *)make_random_floats (WIDTH * HEIGHT * bpp); 51 image = pixman_image_create_bits (format, WIDTH, HEIGHT, bits, WIDTH * bpp); 53 if (image && bits) 62 uint8_t *bits; local 81 bits = (uint8_t *)image->bits.bits 117 uint8_t *bits; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_util.h | 59 /* clamped float [0.0 .. 1.0] -> [0 .. (1<<bits)-1] */ 61 etna_cfloat_to_uintN(float f, int bits) 66 if (f >= (1.0f - 1.0f / (1 << bits))) 67 return (1 << bits) - 1; 69 return f * (1 << bits);
|
| /xsrc/external/mit/xorg-server/dist/hw/xnest/ |
| Cursor.c | 63 pCursor->bits->width, pCursor->bits->height, 1); 67 pCursor->bits->width, pCursor->bits->height, 1); 72 (char *) pCursor->bits->source, 73 pCursor->bits->width, 74 pCursor->bits->height, BitmapPad(xnestDisplay), 0); 77 0, 0, 0, 0, pCursor->bits->width, pCursor->bits->height); 84 (char *) pCursor->bits->mask [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xnest/ |
| Cursor.c | 66 pCursor->bits->width, 67 pCursor->bits->height, 72 pCursor->bits->width, 73 pCursor->bits->height, 79 (char *)pCursor->bits->source, 80 pCursor->bits->width, 81 pCursor->bits->height, 85 0, 0, 0, 0, pCursor->bits->width, pCursor->bits->height); 92 (char *)pCursor->bits->mask [all...] |