Home
last modified time | relevance | path

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

/external/bsdiff/
Dtest_utils.cc111 memcpy(&diff_len, contents.data() + 16, sizeof(diff_len)); in LoadFromFile()
116 TEST_AND_RETURN_FALSE(diff_len >= 0); in LoadFromFile()
120 static_cast<uint64_t>(kHeaderSize + ctrl_len + diff_len)); in LoadFromFile()
121 extra_len = file_size - kHeaderSize - ctrl_len - diff_len; in LoadFromFile()
126 bz2_diff = vector<uint8_t>(ptr, ptr + diff_len); in LoadFromFile()
127 ptr += diff_len; in LoadFromFile()
135 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.c5001 int diff_len = seq_params->delta_frame_id_length; in read_uncompressed_header() local
5030 } else if (cm->current_frame_id - (1 << diff_len) > 0) { in read_uncompressed_header()
5032 cm->ref_frame_id[i] < cm->current_frame_id - (1 << diff_len)) in read_uncompressed_header()
5037 cm->current_frame_id - (1 << diff_len)) in read_uncompressed_header()
5227 int diff_len = seq_params->delta_frame_id_length; in read_uncompressed_header() local
5228 int delta_frame_id_minus_1 = aom_rb_read_literal(rb, diff_len); in read_uncompressed_header()
/external/libaom/libaom/av1/encoder/
Dbitstream.c2995 int diff_len = seq_params->delta_frame_id_length; in write_uncompressed_header_obu() local
3002 delta_frame_id_minus_1 >= (1 << diff_len)) { in write_uncompressed_header_obu()
3006 aom_wb_write_literal(wb, delta_frame_id_minus_1, diff_len); in write_uncompressed_header_obu()