• Home
  • Raw
  • Download

Lines Matching refs:cin

389     cin;  in ReadCINImage()  local
450 memset(&cin,0,sizeof(cin)); in ReadCINImage()
453 cin.file.image_offset=ReadBlobLong(image); in ReadCINImage()
455 cin.file.generic_length=ReadBlobLong(image); in ReadCINImage()
457 cin.file.industry_length=ReadBlobLong(image); in ReadCINImage()
459 cin.file.user_length=ReadBlobLong(image); in ReadCINImage()
461 cin.file.file_size=ReadBlobLong(image); in ReadCINImage()
463 offset+=ReadBlob(image,sizeof(cin.file.version),(unsigned char *) in ReadCINImage()
464 cin.file.version); in ReadCINImage()
465 (void) CopyMagickString(property,cin.file.version,sizeof(cin.file.version)); in ReadCINImage()
467 offset+=ReadBlob(image,sizeof(cin.file.filename),(unsigned char *) in ReadCINImage()
468 cin.file.filename); in ReadCINImage()
469 (void) CopyMagickString(property,cin.file.filename,sizeof(cin.file.filename)); in ReadCINImage()
471 offset+=ReadBlob(image,sizeof(cin.file.create_date),(unsigned char *) in ReadCINImage()
472 cin.file.create_date); in ReadCINImage()
473 (void) CopyMagickString(property,cin.file.create_date, in ReadCINImage()
474 sizeof(cin.file.create_date)); in ReadCINImage()
476 offset+=ReadBlob(image,sizeof(cin.file.create_time),(unsigned char *) in ReadCINImage()
477 cin.file.create_time); in ReadCINImage()
478 (void) CopyMagickString(property,cin.file.create_time, in ReadCINImage()
479 sizeof(cin.file.create_time)); in ReadCINImage()
481 offset+=ReadBlob(image,sizeof(cin.file.reserve),(unsigned char *) in ReadCINImage()
482 cin.file.reserve); in ReadCINImage()
486 cin.image.orientation=(unsigned char) ReadBlobByte(image); in ReadCINImage()
488 if (cin.image.orientation != (unsigned char) (~0)) in ReadCINImage()
490 cin.image.orientation); in ReadCINImage()
491 switch (cin.image.orientation) in ReadCINImage()
503 cin.image.number_channels=(unsigned char) ReadBlobByte(image); in ReadCINImage()
505 offset+=ReadBlob(image,sizeof(cin.image.reserve1),(unsigned char *) in ReadCINImage()
506 cin.image.reserve1); in ReadCINImage()
509 cin.image.channel[i].designator[0]=(unsigned char) ReadBlobByte(image); in ReadCINImage()
511 cin.image.channel[i].designator[1]=(unsigned char) ReadBlobByte(image); in ReadCINImage()
513 cin.image.channel[i].bits_per_pixel=(unsigned char) ReadBlobByte(image); in ReadCINImage()
515 cin.image.channel[i].reserve=(unsigned char) ReadBlobByte(image); in ReadCINImage()
517 cin.image.channel[i].pixels_per_line=ReadBlobLong(image); in ReadCINImage()
519 cin.image.channel[i].lines_per_image=ReadBlobLong(image); in ReadCINImage()
521 cin.image.channel[i].min_data=ReadBlobFloat(image); in ReadCINImage()
523 cin.image.channel[i].min_quantity=ReadBlobFloat(image); in ReadCINImage()
525 cin.image.channel[i].max_data=ReadBlobFloat(image); in ReadCINImage()
527 cin.image.channel[i].max_quantity=ReadBlobFloat(image); in ReadCINImage()
530 cin.image.white_point[0]=ReadBlobFloat(image); in ReadCINImage()
532 if (IsFloatDefined(cin.image.white_point[0]) != MagickFalse) in ReadCINImage()
533 image->chromaticity.white_point.x=cin.image.white_point[0]; in ReadCINImage()
534 cin.image.white_point[1]=ReadBlobFloat(image); in ReadCINImage()
536 if (IsFloatDefined(cin.image.white_point[1]) != MagickFalse) in ReadCINImage()
537 image->chromaticity.white_point.y=cin.image.white_point[1]; in ReadCINImage()
538 cin.image.red_primary_chromaticity[0]=ReadBlobFloat(image); in ReadCINImage()
540 if (IsFloatDefined(cin.image.red_primary_chromaticity[0]) != MagickFalse) in ReadCINImage()
541 image->chromaticity.red_primary.x=cin.image.red_primary_chromaticity[0]; in ReadCINImage()
542 cin.image.red_primary_chromaticity[1]=ReadBlobFloat(image); in ReadCINImage()
544 if (IsFloatDefined(cin.image.red_primary_chromaticity[1]) != MagickFalse) in ReadCINImage()
545 image->chromaticity.red_primary.y=cin.image.red_primary_chromaticity[1]; in ReadCINImage()
546 cin.image.green_primary_chromaticity[0]=ReadBlobFloat(image); in ReadCINImage()
548 if (IsFloatDefined(cin.image.green_primary_chromaticity[0]) != MagickFalse) in ReadCINImage()
549 image->chromaticity.red_primary.x=cin.image.green_primary_chromaticity[0]; in ReadCINImage()
550 cin.image.green_primary_chromaticity[1]=ReadBlobFloat(image); in ReadCINImage()
552 if (IsFloatDefined(cin.image.green_primary_chromaticity[1]) != MagickFalse) in ReadCINImage()
553 image->chromaticity.green_primary.y=cin.image.green_primary_chromaticity[1]; in ReadCINImage()
554 cin.image.blue_primary_chromaticity[0]=ReadBlobFloat(image); in ReadCINImage()
556 if (IsFloatDefined(cin.image.blue_primary_chromaticity[0]) != MagickFalse) in ReadCINImage()
557 image->chromaticity.blue_primary.x=cin.image.blue_primary_chromaticity[0]; in ReadCINImage()
558 cin.image.blue_primary_chromaticity[1]=ReadBlobFloat(image); in ReadCINImage()
560 if (IsFloatDefined(cin.image.blue_primary_chromaticity[1]) != MagickFalse) in ReadCINImage()
561 image->chromaticity.blue_primary.y=cin.image.blue_primary_chromaticity[1]; in ReadCINImage()
562 offset+=ReadBlob(image,sizeof(cin.image.label),(unsigned char *) in ReadCINImage()
563 cin.image.label); in ReadCINImage()
564 (void) CopyMagickString(property,cin.image.label,sizeof(cin.image.label)); in ReadCINImage()
566 offset+=ReadBlob(image,sizeof(cin.image.reserve),(unsigned char *) in ReadCINImage()
567 cin.image.reserve); in ReadCINImage()
571 cin.data_format.interleave=(unsigned char) ReadBlobByte(image); in ReadCINImage()
573 cin.data_format.packing=(unsigned char) ReadBlobByte(image); in ReadCINImage()
575 cin.data_format.sign=(unsigned char) ReadBlobByte(image); in ReadCINImage()
577 cin.data_format.sense=(unsigned char) ReadBlobByte(image); in ReadCINImage()
579 cin.data_format.line_pad=ReadBlobLong(image); in ReadCINImage()
581 cin.data_format.channel_pad=ReadBlobLong(image); in ReadCINImage()
583 offset+=ReadBlob(image,sizeof(cin.data_format.reserve),(unsigned char *) in ReadCINImage()
584 cin.data_format.reserve); in ReadCINImage()
588 cin.origination.x_offset=ReadBlobSignedLong(image); in ReadCINImage()
590 if ((size_t) cin.origination.x_offset != ~0UL) in ReadCINImage()
592 (double) cin.origination.x_offset); in ReadCINImage()
593 cin.origination.y_offset=(ssize_t) ReadBlobLong(image); in ReadCINImage()
595 if ((size_t) cin.origination.y_offset != ~0UL) in ReadCINImage()
597 (double) cin.origination.y_offset); in ReadCINImage()
598 offset+=ReadBlob(image,sizeof(cin.origination.filename),(unsigned char *) in ReadCINImage()
599 cin.origination.filename); in ReadCINImage()
600 (void) CopyMagickString(property,cin.origination.filename, in ReadCINImage()
601 sizeof(cin.origination.filename)); in ReadCINImage()
603 offset+=ReadBlob(image,sizeof(cin.origination.create_date),(unsigned char *) in ReadCINImage()
604 cin.origination.create_date); in ReadCINImage()
605 (void) CopyMagickString(property,cin.origination.create_date, in ReadCINImage()
606 sizeof(cin.origination.create_date)); in ReadCINImage()
609 offset+=ReadBlob(image,sizeof(cin.origination.create_time),(unsigned char *) in ReadCINImage()
610 cin.origination.create_time); in ReadCINImage()
611 (void) CopyMagickString(property,cin.origination.create_time, in ReadCINImage()
612 sizeof(cin.origination.create_time)); in ReadCINImage()
615 offset+=ReadBlob(image,sizeof(cin.origination.device),(unsigned char *) in ReadCINImage()
616 cin.origination.device); in ReadCINImage()
617 (void) CopyMagickString(property,cin.origination.device, in ReadCINImage()
618 sizeof(cin.origination.device)); in ReadCINImage()
620 offset+=ReadBlob(image,sizeof(cin.origination.model),(unsigned char *) in ReadCINImage()
621 cin.origination.model); in ReadCINImage()
622 (void) CopyMagickString(property,cin.origination.model, in ReadCINImage()
623 sizeof(cin.origination.model)); in ReadCINImage()
625 (void) memset(cin.origination.serial,0, in ReadCINImage()
626 sizeof(cin.origination.serial)); in ReadCINImage()
627 offset+=ReadBlob(image,sizeof(cin.origination.serial),(unsigned char *) in ReadCINImage()
628 cin.origination.serial); in ReadCINImage()
629 (void) CopyMagickString(property,cin.origination.serial, in ReadCINImage()
630 sizeof(cin.origination.serial)); in ReadCINImage()
632 cin.origination.x_pitch=ReadBlobFloat(image); in ReadCINImage()
634 cin.origination.y_pitch=ReadBlobFloat(image); in ReadCINImage()
636 cin.origination.gamma=ReadBlobFloat(image); in ReadCINImage()
638 if (IsFloatDefined(cin.origination.gamma) != MagickFalse) in ReadCINImage()
639 image->gamma=cin.origination.gamma; in ReadCINImage()
640 offset+=ReadBlob(image,sizeof(cin.origination.reserve),(unsigned char *) in ReadCINImage()
641 cin.origination.reserve); in ReadCINImage()
642 if ((cin.file.image_offset > 2048) && (cin.file.user_length != 0)) in ReadCINImage()
650 cin.film.id=ReadBlobByte(image); in ReadCINImage()
652 c=cin.film.id; in ReadCINImage()
654 (void) FormatImageProperty(image,"dpx:film.id","%d",cin.film.id); in ReadCINImage()
655 cin.film.type=ReadBlobByte(image); in ReadCINImage()
657 c=cin.film.type; in ReadCINImage()
659 (void) FormatImageProperty(image,"dpx:film.type","%d",cin.film.type); in ReadCINImage()
660 cin.film.offset=ReadBlobByte(image); in ReadCINImage()
662 c=cin.film.offset; in ReadCINImage()
665 cin.film.offset); in ReadCINImage()
666 cin.film.reserve1=ReadBlobByte(image); in ReadCINImage()
668 cin.film.prefix=ReadBlobLong(image); in ReadCINImage()
670 if (cin.film.prefix != ~0UL) in ReadCINImage()
672 cin.film.prefix); in ReadCINImage()
673 cin.film.count=ReadBlobLong(image); in ReadCINImage()
675 offset+=ReadBlob(image,sizeof(cin.film.format),(unsigned char *) in ReadCINImage()
676 cin.film.format); in ReadCINImage()
677 (void) CopyMagickString(property,cin.film.format,sizeof(cin.film.format)); in ReadCINImage()
679 cin.film.frame_position=ReadBlobLong(image); in ReadCINImage()
681 if (cin.film.frame_position != ~0UL) in ReadCINImage()
683 (double) cin.film.frame_position); in ReadCINImage()
684 cin.film.frame_rate=ReadBlobFloat(image); in ReadCINImage()
686 if (IsFloatDefined(cin.film.frame_rate) != MagickFalse) in ReadCINImage()
688 cin.film.frame_rate); in ReadCINImage()
689 offset+=ReadBlob(image,sizeof(cin.film.frame_id),(unsigned char *) in ReadCINImage()
690 cin.film.frame_id); in ReadCINImage()
691 (void) CopyMagickString(property,cin.film.frame_id, in ReadCINImage()
692 sizeof(cin.film.frame_id)); in ReadCINImage()
694 offset+=ReadBlob(image,sizeof(cin.film.slate_info),(unsigned char *) in ReadCINImage()
695 cin.film.slate_info); in ReadCINImage()
696 (void) CopyMagickString(property,cin.film.slate_info, in ReadCINImage()
697 sizeof(cin.film.slate_info)); in ReadCINImage()
699 offset+=ReadBlob(image,sizeof(cin.film.reserve),(unsigned char *) in ReadCINImage()
700 cin.film.reserve); in ReadCINImage()
702 if ((cin.file.image_offset > 2048) && (cin.file.user_length != 0)) in ReadCINImage()
710 if (cin.file.user_length > GetBlobSize(image)) in ReadCINImage()
713 cin.file.user_length); in ReadCINImage()
721 image->depth=cin.image.channel[0].bits_per_pixel; in ReadCINImage()
722 image->columns=cin.image.channel[0].pixels_per_line; in ReadCINImage()
723 image->rows=cin.image.channel[0].lines_per_image; in ReadCINImage()
731 for ( ; offset < (MagickOffsetType) cin.file.image_offset; offset++) in ReadCINImage()
740 if (offset < (MagickOffsetType) cin.file.image_offset) in ReadCINImage()
757 if (cin.image.number_channels == 1) in ReadCINImage()
907 cin; in WriteCINImage() local
965 (void) memset(&cin,0,sizeof(cin)); in WriteCINImage()
967 cin.file.magic=0x802A5FD7UL; in WriteCINImage()
968 offset+=WriteBlobLong(image,(unsigned int) cin.file.magic); in WriteCINImage()
969 cin.file.image_offset=0x800; in WriteCINImage()
970 offset+=WriteBlobLong(image,(unsigned int) cin.file.image_offset); in WriteCINImage()
971 cin.file.generic_length=0x400; in WriteCINImage()
972 offset+=WriteBlobLong(image,(unsigned int) cin.file.generic_length); in WriteCINImage()
973 cin.file.industry_length=0x400; in WriteCINImage()
974 offset+=WriteBlobLong(image,(unsigned int) cin.file.industry_length); in WriteCINImage()
975 cin.file.user_length=0x00; in WriteCINImage()
979 cin.file.user_length+=(size_t) GetStringInfoLength(profile); in WriteCINImage()
980 cin.file.user_length=(((cin.file.user_length+0x2000-1)/0x2000)*0x2000); in WriteCINImage()
982 offset+=WriteBlobLong(image,(unsigned int) cin.file.user_length); in WriteCINImage()
983 cin.file.file_size=4*image->columns*image->rows+0x2000; in WriteCINImage()
984 offset+=WriteBlobLong(image,(unsigned int) cin.file.file_size); in WriteCINImage()
985 (void) CopyMagickString(cin.file.version,"V4.5",sizeof(cin.file.version)); in WriteCINImage()
986 offset+=WriteBlob(image,sizeof(cin.file.version),(unsigned char *) in WriteCINImage()
987 cin.file.version); in WriteCINImage()
990 (void) CopyMagickString(cin.file.filename,value,sizeof(cin.file.filename)); in WriteCINImage()
992 (void) CopyMagickString(cin.file.filename,image->filename, in WriteCINImage()
993 sizeof(cin.file.filename)); in WriteCINImage()
994 offset+=WriteBlob(image,sizeof(cin.file.filename),(unsigned char *) in WriteCINImage()
995 cin.file.filename); in WriteCINImage()
1000 (void) memset(cin.file.create_date,0,sizeof(cin.file.create_date)); in WriteCINImage()
1001 (void) CopyMagickString(cin.file.create_date,timestamp,11); in WriteCINImage()
1002 offset+=WriteBlob(image,sizeof(cin.file.create_date),(unsigned char *) in WriteCINImage()
1003 cin.file.create_date); in WriteCINImage()
1004 (void) memset(cin.file.create_time,0,sizeof(cin.file.create_time)); in WriteCINImage()
1005 (void) CopyMagickString(cin.file.create_time,timestamp+11,11); in WriteCINImage()
1006 offset+=WriteBlob(image,sizeof(cin.file.create_time),(unsigned char *) in WriteCINImage()
1007 cin.file.create_time); in WriteCINImage()
1008 offset+=WriteBlob(image,sizeof(cin.file.reserve),(unsigned char *) in WriteCINImage()
1009 cin.file.reserve); in WriteCINImage()
1010 cin.image.orientation=0x00; in WriteCINImage()
1011 offset+=WriteBlobByte(image,cin.image.orientation); in WriteCINImage()
1012 cin.image.number_channels=3; in WriteCINImage()
1013 offset+=WriteBlobByte(image,cin.image.number_channels); in WriteCINImage()
1014 offset+=WriteBlob(image,sizeof(cin.image.reserve1),(unsigned char *) in WriteCINImage()
1015 cin.image.reserve1); in WriteCINImage()
1018 cin.image.channel[i].designator[0]=0; /* universal metric */ in WriteCINImage()
1019 offset+=WriteBlobByte(image,cin.image.channel[0].designator[0]); in WriteCINImage()
1020 cin.image.channel[i].designator[1]=(unsigned char) (i > 3 ? 0 : i+1); /* channel color */; in WriteCINImage()
1021 offset+=WriteBlobByte(image,cin.image.channel[1].designator[0]); in WriteCINImage()
1022 cin.image.channel[i].bits_per_pixel=(unsigned char) image->depth; in WriteCINImage()
1023 offset+=WriteBlobByte(image,cin.image.channel[0].bits_per_pixel); in WriteCINImage()
1024 offset+=WriteBlobByte(image,cin.image.channel[0].reserve); in WriteCINImage()
1025 cin.image.channel[i].pixels_per_line=image->columns; in WriteCINImage()
1027 cin.image.channel[0].pixels_per_line); in WriteCINImage()
1028 cin.image.channel[i].lines_per_image=image->rows; in WriteCINImage()
1030 cin.image.channel[0].lines_per_image); in WriteCINImage()
1031 cin.image.channel[i].min_data=0; in WriteCINImage()
1032 offset+=WriteBlobFloat(image,cin.image.channel[0].min_data); in WriteCINImage()
1033 cin.image.channel[i].min_quantity=0.0; in WriteCINImage()
1034 offset+=WriteBlobFloat(image,cin.image.channel[0].min_quantity); in WriteCINImage()
1035 cin.image.channel[i].max_data=(float) ((MagickOffsetType) in WriteCINImage()
1037 offset+=WriteBlobFloat(image,cin.image.channel[0].max_data); in WriteCINImage()
1038 cin.image.channel[i].max_quantity=2.048f; in WriteCINImage()
1039 offset+=WriteBlobFloat(image,cin.image.channel[0].max_quantity); in WriteCINImage()
1051 (void) CopyMagickString(cin.image.label,value,sizeof(cin.image.label)); in WriteCINImage()
1052 offset+=WriteBlob(image,sizeof(cin.image.label),(unsigned char *) in WriteCINImage()
1053 cin.image.label); in WriteCINImage()
1054 offset+=WriteBlob(image,sizeof(cin.image.reserve),(unsigned char *) in WriteCINImage()
1055 cin.image.reserve); in WriteCINImage()
1059 cin.data_format.interleave=0; /* pixel interleave (rgbrgbr...) */ in WriteCINImage()
1060 offset+=WriteBlobByte(image,cin.data_format.interleave); in WriteCINImage()
1061 cin.data_format.packing=5; /* packing ssize_tword (32bit) boundaries */ in WriteCINImage()
1062 offset+=WriteBlobByte(image,cin.data_format.packing); in WriteCINImage()
1063 cin.data_format.sign=0; /* unsigned data */ in WriteCINImage()
1064 offset+=WriteBlobByte(image,cin.data_format.sign); in WriteCINImage()
1065 cin.data_format.sense=0; /* image sense: positive image */ in WriteCINImage()
1066 offset+=WriteBlobByte(image,cin.data_format.sense); in WriteCINImage()
1067 cin.data_format.line_pad=0; in WriteCINImage()
1068 offset+=WriteBlobLong(image,(unsigned int) cin.data_format.line_pad); in WriteCINImage()
1069 cin.data_format.channel_pad=0; in WriteCINImage()
1070 offset+=WriteBlobLong(image,(unsigned int) cin.data_format.channel_pad); in WriteCINImage()
1071 offset+=WriteBlob(image,sizeof(cin.data_format.reserve),(unsigned char *) in WriteCINImage()
1072 cin.data_format.reserve); in WriteCINImage()
1076 cin.origination.x_offset=0UL; in WriteCINImage()
1079 cin.origination.x_offset=(ssize_t) StringToLong(value); in WriteCINImage()
1080 offset+=WriteBlobLong(image,(unsigned int) cin.origination.x_offset); in WriteCINImage()
1081 cin.origination.y_offset=0UL; in WriteCINImage()
1084 cin.origination.y_offset=(ssize_t) StringToLong(value); in WriteCINImage()
1085 offset+=WriteBlobLong(image,(unsigned int) cin.origination.y_offset); in WriteCINImage()
1088 (void) CopyMagickString(cin.origination.filename,value, in WriteCINImage()
1089 sizeof(cin.origination.filename)); in WriteCINImage()
1091 (void) CopyMagickString(cin.origination.filename,image->filename, in WriteCINImage()
1092 sizeof(cin.origination.filename)); in WriteCINImage()
1093 offset+=WriteBlob(image,sizeof(cin.origination.filename),(unsigned char *) in WriteCINImage()
1094 cin.origination.filename); in WriteCINImage()
1097 (void) memset(cin.origination.create_date,0, in WriteCINImage()
1098 sizeof(cin.origination.create_date)); in WriteCINImage()
1099 (void) CopyMagickString(cin.origination.create_date,timestamp,11); in WriteCINImage()
1100 offset+=WriteBlob(image,sizeof(cin.origination.create_date),(unsigned char *) in WriteCINImage()
1101 cin.origination.create_date); in WriteCINImage()
1102 (void) memset(cin.origination.create_time,0, in WriteCINImage()
1103 sizeof(cin.origination.create_time)); in WriteCINImage()
1104 (void) CopyMagickString(cin.origination.create_time,timestamp+11,15); in WriteCINImage()
1105 offset+=WriteBlob(image,sizeof(cin.origination.create_time),(unsigned char *) in WriteCINImage()
1106 cin.origination.create_time); in WriteCINImage()
1109 (void) CopyMagickString(cin.origination.device,value, in WriteCINImage()
1110 sizeof(cin.origination.device)); in WriteCINImage()
1111 offset+=WriteBlob(image,sizeof(cin.origination.device),(unsigned char *) in WriteCINImage()
1112 cin.origination.device); in WriteCINImage()
1115 (void) CopyMagickString(cin.origination.model,value, in WriteCINImage()
1116 sizeof(cin.origination.model)); in WriteCINImage()
1117 offset+=WriteBlob(image,sizeof(cin.origination.model),(unsigned char *) in WriteCINImage()
1118 cin.origination.model); in WriteCINImage()
1121 (void) CopyMagickString(cin.origination.serial,value, in WriteCINImage()
1122 sizeof(cin.origination.serial)); in WriteCINImage()
1123 offset+=WriteBlob(image,sizeof(cin.origination.serial),(unsigned char *) in WriteCINImage()
1124 cin.origination.serial); in WriteCINImage()
1125 cin.origination.x_pitch=0.0f; in WriteCINImage()
1128 cin.origination.x_pitch=StringToDouble(value,(char **) NULL); in WriteCINImage()
1129 offset+=WriteBlobFloat(image,cin.origination.x_pitch); in WriteCINImage()
1130 cin.origination.y_pitch=0.0f; in WriteCINImage()
1133 cin.origination.y_pitch=StringToDouble(value,(char **) NULL); in WriteCINImage()
1134 offset+=WriteBlobFloat(image,cin.origination.y_pitch); in WriteCINImage()
1135 cin.origination.gamma=image->gamma; in WriteCINImage()
1136 offset+=WriteBlobFloat(image,cin.origination.gamma); in WriteCINImage()
1137 offset+=WriteBlob(image,sizeof(cin.origination.reserve),(unsigned char *) in WriteCINImage()
1138 cin.origination.reserve); in WriteCINImage()
1142 cin.film.id=0; in WriteCINImage()
1145 cin.film.id=(char) StringToLong(value); in WriteCINImage()
1146 offset+=WriteBlobByte(image,(unsigned char) cin.film.id); in WriteCINImage()
1147 cin.film.type=0; in WriteCINImage()
1150 cin.film.type=(char) StringToLong(value); in WriteCINImage()
1151 offset+=WriteBlobByte(image,(unsigned char) cin.film.type); in WriteCINImage()
1152 cin.film.offset=0; in WriteCINImage()
1155 cin.film.offset=(char) StringToLong(value); in WriteCINImage()
1156 offset+=WriteBlobByte(image,(unsigned char) cin.film.offset); in WriteCINImage()
1157 offset+=WriteBlobByte(image,(unsigned char) cin.film.reserve1); in WriteCINImage()
1158 cin.film.prefix=0UL; in WriteCINImage()
1161 cin.film.prefix=StringToUnsignedLong(value); in WriteCINImage()
1162 offset+=WriteBlobLong(image,(unsigned int) cin.film.prefix); in WriteCINImage()
1163 cin.film.count=0UL; in WriteCINImage()
1166 cin.film.count=StringToUnsignedLong(value); in WriteCINImage()
1167 offset+=WriteBlobLong(image,(unsigned int) cin.film.count); in WriteCINImage()
1170 (void) CopyMagickString(cin.film.format,value,sizeof(cin.film.format)); in WriteCINImage()
1171 offset+=WriteBlob(image,sizeof(cin.film.format),(unsigned char *) in WriteCINImage()
1172 cin.film.format); in WriteCINImage()
1173 cin.film.frame_position=0UL; in WriteCINImage()
1176 cin.film.frame_position=StringToUnsignedLong(value); in WriteCINImage()
1177 offset+=WriteBlobLong(image,(unsigned int) cin.film.frame_position); in WriteCINImage()
1178 cin.film.frame_rate=0.0f; in WriteCINImage()
1181 cin.film.frame_rate=StringToDouble(value,(char **) NULL); in WriteCINImage()
1182 offset+=WriteBlobFloat(image,cin.film.frame_rate); in WriteCINImage()
1185 (void) CopyMagickString(cin.film.frame_id,value,sizeof(cin.film.frame_id)); in WriteCINImage()
1186 offset+=WriteBlob(image,sizeof(cin.film.frame_id),(unsigned char *) in WriteCINImage()
1187 cin.film.frame_id); in WriteCINImage()
1190 (void) CopyMagickString(cin.film.slate_info,value, in WriteCINImage()
1191 sizeof(cin.film.slate_info)); in WriteCINImage()
1192 offset+=WriteBlob(image,sizeof(cin.film.slate_info),(unsigned char *) in WriteCINImage()
1193 cin.film.slate_info); in WriteCINImage()
1194 offset+=WriteBlob(image,sizeof(cin.film.reserve),(unsigned char *) in WriteCINImage()
1195 cin.film.reserve); in WriteCINImage()
1199 while (offset < (MagickOffsetType) cin.file.image_offset) in WriteCINImage()