Hi all.

I would like to add an input parameter to the ISCALE_InArgs structure in codec_engine's scale example.

I just added a:
 XDAS_Int32 newArg

to the structure:

typedef struct ISCALE_InArgs {
    XDAS_Int32 inBufSize;
    XDAS_Int32 outBufSize;
    XDAS_Int32 inBufValidBytes;
    XDAS_Int32 newArg ;
} ISCALE_InArgs;

in the iscale.h file. But it only works when I do not put it in the last place of the member list in the structure.

Does it only works with 3 args? I think I'm missing something simple... Some place to define the number of arguments to be passed or the maximum size of the memory used in the message to the DSP, maybe?

Thanks in advance.
Best regards.
José

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to