Home
last modified time | relevance | path

Searched refs:obu_size (Results 1 – 6 of 6) sorted by relevance

/external/libaom/av1/common/
Dobu_util.c19 size_t *const obu_size, in read_obu_size() argument
28 *obu_size = (size_t)u_obu_size; in read_obu_size()
98 size_t obu_size = 0; in aom_read_obu_header_and_size() local
104 read_obu_size(data, bytes_available, &obu_size, &length_field_size_obu); in aom_read_obu_header_and_size()
118 if (obu_size < obu_header->size) return AOM_CODEC_CORRUPT_FRAME; in aom_read_obu_header_and_size()
120 *payload_size = obu_size - obu_header->size; in aom_read_obu_header_and_size()
/external/libaom/common/
Dobudec.c142 uint64_t obu_size = 0; in obudec_read_obu_header_and_size() local
144 if (obudec_read_leb128(input_ctx, &buffer[0], &leb128_length_obu, &obu_size, in obudec_read_obu_header_and_size()
152 if (obu_size > UINT32_MAX) { in obudec_read_obu_header_and_size()
170 if (obu_size < header_size) { in obudec_read_obu_header_and_size()
174 *payload_length = (size_t)obu_size - header_size; in obudec_read_obu_header_and_size()
400 size_t obu_size = 0; in obudec_read_temporal_unit() local
440 &obu_ctx->buffer_capacity, &obu_size, &obu_header, in obudec_read_temporal_unit()
446 if (obu_header.type == OBU_TEMPORAL_DELIMITER || obu_size == 0) { in obudec_read_temporal_unit()
450 obu_ctx->bytes_buffered += obu_size; in obudec_read_temporal_unit()
479 obu_size); in obudec_read_temporal_unit()
[all …]
/external/libaom/tools/
Dobu_parser.cc161 uint64_t obu_size = 0; in DumpObu() local
164 remaining - obu_header_size, &obu_size, in DumpObu()
170 int current_obu_length = static_cast<int>(obu_size); in DumpObu()
/external/libgav1/src/
Dobu_parser.cc2686 size_t obu_size; in ParseOneFrame() local
2687 if (!bit_reader_->ReadUnsignedLeb128(&obu_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()
2761 if (obu_size < fh_size || in ParseOneFrame()
2794 if (fh_size >= obu_size) { in ParseOneFrame()
2796 fh_size, obu_size); in ParseOneFrame()
2799 if (!ParseTileGroup(obu_size - fh_size, in ParseOneFrame()
2808 if (!ParseTileGroup(obu_size, in ParseOneFrame()
[all …]
/external/libaom/av1/encoder/
Dbitstream.c3353 const uint32_t obu_size = (uint32_t)obu_payload_size; in av1_write_uleb_obu_size() local
3354 assert(obu_size == obu_payload_size); in av1_write_uleb_obu_size()
3356 if (aom_uleb_encode(obu_size, sizeof(obu_size), dest + offset, in av1_write_uleb_obu_size()
4113 const size_t obu_size = obu_header_size + obu_payload_size; in av1_write_metadata_array() local
4114 dst += obu_size + length_field_size; in av1_write_metadata_array()
4115 total_bytes_written += obu_size + length_field_size; in av1_write_metadata_array()
Dencoder.c5119 const uint64_t obu_size = obu_header_size + obu_payload_size; in av1_convert_sect5obus_to_annexb() local
5121 if (aom_uleb_encode(obu_size, sizeof(obu_size), buff_ptr, in av1_convert_sect5obus_to_annexb()
5131 buff_ptr += length_of_obu_size + obu_size; in av1_convert_sect5obus_to_annexb()
5132 output_size += length_of_obu_size + (size_t)obu_size; in av1_convert_sect5obus_to_annexb()