Searched defs:bit (Results 1 - 25 of 30) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_write_bit_buffer.c17 void vp9_wb_write_bit(struct vp9_write_bit_buffer *wb, int bit) { argument
22 wb->bit_buffer[p] = bit << q;
25 wb->bit_buffer[p] |= bit << q;
31 int bit; local
32 for (bit = bits - 1; bit >= 0; bit--)
33 vp9_wb_write_bit(wb, (data >> bit) & 1);
H A Dvp9_cost.h26 #define vp9_cost_bit(prob, bit) vp9_cost_zero((bit) ? vp9_complement(prob) \
40 const int bit = (bits >> --len) & 1; local
41 cost += vp9_cost_bit(probs[i >> 1], bit);
42 i = tree[i + bit];
H A Dvp9_treewriter.h35 const int bit = (bits >> --len) & 1; local
36 vp9_write(w, bit, probs[i >> 1]);
37 i = tree[i + bit];
H A Dvp9_writer.h30 // Variables used to track bit costs without outputing to the bitstream
38 static void vp9_write(vp9_writer *br, int bit, int probability) { argument
49 if (bit) {
86 static void vp9_write_bit(vp9_writer *w, int bit) { argument
87 vp9_write(w, bit, 128); // vp9_prob_half
91 int bit; local
93 for (bit = bits - 1; bit >= 0; bit--)
94 vp9_write_bit(w, 1 & (data >> bit));
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dvp9_boolcoder_test.cc57 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local
60 bit = (i & 1);
62 bit = bit_rnd(2);
64 vp9_write(&bw, bit, static_cast<int>(probas[i]));
69 // First bit should be zero
77 bit = (i & 1);
79 bit = bit_rnd(2);
81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit)
H A Dvp8_boolcoder_test.cc84 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local
87 bit = (i & 1);
89 bit = bit_rnd(2);
91 vp8_encode_bool(&bw, bit, static_cast<int>(probas[i]));
108 bit = (i & 1);
110 bit = bit_rnd(2);
112 GTEST_ASSERT_EQ(vp8dx_decode_bool(&br, probas[i]), bit)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dboolhuff.c65 int bit; local
67 for (bit = bits - 1; bit >= 0; bit--)
68 vp8_encode_bool(br, (1 & (data >> bit)), 0x80);
H A Dboolhuff.h39 /* Variables used to track bit costs without outputing to the bitstream */
66 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) argument
77 if (bit)
89 if (bit)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_read_bit_buffer.c24 const int bit = (rb->bit_buffer[p] & (1 << q)) >> q; local
26 return bit;
31 int value = 0, bit; local
32 for (bit = bits - 1; bit >= 0; bit--)
33 value |= vp9_rb_read_bit(rb) << bit;
H A Dvp9_reader.h48 unsigned int bit = 0; local
68 bit = 1;
81 return bit;
89 int literal = 0, bit; local
91 for (bit = bits - 1; bit >= 0; bit--)
92 literal |= vp9_read_bit(r) << bit;
H A Dvp9_decodemv.c289 const int bit = vp9_read(r, fc->comp_ref_prob[ctx]); local
291 ++counts->comp_ref[ctx][bit];
293 ref_frame[!idx] = cm->comp_var_ref[bit];
/hardware/intel/img/psb_video/src/android/
H A Dpsb_mds.h56 inline bool checkMode(int value, int bit) { argument
57 return (value & bit) == bit ? true : false;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
H A Ddboolhuff.h64 unsigned int bit = 0; local
87 bit = 1;
100 return bit;
106 int bit; local
108 for (bit = bits - 1; bit >= 0; bit--)
110 z |= (vp8dx_decode_bool(br, 0x80) << bit);
/hardware/intel/img/hwcomposer/common/planes/
H A DDisplayPlaneManager.cpp115 int bit = (1 << i); local
116 if (bit & mask) {
117 mask &= ~bit;
130 int bit = (1 << index); local
132 if (bit & mask) {
133 WLOGTRACE("bit %d was set", index);
137 mask |= bit;
145 int bit = (1 << index); local
146 if (bit & mask) {
147 mask &= ~bit;
288 int bit = (1 << j); local
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/common/src/
H A Dextra_data_handler.cpp84 OMX_U32 symbol, bit; local
86 bit = d_u(1);
88 }while (!bit);
145 DEBUG_PRINT_ERROR("\nERROR: In %s() Non-zero forbidden bit", __func__);
/hardware/qcom/media/mm-video-v4l2/vidc/common/src/
H A Dextra_data_handler.cpp87 OMX_U32 symbol, bit; local
90 bit = d_u(1);
92 } while (!bit);
155 DEBUG_PRINT_ERROR("ERROR: In %s() Non-zero forbidden bit", __func__);
/hardware/intel/common/libmix/videoencoder/
H A Dbitstream.h114 static void bitstream_byte_aligning(bitstream *bs, int bit) argument
123 assert(bit == 0 || bit == 1);
125 if (bit)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
H A Dmkvmuxerutil.cpp202 const uint64 bit = 1LL << (size * 7); local
204 if (value > (bit - 2))
207 value |= bit;
210 int64 bit; local
213 bit = 1LL << (size * 7);
214 const uint64 max = bit - 2;
225 value |= bit;
345 // is a signed, 16-bit integer). However, as a simplification we
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_pcm.c97 {"S8", "Signed 8 bit"},
98 {"U8", "Unsigned 8 bit"},
99 {"S16_LE", "Signed 16 bit Little Endian"},
100 {"S16_BE", "Signed 16 bit Big Endian"},
101 {"U16_LE", "Unsigned 16 bit Little Endian"},
102 {"U16_BE", "Unsigned 16 bit Big Endian"},
103 {"S24_LE", "Signed 24 bit Little Endian"},
104 {"S24_BE", "Signed 24 bit Big Endian"},
105 {"U24_LE", "Unsigned 24 bit Little Endian"},
106 {"U24_BE", "Unsigned 24 bit Bi
209 param_set_mask(struct snd_pcm_hw_params *p, int n, unsigned bit) argument
[all...]
/hardware/intel/common/libva/test/encode/
H A Davcenc.c842 bitstream_byte_aligning(bitstream *bs, int bit) argument
851 assert(bit == 0 || bit == 1);
853 if (bit)
H A Dmpeg2enc.c226 bitstream_byte_aligning(bitstream *bs, int bit) argument
235 assert(bit == 0 || bit == 1);
237 if (bit)
H A Dmpeg2vaenc.c226 bitstream_byte_aligning(bitstream *bs, int bit) argument
235 assert(bit == 0 || bit == 1);
237 if (bit)
/hardware/intel/common/libva/test/transcode/
H A Dmpeg2transcode.cpp2549 bitstream_byte_aligning(bitstream *bs, int bit) argument
2558 assert(bit == 0 || bit == 1);
2560 if (bit)
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
H A Dh264_utils.h178 uint32 bit; member in class:RbspParser
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
H A Dh264_utils.h183 uint32 bit; member in class:RbspParser

Completed in 748 milliseconds

12