TI DSP TMS320C66x学习笔记之VLIB测试数据(三)

这篇博客详细介绍了TI的VLIB库在C66x DSP上的应用,包括VLIB库的下载链接、核心函数及功能,如背景建模、特征提取、追踪识别、像素处理等,并提到了HoughLinesDemo和回归测试的实践。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

VLIB是TI提供的针对C6x优化过的视觉库,下载地址:http://software-dl.ti.com/libs/vlib/latest/index_FDS.html

提供40多个核心函数,主要实现以下功能:

  • Background Modeling & Subtraction
  • Object Feature Extraction
  • Tracking & Recognition
  • Low-level Pixel Processing
下载后,导入C:\ti\vlib_c66x_3_2_1_0\examples目录下的demo

  1. HoughLinesDemo
  2. Regression
以下是(1)HoughLinesDemo的测试数据(暂时Load Program失败)

以下是(2)Regression的测试数据(测试平台6657evm)
[C66xx_0] 

 +---------------------------------------+
 | TESTING: VLIB_afast12_detectCorners     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_afast12_detectCorners testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |   76800 |        29.49 |           29.52 |   0.00 |          29.49   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 320, img_height= 240, n_features found= 2876,
|    |        |         |              |                 |        |                  | realistic data, sort
|  1 | PASS   |   19200 |        43.85 |           43.83 |   0.00 |          43.85   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 160, img_height= 120, n_features found= 891,
|    |        |         |              |                 |        |                  | realistic data, sort
|  2 | PASS   |   76800 |         3.70 |            3.69 |   0.00 |           3.70   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 320, img_height= 240, n_features found= 0, flat
|    |        |         |              |                 |        |                  | image, sort
|  3 | PASS   |   19200 |         3.72 |            3.68 |   0.00 |           3.72   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 160, img_height= 120, n_features found= 0, flat
|    |        |         |              |                 |        |                  | image, sort
|  4 | PASS   |   76800 |       198.54 |          198.54 |   0.00 |         198.54   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 320, img_height= 240, n_features found= 9996,
|    |        |         |              |                 |        |                  | checkerboard image, sort
|  5 | PASS   |   19200 |       146.10 |          146.10 |   0.00 |         146.10   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 160, img_height= 120, n_features found= 3350,
|    |        |         |              |                 |        |                  | checkerboard image, sort
|  6 | PASS   |   76800 |        21.04 |           21.07 |   0.00 |          21.04   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 320, img_height= 240, n_features found= 2876,
|    |        |         |              |                 |        |                  | realistic data, no sort
|  7 | PASS   |   19200 |        35.91 |           36.00 |   0.00 |          35.91   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 160, img_height= 120, n_features found= 891,
|    |        |         |              |                 |        |                  | realistic data, no sort
|  8 | PASS   |   76800 |         3.64 |            3.63 |   0.00 |           3.64   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 320, img_height= 240, n_features found= 0, flat
|    |        |         |              |                 |        |                  | image, no sort
|  9 | PASS   |   19200 |         3.63 |            3.56 |   0.00 |           3.63   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 160, img_height= 120, n_features found= 0, flat
|    |        |         |              |                 |        |                  | image, no sort
| 10 | PASS   |   76800 |        28.98 |           28.98 |   0.00 |          28.98   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 320, img_height= 240, n_features found= 9996,
|    |        |         |              |                 |        |                  | checkerboard image, no sort
| 11 | PASS   |   19200 |        39.36 |           39.28 |   0.00 |          39.36   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | img_width= 160, img_height= 120, n_features found= 3350,
|    |        |         |              |                 |        |                  | checkerboard image, no sort
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 12
Range:
  Min:         3.63 cycles/pt            Avg:        46.50 cycles/pt
  Max:       198.54 cycles/pt            Med:        28.98 cycles/pt
  Num pt = number of input pixels (img_width*img_height); Performance is data dependent.
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:      376 bytes


 +---------------------------------------+
 | TESTING: VLIB_afast9_detectCorners     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_afast9_detectCorners testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |   16384 |        10.23 |          111.31 |   0.00 |          10.23   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 134, height= 134, n_features found= 1060, constant
|    |        |         |              |                 |        |                  | data
|  1 | PASS   |   71136 |        10.03 |           86.02 |   0.00 |          10.03   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 320, height= 240, n_features found= 6337, realistic
|    |        |         |              |                 |        |                  | data
|  2 | PASS   |   16416 |        10.28 |          123.32 |   0.00 |          10.28   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 160, height= 120, n_features found= 4215, realistic
|    |        |         |              |                 |        |                  | data
|  3 | PASS   |   71136 |        10.03 |           56.52 |   0.00 |          10.03   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 320, height= 240, n_features found= 0, flat image
|  4 | PASS   |   16416 |        10.31 |           56.68 |   0.00 |          10.31   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 160, height= 120, n_features found= 0, flat image
|  5 | PASS   |   71136 |        10.05 |           97.88 |   0.00 |          10.05   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 320, height= 240, n_features found= 17901,
|    |        |         |              |                 |        |                  | checkerboard image
|  6 | PASS   |   16416 |        10.55 |           98.43 |   0.00 |          10.55   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 160, height= 120, n_features found= 4104,
|    |        |         |              |                 |        |                  | checkerboard image
|  7 | PASS   |   71136 |        10.51 |           86.53 |   0.00 |          10.51   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 320, height= 240, n_features found= 6337, realistic
|    |        |         |              |                 |        |                  | data
|  8 | PASS   |   16416 |        10.26 |           71.78 |   0.00 |          10.26   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 160, height= 120, n_features found= 41, realistic
|    |        |         |              |                 |        |                  | data
|  9 | PASS   |   71136 |        10.06 |           56.51 |   0.00 |          10.06   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 320, height= 240, n_features found= 0, flat image
| 10 | PASS   |   16416 |        10.32 |           56.68 |   0.00 |          10.32   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 160, height= 120, n_features found= 0, flat image
| 11 | PASS   |   71136 |        10.04 |           56.51 |   0.00 |          10.04   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 320, height= 240, n_features found= 0, checkerboard
|    |        |         |              |                 |        |                  | image
| 12 | PASS   |   16416 |        10.31 |           98.04 |   0.00 |          10.31   | Custom generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width= 160, height= 120, n_features found= 4104,
|    |        |         |              |                 |        |                  | checkerboard image
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 13
Formula:
  Cycles:  10.34385*N - 131.53547*M + 14898
  Where:   N = ((width-6)&0xFFF0) * (height-6), M=height-6
