| 4605 | #if TINYEXR_USE_ZFP |
| 4606 | |
| 4607 | struct ZFPCompressionParam { |
| 4608 | double rate; |
| 4609 | unsigned int precision; |
| 4610 | unsigned int __pad0; |
| 4611 | double tolerance; |
| 4612 | int type; // TINYEXR_ZFP_COMPRESSIONTYPE_* |
| 4613 | unsigned int __pad1; |
| 4614 | |
| 4615 | ZFPCompressionParam() { |
| 4616 | type = TINYEXR_ZFP_COMPRESSIONTYPE_RATE; |
| 4617 | rate = 2.0; |
| 4618 | precision = 0; |
| 4619 | tolerance = 0.0; |
| 4620 | } |
| 4621 | }; |
| 4622 | |
| 4623 | static bool FindZFPCompressionParam(ZFPCompressionParam *param, |
| 4624 | const EXRAttribute *attributes, |
nothing calls this directly
no outgoing calls
no test coverage detected