• pasbi's avatar
    Merge pull request #12192 from pasbi:pfm · 9f5f64e1
    pasbi authored
    * created new decoder and encoder for PFM
    
    pfm file format stores binary RGB or grayscale float images.
    
    * added test for pfm codec
    
    * replaced large with short licence header
    
    * little/big-endian-check is now compile time
    
    * fixed width/height confusion, improved big/little endian recognition, fixed scaling issue and Improved signature check
    
    * adapted tests to handle float images well
    
    * removed data-dependency: lena.pfm
    
    the lena image is now loaded is pam and converted to pfm.
    
    * fixed bug in endianess detection macro
    
    * Added endianess detection for android and win
    
    * removed fancy endianess detection
    
    endianess detection will be implemented in cmake scripts soonish.
    
    * fixed minor warnings
    
    * fixed stupid elif defined bug
    
    * silenced some implicit cast warnings
    
    * replaced std::to_string with std::stringstream solution
    
    std::to_string variant did not build on android.
    
    * replaced new endianess macros with existing ones
    
    * improved readability
    9f5f64e1
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...