Range:
  Min:        10.03 cycles/pt            Avg:        10.23 cycles/pt
  Max:        10.55 cycles/pt            Med:        10.23 cycles/pt
  Num pt = ((width-6)&0xFFF0) * (height-6)
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:      124 bytes


 +---------------------------------------+
 | TESTING: VLIB_aFast_nonmaxSuppression     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_aFast_nonmaxSuppression testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |    2872 |        29.68 |          120.67 |   0.00 |          29.68   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 2876, output features= 1290, realistic data
|  1 | PASS   |     888 |        35.13 |          127.32 |   0.00 |          35.13   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 891, output features= 609, realistic data
|  2 | PASS   |     208 |        55.61 |          144.00 |   0.00 |          55.61   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 210, output features= 157, fits in 32k
|  3 | PASS   |     176 |        61.61 |          146.03 |   0.00 |          61.61   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 180, output features= 132, fits in 32k
|  4 | PASS   |     120 |        74.56 |          150.83 |   0.00 |          74.56   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 120, output features= 90, fits in 32k
|  5 | PASS   |    1288 |        37.41 |          132.10 |   0.00 |          37.41   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 1292, output features= 1288, realistic data,
|    |        |         |              |                 |        |                  | already suppressed
|  6 | PASS   |     608 |        40.26 |          134.01 |   0.00 |          40.26   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 612, output features= 608, realistic data,
|    |        |         |              |                 |        |                  | already suppressed
|  7 | PASS   |     208 |        57.68 |          145.82 |   0.00 |          57.68   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 210, output features= 208, fits in 32k,
|    |        |         |              |                 |        |                  | already suppressed
|  8 | PASS   |     176 |        62.86 |          148.91 |   0.00 |          62.86   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 180, output features= 176, fits in 32k,
|    |        |         |              |                 |        |                  | already suppressed
|  9 | PASS   |     120 |        75.49 |          153.42 |   0.00 |          75.49   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | inNumScores = 120, output features= 120, fits in 32k,
|    |        |         |              |                 |        |                  | already suppressed
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 10
Formula:
  Cycles:  28.23980*N + 6439
  Where:   N = inNumScores
Range:
  Min:        29.68 cycles/pt            Avg:        53.03 cycles/pt
  Max:        75.49 cycles/pt            Med:        55.61 cycles/pt
  Num pt = inNumScores
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_bhattacharyaDistance_F32     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_bhattacharyaDistance_F32 testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |     512 |        20.95 |           65.80 |   0.00 |          20.95   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=512
|  1 | PASS   |      32 |        84.66 |          192.50 |   0.00 |          84.66   | Constant generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=32
|  2 | PASS   |      64 |        50.20 |          154.11 |   0.00 |          50.20   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=64
|  3 | PASS   |     128 |        32.98 |          142.40 |   0.00 |          32.98   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=128
|  4 | PASS   |     256 |        26.52 |          136.54 |   0.00 |          26.52   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=256
|  5 | PASS   |    1024 |        18.02 |          132.78 |   0.00 |          18.02   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=1024
|  6 | PASS   |    4096 |        16.75 |          131.94 |   0.00 |          16.75   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=4096
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 7
Formula:
  Cycles:  16.18650*N + 2255
  Where:   N = N
Range:
  Min:        16.75 cycles/pt            Avg:        35.72 cycles/pt
  Max:        84.66 cycles/pt            Med:        20.95 cycles/pt
  Num pt = N
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_bhattacharyaDistance_U32     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_bhattacharyaDistance_U32 testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |     512 |       144.55 |          143.74 |   0.00 |         144.55   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=512
|  1 | PASS   |      32 |       171.00 |          175.06 |   0.00 |         171.00   | Constant generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=32
|  2 | PASS   |      64 |       154.50 |          156.53 |   0.00 |         154.50   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=64
|  3 | PASS   |     128 |       148.17 |          149.19 |   0.00 |         148.17   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=128
|  4 | PASS   |     256 |       145.05 |          145.63 |   0.00 |         145.05   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=256
|  5 | PASS   |    1024 |       143.30 |          142.93 |   0.00 |         143.30   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=1024
|  6 | PASS   |    4096 |       142.57 |          142.67 |   0.00 |         142.57   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | N=4096
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 7
Formula:
  Cycles:  142.37362*N + 857
  Where:   N = N
Range:
  Min:       142.57 cycles/pt            Avg:       149.88 cycles/pt
  Max:       171.00 cycles/pt            Med:       144.55 cycles/pt
  Num pt = N
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_binarySkeleton     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_binarySkeleton testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |    4032 |         3.17 |            3.43 |   0.00 |           3.17   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=32, height=16, num_st=3, iters=3
|  1 | PASS   |    8640 |         2.30 |            2.42 |   0.00 |           2.30   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=32, height=32, num_st=3, iters=3
|  2 | PASS   |   28800 |         1.80 |            1.90 |   0.00 |           1.80   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=64, height=32, num_st=3, iters=5
|  3 | PASS   |    2688 |         3.71 |            3.92 |   0.00 |           3.71   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=32, height=16, num_st=2, iters=3
|  4 | PASS   |  304640 |         1.64 |            1.64 |   0.00 |           1.64   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=320, height=240, num_st=2, iters=2
|  5 | PASS   |  380800 |         1.61 |            1.61 |   0.00 |           1.61   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=320, height=240, num_st=1, iters=5
|  6 | PASS   | 4894720 |         1.75 |            1.76 |   0.00 |           1.75   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=640, height=480, num_st=2, iters=8
|  7 | PASS   | 5506560 |         1.75 |            1.75 |   0.00 |           1.75   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | width=640, height=480, num_st=3, iters=6
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 8
Formula:
  Cycles:  1.75362*N - 10912
  Where:   N = width * (height - 2) * num_st * iters
