Home
last modified time | relevance | path

Searched refs:patch_size (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Doptical_flow.cc237 const int patch_size = 2 * kFlowIntegrationWindowSize + 1; in FindFlowAtPoint_ESM() local
241 patch_size, patch_size, vals_I) || in FindFlowAtPoint_ESM()
243 patch_size, patch_size, in FindFlowAtPoint_ESM()
246 patch_size, patch_size, in FindFlowAtPoint_ESM()
266 (left_trunc + patch_size) < img_J.width_less_one_ && in FindFlowAtPoint_ESM()
267 (top_trunc + patch_size) < img_J.height_less_one_) { in FindFlowAtPoint_ESM()
273 for (int y = 0; y < patch_size; ++y, j_row += j_stride) { in FindFlowAtPoint_ESM()
274 for (int x = 0; x < patch_size; ++x) { in FindFlowAtPoint_ESM()
292 patch_size, patch_size, in FindFlowAtPoint_ESM()
302 for (int y = 0; y < patch_size; ++y, templ_row += patch_size, in FindFlowAtPoint_ESM()
[all …]
/external/bsdiff/
Dpatch_reader.cc21 bool BsdiffPatchReader::Init(const uint8_t* patch_data, size_t patch_size) { in Init() argument
34 if (patch_size < 32) { in Init()
35 LOG(ERROR) << "Too small to be a bspatch. " << patch_size; in Init()
76 (static_cast<int64_t>(patch_size) - 32 < ctrl_len) || in Init()
77 (static_cast<int64_t>(patch_size) - 32 - ctrl_len < diff_len)) { in Init()
81 << ", patch_size: " << patch_size; in Init()
110 patch_size - offset)) { in Init()
112 << ", patch_size: " << patch_size; in Init()
Dbspatch.cc160 uint64_t patch_size; in bspatch() local
161 patch_file->GetSize(&patch_size); in bspatch()
162 std::vector<uint8_t> patch(patch_size); in bspatch()
163 if (!ReadAll(patch_file, patch.data(), patch_size)) { in bspatch()
169 return bspatch(old_filename, new_filename, patch.data(), patch_size, in bspatch()
180 size_t patch_size, in bspatch() argument
226 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch()
234 size_t patch_size, in bspatch() argument
239 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch()
247 size_t patch_size) { in bspatch() argument
[all …]
/external/zucchini/fuzzers/
Draw_gen_fuzzer.cc64 size_t patch_size = patch_writer.SerializedSize(); in DEFINE_BINARY_PROTO_FUZZER() local
65 CHECK_LE(patch_size, kMaxImageSize * 2); in DEFINE_BINARY_PROTO_FUZZER()
68 std::unique_ptr<uint8_t[]> patch_data(new uint8_t[patch_size]); in DEFINE_BINARY_PROTO_FUZZER()
69 zucchini::BufferSink patch(patch_data.get(), patch_size); in DEFINE_BINARY_PROTO_FUZZER()
Dztf_gen_fuzzer.cc63 size_t patch_size = patch_writer.SerializedSize(); in DEFINE_BINARY_PROTO_FUZZER() local
64 std::unique_ptr<uint8_t[]> patch_data(new uint8_t[patch_size]); in DEFINE_BINARY_PROTO_FUZZER()
65 zucchini::BufferSink patch(patch_data.get(), patch_size); in DEFINE_BINARY_PROTO_FUZZER()
Dimposed_ensemble_matcher_fuzzer.cc63 size_t patch_size = patch_writer.SerializedSize(); in DEFINE_BINARY_PROTO_FUZZER() local
64 std::unique_ptr<uint8_t[]> patch_data(new uint8_t[patch_size]); in DEFINE_BINARY_PROTO_FUZZER()
65 zucchini::BufferSink patch(patch_data.get(), patch_size); in DEFINE_BINARY_PROTO_FUZZER()
/external/bsdiff/include/bsdiff/
Dbspatch.h30 size_t patch_size,
38 size_t patch_size,
45 size_t patch_size);
Dpatch_reader.h31 bool Init(const uint8_t* patch_data, size_t patch_size);
/external/zucchini/
Dintegration_test.cc54 size_t patch_size = patch_writer.SerializedSize(); in TestGenApply() local
55 EXPECT_GE(patch_size, 80U); // Minimum size is empty patch. in TestGenApply()
/external/puffin/src/
Dpuffdiff.cc151 uint64_t patch_size; in PuffDiff() local
152 TEST_AND_RETURN_FALSE(bsdiff_patch->GetSize(&patch_size)); in PuffDiff()
153 Buffer bsdiff_patch_buf(patch_size); in PuffDiff()
Dmain.cc371 uint64_t patch_size; in Main() local
372 TEST_AND_RETURN_FALSE(patch_stream->GetSize(&patch_size)); in Main()
374 Buffer puffdiff_delta(patch_size); in Main()
Dpuffpatch.cc149 size_t patch_size, in ApplyZucchiniPatch() argument
165 TEST_AND_RETURN_FALSE(BrotliDecode(patch_start, patch_size, &zucchini_patch)); in ApplyZucchiniPatch()
/external/mesa3d/src/amd/compiler/tests/
Dhelpers.h103 uint32_t patch_size; variable
Dhelpers.cpp601 tess_state.patchControlPoints = patch_size; in create_graphics_pipeline()
/external/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions_test.cc1536 const Index patch_size = patch_depth * patch_rows * patch_cols; in PackRhsHelper() local
1553 (patch_size > block_rows) in PackRhsHelper()
1554 ? round_up(internal::random<Index>(0, patch_size - 10)) in PackRhsHelper()
1558 Index depth = std::min(block_rows, patch_size - depth_offset); in PackRhsHelper()
1573 "; num_patches=", num_patches, " patch_size=", patch_size, in PackRhsHelper()