Hi Sandip,
There might be a problem of memory. Make sure he has assigned proper value in size field of IVIDENCOutArgs.size field in application. Mpeg2_outArgs.IVIDENCOutArgs.size = sizeof(VIDENC_MPEG2_OutArgs); If he had done this properly, than there might be problem with xdas framework. There is a file named "Xdas.h" contains all datatypes for xdas framework, but it does not contain float variables. So define them as void(or any other datatype) in extended structure and than typecast them to float. Regards, Bhavin _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandip Ray Sent: Tuesday, December 11, 2007 12:25 PM To: [email protected] Subject: floating point variables in extended structure of xDM Hi, I need to extend encoderOutArgs structure for MPEG 2 Encoder in xDM. I added 3 float variables for Y-U-V PSNR like as follows. typedef struct VIDENC_MPEG2_OutArgs { IVIDENC_OutArgs IVIDENCOutArgs; float Y_PSNR; float U_PSNR; float V_PSNR; } VIDENC_MPEG2_OutArgs; It is not working. When I add integer variables it is working fine. Does it allow to add floating point variables in extended structure ? Thanks and Regards, Sandip -- eInfochips Business Disclaimer: This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose,distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated.Nothing contained in this message shall be construed as an offer or acceptance of any offer by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with that express intent and with due authority of eInfochips.EInfochips has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. - This message has been scanned for viruses, spam and dangerous content and is believed to be clean. -- eInfochips Business Disclaimer: This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose,distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated.Nothing contained in this message shall be construed as an offer or acceptance of any offer by eInfochips Limited and/or eInfochips Inc(“eInfochips”) unless sent with that express intent and with due authority of eInfochips.EInfochips has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