Range:
  Min:         1.61 cycles/pt            Avg:         2.22 cycles/pt
  Max:         3.71 cycles/pt            Med:         1.75 cycles/pt
  Num pt = width * (height - 2) * num_st * iters
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       80 bytes


 +---------------------------------------+
 | TESTING: VLIB_blobAnalysis     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_blobAnalysis testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
                                                                                      num of blobs, scratch buffer size (in bytes) for
                                                                                                              CCL,  Create Blob list, Blob analysis
|  0 | PASS   |     640 |       117.26 |          308.77 |   0.00 |         117.26   |   7 blobs,    26776 bytes,    224 bytes,   1464 bytes
|  1 | PASS   |   64000 |        22.83 |          126.55 |   0.00 |          22.83   |  80 blobs,  2021688 bytes,   2560 bytes,   8012 bytes
|  2 | PASS   |    8192 |        27.95 |           30.57 |   0.00 |          27.95   |  13 blobs,   255528 bytes,    416 bytes,  23312 bytes
|  3 | PASS   |    8192 |        27.98 |           30.70 |   0.00 |          27.98   |  13 blobs,   255528 bytes,    416 bytes,  23312 bytes
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 4
Range:
  Min:        22.83 cycles/pt            Avg:        49.01 cycles/pt
  Max:       117.26 cycles/pt            Med:        27.95 cycles/pt
  Num pt = imageWidth * imageHeight
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:      108 bytes


 +---------------------------------------+
 | TESTING: VLIB_blockMedian     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_blockMedian testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |     128 |        96.03 |           53.04 |   0.00 |          96.03   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=11, imageHeight=6, blockWidth=4,
|    |        |         |              |                 |        |                  | blockHeight=4, stepSizeHorz=2, stepSizeVert=2, out size=8
|  1 | PASS   | 3849120 |         2.85 |            7.81 |   0.00 |           2.85   | Constant generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=640, imageHeight=480, blockWidth=66,
|    |        |         |              |                 |        |                  | blockHeight=60, stepSizeHorz=16, stepSizeVert=16, out size=972
|  2 | PASS   | 1546380 |         2.25 |            7.50 |   0.00 |           2.25   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=640, imageHeight=480, blockWidth=121,
|    |        |         |              |                 |        |                  | blockHeight=71, stepSizeHorz=35, stepSizeVert=35, out size=180
|  3 | PASS   |  307200 |         2.78 |            8.40 |   0.00 |           2.78   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=640, imageHeight=480, blockWidth=640,
|    |        |         |              |                 |        |                  | blockHeight=480, stepSizeHorz=100, stepSizeVert=100, out size=1
|  4 | PASS   |  204800 |         2.86 |            8.40 |   0.00 |           2.86   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=640, imageHeight=480, blockWidth=320,
|    |        |         |              |                 |        |                  | blockHeight=320, stepSizeHorz=320, stepSizeVert=320, out size=2
|  5 | PASS   |   19076 |         3.84 |            9.04 |   0.00 |           3.84   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=633, imageHeight=477, blockWidth=251,
|    |        |         |              |                 |        |                  | blockHeight=19, stepSizeHorz=311, stepSizeVert=311, out size=4
|  6 | PASS   |  387904 |         5.53 |           10.00 |   0.00 |           5.53   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=633, imageHeight=477, blockWidth=32,
|    |        |         |              |                 |        |                  | blockHeight=19, stepSizeHorz=21, stepSizeVert=21, out size=638
|  7 | PASS   |    9216 |         7.17 |           11.42 |   0.00 |           7.17   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=203, imageHeight=101, blockWidth=32,
|    |        |         |              |                 |        |                  | blockHeight=32, stepSizeHorz=64, stepSizeVert=32, out size=9
|  8 | PASS   |    9744 |         3.99 |            9.02 |   0.00 |           3.99   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=203, imageHeight=101, blockWidth=203,
|    |        |         |              |                 |        |                  | blockHeight=16, stepSizeHorz=64, stepSizeVert=32, out size=3
|  9 | PASS   |   16000 |         3.11 |            8.57 |   0.00 |           3.11   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | imageWidth=2000, imageHeight=10, blockWidth=2000,
|    |        |         |              |                 |        |                  | blockHeight=8, stepSizeHorz=200, stepSizeVert=32, out size=1
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 10
Formula:
  Cycles:  2.76691*N + 71705
  Where:   N = ((imageHeight - blockHeight)/stepSizeVert + 1) * ((imageWidth - blockWidth)/stepSizeHorz + 1) * blockHeight*blockWidth
Range:
  Min:         2.25 cycles/pt            Avg:        13.04 cycles/pt
  Max:        96.03 cycles/pt            Med:         3.11 cycles/pt
  Num pt = ((imageHeight - blockHeight)/stepSizeVert + 1) * ((imageWidth - blockWidth)/stepSizeHorz + 1) * blockHeight*blockWidth; Cycles/pt get smaller as the blockWidth gets larger.
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       88 bytes


 +---------------------------------------+
 | TESTING: VLIB_blockStatistics     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_blockStatistics testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |    4096 |        23.42 |           56.89 |   0.00 |          23.42   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 64, imageHeight= 64, statBlockWidth= 1,
