Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

VUYA

$
0
0

Thank you for having you replay.

 

I'm going to make AE Plug-In to work on Premiere pro.

I find at the SDK_Noise sample(AE SDK sample), I renewed a part of the "Render" function as follows

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 ①

                                                                     //&params[NOISE_INPUT]->u.ld,         // src ②

                                                                     NULL,                                

                                                                     (void*)&niP,                       

                                                                     FilterImageVUYA_8u,        

                                                                     output));

 

          ERR(PF_CHECKIN_PARAM(in_dataP, &noise_param));

・・・

}

****************************************************************


Viewing all articles
Browse latest Browse all 73444

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>