LCOV - code coverage report
Current view: top level - home/magsoft/trunks/SVT-AV1/third_party/fastfeat - fast.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 7 7 100.0 %
Date: 2019-11-25 17:12:20 Functions: 1 1 100.0 %

          Line data    Source code
       1             : // clang-format off
       2             : #include <stdlib.h>
       3             : #include "fast.h"
       4             : 
       5             : 
       6         226 : xy* aom_fast9_detect_nonmax(const byte* im, int xsize, int ysize, int stride, int b, int* ret_num_corners)
       7             : {
       8             :         xy* corners;
       9             :         int num_corners;
      10             :         int* scores;
      11             :         xy* nonmax;
      12             : 
      13         226 :         corners = aom_fast9_detect(im, xsize, ysize, stride, b, &num_corners);
      14         226 :         scores = aom_fast9_score(im, stride, corners, num_corners, b);
      15         226 :         nonmax = aom_nonmax_suppression(corners, scores, num_corners, ret_num_corners);
      16             : 
      17         226 :         free(corners);
      18         226 :         free(scores);
      19             : 
      20         226 :         return nonmax;
      21             : }
      22             : // clang-format on

Generated by: LCOV version 1.14