| 915 | |
| 916 | mDeclarePluginFactory(KeyerPluginFactory, {ofxsThreadSuiteCheck();}, {}); |
| 917 | void |
| 918 | KeyerPluginFactory::describe(ImageEffectDescriptor &desc) |
| 919 | { |
| 920 | // basic labels |
| 921 | desc.setLabel(kPluginName); |
| 922 | desc.setPluginGrouping(kPluginGrouping); |
| 923 | desc.setPluginDescription(kPluginDescription); |
| 924 | |
| 925 | desc.addSupportedContext(eContextFilter); |
| 926 | desc.addSupportedContext(eContextGeneral); |
| 927 | //desc.addSupportedBitDepth(eBitDepthUByte); |
| 928 | desc.addSupportedBitDepth(eBitDepthUShort); |
| 929 | desc.addSupportedBitDepth(eBitDepthFloat); |
| 930 | |
| 931 | // set a few flags |
| 932 | desc.setSingleInstance(false); |
| 933 | desc.setHostFrameThreading(false); |
| 934 | desc.setSupportsMultiResolution(kSupportsMultiResolution); |
| 935 | desc.setSupportsTiles(kSupportsTiles); |
| 936 | desc.setTemporalClipAccess(false); |
| 937 | desc.setRenderTwiceAlways(false); |
| 938 | desc.setSupportsMultipleClipPARs(kSupportsMultipleClipPARs); |
| 939 | desc.setSupportsMultipleClipDepths(kSupportsMultipleClipDepths); |
| 940 | desc.setRenderThreadSafety(kRenderThreadSafety); |
| 941 | } |
| 942 | |
| 943 | void |
| 944 | KeyerPluginFactory::describeInContext(ImageEffectDescriptor &desc, |