|    |        |         |              |                 |        |                  | statBlockHeight= 1, mode = 0
|  1 | PASS   |    4096 |        51.76 |           56.76 |   0.00 |          51.76   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 64, imageHeight= 64, statBlockWidth= 1,
|    |        |         |              |                 |        |                  | statBlockHeight= 1, mode = 1
|  2 | PASS   |    4096 |         4.25 |           11.91 |   0.00 |           4.25   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 64, imageHeight= 64, statBlockWidth= 5,
|    |        |         |              |                 |        |                  | statBlockHeight= 5, mode = 0
|  3 | PASS   |    4096 |         7.93 |           12.18 |   0.00 |           7.93   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 64, imageHeight= 64, statBlockWidth= 5,
|    |        |         |              |                 |        |                  | statBlockHeight= 5, mode = 1
|  4 | PASS   |    4096 |         4.43 |           12.84 |   0.00 |           4.43   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 64, imageHeight= 64, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 5, mode = 0
|  5 | PASS   |    4096 |         3.05 |            8.37 |   0.00 |           3.05   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 64, imageHeight= 64, statBlockWidth= 5,
|    |        |         |              |                 |        |                  | statBlockHeight= 11, mode = 0
|  6 | PASS   |   16384 |         8.47 |           21.51 |   0.00 |           8.47   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 128, imageHeight= 128, statBlockWidth= 1,
|    |        |         |              |                 |        |                  | statBlockHeight= 3, mode = 0
|  7 | PASS   |   32768 |        14.61 |           44.38 |   0.00 |          14.61   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 128, imageHeight= 256, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 1, mode = 0
|  8 | PASS   |   32768 |         2.29 |            8.60 |   0.00 |           2.29   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 128, imageHeight= 256, statBlockWidth= 1,
|    |        |         |              |                 |        |                  | statBlockHeight= 32, mode = 0
|  9 | PASS   |   16384 |        27.45 |            8.59 |   0.00 |          27.45   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 128, imageHeight= 128, statBlockWidth= 1,
|    |        |         |              |                 |        |                  | statBlockHeight= 32, mode = 1
| 10 | PASS   |   32768 |        13.04 |           40.52 |   0.00 |          13.04   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 128, imageHeight= 256, statBlockWidth= 32,
|    |        |         |              |                 |        |                  | statBlockHeight= 1, mode = 0
| 11 | PASS   |   16384 |         4.86 |           40.44 |   0.00 |           4.86   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 128, imageHeight= 128, statBlockWidth= 32,
|    |        |         |              |                 |        |                  | statBlockHeight= 1, mode = 1
| 12 | PASS   |   76800 |         2.47 |            9.21 |   0.00 |           2.47   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, statBlockWidth= 21,
|    |        |         |              |                 |        |                  | statBlockHeight= 11, mode = 0
| 13 | PASS   |   76800 |         3.70 |            9.20 |   0.00 |           3.70   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 320, imageHeight= 240, statBlockWidth= 21,
|    |        |         |              |                 |        |                  | statBlockHeight= 11, mode = 1
| 14 | PASS   |   77361 |         6.21 |           18.09 |   0.00 |           6.21   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 321, imageHeight= 241, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 3, mode = 0
| 15 | PASS   |   77924 |         5.79 |           17.62 |   0.00 |           5.79   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 322, imageHeight= 242, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 3, mode = 0
| 16 | PASS   |   78489 |         5.82 |           17.78 |   0.00 |           5.82   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 323, imageHeight= 243, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 3, mode = 0
| 17 | PASS   |   79056 |         5.85 |           17.76 |   0.00 |           5.85   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 324, imageHeight= 244, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 3, mode = 0
| 18 | PASS   |   76800 |         5.75 |           17.70 |   0.00 |           5.75   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 3, mode = 0
| 19 | PASS   |   76800 |        12.43 |           17.74 |   0.00 |          12.43   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 320, imageHeight= 240, statBlockWidth= 3,
|    |        |         |              |                 |        |                  | statBlockHeight= 3, mode = 1
| 20 | PASS   |   76800 |         2.63 |            9.39 |   0.00 |           2.63   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 320, imageHeight= 240, statBlockWidth= 1,
|    |        |         |              |                 |        |                  | statBlockHeight= 18, mode = 0
| 21 | PASS   |   76800 |        12.96 |           38.58 |   0.00 |          12.96   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, statBlockWidth= 18,
|    |        |         |              |                 |        |                  | statBlockHeight= 1, mode = 0
| 22 | PASS   |   76800 |         2.29 |            8.95 |   0.00 |           2.29   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, statBlockWidth= 16,
|    |        |         |              |                 |        |                  | statBlockHeight= 16, mode = 0
| 23 | PASS   |   76800 |         4.27 |            8.97 |   0.00 |           4.27   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, statBlockWidth= 16,
|    |        |         |              |                 |        |                  | statBlockHeight= 16, mode = 1
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 24
Range:
  Min:         2.29 cycles/pt            Avg:         9.82 cycles/pt
  Max:        51.76 cycles/pt            Med:         5.79 cycles/pt
  Num pt = imageWidth*imageHeight
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       56 bytes


 +---------------------------------------+
 | TESTING: VLIB_Canny_Edge_Detection     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_Canny_Edge_Detection testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |    4096 |        30.14 |          102.04 |   0.00 |          30.14   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, height=64
