Transition Factory - "FOPT" resource

Go back to resource overview

The FOPT resource is only available in Transition Factory for Premiere. It contains options about the filter.

The FOPT resource is an obsolete resource. In newer filters, it is replaced by a PiPL resource.

I found some information in PrSDKPiPL.r (section Pr_Effect_Info) which seems to describe how FOPT was initially defined.

Byte #1 and #2

Always 00 00 (what is it?)

Byte #3 and #4

// Valid corners mask and initial corners (lsb to msb):
// bitTop | bitRight | bitBottom | bitLeft | bitUpperRight |
// bitLowerRight | bitLowerLeft | bitUpperLeft
byte; // Valid corners mask.
byte; // Initial corners.

Byte #5 (flags)

fill bit[2];
boolean doesNotNeedCallbacksAtSetup, needsCallbacksAtSetup;
boolean;
boolean wantInitialSetupCall, dontWantInitialSetupCall;
boolean treatAsTransition, treatAsTwoInputFilter;
boolean noCustomDialog, hasCustomDialog;
boolean dontHighlightOppositeCorners, highlightOppositeCorners;

which would mean:

Original Filter has 22h = needsCallbacksAtSetup | hasCustomDialog

Built Filter has 20h = needsCallbacksAtSetup | noCustomDialog

Byte #6

byte notExclusive = 0, exclusive = 1; 

Byte #7

byte notReversible = 0, reversible = 1;

Byte #8

byte doesNotHaveEdges = 0, haveEdges = 1;

Byte #9

byte doesNotHaveStartPoint = 0, haveStartPoint = 1;

Byte #10

byte doesNotHaveEndPoint = 0, haveEndPoint = 1;

FOPT Resource of original filter

00 00 00 00 22 00 00 00 00 00

Interpretation:

ValidCornersMask = 0;
InitialCorners = 0;
Flags = needsCallbacksAtSetup | hasCustomDialog | notExclusive | notReversible | doesNotHaveEdges | doesNotHaveStartPoint | doesNotHaveEndPoint;

FOPT Resource of built filter

00 00 00 00 20 00 00 00 00 00

Interpretation:

ValidCornersMask = 0;
InitialCorners = 0;
Flags = needsCallbacksAtSetup | noCustomDialog | notExclusive | notReversible | doesNotHaveEdges | doesNotHaveStartPoint | doesNotHaveEndPoint;