Home
last modified time | relevance | path

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

/external/bsdiff/
Dtest_utils.cc108 memcpy(&diff_len, contents.data() + 16, sizeof(diff_len)); in LoadFromFile()
113 TEST_AND_RETURN_FALSE(diff_len >= 0); in LoadFromFile()
117 static_cast<uint64_t>(kHeaderSize + ctrl_len + diff_len)); in LoadFromFile()
118 extra_len = file_size - kHeaderSize - ctrl_len - diff_len; in LoadFromFile()
123 bz2_diff = vector<uint8_t>(ptr, ptr + diff_len); in LoadFromFile()
124 ptr += diff_len; in LoadFromFile()
132 TEST_AND_RETURN_FALSE(diff_len >= 0); in IsValid()
Dpatch_reader.cc72 int64_t diff_len = ParseInt64(patch_data + 16); in Init() local
75 if ((ctrl_len < 0) || (diff_len < 0) || (signed_newsize < 0) || in Init()
77 (static_cast<int64_t>(patch_size) - 32 - ctrl_len < diff_len)) { in Init()
79 << ", data_len: " << diff_len in Init()
103 diff_len)) { in Init()
104 LOG(ERROR) << "Failed to init ctrl stream, diff_len: " << diff_len; in Init()
108 offset += diff_len; in Init()
Dtest_utils.h74 int64_t diff_len = -1; member
Dpatch_writer_unittest.cc67 EXPECT_EQ(sizeof(kCompressedEmpty), static_cast<uint64_t>(patch.diff_len)); in TEST_F()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4604 int diff_len = seq_params->delta_frame_id_length; in read_uncompressed_header() local
4631 if (cm->current_frame_id - (1 << diff_len) > 0) { in read_uncompressed_header()
4633 cm->ref_frame_id[i] < cm->current_frame_id - (1 << diff_len)) in read_uncompressed_header()
4638 cm->current_frame_id - (1 << diff_len)) in read_uncompressed_header()
4847 int diff_len = seq_params->delta_frame_id_length; in read_uncompressed_header() local
4848 int delta_frame_id_minus_1 = aom_rb_read_literal(rb, diff_len); in read_uncompressed_header()
/external/libaom/libaom/av1/encoder/
Dbitstream.c3026 int diff_len = seq_params->delta_frame_id_length; in write_uncompressed_header_obu() local
3033 delta_frame_id_minus_1 >= (1 << diff_len)) { in write_uncompressed_header_obu()
3037 aom_wb_write_literal(wb, delta_frame_id_minus_1, diff_len); in write_uncompressed_header_obu()