|  1 | PASS   |     480 |        33.85 |           71.30 |   0.00 |          33.85   | Constant generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=32, height=15
|  2 | PASS   |     216 |        53.51 |           75.99 |   0.00 |          53.51   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=18, height=12
|  3 | PASS   |     360 |        36.17 |           65.60 |   0.00 |          36.17   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=30, height=12
|  4 | PASS   |    3600 |        35.94 |          106.06 |   0.00 |          35.94   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=36, height=100
|  5 | PASS   |    4180 |        36.04 |          107.29 |   0.00 |          36.04   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=38, height=110
|  6 | PASS   |   19200 |        38.63 |          114.90 |   0.00 |          38.63   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=160, height=120
|  7 | PASS   |   39042 |        41.81 |          120.27 |   0.00 |          41.81   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=162, height=241
|  8 | PASS   |   76800 |        58.30 |          137.49 |   0.00 |          58.30   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, height=240
|  9 | PASS   |  307200 |        65.16 |          143.96 |   0.00 |          65.16   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, height=480
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 10
Range:
  Min:        30.14 cycles/pt            Avg:        42.95 cycles/pt
  Max:        65.16 cycles/pt            Med:        36.17 cycles/pt
  Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:      140 bytes


 +---------------------------------------+
 | TESTING: VLIB_Connected_Components_Labeling     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_Connected_Components_Labeling testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |     256 |        93.37 |            0.00 |   0.00 |          93.37   | Statically generated input | Opt results compared to static
|    |        |         |              |                 |        |                  | results | width=32, height=8, minBlobArea=7,
|    |        |         |              |                 |        |                  | connected8Flag=1, numCCs=2
|  1 | PASS   |     512 |        85.71 |            0.00 |   0.00 |          85.71   | Statically generated input | Opt results compared to static
|    |        |         |              |                 |        |                  | results | width=64, height=8, minBlobArea=7,
|    |        |         |              |                 |        |                  | connected8Flag=0, numCCs=8
|  2 | PASS   |     512 |        75.88 |            0.00 |   0.00 |          75.88   | Statically generated input | Opt results compared to static
|    |        |         |              |                 |        |                  | results | width=64, height=8, minBlobArea=7,
|    |        |         |              |                 |        |                  | connected8Flag=1, numCCs=7
|  3 | PASS   |   64000 |        13.15 |            0.00 |   0.00 |          13.15   | Statically generated input | Opt results compared to static
|    |        |         |              |                 |        |                  | results | width=256, height=250, minBlobArea=7,
|    |        |         |              |                 |        |                  | connected8Flag=1, numCCs=78
|  4 | PASS   |    8192 |       104.93 |            0.00 |   0.00 |         104.93   | Statically generated input | Opt results compared to static
|    |        |         |              |                 |        |                  | results | width=128, height=64, minBlobArea=7,
|    |        |         |              |                 |        |                  | connected8Flag=1, numCCs=1
|  5 | PASS   |   76800 |       235.96 |            0.00 |   0.00 |         235.96   | Randomly generated input | Opt results compared to static
|    |        |         |              |                 |        |                  | results | width=320, height=240, minBlobArea=7,
|    |        |         |              |                 |        |                  | connected8Flag=1, numCCs=18
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 6
Range:
  Min:        13.15 cycles/pt            Avg:       101.50 cycles/pt
  Max:       235.96 cycles/pt            Med:        85.71 cycles/pt
  Num pt = CELING(width,32) * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:      300 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYint_to_HSLpl     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYint_to_HSLpl testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |       391.91 |          241.66 |   0.00 |         391.91   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |     512 |       115.25 |          113.97 |   0.00 |         115.25   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=32, pitch=32, height=16, num_pts=512
|  2 | PASS   |    2688 |       101.27 |          105.90 |   0.00 |         101.27   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  3 | PASS   |    7040 |        98.70 |          104.53 |   0.00 |          98.70   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=55, num_pts=7040
|  4 | PASS   |   76800 |        98.69 |          104.67 |   0.00 |          98.69   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  5 | PASS   |  307200 |        99.42 |          104.68 |   0.00 |          99.42   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  6 | PASS   |      32 |       377.16 |          235.38 |   0.00 |         377.16   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=20, height=2, num_pts=32
|  7 | PASS   |    2688 |       100.68 |          106.86 |   0.00 |         100.68   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=84, height=42, num_pts=2688
|  8 | PASS   |    7040 |        98.67 |          105.29 |   0.00 |          98.67   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=136, height=55, num_pts=7040
|  9 | PASS   |   76800 |        97.61 |          104.62 |   0.00 |          97.61   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=324, height=240, num_pts=76800
| 10 | PASS   |  307200 |        97.82 |          104.76 |   0.00 |          97.82   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=644, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 11
Range:
  Min:        97.61 cycles/pt            Avg:       152.47 cycles/pt
  Max:       391.91 cycles/pt            Med:        98.70 cycles/pt
  Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYint_to_LABpl     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYint_to_LABpl testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |      6558.50 |         5723.91 |   0.00 |        6558.50   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |     512 |      6024.64 |         5277.42 |   0.00 |        6024.64   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=32, pitch=32, height=16, num_pts=512
|  2 | PASS   |    2688 |      5927.80 |         5188.16 |   0.00 |        5927.80   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  3 | PASS   |    7040 |      5872.00 |         5133.73 |   0.00 |        5872.00   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=55, num_pts=7040
|  4 | PASS   |      32 |      6309.88 |         5501.00 |   0.00 |        6309.88   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=20, height=2, num_pts=32
|  5 | PASS   |    2688 |      5920.68 |         5181.16 |   0.00 |        5920.68   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=84, height=42, num_pts=2688
|  6 | PASS   |    7040 |      5900.05 |         5160.99 |   0.00 |        5900.05   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=136, height=55, num_pts=7040
|  7 | PASS   |   76800 |      5898.14 |         5159.19 |   0.00 |        5898.14   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  8 | PASS   |   76800 |      5890.23 |         5151.66 |   0.00 |        5890.23   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=324, height=240, num_pts=76800
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 9
Range:
  Min:      5872.00 cycles/pt            Avg:      6033.55 cycles/pt
  Max:      6558.50 cycles/pt            Med:      5900.05 cycles/pt
  Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:      428 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYint_to_LABpl_LUT     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYint_to_LABpl_LUT testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |       586.88 |          589.00 |   0.00 |         586.88   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |     512 |       395.81 |          409.11 |   0.00 |         395.81   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=32, pitch=32, height=16, num_pts=512
