19 #ifndef __IMAGECODEC__
20 #define __IMAGECODEC__
30 #ifndef __COMPONENTS__
38 #ifndef __IMAGECOMPRESSION__
59 #if PRAGMA_STRUCT_ALIGN
60 #pragma options align = mac68k
61 #elif PRAGMA_STRUCT_PACKPUSH
63 #elif PRAGMA_STRUCT_PACK
70 codecCanScale = 1L << 0,
71 codecCanMask = 1L << 1,
72 codecCanMatte = 1L << 2,
73 codecCanTransform = 1L << 3,
74 codecCanTransferMode = 1L << 4,
75 codecCanCopyPrev = 1L << 5,
76 codecCanSpool = 1L << 6,
77 codecCanClipVertical = 1L << 7,
78 codecCanClipRectangular = 1L << 8,
79 codecCanRemapColor = 1L << 9,
80 codecCanFastDither = 1L << 10,
81 codecCanSrcExtract = 1L << 11,
82 codecCanCopyPrevComp = 1L << 12,
83 codecCanAsync = 1L << 13,
84 codecCanMakeMask = 1L << 14,
85 codecCanShift = 1L << 15,
86 codecCanAsyncWhen = 1L << 16,
87 codecCanShieldCursor = 1L << 17,
88 codecCanManagePrevBuffer = 1L << 18,
89 codecHasVolatileBuffer =
91 codecWantsRegionMask = 1L << 20,
92 codecImageBufferIsOnScreen =
97 codecWantsDestinationPixels = 1L << 22,
98 codecWantsSpecialScaling = 1L << 23,
99 codecHandlesInputs = 1L << 24,
100 codecCanDoIndirectSurface =
102 codecIsSequenceSensitive = 1L << 26,
103 codecRequiresOffscreen = 1L << 27,
104 codecRequiresMaskBits = 1L << 28,
105 codecCanRemapResolution = 1L << 29,
106 codecIsDirectToScreenOnly =
108 codecCanLockSurface =
116 codecUsesOverlaySurface = 1L << 0,
117 codecImageBufferIsOverlaySurface =
120 codecSrcMustBeImageBuffer =
122 codecImageBufferIsInAGPMemory =
124 codecImageBufferIsInPCIMemory =
131 short wantedPixelSize;
144 codecConditionFirstBand = 1L << 0,
145 codecConditionLastBand = 1L << 1,
146 codecConditionFirstFrame = 1L << 2,
147 codecConditionNewDepth = 1L << 3,
148 codecConditionNewTransform = 1L << 4,
149 codecConditionNewSrcRect = 1L << 5,
150 codecConditionNewMask = 1L << 6,
151 codecConditionNewMatte = 1L << 7,
152 codecConditionNewTransferMode = 1L << 8,
153 codecConditionNewClut = 1L << 9,
154 codecConditionNewAccuracy = 1L << 10,
155 codecConditionNewDestination = 1L << 11,
156 codecConditionFirstScreen = 1L << 12,
157 codecConditionDoCursor = 1L << 13,
158 codecConditionCatchUpDiff = 1L << 14,
159 codecConditionMaskMayBeChanged = 1L << 15,
160 codecConditionToBuffer = 1L << 16,
161 codecConditionCodecChangedMask = 1L << 31
166 codecInfoResourceType = FOUR_CHAR_CODE(
'cdci'),
167 codecInterfaceVersion = 2
182 TimeValue frameDuration;
194 ImageSequenceDataSource sourceID;
196 long sourceInputNumber;
198 Handle dataDescription;
200 ICMConvertDataFormatUPP transferProc;
201 void *transferRefcon;
208 void *originalDataPtr;
209 long originalDataSize;
210 Handle originalDataDescription;
211 long originalDataDescriptionSeed;
225 ImageSequence sequenceID;
233 CodecFlags callerFlags;
241 CodecQ spatialQuality;
242 CodecQ temporalQuality;
248 UInt16 majorSourceChangeSeed;
249 UInt16 minorSourceChangeSeed;
253 long preferredPacketSizeInBytes;
256 long requestedBufferWidth;
258 long requestedBufferHeight;
262 OSType wantedSourcePixelType;
265 long compressedDataSize;
275 ImageSequence sequenceID;
283 CodecFlags callerFlags;
306 UInt16 majorSourceChangeSeed;
307 UInt16 minorSourceChangeSeed;
314 *wantedDestinationPixelTypes;
316 long screenFloodMethod;
317 long screenFloodValue;
318 short preferredOffscreenPixelSize;
322 Boolean needUpdateOnTimeChange;
324 Boolean needUpdateOnSourceChange;
331 long requestedBufferWidth;
333 long requestedBufferHeight;
337 Rect displayableAreaOfRequestedBuffer;
341 Fixed bufferGammaLevel;
352 matrixFlagScale2x = 1L << 7,
353 matrixFlagScale1x = 1L << 6,
354 matrixFlagScaleHalf = 1L << 5
359 kScreenFloodMethodNone = 0,
360 kScreenFloodMethodKeyColor = 1,
361 kScreenFloodMethodAlpha = 2
366 kFlushLastQueuedFrame = 0,
367 kFlushFirstQueuedFrame = 1
372 kNewImageGWorldErase = 1L << 0
375 typedef CALLBACK_API(
void, ImageCodecTimeTriggerProcPtr)(
void *refcon);
376 typedef CALLBACK_API(
void, ImageCodecDrawBandCompleteProcPtr)(
377 void *refcon, ComponentResult drawBandResult, UInt32 drawBandCompleteFlags);
378 typedef STACK_UPP_TYPE(ImageCodecTimeTriggerProcPtr) ImageCodecTimeTriggerUPP;
380 ImageCodecDrawBandCompleteUPP;
389 ImageCodecTimeTriggerUPP
391 #if !OPAQUE_UPP_TYPES
394 uppImageCodecTimeTriggerProcInfo = 0x000000C0
397 inline ImageCodecTimeTriggerUPP
401 (ProcPtr)(userRoutine), uppImageCodecTimeTriggerProcInfo,
402 GetCurrentArchitecture());
405 #define NewImageCodecTimeTriggerUPP(userRoutine) \
406 (ImageCodecTimeTriggerUPP) NewRoutineDescriptor( \
407 (ProcPtr)(userRoutine), uppImageCodecTimeTriggerProcInfo, \
408 GetCurrentArchitecture())
420 ImageCodecDrawBandCompleteUPP
422 #if !OPAQUE_UPP_TYPES
425 uppImageCodecDrawBandCompleteProcInfo = 0x00000FC0
429 ImageCodecDrawBandCompleteProcPtr userRoutine)
432 (ProcPtr)(userRoutine), uppImageCodecDrawBandCompleteProcInfo,
433 GetCurrentArchitecture());
436 #define NewImageCodecDrawBandCompleteUPP(userRoutine) \
437 (ImageCodecDrawBandCompleteUPP) NewRoutineDescriptor( \
438 (ProcPtr)(userRoutine), uppImageCodecDrawBandCompleteProcInfo, \
439 GetCurrentArchitecture())
453 #if !OPAQUE_UPP_TYPES
460 #define DisposeImageCodecTimeTriggerUPP(userUPP) \
461 DisposeRoutineDescriptor(userUPP)
475 #if !OPAQUE_UPP_TYPES
483 #define DisposeImageCodecDrawBandCompleteUPP(userUPP) \
484 DisposeRoutineDescriptor(userUPP)
498 #if !OPAQUE_UPP_TYPES
501 ImageCodecTimeTriggerUPP userUPP)
503 CALL_ONE_PARAMETER_UPP(userUPP, uppImageCodecTimeTriggerProcInfo, refcon);
506 #define InvokeImageCodecTimeTriggerUPP(refcon, userUPP) \
507 CALL_ONE_PARAMETER_UPP((userUPP), uppImageCodecTimeTriggerProcInfo, (refcon))
521 ComponentResult drawBandResult,
522 UInt32 drawBandCompleteFlags,
523 ImageCodecDrawBandCompleteUPP userUPP);
524 #if !OPAQUE_UPP_TYPES
527 void *refcon, ComponentResult drawBandResult, UInt32 drawBandCompleteFlags,
528 ImageCodecDrawBandCompleteUPP userUPP)
530 CALL_THREE_PARAMETER_UPP(userUPP, uppImageCodecDrawBandCompleteProcInfo,
531 refcon, drawBandResult, drawBandCompleteFlags);
534 #define InvokeImageCodecDrawBandCompleteUPP(refcon, drawBandResult, \
535 drawBandCompleteFlags, userUPP) \
536 CALL_THREE_PARAMETER_UPP((userUPP), uppImageCodecDrawBandCompleteProcInfo, \
537 (refcon), (drawBandResult), \
538 (drawBandCompleteFlags))
542 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
544 #define NewImageCodecTimeTriggerProc(userRoutine) \
545 NewImageCodecTimeTriggerUPP(userRoutine)
546 #define NewImageCodecDrawBandCompleteProc(userRoutine) \
547 NewImageCodecDrawBandCompleteUPP(userRoutine)
548 #define CallImageCodecTimeTriggerProc(userRoutine, refcon) \
549 InvokeImageCodecTimeTriggerUPP(refcon, userRoutine)
550 #define CallImageCodecDrawBandCompleteProc( \
551 userRoutine, refcon, drawBandResult, drawBandCompleteFlags) \
552 InvokeImageCodecDrawBandCompleteUPP(refcon, drawBandResult, \
553 drawBandCompleteFlags, userRoutine)
559 long decompressRecordSize;
563 UInt16 suggestedQueueSize;
569 Boolean subCodecCallsDrawBandComplete;
580 kCodecFrameTypeUnknown = 0,
581 kCodecFrameTypeKey = 1,
582 kCodecFrameTypeDifference = 2,
583 kCodecFrameTypeDroppableDifference = 3
593 void *userDecompressRecord;
603 ImageCodecDrawBandCompleteUPP
609 void *drawBandCompleteRefCon;
654 kParameterTitleName = FOUR_CHAR_CODE(
'name'),
655 kParameterTitleID = 1
662 kParameterWhatName = FOUR_CHAR_CODE(
'what'),
669 kParameterVersionName = FOUR_CHAR_CODE(
'vers'),
670 kParameterVersionID = 1
676 kParameterRepeatableName = FOUR_CHAR_CODE(
'pete'),
677 kParameterRepeatableID = 1
682 kParameterRepeatableTrue = 1,
683 kParameterRepeatableFalse = 0
690 kParameterAlternateCodecName = FOUR_CHAR_CODE(
'subs'),
691 kParameterAlternateCodecID = 1
697 kParameterSourceCountName = FOUR_CHAR_CODE(
'srcs'),
698 kParameterSourceCountID = 1
703 kParameterDependencyName = FOUR_CHAR_CODE(
'deep'),
704 kParameterDependencyID = 1
709 kParameterListDependsUponColorProfiles = FOUR_CHAR_CODE(
'prof'),
710 kParameterListDependsUponFonts = FOUR_CHAR_CODE(
'font')
725 kParameterEnumList = FOUR_CHAR_CODE(
'enum')
743 kParameterAtomTypeAndID = FOUR_CHAR_CODE(
'type')
748 kNoAtom = FOUR_CHAR_CODE(
'none'),
749 kAtomNoFlags = 0x00000000,
750 kAtomNotInterpolated = 0x00000001,
751 kAtomInterpolateIsOptional = 0x00000002,
753 kAtomMayBeIndexed = 0x00000004
768 kParameterDataType = FOUR_CHAR_CODE(
'data')
773 kParameterTypeDataLong = kTweenTypeLong,
774 kParameterTypeDataFixed = kTweenTypeFixed,
775 kParameterTypeDataRGBValue = kTweenTypeRGBColor,
776 kParameterTypeDataDouble =
777 kTweenTypeQTFloatDouble,
778 kParameterTypeDataText = FOUR_CHAR_CODE(
'text'),
779 kParameterTypeDataEnum = FOUR_CHAR_CODE(
'enum'),
780 kParameterTypeDataBitField = FOUR_CHAR_CODE(
782 kParameterTypeDataImage =
783 FOUR_CHAR_CODE(
'imag')
798 kParameterAlternateDataType = FOUR_CHAR_CODE(
'alt1'),
799 kParameterTypeDataColorValue = FOUR_CHAR_CODE(
801 kParameterTypeDataCubic =
802 FOUR_CHAR_CODE(
'cubi'),
803 kParameterTypeDataNURB =
804 FOUR_CHAR_CODE(
'nurb')
810 QTAtomType alternateAtom;
822 kParameterDataRange = FOUR_CHAR_CODE(
'rang')
827 kNoMinimumLongFixed = 0x7FFFFFFF,
828 kNoMaximumLongFixed = (long)0x80000000,
829 kNoScaleLongFixed = 0,
846 long precisionDigits;
861 long precisionDigits;
866 #define kNoMinimumDouble (NAN)
867 #define kNoMaximumDouble (NAN)
868 #define kNoScaleDouble (0)
871 QTFloatDouble minValue;
872 QTFloatDouble maxValue;
875 long precisionDigits;
895 kParameterImageNoFlags = 0,
896 kParameterImageIsPreset = 1
901 kStandardPresetGroup = FOUR_CHAR_CODE(
'pset')
933 kParameterDataBehavior = FOUR_CHAR_CODE(
'ditl')
939 kParameterItemEditText = FOUR_CHAR_CODE(
'edit'),
940 kParameterItemEditLong = FOUR_CHAR_CODE(
'long'),
941 kParameterItemEditFixed =
942 FOUR_CHAR_CODE(
'fixd'),
943 kParameterItemEditDouble =
944 FOUR_CHAR_CODE(
'doub'),
946 kParameterItemPopUp = FOUR_CHAR_CODE(
'popu'),
947 kParameterItemRadioCluster =
948 FOUR_CHAR_CODE(
'radi'),
949 kParameterItemCheckBox = FOUR_CHAR_CODE(
'chex'),
950 kParameterItemControl = FOUR_CHAR_CODE(
953 kParameterItemLine = FOUR_CHAR_CODE(
'line'),
954 kParameterItemColorPicker = FOUR_CHAR_CODE(
'pick'),
955 kParameterItemGroupDivider =
956 FOUR_CHAR_CODE(
'divi'),
957 kParameterItemStaticText =
958 FOUR_CHAR_CODE(
'stat'),
959 kParameterItemDragImage =
960 FOUR_CHAR_CODE(
'imag'),
962 kGraphicsNoFlags = 0x00000000,
963 kGraphicsFlagsGray = 0x00000001,
965 kGroupNoFlags = 0x00000000,
967 kGroupAlignText = 0x00010000,
968 kGroupSurroundBox = 0x00020000,
969 kGroupMatrix = 0x00040000,
973 kDisableControl = 0x00000001,
974 kDisableWhenNotEqual = (0x00000000 + kDisableControl),
975 kDisableWhenEqual = (0x00000010 + kDisableControl),
976 kDisableWhenLessThan = (0x00000020 + kDisableControl),
977 kDisableWhenGreaterThan =
978 (0x00000030 + kDisableControl),
979 kPopupStoreAsString = 0x00010000
1001 kParameterDataUsage = FOUR_CHAR_CODE(
'use ')
1006 kParameterUsagePixels = FOUR_CHAR_CODE(
'pixl'),
1007 kParameterUsageRectangle = FOUR_CHAR_CODE(
'rect'),
1008 kParameterUsagePoint = FOUR_CHAR_CODE(
'xy '),
1009 kParameterUsage3DPoint = FOUR_CHAR_CODE(
'xyz '),
1010 kParameterUsageDegrees = FOUR_CHAR_CODE(
'degr'),
1011 kParameterUsageRadians = FOUR_CHAR_CODE(
'rads'),
1012 kParameterUsagePercent = FOUR_CHAR_CODE(
'pcnt'),
1013 kParameterUsageSeconds = FOUR_CHAR_CODE(
'secs'),
1014 kParameterUsageMilliseconds = FOUR_CHAR_CODE(
'msec'),
1015 kParameterUsageMicroseconds = FOUR_CHAR_CODE(
'�sec'),
1016 kParameterUsage3by3Matrix = FOUR_CHAR_CODE(
'3by3'),
1017 kParameterUsageCircularDegrees = FOUR_CHAR_CODE(
'degc'),
1018 kParameterUsageCircularRadians = FOUR_CHAR_CODE(
'radc')
1029 kParameterDataDefaultItem = FOUR_CHAR_CODE(
'dflt')
1035 kParameterInfoLongName = FOUR_CHAR_CODE(
'�nam'),
1036 kParameterInfoCopyright = FOUR_CHAR_CODE(
'�cpy'),
1037 kParameterInfoDescription = FOUR_CHAR_CODE(
'�inf'),
1038 kParameterInfoWindowTitle = FOUR_CHAR_CODE(
'�wnt'),
1039 kParameterInfoPicture = FOUR_CHAR_CODE(
'�pix'),
1040 kParameterInfoManufacturer = FOUR_CHAR_CODE(
'�man'),
1041 kParameterInfoIDs = 1
1047 kParameterValidationNoFlags = 0x00000000,
1048 kParameterValidationFinalValidation = 0x00000001
1051 typedef long QTParameterValidationOptions;
1055 kImageCodecSettingsFieldCount =
1056 FOUR_CHAR_CODE(
'fiel'),
1057 kImageCodecSettingsFieldOrdering =
1058 FOUR_CHAR_CODE(
'fdom'),
1059 kImageCodecSettingsFieldOrderingF1F2 = 1,
1060 kImageCodecSettingsFieldOrderingF2F1 = 2
1066 kColorInfoImageDescriptionExtension = FOUR_CHAR_CODE(
1068 kPixelAspectRatioImageDescriptionExtension =
1069 FOUR_CHAR_CODE(
'pasp'),
1071 kCleanApertureImageDescriptionExtension = FOUR_CHAR_CODE(
1078 kVideoColorInfoImageDescriptionExtensionType =
1079 FOUR_CHAR_CODE(
'nclc'),
1080 kICCProfileColorInfoImageDescriptionExtensionType = FOUR_CHAR_CODE(
1087 OSType colorParamType;
1089 UInt16 transferFunction;
1097 kQTPrimaries_ITU_R709_2 =
1099 kQTPrimaries_Unknown = 2,
1100 kQTPrimaries_EBU_3213 = 5,
1101 kQTPrimaries_SMPTE_C = 6
1107 kQTTransferFunction_ITU_R709_2 =
1110 kQTTransferFunction_Unknown = 2,
1111 kQTTransferFunction_SMPTE_240M_1995 =
1119 kQTMatrix_ITU_R_709_2 = 1,
1121 kQTMatrix_Unknown = 2,
1122 kQTMatrix_ITU_R_601_4 =
1125 kQTMatrix_SMPTE_240M_1995 = 7
1140 kQTFieldsProgressiveScan = 1,
1141 kQTFieldsInterlaced = 2
1146 kQTFieldDetailUnknown = 0,
1147 kQTFieldDetailTemporalTopFirst = 1,
1148 kQTFieldDetailTemporalBottomFirst = 6,
1149 kQTFieldDetailSpatialFirstLineEarly = 9,
1150 kQTFieldDetailSpatialFirstLineLate = 14
1165 cleanApertureWidthN;
1166 UInt32 cleanApertureWidthD;
1167 UInt32 cleanApertureHeightN;
1169 UInt32 cleanApertureHeightD;
1179 typedef CALLBACK_API(ComponentResult, ImageCodecMPDrawBandProcPtr)(
1181 typedef STACK_UPP_TYPE(ImageCodecMPDrawBandProcPtr) ImageCodecMPDrawBandUPP;
1190 ImageCodecMPDrawBandUPP
1192 #if !OPAQUE_UPP_TYPES
1195 uppImageCodecMPDrawBandProcInfo = 0x000003F0
1198 inline ImageCodecMPDrawBandUPP
1202 (ProcPtr)(userRoutine), uppImageCodecMPDrawBandProcInfo,
1203 GetCurrentArchitecture());
1206 #define NewImageCodecMPDrawBandUPP(userRoutine) \
1207 (ImageCodecMPDrawBandUPP) NewRoutineDescriptor( \
1208 (ProcPtr)(userRoutine), uppImageCodecMPDrawBandProcInfo, \
1209 GetCurrentArchitecture())
1223 #if !OPAQUE_UPP_TYPES
1230 #define DisposeImageCodecMPDrawBandUPP(userUPP) \
1231 DisposeRoutineDescriptor(userUPP)
1245 ImageCodecMPDrawBandUPP userUPP);
1246 #if !OPAQUE_UPP_TYPES
1248 inline ComponentResult
1250 ImageCodecMPDrawBandUPP userUPP)
1252 return (ComponentResult)CALL_TWO_PARAMETER_UPP(
1253 userUPP, uppImageCodecMPDrawBandProcInfo, refcon,
drp);
1256 #define InvokeImageCodecMPDrawBandUPP(refcon, drp, userUPP) \
1257 (ComponentResult) CALL_TWO_PARAMETER_UPP( \
1258 (userUPP), uppImageCodecMPDrawBandProcInfo, (refcon), (drp))
1262 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
1264 #define NewImageCodecMPDrawBandProc(userRoutine) \
1265 NewImageCodecMPDrawBandUPP(userRoutine)
1266 #define CallImageCodecMPDrawBandProc(userRoutine, refcon, drp) \
1267 InvokeImageCodecMPDrawBandUPP(refcon, drp, userRoutine)
1299 CodecQ *spatialQuality, CodecQ *temporalQuality,
1300 unsigned long *time);
1314 CodecQ quality,
long *size);
1403 Ptr data,
Fixed *similarity);
1416 Ptr inData,
long inBufferSize,
1432 ModalFilterUPP filterProc);
1481 void *timeCodeTime);
1508 long dataUse, ICMMemoryDisposedUPP memoryGoneProc,
1548 ICMMemoryDisposedUPP memoryGoneProc,
1562 void *data1,
long dataSize1,
1565 void *outputData,
long *outDataSize,
1605 UInt32 minorSourceChangeSeed,
1643 Handle *parameterDescriptionHandle);
1656 QTAtomContainer *parameterDescription);
1669 QTAtomContainer parameterDescription,
1670 QTAtomContainer parameters,
1671 QTParameterDialogOptions dialogOptions,
1673 short existingUserItem,
1674 QTParameterDialog *createdDialog);
1688 QTParameterDialog createdDialog);
1701 QTParameterDialog createdDialog);
1714 QTParameterDialog createdDialog,
1715 long action,
void *params);
1768 QTParameterValidationOptions validationFlags,
1782 ComponentMPWorkFunctionUPP *workFunction,
1783 void **refCon, ImageCodecMPDrawBandUPP drawProc,
1784 void *drawProcRefCon);
1797 Fixed dstGammaLevel,
long *codecCanMatch);
1810 Fixed *sourceDataGammaLevel);
1885 OSErr result,
long flags);
1936 ImageCodecTimeTriggerUPP triggerProc,
1937 void *triggerProcRefCon);
1954 kImageCodecGetCodecInfoSelect = 0x0000,
1955 kImageCodecGetCompressionTimeSelect = 0x0001,
1956 kImageCodecGetMaxCompressionSizeSelect = 0x0002,
1957 kImageCodecPreCompressSelect = 0x0003,
1958 kImageCodecBandCompressSelect = 0x0004,
1959 kImageCodecPreDecompressSelect = 0x0005,
1960 kImageCodecBandDecompressSelect = 0x0006,
1961 kImageCodecBusySelect = 0x0007,
1962 kImageCodecGetCompressedImageSizeSelect = 0x0008,
1963 kImageCodecGetSimilaritySelect = 0x0009,
1964 kImageCodecTrimImageSelect = 0x000A,
1965 kImageCodecRequestSettingsSelect = 0x000B,
1966 kImageCodecGetSettingsSelect = 0x000C,
1967 kImageCodecSetSettingsSelect = 0x000D,
1968 kImageCodecFlushSelect = 0x000E,
1969 kImageCodecSetTimeCodeSelect = 0x000F,
1970 kImageCodecIsImageDescriptionEquivalentSelect = 0x0010,
1971 kImageCodecNewMemorySelect = 0x0011,
1972 kImageCodecDisposeMemorySelect = 0x0012,
1973 kImageCodecHitTestDataSelect = 0x0013,
1974 kImageCodecNewImageBufferMemorySelect = 0x0014,
1975 kImageCodecExtractAndCombineFieldsSelect = 0x0015,
1976 kImageCodecGetMaxCompressionSizeWithSourcesSelect = 0x0016,
1977 kImageCodecSetTimeBaseSelect = 0x0017,
1978 kImageCodecSourceChangedSelect = 0x0018,
1979 kImageCodecFlushFrameSelect = 0x0019,
1980 kImageCodecGetSettingsAsTextSelect = 0x001A,
1981 kImageCodecGetParameterListHandleSelect = 0x001B,
1982 kImageCodecGetParameterListSelect = 0x001C,
1983 kImageCodecCreateStandardParameterDialogSelect = 0x001D,
1984 kImageCodecIsStandardParameterDialogEventSelect = 0x001E,
1985 kImageCodecDismissStandardParameterDialogSelect = 0x001F,
1986 kImageCodecStandardParameterDialogDoActionSelect = 0x0020,
1987 kImageCodecNewImageGWorldSelect = 0x0021,
1988 kImageCodecDisposeImageGWorldSelect = 0x0022,
1989 kImageCodecHitTestDataWithFlagsSelect = 0x0023,
1990 kImageCodecValidateParametersSelect = 0x0024,
1991 kImageCodecGetBaseMPWorkFunctionSelect = 0x0025,
1992 kImageCodecRequestGammaLevelSelect = 0x0028,
1993 kImageCodecGetSourceDataGammaLevelSelect = 0x0029,
1994 kImageCodecGetDecompressLatencySelect = 0x002B,
1995 kImageCodecPreflightSelect = 0x0200,
1996 kImageCodecInitializeSelect = 0x0201,
1997 kImageCodecBeginBandSelect = 0x0202,
1998 kImageCodecDrawBandSelect = 0x0203,
1999 kImageCodecEndBandSelect = 0x0204,
2000 kImageCodecQueueStartingSelect = 0x0205,
2001 kImageCodecQueueStoppingSelect = 0x0206,
2002 kImageCodecDroppingFrameSelect = 0x0207,
2003 kImageCodecScheduleFrameSelect = 0x0208,
2004 kImageCodecCancelTriggerSelect = 0x0209
2009 kMotionJPEGTag = FOUR_CHAR_CODE(
'mjpg'),
2010 kJPEGQuantizationTablesImageDescriptionExtension = FOUR_CHAR_CODE(
'mjqt'),
2011 kJPEGHuffmanTablesImageDescriptionExtension = FOUR_CHAR_CODE(
'mjht'),
2012 kFieldInfoImageDescriptionExtension =
2013 FOUR_CHAR_CODE(
'fiel')
2019 kFieldOrderUnknown = 0,
2020 kFieldsStoredF1F2DisplayedF1F2 = 1,
2021 kFieldsStoredF1F2DisplayedF2F1 = 2,
2022 kFieldsStoredF2F1DisplayedF1F2 = 5,
2023 kFieldsStoredF2F1DisplayedF2F1 = 6
2031 long paddedFieldSize;
2032 long offsetToNextField;
2034 long huffmanTableOffset;
2043 UInt8 fieldOrderings;
2059 short cbV,
short crH,
short crV);
2072 unsigned short restartInterval);
2085 Boolean isDC,
unsigned char *lengthCounts,
2086 unsigned char *values);
2099 unsigned char *table);
2104 kQTPhotoSetSamplingSelect = 0x0100,
2105 kQTPhotoSetRestartIntervalSelect = 0x0101,
2106 kQTPhotoDefineHuffmanTableSelect = 0x0102,
2107 kQTPhotoDefineQuantizationTableSelect = 0x0103
2114 kEffectSourceName = FOUR_CHAR_CODE(
'src ')
2120 kEffectDataSourceType = FOUR_CHAR_CODE(
'dtst')
2126 kEffectRawSource = 0,
2127 kEffectGenericType =
2128 FOUR_CHAR_CODE(
'geff')
2149 TimeValue lastTranslatedFrameTime;
2153 TimeValue lastFrameTimeScale;
2160 long effectDuration;
2162 unsigned char pad[3];
2248 kSMPTESmoothEdgeFlag = 0x01,
2249 kSMPTEStrokeEdgeFlag = 0x02
2252 typedef long SMPTEFlags;
2253 typedef long SMPTEFrameReference;
2256 kSlideHorizontalWipe = 1,
2257 kSlideVerticalWipe = 2,
2260 kBottomRightWipe = 5,
2261 kBottomLeftWipe = 6,
2262 kFourCornerWipe = 7,
2264 kBarnVerticalWipe = 21,
2265 kBarnHorizontalWipe = 22,
2266 kTopCenterWipe = 23,
2267 kRightCenterWipe = 24,
2268 kBottomCenterWipe = 25,
2269 kLeftCenterWipe = 26,
2270 kDiagonalLeftDownWipe = 41,
2271 kDiagonalRightDownWipe = 42,
2272 kTopBottomBowTieWipe = 43,
2273 kLeftRightBowTieWipe = 44,
2274 kDiagonalLeftOutWipe = 45,
2275 kDiagonalRightOutWipe = 46,
2276 kDiagonalCrossWipe = 47,
2277 kDiagonalBoxWipe = 48,
2279 kFilledVRightWipe = 62,
2280 kFilledVBottomWipe = 63,
2281 kFilledVLeftWipe = 64,
2283 kHollowVRightWipe = 66,
2284 kHollowVBottomWipe = 67,
2285 kHollowVLeftWipe = 68,
2286 kVerticalZigZagWipe = 71,
2287 kHorizontalZigZagWipe = 72,
2288 kVerticalBarnZigZagWipe = 73,
2289 kHorizontalBarnZigZagWipe = 74
2294 kRectangleWipe = 101,
2296 kTriangleWipe = 103,
2297 kTriangleRightWipe = 104,
2298 kTriangleUpsideDownWipe = 105,
2299 kTriangleLeftWipe = 106,
2300 kSpaceShipWipe = 107,
2301 kSpaceShipRightWipe = 108,
2302 kSpaceShipUpsideDownWipe = 109,
2303 kSpaceShipLeftWipe = 110,
2304 kPentagonWipe = 111,
2305 kPentagonUpsideDownWipe = 112,
2307 kHexagonSideWipe = 114,
2310 kOvalSideWipe = 121,
2312 kCatEyeSideWipe = 123,
2313 kRoundRectWipe = 124,
2314 kRoundRectSideWipe = 125,
2315 kFourPointStarWipe = 127,
2316 kFivePointStarWipe = 128,
2317 kStarOfDavidWipe = 129,
2324 kRotatingTopWipe = 201,
2325 kRotatingRightWipe = 202,
2326 kRotatingBottomWipe = 203,
2327 kRotatingLeftWipe = 204,
2328 kRotatingTopBottomWipe = 205,
2329 kRotatingLeftRightWipe = 206,
2330 kRotatingQuadrantWipe = 207,
2331 kTopToBottom180Wipe = 211,
2332 kRightToLeft180Wipe = 212,
2333 kTopToBottom90Wipe = 213,
2334 kRightToLeft90Wipe = 214,
2336 kRight180Wipe = 222,
2337 kBottom180Wipe = 223,
2339 kCounterRotatingTopBottomWipe = 225,
2340 kCounterRotatingLeftRightWipe = 226,
2341 kDoubleRotatingTopBottomWipe = 227,
2342 kDoubleRotatingLeftRightWipe = 228,
2343 kVOpenTopWipe = 231,
2344 kVOpenRightWipe = 232,
2345 kVOpenBottomWipe = 233,
2346 kVOpenLeftWipe = 234,
2347 kVOpenTopBottomWipe = 235,
2348 kVOpenLeftRightWipe = 236,
2349 kRotatingTopLeftWipe = 241,
2350 kRotatingBottomLeftWipe = 242,
2351 kRotatingBottomRightWipe = 243,
2352 kRotatingTopRightWipe = 244,
2353 kRotatingTopLeftBottomRightWipe = 245,
2354 kRotatingBottomLeftTopRightWipe = 246,
2355 kRotatingTopLeftRightWipe = 251,
2356 kRotatingLeftTopBottomWipe = 252,
2357 kRotatingBottomLeftRightWipe = 253,
2358 kRotatingRightTopBottomWipe = 254,
2359 kRotatingDoubleCenterRightWipe = 261,
2360 kRotatingDoubleCenterTopWipe = 262,
2361 kRotatingDoubleCenterTopBottomWipe = 263,
2362 kRotatingDoubleCenterLeftRightWipe = 264
2367 kHorizontalMatrixWipe = 301,
2368 kVerticalMatrixWipe = 302,
2369 kTopLeftDiagonalMatrixWipe = 303,
2370 kTopRightDiagonalMatrixWipe = 304,
2371 kBottomRightDiagonalMatrixWipe = 305,
2372 kBottomLeftDiagonalMatrixWipe = 306,
2373 kClockwiseTopLeftMatrixWipe = 310,
2374 kClockwiseTopRightMatrixWipe = 311,
2375 kClockwiseBottomRightMatrixWipe = 312,
2376 kClockwiseBottomLeftMatrixWipe = 313,
2377 kCounterClockwiseTopLeftMatrixWipe = 314,
2378 kCounterClockwiseTopRightMatrixWipe = 315,
2379 kCounterClockwiseBottomRightMatrixWipe = 316,
2380 kCounterClockwiseBottomLeftMatrixWipe = 317,
2381 kVerticalStartTopMatrixWipe = 320,
2382 kVerticalStartBottomMatrixWipe = 321,
2383 kVerticalStartTopOppositeMatrixWipe = 322,
2384 kVerticalStartBottomOppositeMatrixWipe = 323,
2385 kHorizontalStartLeftMatrixWipe = 324,
2386 kHorizontalStartRightMatrixWipe = 325,
2387 kHorizontalStartLeftOppositeMatrixWipe = 326,
2388 kHorizontalStartRightOppositeMatrixWipe = 327,
2389 kDoubleDiagonalTopRightMatrixWipe = 328,
2390 kDoubleDiagonalBottomRightMatrixWipe = 329,
2391 kDoubleSpiralTopMatixWipe = 340,
2392 kDoubleSpiralBottomMatixWipe = 341,
2393 kDoubleSpiralLeftMatixWipe = 342,
2394 kDoubleSpiralRightMatixWipe = 343,
2395 kQuadSpiralVerticalMatixWipe = 344,
2396 kQuadSpiralHorizontalMatixWipe = 345,
2397 kVerticalWaterfallLeftMatrixWipe = 350,
2398 kVerticalWaterfallRightMatrixWipe = 351,
2399 kHorizontalWaterfallLeftMatrixWipe = 352,
2400 kHorizontalWaterfallRightMatrixWipe = 353,
2402 kRandomWipeGroupWipe = 501,
2403 kRandomIrisGroupWipe = 502,
2404 kRandomRadialGroupWipe = 503,
2405 kRandomMatrixGroupWipe = 504
2408 typedef unsigned long SMPTEWipeType;
2421 SMPTEFrameReference *returnValue);
2434 SMPTEFrameReference frameRef);
2447 SMPTEFrameReference frameRef,
2448 Fixed effectPercentageEven,
2449 Fixed effectPercentageOdd,
Rect *pSourceRect,
2451 SMPTEWipeType effectNumber,
long xRepeat,
2452 long yRepeat, SMPTEFlags flags,
Fixed penWidth,
2458 kImageCodecEffectSetupSelect = 0x0300,
2459 kImageCodecEffectBeginSelect = 0x0301,
2460 kImageCodecEffectRenderFrameSelect = 0x0302,
2461 kImageCodecEffectConvertEffectSourceToFormatSelect = 0x0303,
2462 kImageCodecEffectCancelSelect = 0x0304,
2463 kImageCodecEffectGetSpeedSelect = 0x0305,
2464 kImageCodecEffectPrepareSMPTEFrameSelect = 0x0100,
2465 kImageCodecEffectDisposeSMPTEFrameSelect = 0x0101,
2466 kImageCodecEffectRenderSMPTEFrameSelect = 0x0102
2472 kCurvePathAtom = FOUR_CHAR_CODE(
'path'),
2473 kCurveEndAtom = FOUR_CHAR_CODE(
'zero'),
2474 kCurveAntialiasControlAtom = FOUR_CHAR_CODE(
'anti'),
2475 kCurveAntialiasOff = 0,
2476 kCurveAntialiasOn = (long)0xFFFFFFFF,
2477 kCurveFillTypeAtom = FOUR_CHAR_CODE(
'fill'),
2478 kCurvePenThicknessAtom = FOUR_CHAR_CODE(
'pent'),
2479 kCurveMiterLimitAtom = FOUR_CHAR_CODE(
'mitr'),
2480 kCurveJoinAttributesAtom = FOUR_CHAR_CODE(
'join'),
2481 kCurveMinimumDepthAtom = FOUR_CHAR_CODE(
'mind'),
2482 kCurveDepthAlwaysOffscreenMask = (long)0x80000000,
2483 kCurveTransferModeAtom = FOUR_CHAR_CODE(
'xfer'),
2484 kCurveGradientAngleAtom = FOUR_CHAR_CODE(
'angl'),
2485 kCurveGradientRadiusAtom = FOUR_CHAR_CODE(
'radi'),
2486 kCurveGradientOffsetAtom = FOUR_CHAR_CODE(
'cent')
2491 kCurveARGBColorAtom = FOUR_CHAR_CODE(
'argb')
2496 unsigned short alpha;
2498 unsigned short green;
2499 unsigned short blue;
2504 kCurveGradientRecordAtom = FOUR_CHAR_CODE(
'grad')
2510 Fixed endingPercentage;
2516 kCurveGradientTypeAtom = FOUR_CHAR_CODE(
'grdt')
2522 kLinearGradient = 0,
2523 kCircularGradient = 1
2526 typedef long GradientType;
2576 unsigned long contourIndex,
unsigned long *pCount);
2589 unsigned long contourIndex,
unsigned long pointIndex,
2603 Handle thePath,
unsigned long contourIndex,
2604 unsigned long pointIndex,
Boolean ptIsOnPath);
2617 unsigned long contourIndex,
unsigned long pointIndex,
2631 FixedPoint *thePoint,
unsigned long *contourIndex,
2632 unsigned long *pointIndex,
Fixed *theDelta);
2670 Size atomSize,
void *pAtomData, Handle vectorStream);
2683 Handle vectorStream);
2708 long atomType,
long *dataSize, Ptr *dataPtr);
2713 kCurveGetLengthSelect = 0x0100,
2714 kCurveLengthToPointSelect = 0x0101,
2715 kCurveNewPathSelect = 0x0102,
2716 kCurveCountPointsInPathSelect = 0x0103,
2717 kCurveGetPathPointSelect = 0x0104,
2718 kCurveInsertPointIntoPathSelect = 0x0105,
2719 kCurveSetPathPointSelect = 0x0106,
2720 kCurveGetNearestPathPointSelect = 0x0107,
2721 kCurvePathPointToLengthSelect = 0x0108,
2722 kCurveCreateVectorStreamSelect = 0x0109,
2723 kCurveAddAtomToVectorStreamSelect = 0x010A,
2724 kCurveAddPathAtomToVectorStreamSelect = 0x010B,
2725 kCurveAddZeroAtomToVectorStreamSelect = 0x010C,
2726 kCurveGetAtomDataFromVectorStreamSelect = 0x010D
2730 #if PRAGMA_STRUCT_ALIGN
2731 #pragma options align = reset
2732 #elif PRAGMA_STRUCT_PACKPUSH
2734 #elif PRAGMA_STRUCT_PACK
2738 #ifdef PRAGMA_IMPORT_OFF
2741 #pragma import reset
@ pLength
Definition: ASRegistry.h:124
Component Manager Interfaces.
QuickDraw GX object and constant definitions.
ComponentResult QTPhotoSetRestartInterval(ComponentInstance codec, unsigned short restartInterval)
ComponentResult ImageCodecDisposeMemory(ComponentInstance ci, Ptr data)
ComponentResult CurveAddPathAtomToVectorStream(ComponentInstance effect, Handle pathData, Handle vectorStream)
ComponentResult ImageCodecPreCompress(ComponentInstance ci, CodecCompressParams *params)
ComponentResult ImageCodecEffectRenderSMPTEFrame(ComponentInstance effect, PixMapPtr destPixMap, SMPTEFrameReference frameRef, Fixed effectPercentageEven, Fixed effectPercentageOdd, Rect *pSourceRect, MatrixRecord *pMatrix, SMPTEWipeType effectNumber, long xRepeat, long yRepeat, SMPTEFlags flags, Fixed penWidth, long strokeValue)
ComponentResult CurveSetPathPoint(ComponentInstance effect, gxPaths *aPath, unsigned long contourIndex, unsigned long pointIndex, gxPoint *thePoint, Boolean ptIsOnPath)
ComponentResult ImageCodecGetParameterList(ComponentInstance ci, QTAtomContainer *parameterDescription)
ImageCodecTimeTriggerUPP NewImageCodecTimeTriggerUPP(ImageCodecTimeTriggerProcPtr userRoutine)
ComponentResult QTPhotoDefineQuantizationTable(ComponentInstance codec, short componentNumber, unsigned char *table)
ComponentResult ImageCodecSetTimeCode(ComponentInstance ci, void *timeCodeFormat, void *timeCodeTime)
ComponentResult CurvePathPointToLength(ComponentInstance ci, gxPaths *aPath, Fixed startDist, Fixed endDist, FixedPoint *thePoint, Fixed *pLength)
ComponentResult ImageCodecNewImageGWorld(ComponentInstance ci, CodecDecompressParams *params, GWorldPtr *newGW, long flags)
ComponentResult CurveGetLength(ComponentInstance effect, gxPaths *target, long index, wide *wideLength)
ComponentResult CurveLengthToPoint(ComponentInstance effect, gxPaths *target, long index, Fixed length, FixedPoint *location, FixedPoint *tangent)
ComponentResult CurveInsertPointIntoPath(ComponentInstance effect, gxPoint *aPoint, Handle thePath, unsigned long contourIndex, unsigned long pointIndex, Boolean ptIsOnPath)
ComponentResult InvokeImageCodecMPDrawBandUPP(void *refcon, ImageSubCodecDecompressRecord *drp, ImageCodecMPDrawBandUPP userUPP)
ComponentResult ImageCodecBandDecompress(ComponentInstance ci, CodecDecompressParams *params)
ComponentResult CurveGetNearestPathPoint(ComponentInstance effect, gxPaths *aPath, FixedPoint *thePoint, unsigned long *contourIndex, unsigned long *pointIndex, Fixed *theDelta)
ComponentResult ImageCodecDisposeImageGWorld(ComponentInstance ci, GWorldPtr theGW)
ComponentResult ImageCodecHitTestDataWithFlags(ComponentInstance ci, ImageDescriptionHandle desc, void *data, Size dataSize, Point where, long *hit, long hitFlags)
ComponentResult CurveGetPathPoint(ComponentInstance effect, gxPaths *aPath, unsigned long contourIndex, unsigned long pointIndex, gxPoint *thePoint, Boolean *ptIsOnPath)
void DisposeImageCodecMPDrawBandUPP(ImageCodecMPDrawBandUPP userUPP)
ComponentResult ImageCodecEffectPrepareSMPTEFrame(ComponentInstance effect, PixMapPtr destPixMap, SMPTEFrameReference *returnValue)
ComponentResult ImageCodecIsImageDescriptionEquivalent(ComponentInstance ci, ImageDescriptionHandle newDesc, Boolean *equivalent)
ComponentResult ImageCodecEffectBegin(ComponentInstance effect, CodecDecompressParams *p, EffectsFrameParamsPtr ePtr)
ComponentResult ImageCodecGetMaxCompressionSizeWithSources(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, short depth, CodecQ quality, CDSequenceDataSourcePtr sourceData, long *size)
ImageCodecMPDrawBandUPP NewImageCodecMPDrawBandUPP(ImageCodecMPDrawBandProcPtr userRoutine)
ComponentResult ImageCodecFlush(ComponentInstance ci)
ComponentResult ImageCodecEffectGetSpeed(ComponentInstance effect, QTAtomContainer parameters, Fixed *pFPS)
ComponentResult ImageCodecGetParameterListHandle(ComponentInstance ci, Handle *parameterDescriptionHandle)
ComponentResult ImageCodecExtractAndCombineFields(ComponentInstance ci, long fieldFlags, void *data1, long dataSize1, ImageDescriptionHandle desc1, void *data2, long dataSize2, ImageDescriptionHandle desc2, void *outputData, long *outDataSize, ImageDescriptionHandle descOut)
ComponentResult ImageCodecCreateStandardParameterDialog(ComponentInstance ci, QTAtomContainer parameterDescription, QTAtomContainer parameters, QTParameterDialogOptions dialogOptions, DialogPtr existingDialog, short existingUserItem, QTParameterDialog *createdDialog)
ComponentResult ImageCodecSetSettings(ComponentInstance ci, Handle settings)
ComponentResult ImageCodecGetSimilarity(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, ImageDescriptionHandle desc, Ptr data, Fixed *similarity)
ComponentResult ImageCodecRequestSettings(ComponentInstance ci, Handle settings, Rect *rp, ModalFilterUPP filterProc)
ComponentResult CurveNewPath(ComponentInstance effect, Handle *pPath)
ComponentResult ImageCodecGetCodecInfo(ComponentInstance ci, CodecInfo *info)
ComponentResult ImageCodecDroppingFrame(ComponentInstance ci, const ImageSubCodecDecompressRecord *drp)
ComponentResult QTPhotoDefineHuffmanTable(ComponentInstance codec, short componentNumber, Boolean isDC, unsigned char *lengthCounts, unsigned char *values)
ComponentResult ImageCodecIsStandardParameterDialogEvent(ComponentInstance ci, EventRecord *pEvent, QTParameterDialog createdDialog)
ComponentResult ImageCodecDismissStandardParameterDialog(ComponentInstance ci, QTParameterDialog createdDialog)
ComponentResult ImageCodecDrawBand(ComponentInstance ci, ImageSubCodecDecompressRecord *drp)
ComponentResult QTPhotoSetSampling(ComponentInstance codec, short yH, short yV, short cbH, short cbV, short crH, short crV)
ComponentResult ImageCodecGetSettingsAsText(ComponentInstance ci, Handle *text)
ComponentResult ImageCodecNewMemory(ComponentInstance ci, Ptr *data, Size dataSize, long dataUse, ICMMemoryDisposedUPP memoryGoneProc, void *refCon)
ComponentResult ImageCodecPreDecompress(ComponentInstance ci, CodecDecompressParams *params)
ComponentResult ImageCodecValidateParameters(ComponentInstance ci, QTAtomContainer parameters, QTParameterValidationOptions validationFlags, StringPtr errorString)
void InvokeImageCodecDrawBandCompleteUPP(void *refcon, ComponentResult drawBandResult, UInt32 drawBandCompleteFlags, ImageCodecDrawBandCompleteUPP userUPP)
ComponentResult CurveCreateVectorStream(ComponentInstance effect, Handle *pStream)
ComponentResult ImageCodecGetCompressionTime(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, short depth, CodecQ *spatialQuality, CodecQ *temporalQuality, unsigned long *time)
ComponentResult ImageCodecQueueStarting(ComponentInstance ci)
ComponentResult ImageCodecStandardParameterDialogDoAction(ComponentInstance ci, QTParameterDialog createdDialog, long action, void *params)
ComponentResult ImageCodecEffectRenderFrame(ComponentInstance effect, EffectsFrameParamsPtr p)
ComponentResult CurveAddZeroAtomToVectorStream(ComponentInstance effect, Handle vectorStream)
ComponentResult ImageCodecEffectSetup(ComponentInstance effect, CodecDecompressParams *p)
ComponentResult ImageCodecQueueStopping(ComponentInstance ci)
void InvokeImageCodecTimeTriggerUPP(void *refcon, ImageCodecTimeTriggerUPP userUPP)
ComponentResult ImageCodecCancelTrigger(ComponentInstance ci)
ComponentResult ImageCodecTrimImage(ComponentInstance ci, ImageDescriptionHandle Desc, Ptr inData, long inBufferSize, ICMDataProcRecordPtr dataProc, Ptr outData, long outBufferSize, ICMFlushProcRecordPtr flushProc, Rect *trimRect, ICMProgressProcRecordPtr progressProc)
ComponentResult ImageCodecInitialize(ComponentInstance ci, ImageSubCodecDecompressCapabilities *cap)
ComponentResult ImageCodecGetCompressedImageSize(ComponentInstance ci, ImageDescriptionHandle desc, Ptr data, long bufferSize, ICMDataProcRecordPtr dataProc, long *dataSize)
ComponentResult ImageCodecBeginBand(ComponentInstance ci, CodecDecompressParams *params, ImageSubCodecDecompressRecord *drp, long flags)
ComponentResult ImageCodecGetDecompressLatency(ComponentInstance ci, TimeRecord *latency)
ComponentResult ImageCodecGetBaseMPWorkFunction(ComponentInstance ci, ComponentMPWorkFunctionUPP *workFunction, void **refCon, ImageCodecMPDrawBandUPP drawProc, void *drawProcRefCon)
ComponentResult ImageCodecEffectConvertEffectSourceToFormat(ComponentInstance effect, EffectSourcePtr sourceToConvert, ImageDescriptionHandle requestedDesc)
ComponentResult ImageCodecGetSourceDataGammaLevel(ComponentInstance ci, Fixed *sourceDataGammaLevel)
ComponentResult ImageCodecHitTestData(ComponentInstance ci, ImageDescriptionHandle desc, void *data, Size dataSize, Point where, Boolean *hit)
ComponentResult ImageCodecSourceChanged(ComponentInstance ci, UInt32 majorSourceChangeSeed, UInt32 minorSourceChangeSeed, CDSequenceDataSourcePtr sourceData, long *flagsOut)
ComponentResult ImageCodecRequestGammaLevel(ComponentInstance ci, Fixed srcGammaLevel, Fixed dstGammaLevel, long *codecCanMatch)
ComponentResult ImageCodecBusy(ComponentInstance ci, ImageSequence seq)
ComponentResult ImageCodecEffectDisposeSMPTEFrame(ComponentInstance effect, SMPTEFrameReference frameRef)
ComponentResult ImageCodecBandCompress(ComponentInstance ci, CodecCompressParams *params)
ComponentResult ImageCodecSetTimeBase(ComponentInstance ci, void *base)
ComponentResult CurveAddAtomToVectorStream(ComponentInstance effect, OSType atomType, Size atomSize, void *pAtomData, Handle vectorStream)
ComponentResult ImageCodecNewImageBufferMemory(ComponentInstance ci, CodecDecompressParams *params, long flags, ICMMemoryDisposedUPP memoryGoneProc, void *refCon)
ComponentResult ImageCodecFlushFrame(ComponentInstance ci, UInt32 flags)
ComponentResult ImageCodecGetSettings(ComponentInstance ci, Handle settings)
ComponentResult ImageCodecEndBand(ComponentInstance ci, ImageSubCodecDecompressRecord *drp, OSErr result, long flags)
ComponentResult ImageCodecPreflight(ComponentInstance ci, CodecDecompressParams *params)
ComponentResult CurveGetAtomDataFromVectorStream(ComponentInstance effect, Handle vectorStream, long atomType, long *dataSize, Ptr *dataPtr)
ComponentResult ImageCodecGetMaxCompressionSize(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, short depth, CodecQ quality, long *size)
void DisposeImageCodecTimeTriggerUPP(ImageCodecTimeTriggerUPP userUPP)
void DisposeImageCodecDrawBandCompleteUPP(ImageCodecDrawBandCompleteUPP userUPP)
ComponentResult ImageCodecEffectCancel(ComponentInstance effect, EffectsFrameParamsPtr p)
ImageCodecDrawBandCompleteUPP NewImageCodecDrawBandCompleteUPP(ImageCodecDrawBandCompleteProcPtr userRoutine)
ComponentResult CurveCountPointsInPath(ComponentInstance effect, gxPaths *aPath, unsigned long contourIndex, unsigned long *pCount)
ComponentResult ImageCodecScheduleFrame(ComponentInstance ci, const ImageSubCodecDecompressRecord *drp, ImageCodecTimeTriggerUPP triggerProc, void *triggerProcRefCon)
QuickTime Image Compression Interfaces.
Basic Macintosh data types.
long Fixed
Definition: MacTypes.h:153
unsigned char * StringPtr
Definition: MacTypes.h:477
unsigned char Boolean
Definition: MacTypes.h:318
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
Interface to Quickdraw Graphics.
Definition: ImageCodec.h:2495
Definition: Quickdraw.h:279
Definition: ImageCodec.h:881
Definition: ImageCodec.h:171
Definition: ImageCodec.h:188
Definition: Quickdraw.h:2261
Definition: ImageCodec.h:1163
Definition: ImageCodec.h:129
Definition: ImageCodec.h:224
Definition: ImageCodec.h:274
Definition: ImageCompression.h:459
Definition: Components.h:220
Definition: ImageCodec.h:983
Definition: ImageCompression.h:422
Definition: ImageCodec.h:870
Definition: ImageCodec.h:2142
Definition: ImageCodec.h:2158
Definition: ImageCodec.h:735
Definition: ImageCodec.h:851
Definition: ImageCodec.h:729
Definition: ImageCodec.h:1132
Definition: ImageCodec.h:2041
Definition: MacTypes.h:536
Definition: ImageCodec.h:857
Definition: ImageCodec.h:2508
Definition: Quickdraw.h:1648
Definition: ImageCompression.h:394
Definition: ImageCompression.h:401
Definition: ImageCompression.h:408
Definition: ImageCodec.h:216
Definition: ImageCompression.h:546
Definition: ImageCompression.h:387
Definition: ImageCompression.h:433
Definition: ImageCodec.h:905
Definition: ImageCodec.h:557
Definition: ImageCodec.h:587
Definition: ImageCodec.h:842
Definition: Quickdraw.h:306
Definition: ImageCompression.h:68
Definition: ImageCodec.h:2027
Definition: ImageCodec.h:1086
Definition: ImageCodec.h:808
Definition: ImageCodec.h:814
Definition: ImageCodec.h:758
Definition: ImageCodec.h:989
Definition: ImageCodec.h:787
Definition: ImageCodec.h:1022
Definition: ImageCodec.h:714
Definition: ImageCodec.h:915
Definition: Quickdraw.h:2064
Definition: ImageCodec.h:1155
Definition: ImageCodec.h:627
Definition: ImageCodec.h:633
Definition: ImageCodec.h:638
Definition: ImageCodec.h:645
Definition: MacTypes.h:520
Definition: PPCToolbox.h:168
Definition: OSUtils.h:154
Definition: Quickdraw.h:1710
Definition: ImageCodec.h:887
Definition: MacTypes.h:527
Definition: ImageCodec.h:835
Definition: MacTypes.h:585
Definition: GXTypes.h:194
Definition: MacTypes.h:104
Definition: ImageCodec.h:2135