Merge pull request #16309 from ganesh-k13:bugfix/imdecode-resize
authorGanesh Kathiresan <ganesh3597@gmail.com>
Mon, 20 Jan 2020 11:00:45 +0000 (16:30 +0530)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 20 Jan 2020 11:00:45 +0000 (14:00 +0300)
commit80ade96c8c60c174bf1d61d58a404b883337b3f6
treec0e246e8e91d80fafbf80dbdfe7548effc85d0a4
parent00830d9dd89bc69490f5567e715a7e5fff714275
Merge pull request #16309 from ganesh-k13:bugfix/imdecode-resize

* Added flag handlers for imread and imdecode | Issue 16203

Undo imread change

Added Imread resize tests

Added imdecode flags check

Added imdecode tests for resize

Removed trailing whitespace

Removed IMREAD_IGNORE_ORIENTATION check

Added else condition

Removed IMREAD_IGNORE_ORIENTATION check in decode

Added HAVE_JPEG guards

Added static_cast for Win32

Added resize for non jpegs

Added tests for non jpeg resize case

Fixed resize value in assert

Changed tests to Value-Parameterized Tests

Changed tests to Value-Parameterized Tests | handled >> in cpp

Changed tests to Value-Parameterized Tests | removed trailing whitespace

* imgcodecs: update test
modules/imgcodecs/src/loadsave.cpp
modules/imgcodecs/test/test_precomp.hpp
modules/imgcodecs/test/test_read_write.cpp