From c04d62db8bded627992881dfcd43c2fc53a3bdd5 Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Thu, 17 Dec 2015 14:52:50 +0300 Subject: [PATCH] HAL samples readme file updated --- samples/hal/README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/samples/hal/README.md b/samples/hal/README.md index 16501c1399..c48eda40ba 100644 --- a/samples/hal/README.md +++ b/samples/hal/README.md @@ -11,7 +11,7 @@ Build custom HAL replacement library ------------------------------------ 1. Create folder for build (for example `/my-hal-build`) -2. Go to created folder and run cmake: `cmake /samples/hal/slow_hal` +2. Go to the created folder and run cmake: `cmake /samples/hal/slow_hal` 3. Run make After build you will find static library in the build folder: `libslow_hal.a` @@ -20,15 +20,15 @@ Build OpenCV with HAL replacement --------------------------------- 1. Create folder for build (for example `/my-opencv-build`) -2. Go to created folder and run cmake: -``` -cmake \ - -DOPENCV_HAL_HEADERS="/samples/hal/slow_hal/impl.hpp" \ - -DOPENCV_HAL_LIBS="/my-hal-build/libslow_hal.a" \ - -``` +2. Go to the created folder and run cmake: + ``` + cmake \ + -DOPENCV_HAL_HEADERS="/samples/hal/slow_hal/impl.hpp" \ + -DOPENCV_HAL_LIBS="/my-hal-build/libslow_hal.a" \ + + ``` 3. Run make (or `make opencv_perf_core` to build the demonstration test executable only) -4. After build you can run the tests and verify that some functions are slower now: -``` -./bin/opencv_perf_core --gtest_filter=*bitwise_and* -``` +4. After build you can run the tests and verify that some functions works slower: + ``` + ./bin/opencv_perf_core --gtest_filter=*bitwise_and* + ```