Hi All,
I am working on transitiom plug-in for premiere pro cs3 ,using premiere pro cs3 SDK.
while learning i am not get understand the following code, where will be use and what will be function of this code
also, did not understand the code which is mark below in the red.
static prMALError Execute(EffectHandle theData)
{
prMALError result = esNoErr;
prRect bounds = {0,0,0,0};
PPixHand destPPH = ((*theData)->destination);
SPBasicSuite *SPBasic = NULL;
PrSDKPPixSuite *PPixSuite = NULL;
float transitionProgress = 0.0f;
PrPixelFormat pixelFormat = PrPixelFormat_Invalid;
prBool **specsH = reinterpret_cast<prBool **>((*theData)->specsHandle);
if (specsH == NULL)
{
// If specsH has not been initialized and is NULL, render with the default settings
}
else
{
// Render using user-controlled setting
}
((*theData)->piSuites->ppixFuncs->ppixGetBounds)((*theData)->destinat ion, &bounds);
// Sample code - not really necessary for the functionality of this plug-in
DemoUsingInstanceData(theData, &(*theData)->instanceData);
DemoUsingCallback(theData, bounds);
// Get pixel format of PPix
SPBasic = (*theData)->piSuites->utilFuncs->getSPBasicSuite ();
if (SPBasic)
{
SPBasic->AcquireSuite (kPrSDKPPixSuite, kPrSDKPPixSuiteVersion, (const void**)&PPixSuite);
if (PPixSuite)
{
PPixSuite->GetPixelFormat (destPPH, &pixelFormat);
SPBasic->ReleaseSuite (kPrSDKPPixSuite, kPrSDKPPixSuiteVersion);
}
}
transitionProgress = (float)(*theData)->part / (float)(*theData)->total;
// Render the transition
RenderDissolve(theData, &bounds, pixelFormat, transitionProgress);
return result;
}
Thanks,
waiting fir reply
Hello,
thanks, Zac
I am new in flex3 and i developing transition plugin for adobe premier4, frist time i was not understand cross Dissolve.cpp sample code but now i am
lerning to it
now i am developing plugins by using adobe flex3
using tree control on specific floder click display different data .for tree folder i am use categogy.xml file
in above screen i am show it
for dissolve category display only dissolve thumbnails ,dissolve category is physical folder in application root
by clicking on dissolve category show thumbnails on rightside
so what will be write code for above description
2) how to load xml file clicking on specific thumbnail and each thumbnail have specific xml.
plz help
thanks,
Hi there,
For Flex questions, I would suggest posting in the Flex forums here:
http://forums.adobe.com/community/flex
Regards,
Zac
North America
Europe, Middle East and Africa
Asia Pacific