/external/libvpx/libvpx/vpx_dsp/ |
bitwriter_buffer.c | 18 return wb->bit_offset / CHAR_BIT + (wb->bit_offset % CHAR_BIT > 0); 22 const int off = (int)wb->bit_offset; 31 wb->bit_offset = off + 1;
|
bitreader_buffer.c | 14 return (rb->bit_offset + 7) >> 3; 18 const size_t off = rb->bit_offset; 23 rb->bit_offset = off + 1;
|
bitwriter_buffer.h | 22 size_t bit_offset; member in struct:vpx_write_bit_buffer
|
bitreader_buffer.h | 27 size_t bit_offset; member in struct:vpx_read_bit_buffer
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_read_bit_buffer.c | 13 return rb->bit_offset / CHAR_BIT + (rb->bit_offset % CHAR_BIT > 0); 17 const size_t off = rb->bit_offset; 25 rb->bit_offset = off + 1;
|
vp9_read_bit_buffer.h | 27 size_t bit_offset; member in struct:vp9_read_bit_buffer
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_write_bit_buffer.c | 14 return wb->bit_offset / CHAR_BIT + (wb->bit_offset % CHAR_BIT > 0); 18 const int off = (int)wb->bit_offset; 27 wb->bit_offset = off + 1;
|
vp9_write_bit_buffer.h | 24 size_t bit_offset; member in struct:vp9_write_bit_buffer
|
/hardware/intel/common/libmix/videoencoder/ |
bitstream.h | 25 int bit_offset; member in struct:bitstream 45 bs->bit_offset = 0; 50 int pos = (bs->bit_offset >> 5); 51 int bit_offset = (bs->bit_offset & 0x1f); local 52 int bit_left = 32 - bit_offset; 54 if (bit_offset) { 61 int pos = (bs->bit_offset >> 5); 62 int bit_offset = (bs->bit_offset & 0x1f) local 116 int bit_offset = (bs->bit_offset & 0x7); local [all...] |
/art/runtime/ |
memory_region.h | 107 ALWAYS_INLINE bool LoadBit(uintptr_t bit_offset) const { 109 uint8_t byte = *ComputeBitPointer(bit_offset, &bit_mask); 113 ALWAYS_INLINE void StoreBit(uintptr_t bit_offset, bool value) const { 115 uint8_t* byte = ComputeBitPointer(bit_offset, &bit_mask); 123 // Load `length` bits from the region starting at bit offset `bit_offset`. 127 uint32_t LoadBits(uintptr_t bit_offset, size_t length) const { 131 value |= LoadBit(bit_offset + i) << i; 137 // `bit_offset`. The bit at the smallest offset is the least significant 140 void StoreBits(uintptr_t bit_offset, uint32_t value, size_t length) { 144 StoreBit(bit_offset + i, ith_bit) [all...] |
stack_map.h | 718 size_t bit_offset = 0; local 719 DCHECK_EQ(kNativePcBitOffset, bit_offset); 720 bit_offset += MinimumBitsToStore(native_pc_max); 722 dex_pc_bit_offset_ = dchecked_integral_cast<uint8_t>(bit_offset); 723 bit_offset += MinimumBitsToStore(1 /* kNoDexPc */ + dex_pc_max); 727 dex_register_map_bit_offset_ = dchecked_integral_cast<uint8_t>(bit_offset); 728 bit_offset += MinimumBitsToStore(dex_register_map_size); 733 inline_info_bit_offset_ = dchecked_integral_cast<uint8_t>(bit_offset); 735 bit_offset += MinimumBitsToStore(dex_register_map_size + inline_info_size); 738 register_mask_bit_offset_ = dchecked_integral_cast<uint8_t>(bit_offset); [all...] |
/external/webrtc/webrtc/base/ |
bitbuffer_unittest.cc | 144 size_t byte_offset, bit_offset; local 148 buffer.GetCurrentOffset(&byte_offset, &bit_offset); 150 EXPECT_EQ(7u, bit_offset); 152 buffer.GetCurrentOffset(&byte_offset, &bit_offset); 154 EXPECT_EQ(7u, bit_offset); 159 buffer.GetCurrentOffset(&byte_offset, &bit_offset); 161 EXPECT_EQ(4u, bit_offset); 164 buffer.GetCurrentOffset(&byte_offset, &bit_offset); 166 EXPECT_EQ(0u, bit_offset);
|
bitbuffer.cc | 211 bool BitBuffer::Seek(size_t byte_offset, size_t bit_offset) { 212 if (byte_offset > byte_count_ || bit_offset > 7 || 213 (byte_offset == byte_count_ && bit_offset > 0)) { 217 bit_offset_ = bit_offset;
|
bitbuffer.h | 77 bool Seek(size_t byte_offset, size_t bit_offset);
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
h264_sps_parser_unittest.cc | 94 size_t byte_count, bit_offset; local 95 writer.GetCurrentOffset(&byte_count, &bit_offset); 96 if (bit_offset > 0) {
|
/external/pdfium/core/src/fxcodec/lgif/ |
fx_gif.cpp | 176 uint8_t& bit_offset,
180 index |= ((1 << bit_cut) - 1) << (7 - bit_offset);
181 uint8_t ret = ((index & buf[offset]) >> (7 - bit_offset));
182 bit_offset += bit_cut;
183 if (bit_offset >= 8) {
184 if (bit_offset > 8) {
187 bit_offset -= 8;
222 bit_offset = 0;
254 bit_offset);
255 if (index_bit_cur <= (8 - bit_offset)) {
[all...] |
fx_gif.h | 183 uint8_t& bit_offset);
198 uint8_t bit_offset;
member in class:CGifLZWEncoder
|
/hardware/intel/common/libva/test/encode/ |
mpeg2enc.c | 157 int bit_offset; member in struct:__bitstream 179 bs->bit_offset = 0; 185 int pos = (bs->bit_offset >> 5); 186 int bit_offset = (bs->bit_offset & 0x1f); local 187 int bit_left = 32 - bit_offset; 189 if (bit_offset) { 197 int pos = (bs->bit_offset >> 5); 198 int bit_offset = (bs->bit_offset & 0x1f) local 228 int bit_offset = (bs->bit_offset & 0x7); local [all...] |
mpeg2vaenc.c | 157 int bit_offset; member in struct:__bitstream 179 bs->bit_offset = 0; 185 int pos = (bs->bit_offset >> 5); 186 int bit_offset = (bs->bit_offset & 0x1f); local 187 int bit_left = 32 - bit_offset; 189 if (bit_offset) { 197 int pos = (bs->bit_offset >> 5); 198 int bit_offset = (bs->bit_offset & 0x1f) local 228 int bit_offset = (bs->bit_offset & 0x7); local [all...] |
avcenc.c | 730 int bit_offset; member in struct:__bitstream 770 bs->bit_offset = 0; 776 int pos = (bs->bit_offset >> 5); 777 int bit_offset = (bs->bit_offset & 0x1f); local 778 int bit_left = 32 - bit_offset; 780 if (bit_offset) { 788 int pos = (bs->bit_offset >> 5); 789 int bit_offset = (bs->bit_offset & 0x1f) local 844 int bit_offset = (bs->bit_offset & 0x7); local [all...] |
h264encode.c | 166 int bit_offset; member in struct:__bitstream 188 bs->bit_offset = 0; 194 int pos = (bs->bit_offset >> 5); 195 int bit_offset = (bs->bit_offset & 0x1f); local 196 int bit_left = 32 - bit_offset; 198 if (bit_offset) { 206 int pos = (bs->bit_offset >> 5); 207 int bit_offset = (bs->bit_offset & 0x1f) local 262 int bit_offset = (bs->bit_offset & 0x7); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
vp9_dx_iface.c | 115 rb.bit_offset += 1; // show frame 116 rb.bit_offset += 1; // error resilient 126 rb.bit_offset += 1; // [16,235] (including xvycc) vs [0,255] range 128 rb.bit_offset += 2; // subsampling x/y 129 rb.bit_offset += 1; // has extra plane 133 rb.bit_offset += 1; // has extra plane
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
vbp_mp42_parser.c | 776 uint32 bit_offset = 0; local 780 viddec_pm_get_au_pos(parent, &bit_offset, &byte_offset, &is_emul); 792 slice_param->macroblock_offset = bit_offset; 817 uint32 bit_offset = 0; local 839 viddec_pm_get_au_pos(parent, &bit_offset, &byte_offset, &is_emul); 862 slice_param->macroblock_offset = bit_offset; 876 viddec_pm_get_au_pos(parent, &bit_offset, &byte_offset, &is_emul); 877 if (bit_offset) { 878 getbits = viddec_pm_get_bits(parent, &code, 8 - bit_offset); 908 viddec_pm_get_au_pos(parent, &bit_offset, &byte_offset, &is_emul) [all...] |
/hardware/intel/common/libva/va/ |
va_fool.c | 298 codedbuf->bit_offset = 0; 323 codedbuf->bit_offset = 0;
|
/external/libvpx/libvpx/vp9/ |
vp9_dx_iface.c | 104 rb->bit_offset += 1; // Bit-depth 10 or 12. 107 rb->bit_offset += 1; // [16,235] (including xvycc) vs [0,255] range. 109 rb->bit_offset += 2; // subsampling x/y. 110 rb->bit_offset += 1; // unused. 114 rb->bit_offset += 1; // unused 182 rb.bit_offset += error_resilient ? 0 : 2; // reset_frame_context 191 rb.bit_offset += REF_FRAMES; // refresh_frame_flags [all...] |