Lines Matching defs:attributes
223 // Custom attributes(exludes required attributes(e.g. `channels`,
633 because it assumes the low 16-bits of zip external attributes are DOS
634 attributes (which I believe they always are in practice).
636 internal attributes, just the filename and external attributes
5285 // Most/all zip writers (hopefully) set DOS file/directory attributes in the
7379 std::vector<EXRAttribute> attributes;
7402 attributes.clear();
9505 const EXRAttribute *attributes,
9510 if ((strcmp(attributes[i].name, "zfpCompressionType") == 0) &&
9511 (attributes[i].size == 1)) {
9512 param->type = static_cast<int>(attributes[i].value[0]);
9524 if ((strcmp(attributes[i].name, "zfpCompressionRate") == 0) &&
9525 (attributes[i].size == 8)) {
9526 param->rate = *(reinterpret_cast<double *>(attributes[i].value));
9532 if ((strcmp(attributes[i].name, "zfpCompressionPrecision") == 0) &&
9533 (attributes[i].size == 4)) {
9534 param->rate = *(reinterpret_cast<int *>(attributes[i].value));
9540 if ((strcmp(attributes[i].name, "zfpCompressionTolerance") == 0) &&
9541 (attributes[i].size == 8)) {
9542 param->tolerance = *(reinterpret_cast<double *>(attributes[i].value));
9702 const EXRAttribute *attributes, size_t num_channels,
10121 if (!FindZFPCompressionParam(&zfp_compression_param, attributes,
10183 (void)attributes;
10319 const EXRAttribute *attributes, size_t num_channels,
10342 (*height), pixel_data_size, num_attributes, attributes,
10437 // least the following attributes:
10475 info->attributes.clear();
10477 // Read attributes
10482 (*err) += "Insufficient data size for attributes.\n";
10649 if (info->attributes.size() < TINYEXR_MAX_CUSTOM_ATTRIBUTES) {
10664 info->attributes.push_back(attrib);
10669 // Check if required attributes exist
10779 exr_header->num_custom_attributes = static_cast<int>(info.attributes.size());
10782 // TODO(syoyo): Report warning when # of attributes exceeds
10791 for (size_t i = 0; i < info.attributes.size(); i++) {
10792 memcpy(exr_header->custom_attributes[i].name, info.attributes[i].name,
10794 memcpy(exr_header->custom_attributes[i].type, info.attributes[i].type,
10796 exr_header->custom_attributes[i].size = info.attributes[i].size;
10798 exr_header->custom_attributes[i].value = info.attributes[i].value;
12078 // Write attributes.
12152 // Custom attributes
12210 // Use ZFP compression parameter from custom attributes(if such a parameter
12652 // Read attributes