ADC Home > Reference Library > Reference > Apple Applications > Final Cut Pro/Final Cut Express > FxPlug Reference
|
FxTransition |
Extends Protocol: | |
Declared In: |
Specifies the methods a transition plug-in needs to implement.
This protocol inherits from the parent protocol FxBaseEffect, whose methods must be implemented by any type of plug-in.
frameCleanup |
Asks the plug-in to clean up any memory allocated in frameSetup:. Called after renderOutput:.
- (BOOL)frameCleanup;
Returns YES if the cleanup is successful; NO otherwise.
frameSetup:inputInfo:hardware:software: |
Determines the type of input/output image the plug-in wants. The application calls this method before renderOutput:.
See Also:
- frameSetup:inputInfoA:inputInfoB:timeFraction:hardware:software:
- (BOOL)frameSetup:(FxRenderInfo)renderInfo inputInfoA:(FxImageInfo)inputInfoA inputInfoB:(FxImageInfo)inputInfoB timeFraction:(float)timeFraction hardware:(BOOL *)canRenderHardware software:(BOOL *)canRenderSoftware;
renderInfo
inputInfoA
inputInfoB
timeFraction
canRenderHardware
canRenderSoftware
Returns YES if frame setup is successful; NO otherwise.
frameSetup:inputInfoA:inputInfoB:timeFraction:hardware:software: |
Determines the type of input/output image the plug-in wants. The application calls this method before renderOutput:.
See Also:
- frameSetup:inputInfo:hardware:software:
- (BOOL)frameSetup:(FxRenderInfo)renderInfo inputInfoA:(FxImageInfo)inputInfoA inputInfoB:(FxImageInfo)inputInfoB timeFraction:(float)timeFraction hardware:(BOOL *)canRenderHardware software:(BOOL *)canRenderSoftware;
renderInfo
inputInfoA
inputInfoB
timeFraction
canRenderHardware
canRenderSoftware
getOutputWidth:height:withInputA:withInputB:withTimeFraction:withInfo: |
Allows the host application to retrieve the size of an output image produced by the plug-in. The application can then allocate and setup a proper output image for rendering.
- (BOOL)getOutputWidth:(UInt32 *)width height:(UInt32 *)height withInputA:(FxImageInfo)inputInfoA withInputB:(FxImageInfo)inputInfoB withTimeFraction:(float)timeFraction withInfo:(FxRenderInfo)renderInfo;
width
height
inputInfoA
inputInfoB
timeFraction
renderInfo
Returns YES if the output size is properly determined and set to the width and
height parameters; NO otherwise.
NOTE: This method may not be called by some host applications that do not support
resizing.
renderOutput:withInputA:withInputB:withInfo: |
Renders output image from a plug-in.
See Also:
- renderOutput:withInputA:withInputB:withTimeFraction:withInfo:
- (BOOL)renderOutput:(FxImage *)output withInputA:(FxImage *)inputImageA withInputB:(FxImage *)inputImageB withTimeFraction:(float)timeFraction withInfo:(FxRenderInfo)renderInfo;
output
inputImageA
inputImageB
timeFraction
renderInfo
Returns YES if the output image is correctly populated and processing is successful; NO otherwise.
renderOutput:withInputA:withInputB:withTimeFraction:withInfo: |
Renders output image from a plug-in.
See Also:
- renderOutput:withInputA:withInputB:withInfo:
- (BOOL)renderOutput:(FxImage *)output withInputA:(FxImage *)inputImageA withInputB:(FxImage *)inputImageB withTimeFraction:(float)timeFraction withInfo:(FxRenderInfo)renderInfo;
output
inputImageA
inputImageB
timeFraction
renderInfo
|