Searched defs:bits (Results 1 - 25 of 66) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_write_bit_buffer.c30 void vp9_wb_write_literal(struct vp9_write_bit_buffer *wb, int data, int bits) { argument
32 for (bit = bits - 1; bit >= 0; bit--)
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_writer.h90 static void vp9_write_literal(vp9_writer *w, int data, int bits) { argument
93 for (bit = bits - 1; bit >= 0; bit--)
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
H A Daio.hpp87 * from the ADC to. I.e. 10bits
88 * @param bits the bits the return from read should be i.e 10
92 setBit(int bits) argument
94 return (Result) mraa_aio_set_bit(m_aio, bits);
H A Dspi.hpp206 * Set bits per mode on transaction, default is 8
208 * @param bits bits per word
212 bitPerWord(unsigned int bits) argument
214 return (Result) mraa_spi_bit_per_word(m_spi, bits);
/hardware/bsp/intel/peripheral/libupm/src/ht9170/
H A Dht9170.cxx116 uint8_t bits = 0; local
118 bits = mraa_gpio_read(m_o1);
119 bits |= (mraa_gpio_read(m_o2) << 1);
120 bits |= (mraa_gpio_read(m_o3) << 2);
121 bits |= (mraa_gpio_read(m_o4) << 3);
123 return decode[bits];
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dboolhuff.c63 void vp8_encode_value(BOOL_CODER *br, int data, int bits) argument
67 for (bit = bits - 1; bit >= 0; bit--)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_read_bit_buffer.c30 int vp9_rb_read_literal(struct vp9_read_bit_buffer *rb, int bits) { argument
32 for (bit = bits - 1; bit >= 0; bit--)
38 int bits) {
39 const int value = vp9_rb_read_literal(rb, bits);
37 vp9_rb_read_signed_literal(struct vp9_read_bit_buffer *rb, int bits) argument
H A Dvp9_reader.h88 static int vp9_read_literal(vp9_reader *r, int bits) { argument
91 for (bit = bits - 1; bit >= 0; bit--)
/hardware/libhardware/modules/input/evdev/
H A DBitUtils.cpp53 uint8_t bits = arr[i]; local
56 ALOGD("block %04d: %s%s", i, bitstrings[bits >> 4], bitstrings[bits & 0x0f]);
58 if (bits) {
59 // Mask off bits before our start bit
63 // Mask off bits after our end bit
71 if (bits & mask) return true;
/hardware/bsp/intel/peripheral/libmraa/src/aio/
H A Daio.c208 mraa_aio_set_bit(mraa_aio_context dev, int bits) argument
210 if (dev == NULL || bits < 1) {
214 dev->value_bit = bits;
/hardware/bsp/intel/peripheral/libupm/src/rgbringcoder/
H A Drgbringcoder.cxx123 // the encoder is turning. 2-bits of oldEncoderState are paired
124 // with 2-bits of newEncoderState to create 16 possible values.
140 // First we need to shift oldEncoder state left two bits.
141 // This'll put the last state in bits 2 and 3.
156 void RGBRingCoder::setRingLEDS(uint16_t bits) argument
161 // Now shift out the bits, msb first
164 m_gpioData.write( ((bits & 0x8000) ? 1 : 0) );
170 bits <<= 1;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
H A Ddboolhuff.h103 static int vp8_decode_value(BOOL_DECODER *br, int bits) argument
108 for (bit = bits - 1; bit >= 0; bit--)
120 * Variable 'count' stores the number of bits in the 'value' buffer, minus
122 * to be shifted into it. So if count == 8, the top 16 bits of 'value' are
132 /* We have tried to decode bits after the end of
/hardware/bsp/intel/peripheral/libmraa/src/spi/
H A Dspi.c236 mraa_spi_bit_per_word(mraa_spi_context dev, unsigned int bits) argument
238 if (ioctl(dev->devfd, SPI_IOC_WR_BITS_PER_WORD, &bits) < 0) {
242 dev->bpw = bits;
/hardware/bsp/intel/peripheral/libupm/src/pca9685/
H A Dpca9685.cxx179 uint8_t bits = readByte(regoff); local
182 bits |= 0x10;
184 bits &= ~0x10;
186 return writeByte(regoff, bits);
207 uint8_t bits = readByte(regoff); local
210 bits |= 0x10;
212 bits &= ~0x10;
214 return writeByte(regoff, bits);
/hardware/intel/common/libva/va/
H A Dva_enc_jpeg.h93 } bits; member in union:_VAEncPictureParameterBufferJPEG::__anon899
97 /** \brief number of bits per sample. */
H A Dva_dec_vp8.h59 * it is the number of remaining bits in 'value' for decoding, range [0, 7].
116 } bits; member in union:_VAPictureParameterBufferVP8::__anon877
196 * exclude current byte for the remaining bits in bool_coder_ctx.
H A Dva_dec_vp9.h151 } bits; member in union:_VADecPictureParameterBufferVP9::__anon879
H A Dva_enc_vp8.h134 } bits; member in union:_VAEncPictureParameterBufferVP8::__anon911
236 } bits; member in union:_VAEncPictureParameterBufferVP8::__anon913
/hardware/bsp/intel/peripheral/libupm/src/hp20x/
H A Dhp20x.cxx222 bool HP20X::setInterruptEnable(uint8_t bits) argument
224 return writeReg(REG_INT_EN, bits);
227 bool HP20X::setInterruptConfig(uint8_t bits) argument
229 return writeReg(REG_INT_CFG, bits);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dviddec_pm_utils_bstream.c4 /* Internal data structure for calculating required bits. */
225 This function moves the stream position by N bits(parameter bits). The bytes parameter tells us how many bytes were
226 read for this N bits(can be different due to emulation bytes).
228 static inline void viddec_pm_utils_update_skipoffsets(viddec_pm_utils_bstream_buf_cxt_t *bstream, uint32_t bits, uint32_t bytes) argument
230 if((bits & 0x7) == 0)
237 bstream->buf_bitoff = bits & 0x7;
366 Function to skip N bits ( N<= 32).
403 Function to get N bits ( N<= 32).
409 /* STEP 1: Make sure that we have at least minimum data before we calculate bits */
[all...]
/hardware/intel/common/libva/test/decode/
H A Dtinyjpeg-internal.h69 /*bits and values*/
70 unsigned char bits[16]; member in struct:huffman_table
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_entropymv.h64 #define CLASS0_BITS 1 /* bits at integer precision for class 0 */
86 vp9_prob bits[MV_OFFSET_BITS]; member in struct:__anon1113
114 unsigned int bits[MV_OFFSET_BITS][2]; member in struct:__anon1115
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
H A Dmp4_utils.cpp58 uint8 *bits = &posPtr->bytePtr[0]; local
60 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3];
290 bits_parsed += vop_bits + 1;//Vop bit & Marker bits

Completed in 609 milliseconds

123