|  2 | PASS   |    2688 |        80.60 |           88.36 |   0.00 |          80.60   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  3 | PASS   |    7040 |        73.03 |           80.79 |   0.00 |          73.03   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=55, num_pts=7040
|  4 | PASS   |   76800 |        70.90 |           77.18 |   0.00 |          70.90   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  5 | PASS   |  307200 |        70.63 |           77.71 |   0.00 |          70.63   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  6 | PASS   |      32 |       554.50 |          571.38 |   0.00 |         554.50   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=22, height=2, num_pts=32
|  7 | PASS   |    2604 |        81.26 |           89.25 |   0.00 |          81.26   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=62, pitch=82, height=42, num_pts=2604
|  8 | PASS   |    7040 |        72.90 |           81.04 |   0.00 |          72.90   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=136, height=55, num_pts=7040
|  9 | PASS   |   76800 |        69.28 |           77.43 |   0.00 |          69.28   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=324, height=240, num_pts=76800
| 10 | PASS   |  307200 |        68.98 |           77.53 |   0.00 |          68.98   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=644, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 11
Range:
  Min:        68.98 cycles/pt            Avg:       193.16 cycles/pt
  Max:       586.88 cycles/pt            Med:        72.90 cycles/pt
  Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:      104 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYint_to_RGBpl     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYint_to_RGBpl testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |        62.53 |           59.28 |   0.00 |          62.53   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |     512 |        10.89 |           16.40 |   0.00 |          10.89   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=32, pitch=32, height=16, num_pts=512
|  2 | PASS   |    2688 |         8.00 |           13.22 |   0.00 |           8.00   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  3 | PASS   |    7040 |         7.56 |           13.34 |   0.00 |           7.56   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=55, num_pts=7040
|  4 | PASS   |   76800 |         7.91 |           13.46 |   0.00 |           7.91   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  5 | PASS   |  307200 |         8.92 |           14.20 |   0.00 |           8.92   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  6 | PASS   |      32 |        62.53 |           60.78 |   0.00 |          62.53   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=20, height=2, num_pts=32
|  7 | PASS   |    2688 |         8.94 |           14.07 |   0.00 |           8.94   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=84, height=42, num_pts=2688
|  8 | PASS   |    7040 |         7.47 |           13.55 |   0.00 |           7.47   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=136, height=55, num_pts=7040
|  9 | PASS   |   76800 |         7.86 |           13.40 |   0.00 |           7.86   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=324, height=240, num_pts=76800
| 10 | PASS   |  307200 |         8.80 |           14.04 |   0.00 |           8.80   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=644, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 11
Formula:
  Cycles:  9.84714*N - 663.62969*M + 13935
  Where:   N = width * height; M=height
Range:
  Min:         7.47 cycles/pt            Avg:        18.31 cycles/pt
  Max:        62.53 cycles/pt            Med:         8.00 cycles/pt
  Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       36 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYint_to_YUV420pl     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYint_to_YUV420pl testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |        37.94 |           45.44 |   0.00 |          37.94   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |    2688 |         5.27 |            7.22 |   0.00 |           5.27   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  2 | PASS   |    6912 |         4.57 |            7.31 |   0.00 |           4.57   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=54, num_pts=6912
|  3 | PASS   |   76800 |         4.55 |            7.37 |   0.00 |           4.55   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  4 | PASS   |  307200 |         5.11 |            7.86 |   0.00 |           5.11   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  5 | PASS   |      32 |        37.00 |           45.63 |   0.00 |          37.00   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=20, height=2, num_pts=32
|  6 | PASS   |    2688 |         5.79 |            8.06 |   0.00 |           5.79   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=84, height=42, num_pts=2688
|  7 | PASS   |    6912 |         4.78 |            7.42 |   0.00 |           4.78   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=136, height=54, num_pts=6912
|  8 | PASS   |   76800 |         5.13 |            7.35 |   0.00 |           5.13   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=324, height=240, num_pts=76800
|  9 | PASS   |  307200 |         5.68 |            7.91 |   0.00 |           5.68   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=644, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 10
Formula:
  Cycles:  5.96245*N - 383.48895*M + 8737
  Where:   N = width * height; M = height
Range:
  Min:         4.55 cycles/pt            Avg:        11.58 cycles/pt
  Max:        37.94 cycles/pt            Med:         5.13 cycles/pt
  Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYint_to_YUV422pl     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYint_to_YUV422pl testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |        38.25 |           55.22 |   0.00 |          38.25   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |    2688 |         5.19 |            8.14 |   0.00 |           5.19   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  2 | PASS   |    7040 |         4.94 |            8.36 |   0.00 |           4.94   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=55, num_pts=7040
