Home
last modified time | relevance | path

Searched refs:patch_size (Results 1 – 10 of 10) 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()
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 …]
Dpatch_reader.h31 bool Init(const uint8_t* patch_data, size_t patch_size);
/external/bsdiff/include/bsdiff/
Dbspatch.h30 size_t patch_size,
38 size_t patch_size,
45 size_t patch_size);
/external/puffin/src/
Dpuffdiff.cc143 uint64_t patch_size; in PuffDiff() local
144 TEST_AND_RETURN_FALSE(bsdiff_patch->GetSize(&patch_size)); in PuffDiff()
145 Buffer bsdiff_patch_buf(patch_size); in PuffDiff()
Dmain.cc363 uint64_t patch_size; in Main() local
364 TEST_AND_RETURN_FALSE(patch_stream->GetSize(&patch_size)); in Main()
366 Buffer puffdiff_delta(patch_size); in Main()
/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()