Home
last modified time | relevance | path

Searched refs:SCHECK (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dintegral_image.h39 SCHECK(image_base.GetWidth() == GetWidth() && in Recompute()
75 SCHECK(VerifyData(image_base), "Images did not match!"); in Recompute()
112 SCHECK(x1 >= 0 && y1 >= 0 && in GetRegionSum()
127 SCHECK(sum >= 0, "Both: %d - %d - %d + %d => %d! indices: %d %d %d %d", in GetRegionSum()
134 SCHECK(sum >= 0, "Top: %d - %d => %d!", everything, top, sum); in GetRegionSum()
140 SCHECK(sum >= 0, "Left: %d - %d => %d!", everything, left, sum); in GetRegionSum()
143 SCHECK(sum >= 0, "Negative sum!"); in GetRegionSum()
157 SCHECK(x1 < x2 && y1 < y2, "Bounds out of order!! TL:%d,%d BR:%d,%d", in GetCode()
174 SCHECK(InRange(final_code, static_cast<Code>(0), static_cast<Code>(3)), in GetCode()
Dutils_neon.cc41 SCHECK(num_vals >= 8, "Not enough values to merit NEON: %d", num_vals); in ComputeMeanNeon()
63 SCHECK(NearlyEqual(mean_neon, mean_cpu, EPSILON * num_vals), in ComputeMeanNeon()
74 SCHECK(num_vals >= 8, "Not enough values to merit NEON: %d", num_vals); in ComputeStdDevNeon()
101 SCHECK(NearlyEqual(std_dev_neon, std_dev_cpu, EPSILON * num_vals), in ComputeStdDevNeon()
113 SCHECK(num_vals >= 8, "Not enough values to merit NEON: %d", num_vals); in ComputeCrossCorrelationNeon()
140 SCHECK(NearlyEqual(cross_correlation_neon, cross_correlation_cpu, in ComputeCrossCorrelationNeon()
Dgeom.h99 SCHECK(left_ < right_, "Bounds out of whack! %.2f vs %.2f!", left_, right_); in BoundingBox()
100 SCHECK(top_ < bottom_, "Bounds out of whack! %.2f vs %.2f!", top_, bottom_); in BoundingBox()
111 SCHECK(left_ < right_, "Bounds out of whack! %.2f vs %.2f!", left_, right_); in BoundingBox()
112 SCHECK(top_ < bottom_, "Bounds out of whack! %.2f vs %.2f!", top_, bottom_); in BoundingBox()
183 SCHECK(GetArea() > 0.0f, "Empty bounding box!"); in PascalScore()
184 SCHECK(that.GetArea() > 0.0f, "Empty bounding box!"); in PascalScore()
194 SCHECK(InRange(score, 0.0f, 1.0f), "Invalid score! %.2f", score); in PascalScore()
Dutils.h56 #define SCHECK(condition, format, ...) {\ macro
70 #define SCHECK(condition, format, ...) {\ macro
74 #define SCHECK(condition, format, ...) {} macro
120 SCHECK(ceil >= floor, "Bounds mismatch!"); in Clip()
183 SCHECK(InRange(real_number, 0.0f, 2048.0f), in RealToFixed115()
198 SCHECK(InRange(real_number, -kMult, kMult), in RealToFixed1616()
Dimage.h30 SCHECK((IMAGE)->ValidPixel((X), (Y)), \
37 SCHECK((IMAGE)->validInterpPixel((X), (Y)), \
59 SCHECK(InRange(col, 0, max_col_),
170 SCHECK(InRange(row, 0, height_less_one_),
176 SCHECK(InRange(row, 0, height_less_one_),
Dimage_utils.h52 SCHECK(img->ValidPixel(x, y), "Marking invalid pixel in image! %d, %d", x, y); in MarkImage()
138 SCHECK(I_x.ValidPixel(center_x, center_y), "Problem in calculateG!"); in CalculateG()
142 SCHECK(window_radius <= kMaxWindowRadius, in CalculateG()
182 SCHECK(image1.GetWidth() == image2.GetWidth() && in ImageCrossCorrelation()
289 SCHECK(std::abs(correlation - 1.0f) < EPSILON, in NormalizeImage()
Dimage_data.h130 SCHECK(pyramid_sqrt2_computed_[0], "image not set!"); in GetImage()
136 SCHECK(level != 0, "Level equals 0!"); in GetPyramidSqrt2Level()
200 SCHECK(uv_data_computed_, "UV data not provided!"); in GetU()
205 SCHECK(uv_data_computed_, "UV data not provided!"); in GetV()
Dimage-inl.h65 SCHECK(image_data_ != NULL, "Can't create image with NULL data!"); in Image()
108 SCHECK(left >= 0 && left < width_, "out of bounds at %d!", left); in Crop()
109 SCHECK(right >= 0 && right < width_, "out of bounds at %d!", right); in Crop()
110 SCHECK(top >= 0 && top < height_, "out of bounds at %d!", top); in Crop()
111 SCHECK(bottom >= 0 && bottom < height_, "out of bounds at %d!", bottom); in Crop()
113 SCHECK(left <= right, "mismatch!"); in Crop()
114 SCHECK(top <= bottom, "mismatch!"); in Crop()
144 SCHECK(ValidInterpPixel(x, y), in GetPixelInterp()
Dobject_tracker.h139 SCHECK(HaveObject(id), "Don't have this object."); in IsObjectVisible()
186 SCHECK(offset >= 0 && offset < curr_num_frame_pairs_, in GetNthIndexFromStart()
Dimage_neon.cc168 SCHECK(width_ * factor <= stride, "Uh oh!"); in DownsampleAveragedNeon()
Dobject_detector.h63 SCHECK(scale_factor < 1.0f, "Scale factor too large at %.2f!", scale_factor); in FillWithSquares()
Dflow_cache.h125 SCHECK(grid_width * grid_height <= kMaxPoints, in GetMedianFlow()
Dobject_tracker.cc346 SCHECK(frame_pair.end_time_ >= timestamp, "Frame timestamp was too early!"); in TrackBox()
557 SCHECK(frame2_->GetImage()->Contains(detection.GetObjectBoundingBox()), in ProcessDetections()
Dkeypoint_detector.cc88 SCHECK(last_score >= curr_score, in SortKeypoints()