|  3 | PASS   |   76800 |         5.52 |            9.15 |   0.00 |           5.52   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  4 | PASS   |  307200 |         6.25 |            9.64 |   0.00 |           6.25   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  5 | PASS   |      32 |        50.03 |           36.50 |   0.00 |          50.03   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=20, height=2, num_pts=32
|  6 | PASS   |    2688 |         6.09 |            8.78 |   0.00 |           6.09   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=84, height=42, num_pts=2688
|  7 | PASS   |    7040 |         5.72 |            8.30 |   0.00 |           5.72   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=136, height=55, num_pts=7040
|  8 | PASS   |   76800 |         5.94 |            9.16 |   0.00 |           5.94   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=324, height=240, num_pts=76800
|  9 | PASS   |  307200 |         6.44 |            9.70 |   0.00 |           6.44   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=644, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 1: pitch == width
  Test vectors run: 5
  Formula:
    Cycles:  6.26499*N - 14486
    Where:   N = width * height
  Range:
    Min:         4.94 cycles/pt            Avg:        12.03 cycles/pt
    Max:        38.25 cycles/pt            Med:         5.19 cycles/pt
    Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 2: pitch > width
  Test vectors run: 5
  Formula:
    Cycles:  6.96773*N - 352.21212*M + 7718
    Where:   N = width * height; M = height
  Range:
    Min:         5.72 cycles/pt            Avg:        14.84 cycles/pt
    Max:        50.03 cycles/pt            Med:         5.94 cycles/pt
    Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYint_to_YUV444pl     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYint_to_YUV444pl testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |        38.72 |           38.81 |   0.00 |          38.72   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |    2688 |        11.73 |           10.97 |   0.00 |          11.73   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  2 | PASS   |    4400 |        10.61 |           10.65 |   0.00 |          10.61   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=80, pitch=80, height=55, num_pts=4400
|  3 | PASS   |   76800 |        12.39 |           11.71 |   0.00 |          12.39   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  4 | PASS   |  307200 |        13.15 |           12.49 |   0.00 |          13.15   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  5 | PASS   |      32 |        38.69 |           37.34 |   0.00 |          38.69   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=20, height=2, num_pts=32
|  6 | PASS   |    2688 |        12.30 |           12.42 |   0.00 |          12.30   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=84, height=42, num_pts=2688
|  7 | PASS   |    4400 |        10.61 |           10.92 |   0.00 |          10.61   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=80, pitch=84, height=55, num_pts=4400
|  8 | PASS   |   76800 |        12.33 |           12.40 |   0.00 |          12.33   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=324, height=240, num_pts=76800
|  9 | PASS   |  307200 |        13.10 |           13.11 |   0.00 |          13.10   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=644, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Test vectors run: 10
Formula:
  Cycles:  13.89292*N - 516.51440*M + 9858
  Where:   N = width * height; M = height
Range:
  Min:        10.61 cycles/pt            Avg:        17.36 cycles/pt
  Max:        38.72 cycles/pt            Med:        12.33 cycles/pt
  Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYpl_to_YUVint     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYpl_to_YUVint testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |        53.72 |           44.06 |   0.00 |          53.72   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |    2688 |         6.35 |            7.39 |   0.00 |           6.35   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  2 | PASS   |    7040 |         6.14 |            7.78 |   0.00 |           6.14   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=55, num_pts=7040
|  3 | PASS   |   76800 |         6.56 |            7.59 |   0.00 |           6.56   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  4 | PASS   |  307200 |         7.22 |            8.18 |   0.00 |           7.22   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  5 | PASS   |      32 |        58.34 |           45.47 |   0.00 |          58.34   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=32, height=2, num_pts=32
|  6 | PASS   |    2688 |         6.88 |            8.35 |   0.00 |           6.88   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=80, height=42, num_pts=2688
|  7 | PASS   |    7040 |         6.41 |            7.89 |   0.00 |           6.41   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=144, height=55, num_pts=7040
|  8 | PASS   |   76800 |         6.32 |            8.11 |   0.00 |           6.32   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=336, height=240, num_pts=76800
|  9 | PASS   |  307200 |         6.86 |            8.69 |   0.00 |           6.86   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=656, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 1: pitch == width
  Test vectors run: 5
  Formula:
    Cycles:  7.23121*N - 12709
    Where:   N = width * height
  Range:
    Min:         6.14 cycles/pt            Avg:        16.00 cycles/pt
    Max:        53.72 cycles/pt            Med:         6.35 cycles/pt
    Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 2: pitch > width
  Test vectors run: 5
  Formula:
    Cycles:  7.42535*N - 380.60763*M + 9410
    Where:   N = width * height; M = height
  Range:
    Min:         6.32 cycles/pt            Avg:        16.96 cycles/pt
    Max:        58.34 cycles/pt            Med:         6.41 cycles/pt
    Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_convertUYVYsemipl_to_YUVpl     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_convertUYVYsemipl_to_YUVpl testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |      32 |        35.06 |           35.16 |   0.00 |          35.06   | Statically generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=16, height=2, num_pts=32
|  1 | PASS   |    2688 |         2.31 |            5.15 |   0.00 |           2.31   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=64, height=42, num_pts=2688
|  2 | PASS   |    6912 |         2.18 |            5.63 |   0.00 |           2.18   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=128, height=54, num_pts=6912
|  3 | PASS   |   76800 |         2.20 |            5.72 |   0.00 |           2.20   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=320, height=240, num_pts=76800
|  4 | PASS   |  307200 |         2.61 |            5.99 |   0.00 |           2.61   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=640, height=480, num_pts=307200
|  5 | PASS   |      32 |        29.50 |           35.16 |   0.00 |          29.50   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=16, pitch=24, height=2, num_pts=32
|  6 | PASS   |    2688 |         3.40 |            5.03 |   0.00 |           3.40   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=64, pitch=72, height=42, num_pts=2688
|  7 | PASS   |    6912 |         2.60 |            5.78 |   0.00 |           2.60   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=128, pitch=136, height=54, num_pts=6912
|  8 | PASS   |   76800 |         2.56 |            5.77 |   0.00 |           2.56   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=320, pitch=328, height=240, num_pts=76800
|  9 | PASS   |  307200 |         2.95 |            6.04 |   0.00 |           2.95   | Randomly generated input | Opt results compared to NatC
|    |        |         |              |                 |        |                  | results | width=640, pitch=648, height=480, num_pts=307200
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 1: pitch == width
  Test vectors run: 5
  Formula:
    Cycles:  2.61871*N - 7215
    Where:   N = width * height
  Range:
    Min:         2.18 cycles/pt            Avg:         8.87 cycles/pt
    Max:        35.06 cycles/pt            Med:         2.20 cycles/pt
    Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 2: pitch > width
  Test vectors run: 5
  Formula:
    Cycles:  3.35406*N - 273.22763*M + 6877
    Where:   N = width * height; M = height
  Range:
    Min:         2.56 cycles/pt            Avg:         8.20 cycles/pt
    Max:        29.50 cycles/pt            Med:         2.60 cycles/pt
    Num pt = width * height
