Lines Matching refs:param
303 // @param[out] layer_names List of layer names. Application must free memory after using this.
304 // @param[out] num_layers The number of layers
305 // @param[out] err Error string(wll be filled when the function returns error code). Free it using FreeEXRErrorMessage after using this value.
9504 bool FindZFPCompressionParam(ZFPCompressionParam *param,
9512 param->type = static_cast<int>(attributes[i].value[0]);
9522 if (param->type == TINYEXR_ZFP_COMPRESSIONTYPE_RATE) {
9526 param->rate = *(reinterpret_cast<double *>(attributes[i].value));
9530 } else if (param->type == TINYEXR_ZFP_COMPRESSIONTYPE_PRECISION) {
9534 param->rate = *(reinterpret_cast<int *>(attributes[i].value));
9538 } else if (param->type == TINYEXR_ZFP_COMPRESSIONTYPE_ACCURACY) {
9542 param->tolerance = *(reinterpret_cast<double *>(attributes[i].value));
9557 const ZFPCompressionParam ¶m) {
9580 if (param.type == TINYEXR_ZFP_COMPRESSIONTYPE_RATE) {
9581 zfp_stream_set_rate(zfp, param.rate, zfp_type_float, /* dimention */ 2,
9583 } else if (param.type == TINYEXR_ZFP_COMPRESSIONTYPE_PRECISION) {
9584 zfp_stream_set_precision(zfp, param.precision, zfp_type_float);
9585 } else if (param.type == TINYEXR_ZFP_COMPRESSIONTYPE_ACCURACY) {
9586 zfp_stream_set_accuracy(zfp, param.tolerance, zfp_type_float);
9627 const ZFPCompressionParam ¶m) {
9644 if (param.type == TINYEXR_ZFP_COMPRESSIONTYPE_RATE) {
9645 zfp_stream_set_rate(zfp, param.rate, zfp_type_float, 2, 0);
9646 } else if (param.type == TINYEXR_ZFP_COMPRESSIONTYPE_PRECISION) {
9647 zfp_stream_set_precision(zfp, param.precision, zfp_type_float);
9648 } else if (param.type == TINYEXR_ZFP_COMPRESSIONTYPE_ACCURACY) {
9649 zfp_stream_set_accuracy(zfp, param.tolerance, zfp_type_float);