Hi,

This error comes when input or output buffer size provided for the user pointer 
is less than the required buffer size.

Thanks,
Brijesh Jadav
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of peng zhu
Sent: Wednesday, November 26, 2008 10:03 AM
To: [email protected]
Subject: About resize module in DMAI

Hi, I am a user of DM6467 EVM. When I do some programming using resize module 
in DMAI, I met some problem. Could you help me solve this problem? Thank you 
very much.

I want to realize the function like this:  H.264 video (in CIF format) ---- 
h.264 decoder --- YUV420 (in CIF format) ---- resize module ---- YUV420 (QCIF) 
---- h.264 encoder ----- H.264 video (QCIF).

The input of resize module is the output buffer got from h.264 decoder. The dim 
of the output buffer is (x=24,y=0,width=352,height=288,linelength=400), and the 
buffer size is 172800. I set the output of resize module is the buffer with dim 
of (x=0,y=0,width=176,height=144,linelength=176), and the buffer size is 
176*144*3/2=38016.

However, when resize_execute failed with the error info of “DavinciHD_vdce 
DavinciHD_vdce.2: invalid size”. Could you tell where is the error? What’s the 
meaning of “invalid size”?

Thank you very much for your help again.

Peng


________________________________
好玩贺卡等你发,邮箱贺卡全新上线!<http://cn.rd.yahoo.com/mail_cn/tagline/card/*http:/card.mail.cn.yahoo.com/>
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to