---------------------------------------------------------------------------------------------------------------------------------------------
  Stack usage:       16 bytes


 +---------------------------------------+
 | TESTING: VLIB_coOccurrenceMatrix     |
 +---------------------------------------+

---------------------------------------------------------------------------------------------------------------------------------------------
               VLIB_coOccurrenceMatrix testing starts.
---------------------------------------------------------------------------------------------------------------------------------------------
| No | Status | Num pt  | Opt Compute  | NatC Compute    |I/O     |  Opt Comp || IO  | Description
|    |        |         |  cyc/pt      |  cyc/pt         | cyc/pt |  Total cyc/pt    |            
---------------------------------------------------------------------------------------------------------------------------------------------
|  0 | PASS   |  121476 |         7.17 |           32.14 |   0.00 |           7.17   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 191, imageHeight= 159, outWidth= 4, outHeight= 4
|    |        |         |              |                 |        |                  | mode =3
|  1 | PASS   |  121476 |         2.43 |           32.14 |   0.00 |           2.43   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 191, imageHeight= 159, outWidth= 4, outHeight= 4
|    |        |         |              |                 |        |                  | mode =1
|  2 | PASS   |  121476 |         4.09 |           32.08 |   0.00 |           4.09   | Statically generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 191, imageHeight= 159, outWidth= 4, outHeight= 4
|    |        |         |              |                 |        |                  | mode =2
|  3 | PASS   |    4096 |         9.28 |           35.88 |   0.00 |           9.28   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 64, imageHeight= 64, outWidth= 4, outHeight= 4
|    |        |         |              |                 |        |                  | mode =3
|  4 | PASS   |  230400 |         7.39 |           31.95 |   0.00 |           7.39   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, outWidth= 32, outHeight=
|    |        |         |              |                 |        |                  | 32 mode =3
|  5 | PASS   |  230400 |         2.54 |           31.89 |   0.00 |           2.54   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, outWidth= 32, outHeight=
|    |        |         |              |                 |        |                  | 32 mode =1
|  6 | PASS   |  230400 |         7.70 |           33.60 |   0.00 |           7.70   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, outWidth= 15, outHeight=
|    |        |         |              |                 |        |                  | 15 mode =3
|  7 | PASS   |  230400 |         2.61 |           33.61 |   0.00 |           2.61   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, outWidth= 8, outHeight= 8
|    |        |         |              |                 |        |                  | mode =1
|  8 | PASS   |    4096 |        54.65 |           86.22 |   0.00 |          54.65   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 64, imageHeight= 64, outWidth= 256, outHeight=
|    |        |         |              |                 |        |                  | 256 mode =3
|  9 | PASS   |    4096 |       610.57 |           86.02 |   0.00 |         610.57   | Constant generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 64, imageHeight= 64, outWidth= 256, outHeight=
|    |        |         |              |                 |        |                  | 256 mode =2
| 10 | PASS   |  153600 |         4.56 |           33.82 |   0.00 |           4.56   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, outWidth= 16, outHeight=
|    |        |         |              |                 |        |                  | 16 mode =1
| 11 | PASS   |  230400 |         7.72 |           33.57 |   0.00 |           7.72   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 320, imageHeight= 240, outWidth= 8, outHeight= 8
|    |        |         |              |                 |        |                  | mode =3
| 12 | PASS   |  230400 |         4.49 |           33.61 |   0.00 |           4.49   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 320, imageHeight= 240, outWidth= 32,
|    |        |         |              |                 |        |                  | outHeight= 32 mode =1
| 13 | PASS   |  230400 |         7.77 |           33.60 |   0.00 |           7.77   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 320, imageHeight= 240, outWidth= 32,
|    |        |         |              |                 |        |                  | outHeight= 32 mode =3
| 14 | PASS   |   57600 |         5.91 |           24.82 |   0.00 |           5.91   | Sequentially generated input | Opt and NatC results compared
|    |        |         |              |                 |        |                  | | imageWidth= 160, imageHeight= 120, outWidth= 32,
|    |        |         |              |                 |        |                  | outHeight= 32 mode =3
| 15 | PASS   |   12288 |         5.20 |           17.90 |   0.00 |           5.20   | Randomly generated input | Opt and NatC results compared |
|    |        |         |              |                 |        |                  | imageWidth= 64, imageHeight= 64, outWidth= 32, outHeight= 32
|    |        |         |              |                 |        |                  | mode =3
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 1: Scratch used; internal LUT not required
  Test vectors run: 5
  Range:
    Min:         2.43 cycles/pt            Avg:         3.33 cycles/pt
    Max:         4.56 cycles/pt            Med:         2.54 cycles/pt
    Num pt = imageWidth*imageHeight*numOffsets
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 2: Scratch used; internal LUT required
  Test vectors run: 2
  Range:
    Min:         4.09 cycles/pt            Avg:       307.33 cycles/pt
    Max:       610.57 cycles/pt            Med:         4.09 cycles/pt
    Num pt = imageWidth*imageHeight*numOffsets
---------------------------------------------------------------------------------------------------------------------------------------------
Mode 3: Scratch not used; internal LUT required
  Test vectors run: 9
  Range:
    Min:         5.20 cycles/pt            Avg:        12.53 cycles/pt
    Max:        54.65 cycles/pt            Med:         7.39 cycles/pt
    Num pt = imageWidth*imageHeight*numOffsets
----------------------------------------------------------------------------------------------------
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值