Stephen Berry wrote:

Vladimir Pantelic wrote:
Stephen Berry wrote:
the routine follows. The call to VIDENC1_control is the routine that
segfaults. I'm not using the ividEncfxns->algControl call...

#if 1
    ext_params.videncParams.size = sizeof(IMP4VENC_Params);

    hEncode = (VIDENC1_Handle) ALG_create(1, (IALG_Fxns *)&
MP4VENC_TI_IMP4VENC,
                                       (IALG_Handle) NULL,
                                       (IALG_Params *) & ext_params);

can you tell me why you use ALG_create and not VIDENC1_create()?

because that is what the example did in the sdk. Is there another way?

yes, but your own code has VIDENC1_create() just below in the #else section,
so I was wondering why you did not use it. Actually, I have no idea what 
ALG_create actually does,
all I ever used where the VIDEENC_xyz functions.

Also, all the CE exmaple I saw so did not use  ALG_create etc..



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

Reply via email to