7 Replies Latest reply: Aug 17, 2012 1:47 PM by Zac Lam RSS

    VUYA

    U ch Community Member

      '???.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?

        • 1. Re: VUYA
          shachar carmi Community Member

          AE doesn't deal with VUYA.

          it always delivers and expects you to return ARGB.

          if you want to work with yuv, you need to convert each pixel yourself.

          sorry, not much good news from me.

          :-(

          • 2. Re: VUYA
            U ch Community Member

            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?

            • 3. Re: VUYA
              shachar carmi Community Member

              AddSupportedPixelFormat() applies only to premier.

              look at the SDK_Noise sample, you'll see that all that stuff is done only after checking that the host is premier.

              • 4. Re: VUYA
                U ch Community Member

                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 ①

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

                                                                                     NULL,                                 

                                                                                     (void*)&niP,                        

                                                                                     FilterImageVUYA_8u,         

                                                                                     output));

                 

                          ERR(PF_CHECKIN_PARAM(in_dataP, &noise_param));

                ・・・

                }

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

                • 5. Re: VUYA
                  shachar carmi Community Member

                  are you getting this error on AE or PP?

                  because PP is not my thing...

                  • 6. Re: VUYA
                    U ch Community Member

                    I'm getting this error on Premiere Pro.

                     

                    >because PP is not my thing...

                    I ask a Premiere Pro SDK Forum.

                    • 7. Re: VUYA
                      Zac Lam Employee Hosts

                      For anyone interested in the answer, the thread is continued here in the PPro forum:

                      http://forums.adobe.com/message/4627534#4627534