Changeset 34082
- Timestamp:
- Jun 26, 2012, 11:21:22 AM (14 years ago)
- Location:
- trunk/ppImage
- Files:
-
- 3 edited
-
configure.ac (modified) (2 diffs)
-
src (modified) (1 prop)
-
src/ppImageDetrendReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/configure.ac
r23796 r34082 8 8 AM_MAINTAINER_MODE 9 9 10 IPP_STD CFLAGS10 IPP_STDLDFLAGS 11 11 12 12 AC_LANG(C) … … 24 24 25 25 IPP_STDOPTS 26 CFLAGS="${CFLAGS=} -Wall -Werror" 26 IPP_STDCFLAGS 27 27 28 28 IPP_VERSION -
trunk/ppImage/src
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120601/ppImage/src (added) merged: 34048-34049,34073
- Property svn:mergeinfo changed
-
trunk/ppImage/src/ppImageDetrendReadout.c
r33848 r34082 35 35 } 36 36 } 37 37 38 // Check to see if we're in a chip that contains video 39 // NOTE: this is an esoteric test for a GPC1 feature : this is irrelevant & will not work for other cameras 38 40 bool hasVideo = false; 39 41 { 42 // XXX test for GPC1? or CAN_HAVE_VIDEO in camera config? 43 if (!input) goto done_video_check; 44 if (!input->parent) goto done_video_check; 45 if (!input->parent->parent) goto done_video_check; 46 if (!input->parent->parent->hdu) goto done_video_check; 47 if (!input->parent->parent->hdu->header) goto done_video_check; 40 48 if (psMetadataLookupStr(NULL,input->parent->parent->hdu->header,"CELLMODE")) { 41 ps Warning("VIDEO: %d %d %d\n",(int) options->hasVideo,(int) options->useVideoDark, (int) options->useVideoMask);49 psLogMsg ("ppImage.detrend", PS_LOG_DETAIL, "VIDEO: %d %d %d\n",(int) options->hasVideo,(int) options->useVideoDark, (int) options->useVideoMask); 42 50 char *Vptr = strchr(psMetadataLookupStr(NULL,input->parent->parent->hdu->header,"CELLMODE"),'V'); 43 51 if (Vptr) { 44 52 hasVideo = true; 45 ps Warning("VIDEO: %d %d %d\n",(int) options->hasVideo,(int) options->useVideoDark, (int) options->useVideoMask);53 psLogMsg ("ppImage.detrend", PS_LOG_INFO, "VIDEO: %d %d %d\n",(int) options->hasVideo,(int) options->useVideoDark, (int) options->useVideoMask); 46 54 } 47 55 } 48 56 } 49 57 done_video_check: 50 58 51 59 // Masking on the basis of pixel value needs to be done before anything else, so the values are pristine.
Note:
See TracChangeset
for help on using the changeset viewer.
