'???.u.Id.data' seems to contain a value of ARGB when I acquire other field using 'iterate' function in a timing of Render command.
How do you do it to acquire data of VUYA not ARGB?
Or can you convert data of ARGB into VUYA?
Thank you for having you replay.
>AE doesn't deal with VUYA.
Is VUYA not supported?
I set "SupportedPixelFormat" in "PrPixelFormat_VUYA_4444_8u", In the "PF_Cmd_GLOBAL_SETUP".
like this...
(*pixelFormatSuite->AddSupportedPixelFormat)(in_dataP->effect_ref, PrPixelFormat_VUYA_4444_8u);
In this case, VUYA is supported in the "PF_Cmd_RENDER".
because, pixel format is VUYA in the "callback function" was called by "iterate" function.
but, pixel format isn't VUYA, when I acquire other field using 'PF_CHECKOUT_PARAM' function in a timing of Render command.
A field that I acquire using 'PF_CHECKOUT_PARAM' function is always ARGB format...?
Is this understanding right?
Thank you for having you replay.
I'm going to make AE Plug-In to work on PPro.
I find at the SDK_Noise sample, I renewed a part of the "Render" function asfollows
and carried it out.
but,
in the case of "src ①", noise_param.u.ld.data is "ARGB" format,
in the case of "src ②", noise_param.u.ld.data is "VUYA" format.
why are formats different "src ①" and "src ②" ?
****************************************************************
static PF_Err
Render (
PF_InData *in_dataP,
PF_OutData *out_data,
PF_ParamDef *params[],
PF_LayerDef *output )
{
・・・
else if (destinationPixelFormat == PrPixelFormat_VUYA_4444_8u)
{
PF_ParamDef noise_param;
AEFX_CLR_STRUCT(noise_param);
ERR(PF_CHECKOUT_PARAM( in_dataP,
0,
in_dataP->current_time,
in_dataP->time_step,
in_dataP->time_scale,
&noise_param));
ERR(suites.Iterate8Suite1()->iterate( in_dataP,
0,
linesL,
&noise_param.u.ld, // src ①
//¶ms[NOISE_INPUT]->u.ld, // src ②
NULL,
(void*)&niP,
FilterImageVUYA_8u,
output));
ERR(PF_CHECKIN_PARAM(in_dataP, &noise_param));
・・・
}
****************************************************************
North America
Europe, Middle East and Africa
Asia Pacific