app/compress-perf: add incompressible data handling
authorTomasz Jozwiak <tomaszx.jozwiak@intel.com>
Fri, 1 Mar 2019 08:45:10 +0000 (09:45 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 2 Apr 2019 14:50:24 +0000 (16:50 +0200)
commit27cee41700946e98baf32a474bf819152c4dc54c
tree93f765b4b568e50d48e25e58a9e68d27d9644d84
parentbbbc39b2c2e5deb3eaa182c3ddb86aafc2ab962f
app/compress-perf: add incompressible data handling

Currently, compress-perf doesn't respect incompressible
data inside one operation.

This patch adds such a functionality. Now the output buffer
in one operation is big enough to store such a data after
compression. Also added segment size checking to pass
values in right range.

Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
app/test-compress-perf/comp_perf_options.h
app/test-compress-perf/comp_perf_options_parse.c
app/test-compress-perf/comp_perf_test_benchmark.c
app/test-compress-perf/comp_perf_test_verify.c
app/test-compress-perf/main.c