Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 118) sorted by relevance

12345

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_math.c27 register unsigned long bit = 0x1; in ldiv_mod_u() local
44 bit <<= 1; in ldiv_mod_u()
47 while (bit) in ldiv_mod_u()
51 res |= bit; in ldiv_mod_u()
55 bit >>= 1; in ldiv_mod_u()
66 register unsigned bit = 0x10000; in ldiv_u() local
68 while (bit) in ldiv_u()
71 bit >>= 1; in ldiv_u()
74 res |= bit; in ldiv_u()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_write_bit_buffer.c17 void vp9_wb_write_bit(struct vp9_write_bit_buffer *wb, int bit) { in vp9_wb_write_bit() argument
22 wb->bit_buffer[p] = bit << q; in vp9_wb_write_bit()
25 wb->bit_buffer[p] |= bit << q; in vp9_wb_write_bit()
31 int bit; in vp9_wb_write_literal() local
32 for (bit = bits - 1; bit >= 0; bit--) in vp9_wb_write_literal()
33 vp9_wb_write_bit(wb, (data >> bit) & 1); in vp9_wb_write_literal()
Dvp9_writer.h38 static void vp9_write(vp9_writer *br, int bit, int probability) { in vp9_write() argument
49 if (bit) { in vp9_write()
86 static void vp9_write_bit(vp9_writer *w, int bit) { in vp9_write_bit() argument
87 vp9_write(w, bit, 128); // vp9_prob_half in vp9_write_bit()
91 int bit; in vp9_write_literal() local
93 for (bit = bits - 1; bit >= 0; bit--) in vp9_write_literal()
94 vp9_write_bit(w, 1 & (data >> bit)); in vp9_write_literal()
Dvp9_cost.h26 #define vp9_cost_bit(prob, bit) vp9_cost_zero((bit) ? vp9_complement(prob) \ argument
40 const int bit = (bits >> --len) & 1; in treed_cost() local
41 cost += vp9_cost_bit(probs[i >> 1], bit); in treed_cost()
42 i = tree[i + bit]; in treed_cost()
Dvp9_treewriter.h35 const int bit = (bits >> --len) & 1; in vp9_write_tree() local
36 vp9_write(w, bit, probs[i >> 1]); in vp9_write_tree()
37 i = tree[i + bit]; in vp9_write_tree()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_read_bit_buffer.c24 const int bit = (rb->bit_buffer[p] & (1 << q)) >> q; in vp9_rb_read_bit() local
26 return bit; in vp9_rb_read_bit()
31 int value = 0, bit; in vp9_rb_read_literal() local
32 for (bit = bits - 1; bit >= 0; bit--) in vp9_rb_read_literal()
33 value |= vp9_rb_read_bit(rb) << bit; in vp9_rb_read_literal()
Dvp9_reader.h48 unsigned int bit = 0; in vp9_read() local
68 bit = 1; in vp9_read()
81 return bit; in vp9_read()
89 int literal = 0, bit; in vp9_read_literal() local
91 for (bit = bits - 1; bit >= 0; bit--) in vp9_read_literal()
92 literal |= vp9_read_bit(r) << bit; in vp9_read_literal()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddboolhuff.h64 unsigned int bit = 0; in vp8dx_decode_bool() local
87 bit = 1; in vp8dx_decode_bool()
100 return bit; in vp8dx_decode_bool()
106 int bit; in vp8_decode_value() local
108 for (bit = bits - 1; bit >= 0; bit--) in vp8_decode_value()
110 z |= (vp8dx_decode_bool(br, 0x80) << bit); in vp8_decode_value()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dvp9_boolcoder_test.cc57 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; in TEST() local
60 bit = (i & 1); in TEST()
62 bit = bit_rnd(2); in TEST()
64 vp9_write(&bw, bit, static_cast<int>(probas[i])); in TEST()
77 bit = (i & 1); in TEST()
79 bit = bit_rnd(2); in TEST()
81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit) in TEST()
Dvp8_boolcoder_test.cc84 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; in TEST() local
87 bit = (i & 1); in TEST()
89 bit = bit_rnd(2); in TEST()
91 vp8_encode_bool(&bw, bit, static_cast<int>(probas[i])); in TEST()
108 bit = (i & 1); in TEST()
110 bit = bit_rnd(2); in TEST()
112 GTEST_ASSERT_EQ(vp8dx_decode_bool(&br, probas[i]), bit) in TEST()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dboolhuff.c65 int bit; in vp8_encode_value() local
67 for (bit = bits - 1; bit >= 0; bit--) in vp8_encode_value()
68 vp8_encode_bool(br, (1 & (data >> bit)), 0x80); in vp8_encode_value()
Dboolhuff.h66 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) in vp8_encode_bool() argument
77 if (bit) in vp8_encode_bool()
89 if (bit) in vp8_encode_bool()
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h53 #define SET_BIT(value, bit) (value |= (1 << (bit))) argument
54 #define CLEAR_BIT(value, bit) (value &= (~(1 << (bit)))) argument
55 #define IS_BIT_SET(value, bit) (value & (1 << (bit))) argument
57 #define BITMAP(bit) (1 << (bit)) argument
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/
DDisplayPlaneManager.cpp115 int bit = (1 << i); in getPlane() local
116 if (bit & mask) { in getPlane()
117 mask &= ~bit; in getPlane()
130 int bit = (1 << index); in putPlane() local
132 if (bit & mask) { in putPlane()
137 mask |= bit; in putPlane()
145 int bit = (1 << index); in getPlane() local
146 if (bit & mask) { in getPlane()
147 mask &= ~bit; in getPlane()
288 int bit = (1 << j); in disableReclaimedPlanes() local
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/planes/
DDisplayPlaneManager.cpp115 int bit = (1 << i); in getPlane() local
116 if (bit & mask) { in getPlane()
117 mask &= ~bit; in getPlane()
130 int bit = (1 << index); in putPlane() local
132 if (bit & mask) { in putPlane()
137 mask |= bit; in putPlane()
145 int bit = (1 << index); in getPlane() local
146 if (bit & mask) { in getPlane()
147 mask &= ~bit; in getPlane()
288 int bit = (1 << j); in disableReclaimedPlanes() local
[all …]
/hardware/intel/img/psb_video/src/android/
Dpsb_mds.h56 inline bool checkMode(int value, int bit) { in checkMode() argument
57 return (value & bit) == bit ? true : false; in checkMode()
/hardware/libhardware/modules/input/evdev/
DSwitchInputMapper.cpp113 auto bit = mUpdatedSwitchMask.firstMarkedBit(); in sync() local
114 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_SWITCH, codeMap[bit].usage, in sync()
115 mSwitchValues.hasBit(bit), 0); in sync()
116 mUpdatedSwitchMask.clearBit(bit); in sync()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_error_sse2.asm33 ; individual errors are max. 15bit+sign, so squares are 30bit, and
34 ; thus the sum of 2 should fit in a 31bit integer (+ unused sign bit)
39 ; accumulate in 64bit
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ppc/
Drecon_altivec.asm19 vmrghb v2, v0, v1 ;# v2 = 16-bit p0..p7
22 vmrglb v1, v0, v1 ;# v1 = 16-bit p8..p15
26 vpkshus v2, v2, v3 ;# v2 = 8-bit r0..r15
58 vmrghb v2, v0, v1 ;# v2 = 16-bit p0..p7
61 vmrglb v1, v0, v1 ;# v1 = 16-bit p8..p15
64 vpkshus v2, v2, v3 ;# v3 = 8-bit r0..r15
150 vmrghb v2, v0, v1; ;# v2 = 16-bit p0..p7
157 vmrglb v1, v0, v1; ;# v1 = 16-bit p8..p15
160 vpkshus v2, v2, v3; ;# v2 = 8-bit r0..r15
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
Dvc1parse_bitplane.c35 int bit; in put_bit() local
38 bit = mby; in put_bit()
47 bit = x & 0x1f; /* compute remaining bits */ in put_bit()
48 *out |= 1 << bit; /* put bit */ in put_bit()
64 int bit; in xor_bit() local
72 bit = x & 0x1f; /* compute remaining bits */ in xor_bit()
75 *out ^= (1 << bit); /* put XOR bit */ in xor_bit()
76 value = (*out & (1 << bit)) >> bit; /* return bit value */ in xor_bit()
94 int bit; in get_bit() local
101 bit = x & 0x1f; /* compute remaining bits */ in get_bit()
[all …]
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_ion.h65 #define ION_HEAP(bit) (1 << (bit)) argument
/hardware/qcom/msm8x27/kernel-headers/linux/
Dmsm_ion.h66 #define ION_HEAP(bit) (1 << (bit)) argument
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_ion.h96 #define ION_HEAP(bit) (1 << (bit)) argument
/hardware/bsp/intel/peripheral/libmraa/docs/
Dgalileorevd.md5 Application Processor, a 32-bit Intel Pentium-class system on a chip.
12 - adc kernel module will return 12bit number. MRAA defaults shift this to 10bits
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_ion.h77 #define ION_HEAP(bit) (1 << (bit)) argument

12345