Home
last modified time | relevance | path

Searched refs:bit_buffer (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/common_video/h264/
Dpps_parser.cc42 rtc::BitBuffer bit_buffer(unpacked_buffer.data(), unpacked_buffer.size()); in ParsePps() local
43 return ParseInternal(&bit_buffer); in ParsePps()
56 rtc::BitBuffer bit_buffer(unpacked_buffer.data(), unpacked_buffer.size()); in ParsePpsIds() local
57 return ParsePpsIdsInternal(&bit_buffer, pps_id, sps_id); in ParsePpsIds()
80 rtc::BitBuffer* bit_buffer) { in ParseInternal() argument
83 RETURN_EMPTY_ON_FAIL(ParsePpsIdsInternal(bit_buffer, &pps.id, &pps.sps_id)); in ParseInternal()
89 RETURN_EMPTY_ON_FAIL(bit_buffer->ReadBits(&entropy_coding_mode_flag, 1)); in ParseInternal()
94 bit_buffer->ReadBits(&bottom_field_pic_order_in_frame_present_flag, 1)); in ParseInternal()
101 bit_buffer->ReadExponentialGolomb(&num_slice_groups_minus1)); in ParseInternal()
106 bit_buffer->ReadExponentialGolomb(&slice_group_map_type)); in ParseInternal()
[all …]
Dpps_parser_unittest.cc39 rtc::BitBufferWriter bit_buffer(data, kPpsBufferMaxSize); in WritePps() local
42 bit_buffer.WriteExponentialGolomb(pps.id); in WritePps()
44 bit_buffer.WriteExponentialGolomb(pps.sps_id); in WritePps()
46 bit_buffer.WriteBits(pps.entropy_coding_mode_flag, 1); in WritePps()
48 bit_buffer.WriteBits(pps.bottom_field_pic_order_in_frame_present_flag ? 1 : 0, in WritePps()
52 bit_buffer.WriteExponentialGolomb(num_slice_groups - 1); in WritePps()
56 bit_buffer.WriteExponentialGolomb(slice_group_map_type); in WritePps()
61 bit_buffer.WriteExponentialGolomb(kIgnored); in WritePps()
67 bit_buffer.WriteExponentialGolomb(kIgnored); in WritePps()
69 bit_buffer.WriteExponentialGolomb(kIgnored); in WritePps()
[all …]
Dpps_parser.h54 static absl::optional<PpsState> ParseInternal(rtc::BitBuffer* bit_buffer);
55 static bool ParsePpsIdsInternal(rtc::BitBuffer* bit_buffer,
Dsps_parser.cc45 rtc::BitBuffer bit_buffer(unpacked_buffer.data(), unpacked_buffer.size()); in ParseSps() local
46 return ParseSpsUpToVui(&bit_buffer); in ParseSps()
/external/libaom/libaom/aom_dsp/
Dbitwriter_buffer.c36 wb->bit_buffer[p] = bit << q; in aom_wb_write_bit()
38 wb->bit_buffer[p] &= ~(1 << q); in aom_wb_write_bit()
39 wb->bit_buffer[p] |= bit << q; in aom_wb_write_bit()
49 wb->bit_buffer[p] &= ~(1 << q); in aom_wb_overwrite_bit()
50 wb->bit_buffer[p] |= bit << q; in aom_wb_overwrite_bit()
Dbitreader_buffer.c28 if (rb->bit_buffer + p < rb->bit_buffer_end) { in aom_rb_read_bit()
29 const int bit = (rb->bit_buffer[p] >> q) & 1; in aom_rb_read_bit()
Dbitreader_buffer.h26 const uint8_t *bit_buffer; member
Dbitwriter_buffer.h22 uint8_t *bit_buffer; member
/external/libvpx/libvpx/vpx_dsp/
Dbitwriter_buffer.c26 wb->bit_buffer[p] = bit << q; in vpx_wb_write_bit()
28 wb->bit_buffer[p] &= ~(1 << q); in vpx_wb_write_bit()
29 wb->bit_buffer[p] |= bit << q; in vpx_wb_write_bit()
Dbitreader_buffer.c21 if (rb->bit_buffer + p < rb->bit_buffer_end) { in vpx_rb_read_bit()
22 const int bit = (rb->bit_buffer[p] >> q) & 1; in vpx_rb_read_bit()
Dbitwriter_buffer.h21 uint8_t *bit_buffer; member
Dbitreader_buffer.h25 const uint8_t *bit_buffer; member
/external/libjpeg-turbo/
Djcphuff.c109 char *bit_buffer; /* buffer for correction bits (1 per char) */ member
239 if (entropy->bit_buffer == NULL) in start_pass_phuff()
240 entropy->bit_buffer = (char *) in start_pass_phuff()
440 emit_buffered_bits(entropy, entropy->bit_buffer, entropy->BE); in emit_eobrun()
884 BR_buffer = entropy->bit_buffer; /* BE bits are gone now */ \
915 BR_buffer = entropy->bit_buffer; /* BE bits are gone now */ \
962 BR_buffer = entropy->bit_buffer + entropy->BE; /* Append bits to buffer */ in encode_mcu_AC_refine()
1109 entropy->bit_buffer = NULL; /* needed only in AC refinement scan */ in jinit_phuff_encoder()
/external/libaom/libaom/av1/common/
Dobu_util.c55 const ptrdiff_t bit_buffer_byte_length = rb->bit_buffer_end - rb->bit_buffer; in read_obu_header()
/external/libaom/libaom/examples/
Dlightfield_bitstream_parsing.c145 wb.bit_buffer = tl; in process_tile_list()
/external/libaom/libaom/av1/decoder/
Dobu.c349 assert(rb->bit_buffer + aom_rb_bytes_read(rb) == data); in read_one_tile_group_obu()
514 rb->bit_buffer = data; in read_and_decode_one_tile_list()
Ddecodeframe.c5079 rb->bit_buffer = data; in av1_init_read_bit_buffer()
/external/webrtc/rtc_base/
DBUILD.gn69 "bit_buffer.cc",
70 "bit_buffer.h",
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c1264 mz_uint64 bit_buffer = d->m_bit_buffer; in tdefl_compress_lz_codes() local
1267 #define TDEFL_PUT_BITS_FAST(b, l) { bit_buffer |= (((mz_uint64)(b)) << bits_in); bits_in += (l); } in tdefl_compress_lz_codes()
1322 *(mz_uint64*)pOutput_buf = bit_buffer; in tdefl_compress_lz_codes()
1324 bit_buffer >>= (bits_in & ~7); in tdefl_compress_lz_codes()
1337 TDEFL_PUT_BITS((mz_uint)bit_buffer & mz_bitmasks[n], n); in tdefl_compress_lz_codes()
1338 bit_buffer >>= n; in tdefl_compress_lz_codes()
/external/libaom/libaom/av1/encoder/
Dbitstream.c3605 saved_wb->bit_buffer += length_field_size; in write_tiles_in_tg_obus()
3707 saved_wb->bit_buffer += length_field_size; in write_tiles_in_tg_obus()
3911 saved_wb.bit_buffer += length_field_size; in av1_pack_bitstream()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c2918 rb->bit_buffer = clear_data; in init_read_bit_buffer()
2921 rb->bit_buffer = data; in init_read_bit_buffer()
/external/webrtc/
DAndroid.bp856 "rtc_base/bit_buffer.cc",
/external/webrtc/android_tools/
Dsorted_targets.txt18749 "//rtc_base/bit_buffer.cc": [
18750 "obj/rtc_base/rtc_base_approved/bit_buffer.o"
18794 "//rtc_base/bit_buffer.cc",
18795 "//rtc_base/bit_buffer.h",