Stephen Berry wrote:

// These parameters are for the highest quality picture...
    ext_params.videncParams = params;
you copy the standard params here, but you do not update the size, no?

you need to do:

ext_params.videncParams.size = sizeof(IMP4VENC_Params);


why would I need to change the size to a different structure type?

because otherwise CE has no idea that you are using IMP4VENC_Params instead of VIDENC1_Params.

I double checked the example and this was in there, I just missed it.
I'll give it a try and see what happens... thanks!
/* Set Dynamic Params */
#if 0
    ividEncfxns = (IALG_Fxns *)hEncode->fxns ;

    status = ividEncfxns->algControl((VIDENC1_Handle)hEncode,
XDM_SETPARAMS,
                                  (VIDENC1_DynamicParams *)& ext_params,
why would you pass the extended Params as DynamicParams?


This came directly out of the API document. BUT - I know this doesn't
work. The prototype for algControl doesn't have a fourth argument (the
params)...

Please use the standard CE calls like VIDENC1_Process() and VIDENC1_Control and not ividEncfxns->...


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to