digiKam
tparser.c File Reference

Macros

#define FREE(a)   if ((a) != NULL) { free(a); a = NULL; }
 
#define PANO_PARSER_VERSION   "0.10"
 

Functions

void panoScriptFree (pt_script *ptr)
 
int panoScriptParse (const char *const filename, pt_script *scriptOut)
 
int panoScriptParserReset (void)
 
void panoScriptParserSetDefaults (pt_script *ptr)
 
int yyparse (void)
 

Variables

pt_script script
 

Macro Definition Documentation

◆ FREE

#define FREE (   a)    if ((a) != NULL) { free(a); a = NULL; }

◆ PANO_PARSER_VERSION

#define PANO_PARSER_VERSION   "0.10"

Function Documentation

◆ panoScriptFree()

◆ panoScriptParse()

int panoScriptParse ( const char *const  filename,
pt_script scriptOut 
)

◆ panoScriptParserReset()

int panoScriptParserReset ( void  )

This function is be called before the parser is used for the first time, and if it wants to be reused. Remember, the parser is not REENTRANT

References FALSE, panoScriptDataReset(), panoScriptParserSetDefaults(), script, and TRUE.

Referenced by panoScriptParse().

◆ panoScriptParserSetDefaults()

void panoScriptParserSetDefaults ( pt_script ptr)

◆ yyparse()

int yyparse ( void  )

Referenced by panoScriptParse().

Variable Documentation

◆ script

pt_script script
extern

Referenced by Digikam::CameraController::executeCommand(), panoScriptGetCtrlPointComment(), panoScriptGetCtrlPointCount(), panoScriptGetCtrlPointImage1(), panoScriptGetCtrlPointImage2(), panoScriptGetCtrlPointPrevCommentCount(), panoScriptGetCtrlPointType(), panoScriptGetCtrlPointX1(), panoScriptGetCtrlPointX2(), panoScriptGetCtrlPointY1(), panoScriptGetCtrlPointY2(), panoScriptGetEndingComment(), panoScriptGetEndingCommentCount(), panoScriptGetImageCameraTranslationX(), panoScriptGetImageCameraTranslationY(), panoScriptGetImageCameraTranslationZ(), panoScriptGetImageCoefA(), panoScriptGetImageCoefARef(), panoScriptGetImageCoefB(), panoScriptGetImageCoefBRef(), panoScriptGetImageCoefC(), panoScriptGetImageCoefCRef(), panoScriptGetImageCoefD(), panoScriptGetImageCoefDRef(), panoScriptGetImageCoefE(), panoScriptGetImageCoefERef(), panoScriptGetImageComment(), panoScriptGetImageCropBottom(), panoScriptGetImageCropLeft(), panoScriptGetImageCropRight(), panoScriptGetImageCropTop(), panoScriptGetImageExposure(), panoScriptGetImageExposureRef(), panoScriptGetImageHeight(), panoScriptGetImageHFOV(), panoScriptGetImageHFOVRef(), panoScriptGetImageName(), panoScriptGetImagePhotometricCoeffA(), panoScriptGetImagePhotometricCoeffARef(), panoScriptGetImagePhotometricCoeffB(), panoScriptGetImagePhotometricCoeffBRef(), panoScriptGetImagePhotometricCoeffC(), panoScriptGetImagePhotometricCoeffCRef(), panoScriptGetImagePhotometricCoeffD(), panoScriptGetImagePhotometricCoeffDRef(), panoScriptGetImagePhotometricCoeffE(), panoScriptGetImagePhotometricCoeffERef(), panoScriptGetImagePitch(), panoScriptGetImagePrevCommentsCount(), panoScriptGetImageProjection(), panoScriptGetImageProjectionPlanePitch(), panoScriptGetImageProjectionPlaneYaw(), panoScriptGetImageRoll(), panoScriptGetImagesCount(), panoScriptGetImageSheerX(), panoScriptGetImageSheerXRef(), panoScriptGetImageSheerY(), panoScriptGetImageSheerYRef(), panoScriptGetImageStack(), panoScriptGetImageStackRef(), panoScriptGetImageVignettingCoeffA(), panoScriptGetImageVignettingCoeffARef(), panoScriptGetImageVignettingCoeffB(), panoScriptGetImageVignettingCoeffBRef(), panoScriptGetImageVignettingCoeffC(), panoScriptGetImageVignettingCoeffCRef(), panoScriptGetImageVignettingCoeffD(), panoScriptGetImageVignettingCoeffDRef(), panoScriptGetImageVignettingCoeffX(), panoScriptGetImageVignettingCoeffXRef(), panoScriptGetImageVignettingCoeffY(), panoScriptGetImageVignettingCoeffYRef(), panoScriptGetImageVignettingFlatField(), panoScriptGetImageVignettingMode(), panoScriptGetImageVignettingModeRef(), panoScriptGetImageWBBlue(), panoScriptGetImageWBBlueRef(), panoScriptGetImageWBRed(), panoScriptGetImageWBRedRef(), panoScriptGetImageWidth(), panoScriptGetImageYaw(), panoScriptGetMaskComment(), panoScriptGetMaskCount(), panoScriptGetMaskImage(), panoScriptGetMaskPointCount(), panoScriptGetMaskPointX(), panoScriptGetMaskPointY(), panoScriptGetMaskPrevCommentCount(), panoScriptGetMaskType(), panoScriptGetOptimizeComment(), panoScriptGetOptimizeGamma(), panoScriptGetOptimizeHuberSigma(), panoScriptGetOptimizeInterpolator(), panoScriptGetOptimizePhotometricHuberSigma(), panoScriptGetOptimizePrevCommentsCount(), panoScriptGetOptimizeSpeedUp(), panoScriptGetPanoBitDepth(), panoScriptGetPanoComment(), panoScriptGetPanoCropBottom(), panoScriptGetPanoCropLeft(), panoScriptGetPanoCropRight(), panoScriptGetPanoCropTop(), panoScriptGetPanoExposure(), panoScriptGetPanoHeight(), panoScriptGetPanoHFOV(), panoScriptGetPanoImageReference(), panoScriptGetPanoIsHDR(), panoScriptGetPanoOutputCompression(), panoScriptGetPanoOutputCropped(), panoScriptGetPanoOutputFormat(), panoScriptGetPanoOutputQuality(), panoScriptGetPanoOutputSaveCoordinates(), panoScriptGetPanoPrevCommentsCount(), panoScriptGetPanoProjection(), panoScriptGetPanoProjectionParm(), panoScriptGetPanoProjectionParmsCount(), panoScriptGetPanoWidth(), panoScriptGetVarsToOptimizeComment(), panoScriptGetVarsToOptimizeCount(), panoScriptGetVarsToOptimizeImageId(), panoScriptGetVarsToOptimizeName(), panoScriptGetVarsToOptimizePrevCommentCount(), panoScriptParse(), panoScriptParserReset(), and panoScriptParserSetDefaults().