• Home
  • Raw
  • Download

Lines Matching refs:bit_reader_

128   scratch = bit_reader_->ReadBit(); \
131 scratch = bit_reader_->ReadLiteral(n); \
135 if (!bit_reader_->ReadUvlc(&(x))) { \
892 if (!bit_reader_->ReadInverseSignedLiteral(6, &scratch_int)) { in ParseLoopFilterParameters()
904 if (!bit_reader_->ReadInverseSignedLiteral(6, &scratch_int)) { in ParseLoopFilterParameters()
925 if (!bit_reader_->ReadInverseSignedLiteral(6, &scratch_int)) { in ParseDeltaQuantizer()
1022 if (!bit_reader_->ReadInverseSignedLiteral( in ParseSegmentationParameters()
1312 if (!bit_reader_->DecodeSignedSubexpWithReference( in ParseGlobalParamSyntax()
1694 if (!bit_reader_->DecodeUniform( in ParseTileInfoSyntax()
1721 if (!bit_reader_->DecodeUniform( in ParseTileInfoSyntax()
2216 bit_reader_->SkipBytes(i); in ParsePadding()
2374 const size_t start_offset = bit_reader_->byte_offset(); in ParseMetadata()
2376 if (!bit_reader_->ReadUnsignedLeb128(&metadata_type)) { in ParseMetadata()
2380 const size_t metadata_type_size = bit_reader_->byte_offset() - start_offset; in ParseMetadata()
2462 bit_reader_->SkipBytes(i); in ParseMetadata()
2480 bit_reader_->SkipBits(i * 8 + 7 - n); in ParseMetadata()
2542 bit_reader_->SkipBytes(total_size - tg_header_size); in AddTileBuffers()
2548 const size_t start_offset = bit_reader_->byte_offset(); in ParseTileGroup()
2558 if (!bit_reader_->AlignToNextByte()) { in ParseTileGroup()
2577 if (!bit_reader_->AlignToNextByte()) { in ParseTileGroup()
2581 const size_t tg_header_size = bit_reader_->byte_offset() - start_offset; in ParseTileGroup()
2588 int64_t scratch = bit_reader_->ReadBit(); in ParseHeader()
2632 bit_reader_.reset(new (std::nothrow) RawBitReader(data, size)); in InitBitReader()
2633 return bit_reader_ != nullptr; in InitBitReader()
2685 const size_t obu_header_size = bit_reader_->byte_offset(); in ParseOneFrame()
2687 if (!bit_reader_->ReadUnsignedLeb128(&obu_size)) { in ParseOneFrame()
2691 const size_t obu_length_size = bit_reader_->byte_offset() - obu_header_size; in ParseOneFrame()
2692 if (size - bit_reader_->byte_offset() < obu_size) { in ParseOneFrame()
2694 size - bit_reader_->bit_offset(), obu_size); in ParseOneFrame()
2709 bit_reader_->SkipBytes(obu_size); in ParseOneFrame()
2710 data += bit_reader_->byte_offset(); in ParseOneFrame()
2711 size -= bit_reader_->byte_offset(); in ParseOneFrame()
2715 const size_t obu_start_position = bit_reader_->bit_offset(); in ParseOneFrame()
2749 bit_reader_->bit_offset() - obu_start_position; in ParseOneFrame()
2768 bit_reader_->SkipBits(frame_header_size_in_bits); in ParseOneFrame()
2772 const size_t fh_start_offset = bit_reader_->byte_offset(); in ParseOneFrame()
2789 if (!bit_reader_->AlignToNextByte()) { in ParseOneFrame()
2793 const size_t fh_size = bit_reader_->byte_offset() - fh_start_offset; in ParseOneFrame()
2800 size_ - size + bit_reader_->byte_offset())) { in ParseOneFrame()
2809 size_ - size + bit_reader_->byte_offset())) { in ParseOneFrame()
2834 bit_reader_->SkipBytes(obu_size); in ParseOneFrame()
2841 bit_reader_->bit_offset() - obu_start_position; in ParseOneFrame()
2850 if (!bit_reader_->VerifyAndSkipTrailingBits(obu_size * 8 - in ParseOneFrame()
2858 const size_t bytes_consumed = bit_reader_->byte_offset(); in ParseOneFrame()
2961 while (!parser.bit_reader_->Finished()) { in ParseBasicStreamInfo()
2962 const size_t obu_start_offset = parser.bit_reader_->byte_offset(); in ParseBasicStreamInfo()
2975 if (!parser.bit_reader_->ReadUnsignedLeb128(&obu_size)) { in ParseBasicStreamInfo()
2979 if (size - parser.bit_reader_->byte_offset() < obu_size) { in ParseBasicStreamInfo()
2981 size - parser.bit_reader_->bit_offset(), obu_size); in ParseBasicStreamInfo()
2986 parser.bit_reader_->SkipBytes(obu_size); in ParseBasicStreamInfo()
2989 const size_t obu_start_position = parser.bit_reader_->bit_offset(); in ParseBasicStreamInfo()
2995 parser.bit_reader_->bit_offset() - obu_start_position; in ParseBasicStreamInfo()
3005 if (!parser.bit_reader_->VerifyAndSkipTrailingBits( in ParseBasicStreamInfo()
3014 parser.bit_reader_->byte_offset() - obu_start_offset; in ParseBasicStreamInfo()