Home
last modified time | relevance | path

Searched refs:ReadLiteral (Results 1 – 19 of 19) sorted by relevance

/external/v4l2_codec2/accel/
Dvp9_compressed_header_parser.cc71 tx_mode = reader_.ReadLiteral(2); in ReadTxMode()
73 tx_mode += reader_.ReadLiteral(1); in ReadTxMode()
81 if (reader_.ReadLiteral(1) == 0) in DecodeTermSubexp()
82 return reader_.ReadLiteral(4); in DecodeTermSubexp()
83 if (reader_.ReadLiteral(1) == 0) in DecodeTermSubexp()
84 return reader_.ReadLiteral(4) + 16; in DecodeTermSubexp()
85 if (reader_.ReadLiteral(1) == 0) in DecodeTermSubexp()
86 return reader_.ReadLiteral(5) + 32; in DecodeTermSubexp()
87 uint8_t v = reader_.ReadLiteral(7); in DecodeTermSubexp()
90 return (v << 1) - 1 + reader_.ReadLiteral(1); in DecodeTermSubexp()
[all …]
Dvp9_uncompressed_header_parser.cc640 if (reader_.ReadLiteral(8 * 3) != kSyncCode) { in VerifySyncCode()
655 fhdr->color_space = static_cast<Vp9ColorSpace>(reader_.ReadLiteral(3)); in ReadColorConfig()
694 fhdr->frame_width = reader_.ReadLiteral(16) + 1; in ReadFrameSize()
695 fhdr->frame_height = reader_.ReadLiteral(16) + 1; in ReadFrameSize()
701 fhdr->render_width = reader_.ReadLiteral(16) + 1; in ReadRenderSize()
702 fhdr->render_height = reader_.ReadLiteral(16) + 1; in ReadRenderSize()
762 return table[reader_.ReadLiteral(2)]; in ReadInterpolationFilter()
776 loop_filter.level = reader_.ReadLiteral(6); in ReadLoopFilterParams()
777 loop_filter.sharpness = reader_.ReadLiteral(3); in ReadLoopFilterParams()
802 quants->base_q_idx = reader_.ReadLiteral(8); in ReadQuantizationParams()
[all …]
Dvp9_raw_bits_reader.cc35 int Vp9RawBitsReader::ReadLiteral(int bits) { in ReadLiteral() function in media::Vp9RawBitsReader
47 int value = ReadLiteral(bits); in ReadSignedLiteral()
59 return ReadLiteral(bits_left) == 0; in ConsumeTrailingBits()
Dvp9_bool_decoder.cc58 if (ReadLiteral(1) != 0) { in Initialize()
126 uint8_t Vp9BoolDecoder::ReadLiteral(int bits) { in ReadLiteral() function in media::Vp9BoolDecoder
Dvp8_bool_decoder.cc151 bool Vp8BoolDecoder::ReadLiteral(size_t num_bits, int* out) { in ReadLiteral() function in media::Vp8BoolDecoder
169 ReadLiteral(num_bits, out); in ReadLiteralWithSign()
Dvp9_raw_bits_reader.h45 int ReadLiteral(int bits);
Dvp9_bool_decoder.h39 uint8_t ReadLiteral(int bits);
Dvp8_bool_decoder.h81 bool ReadLiteral(size_t num_bits, int* out);
Dvp8_parser.cc36 if (!bd_.ReadLiteral(num_bits, &_out)) \
/external/libgav1/libgav1/src/tile/bitstream/
Dpalette.cc76 static_cast<uint16_t>(reader_.ReadLiteral(bitdepth)); in ReadPaletteColors()
80 int bits = bitdepth - 3 + static_cast<int>(reader_.ReadLiteral(2)); in ReadPaletteColors()
82 const int delta = static_cast<int>(reader_.ReadLiteral(bits)) + in ReadPaletteColors()
106 const int bits = bitdepth - 4 + static_cast<int>(reader_.ReadLiteral(2)); in ReadPaletteColors()
107 palette_color_v[0] = reader_.ReadLiteral(bitdepth); in ReadPaletteColors()
109 int delta = static_cast<int>(reader_.ReadLiteral(bits)); in ReadPaletteColors()
125 static_cast<uint16_t>(reader_.ReadLiteral(bitdepth)); in ReadPaletteColors()
Dmode_info.cc310 ? static_cast<int16_t>(reader_.ReadLiteral(frame_header_.cdef.bits)) in ReadCdef()
326 static_cast<int>(reader_.ReadLiteral(3)) + 1; in ReadAndClipDelta()
328 static_cast<int>(reader_.ReadLiteral(remaining_bit_count)); in ReadAndClipDelta()
/external/libgav1/libgav1/src/utils/
Draw_bit_reader.cc64 int64_t RawBitReader::ReadLiteral(int num_bits) { in ReadLiteral() function in libgav1::RawBitReader
87 *value = static_cast<int>(ReadLiteral(num_bits + 1)); in ReadInverseSignedLiteral()
169 literal = static_cast<int>(ReadLiteral(leading_zeros)); in ReadUvlc()
Dbit_reader.cc61 const int v = static_cast<int>(ReadLiteral(w - 1)); in DecodeUniform()
108 const int subexp_bits = static_cast<int>(ReadLiteral(b)); in DecodeSubexp()
Dbit_reader.h31 virtual int64_t ReadLiteral(int num_bits) = 0;
Draw_bit_reader.h34 int64_t ReadLiteral(int num_bits) override; // f(n) in the spec.
Dentropy_decoder.h38 int64_t ReadLiteral(int num_bits) override;
Dentropy_decoder.cc554 int64_t DaalaBitReader::ReadLiteral(int num_bits) { in ReadLiteral() function in libgav1::DaalaBitReader
/external/libgav1/libgav1/src/
Dloop_restoration_info.cc210 static_cast<int>(reader->ReadLiteral(kSgrProjParamsBits)); in ReadSgrProjInfo()
Dobu_parser.cc130 scratch = bit_reader_->ReadLiteral(n); \