Searched refs:bits (Results 251 - 275 of 1594) sorted by relevance

<<11121314151617181920>>

/external/skia/src/core/
H A DSkFloat.h31 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } argument
32 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); } argument
34 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } argument
35 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); } argument
95 static int32_t Shift(int32_t, int bits);
H A DSkBlitBWMaskTemplate.h41 const uint8_t* bits = srcMask.getAddr1(cx, cy); local
50 U8CPU mask = *bits++;
66 rite_mask &= 0xFF; // only want low-8 bits of mask
88 U8CPU mask = *bits & left_mask;
90 bits += mask_rowBytes;
99 const uint8_t* b = bits;
116 bits += mask_rowBytes;
/external/zlib/src/
H A Dinftrees.c23 whose indices are 0..2^bits-1. work is a writable array of at least
27 on return points to the next available entry's address. bits is the
28 requested root table index bits, and on return it is the actual root
29 table index bits. It will differ if the request is greater than the
32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
37 unsigned FAR *bits;
40 unsigned len; /* a code's length in bits */
43 unsigned root; /* number of index bits for root table */
44 unsigned curr; /* number of index bits for current table */
45 unsigned drop; /* code bits t
[all...]
H A Dinflate.c30 * - Add comments on state->bits assertion in inffast.c
121 state->bits = 0;
166 /* set number of window bits, free window if different */
230 int ZEXPORT inflatePrime(strm, bits, value)
232 int bits;
239 if (bits < 0) {
241 state->bits = 0;
244 if (bits > 16 || state->bits + bits > 3
271 unsigned sym, bits; local
614 unsigned bits; /* bits in bit buffer */ local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Da_bitstr.c67 int ret,j,bits,len; local
78 bits=(int)a->flags&0x07;
87 if (j & 0x01) bits=0;
88 else if (j & 0x02) bits=1;
89 else if (j & 0x04) bits=2;
90 else if (j & 0x08) bits=3;
91 else if (j & 0x10) bits=4;
92 else if (j & 0x20) bits=5;
93 else if (j & 0x40) bits=6;
94 else if (j & 0x80) bits
[all...]
/external/openssl/crypto/dsa/
H A Ddsa_gen.c88 int DSA_generate_parameters_ex(DSA *ret, int bits, argument
101 return ret->meth->dsa_paramgen(ret, bits, seed_in, seed_len,
106 return FIPS_dsa_generate_parameters_ex(ret, bits,
114 size_t qbits = bits >= 2048 ? 256 : 160;
116 if (bits >= 2048)
127 return dsa_builtin_paramgen(ret, bits, qbits, evpmd,
132 int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, argument
159 if (bits < 512)
160 bits = 512;
162 bits
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
H A Dstw_pixelformat.c50 } bits; member in struct:stw_pf_color_info
65 } bits; member in struct:stw_pf_depth_info
136 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 0) == color->bits.red);
137 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 1) == color->bits.green);
138 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 2) == color->bits.blue);
139 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 3) == color->bits.alpha);
140 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 0) == depth->bits.depth);
141 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 1) == depth->bits.stencil);
165 pfi->pfd.cColorBits = color->bits.red + color->bits
[all...]
/external/chromium_org/third_party/speex/libspeex/
H A Dstereo.c108 EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits) argument
124 speex_bits_pack(bits, 14, 5);
125 speex_bits_pack(bits, SPEEX_INBAND_STEREO, 4);
131 speex_bits_pack(bits, 0, 1);
133 speex_bits_pack(bits, 1, 1);
138 speex_bits_pack(bits, (int)balance, 5);
142 speex_bits_pack(bits, tmp, 2);
146 EXPORT void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits) argument
158 speex_bits_pack(bits, 14, 5);
160 speex_bits_pack(bits, SPEEX_INBAND_STERE
274 speex_std_stereo_request_handler(SpeexBits *bits, void *state, void *data) argument
[all...]
/external/chromium_org/third_party/zlib/
H A Dinflate.c30 * - Add comments on state->bits assertion in inffast.c
122 state->bits = 0;
154 /* set number of window bits, free window if different */
209 int ZEXPORT inflatePrime(strm, bits, value)
211 int bits;
218 if (bits < 0) {
220 state->bits = 0;
223 if (bits > 16 || state->bits + bits > 3
250 unsigned sym, bits; local
598 unsigned bits; /* bits in bit buffer */ local
[all...]
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_pixelformat.c50 } bits; member in struct:stw_pf_color_info
65 } bits; member in struct:stw_pf_depth_info
136 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 0) == color->bits.red);
137 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 1) == color->bits.green);
138 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 2) == color->bits.blue);
139 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 3) == color->bits.alpha);
140 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 0) == depth->bits.depth);
141 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 1) == depth->bits.stencil);
165 pfi->pfd.cColorBits = color->bits.red + color->bits
[all...]
/external/speex/libspeex/
H A Dstereo.c108 EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits) argument
124 speex_bits_pack(bits, 14, 5);
125 speex_bits_pack(bits, SPEEX_INBAND_STEREO, 4);
131 speex_bits_pack(bits, 0, 1);
133 speex_bits_pack(bits, 1, 1);
138 speex_bits_pack(bits, (int)balance, 5);
142 speex_bits_pack(bits, tmp, 2);
146 EXPORT void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits) argument
158 speex_bits_pack(bits, 14, 5);
160 speex_bits_pack(bits, SPEEX_INBAND_STERE
274 speex_std_stereo_request_handler(SpeexBits *bits, void *state, void *data) argument
[all...]
/external/tremolo/Tremolo/
H A Dbitwise.c38 /* We're 'LSb' endian; if we write a word but read individual bits,
73 extern long oggpack_lookARM(oggpack_buffer *b,int bits);
75 long oggpack_look(oggpack_buffer *b,int bits){ argument
78 //fprintf(stderr, "PreLook: buffer=(%x,%x,%x) %08x%08x (%d bits)\n",
80 // b->ptr[1], b->ptr[0], bits);
82 l = oggpack_lookARM(b,bits);
83 //fprintf(stderr, "Look: buffer=(%d,%x,%d,%d) %08x%08x (%d bits) (result=%x)\n",
85 // b->ptr[1], b->ptr[0], bits, l);
91 extern void oggpack_advARM(oggpack_buffer *b,int bits);
93 void oggpack_adv(oggpack_buffer *b,int bits){ argument
108 oggpack_read(oggpack_buffer *b,int bits) argument
215 oggpack_look(oggpack_buffer *b,int bits) argument
286 oggpack_adv(oggpack_buffer *b,int bits) argument
337 oggpack_read(oggpack_buffer *b,int bits) argument
390 cliptest(unsigned long *b,int vals,int bits,int *comp,int compsize) argument
[all...]
/external/qemu/distrib/zlib-1.2.8/
H A Dinflate.c30 * - Add comments on state->bits assertion in inffast.c
121 state->bits = 0;
166 /* set number of window bits, free window if different */
230 int ZEXPORT inflatePrime(strm, bits, value)
232 int bits;
239 if (bits < 0) {
241 state->bits = 0;
244 if (bits > 16 || state->bits + bits > 3
271 unsigned sym, bits; local
614 unsigned bits; /* bits in bit buffer */ local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBlitBWMaskTemplate.h41 const uint8_t* bits = srcMask.getAddr1(cx, cy); local
50 U8CPU mask = *bits++;
66 rite_mask &= 0xFF; // only want low-8 bits of mask
88 U8CPU mask = *bits & left_mask;
90 bits += mask_rowBytes;
99 const uint8_t* b = bits;
116 bits += mask_rowBytes;
/external/chromium_org/third_party/speex/include/speex/
H A Dspeex.h124 /** Set Average Bit-Rate (ABR) to n bits per seconds */
227 typedef int (*encode_func)(void *state, void *in, SpeexBits *bits);
239 typedef int (*decode_func)(void *state, SpeexBits *bits, void *out);
308 "in". The encoded bit-stream is saved in "bits".
313 @param bits Bit-stream where the data will be written
316 int speex_encode(void *state, float *in, SpeexBits *bits);
319 "in". The encoded bit-stream is saved in "bits".
322 @param bits Bit-stream where the data will be written
325 int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits);
354 * bit-stream bits
[all...]
/external/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIXLog.cpp84 uint32_t bits = GetFlagBits(arg); local
86 if (bits)
88 flag_bits &= ~bits;
129 uint32_t bits = GetFlagBits(arg); local
131 if (bits)
133 flag_bits |= bits;
/external/speex/include/speex/
H A Dspeex.h124 /** Set Average Bit-Rate (ABR) to n bits per seconds */
227 typedef int (*encode_func)(void *state, void *in, SpeexBits *bits);
239 typedef int (*decode_func)(void *state, SpeexBits *bits, void *out);
308 "in". The encoded bit-stream is saved in "bits".
313 @param bits Bit-stream where the data will be written
316 int speex_encode(void *state, float *in, SpeexBits *bits);
319 "in". The encoded bit-stream is saved in "bits".
322 @param bits Bit-stream where the data will be written
325 int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits);
354 * bit-stream bits
[all...]
/external/tinyalsa/
H A Dtinypcminfo.c146 printf(" Access:\t%#08x\n", m->bits[0]);
151 const unsigned bitcount = sizeof(m->bits[0]) * 8;
154 printf(" Format[0]:\t%#08x\n", m->bits[0]);
155 printf(" Format[1]:\t%#08x\n", m->bits[1]);
162 if (m->bits[k] & (1 << j)) {
181 printf(" Subformat:\t%#08x\n", m->bits[0]);
191 printf(" Sample bits:\tmin=%u\t\tmax=%u\n", min, max);
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_inflate.c30 * - Add comments on state->bits assertion in inffast.c
121 state->bits = 0;
166 /* set number of window bits, free window if different */
232 int bits,
239 if (bits < 0) {
241 state->bits = 0;
244 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR;
245 value &= (1L << bits)
230 inflatePrime( z_streamp strm, int bits, int value) argument
271 unsigned sym, bits; local
614 unsigned bits; /* bits in bit buffer */ local
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Ducnv_u7.c169 * 15..0 bits (up to 14 bits incoming base64)
175 * 7..0 bits (6 bits outgoing base64)
220 uint16_t bits; local
242 bits=(uint16_t)status;
286 bits=0;
336 } else if(bits!=0) {
337 /* bits are illegally left over, a UChar is incomplete */
361 bits
469 uint8_t bits; local
902 uint16_t bits; local
1168 uint8_t bits; local
[all...]
/external/icu/icu4c/source/common/
H A Ducnv_u7.c169 * 15..0 bits (up to 14 bits incoming base64)
175 * 7..0 bits (6 bits outgoing base64)
220 uint16_t bits; local
242 bits=(uint16_t)status;
286 bits=0;
336 } else if(bits!=0) {
337 /* bits are illegally left over, a UChar is incomplete */
361 bits
469 uint8_t bits; local
902 uint16_t bits; local
1168 uint8_t bits; local
[all...]
/external/pixman/pixman/
H A Dpixman-bits-image.c151 bits_image_t *bits = &ima->bits; local
171 if (!pixman_transform_point_3d (bits->common.transform, &v))
174 ux = ux_top = ux_bottom = bits->common.transform->matrix[0][0];
194 if (y1 < 0 || y1 >= bits->height)
202 top_row = bits->bits + y1 * bits->rowstride;
207 if (y2 < 0 || y2 >= bits->height)
215 bottom_row = bits
737 bits_image_t *bits = &image->bits; local
886 bits_image_t *bits = &image->bits; local
1040 bits_image_t *bits = &image->bits; local
1190 replicate_pixel_32(bits_image_t * bits, int x, int y, int width, uint32_t * buffer) argument
1207 replicate_pixel_float(bits_image_t * bits, int x, int y, int width, uint32_t * b) argument
1710 _pixman_bits_image_init(pixman_image_t * image, pixman_format_code_t format, int width, int height, uint32_t * bits, int rowstride, pixman_bool_t clear) argument
1753 create_bits_image_internal(pixman_format_code_t format, int width, int height, uint32_t * bits, int rowstride_bytes, pixman_bool_t clear) argument
1787 pixman_image_create_bits(pixman_format_code_t format, int width, int height, uint32_t * bits, int rowstride_bytes) argument
1800 pixman_image_create_bits_no_clear(pixman_format_code_t format, int width, int height, uint32_t * bits, int rowstride_bytes) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_cost.h35 int bits, int len) {
40 const int bit = (bits >> --len) & 1;
34 treed_cost(vp9_tree tree, const vp9_prob *probs, int bits, int len) argument
H A Dvp9_treewriter.h32 const vp9_prob *probs, int bits, int len,
35 const int bit = (bits >> --len) & 1;
31 vp9_write_tree(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, int bits, int len, vp9_tree_index i) argument
H A Dvp9_write_bit_buffer.c31 void vp9_wb_write_literal(struct vp9_write_bit_buffer *wb, int data, int bits) { argument
33 for (bit = bits - 1; bit >= 0; bit--)

Completed in 915 milliseconds

<<11121314151617181920>>