Sameer Naik wrote:

srcImage.x = 0;
srcImage.y = 0;
srcImage.width = 294;
srcImage.height = 240;
srcImage.lineLength = 294* 2;

dstImage.x = 0;
dstImage.y = 0;
dstImage.width = 1024;
dstImage.height = 768;
dstImage.lineLength = 1024 * 2;

When the resize operation is configured using Resize_config(). I get
the following
error: "Src (588) and dst (2048) must be aligned on 32 bytes"

This clearly states that srcImage.lineLength = 588; is not aligned on 32 bytes.
How can i handle this case? I dont think i can specify a
srcImage.lineLength anything orther than 294* 2 right.
This is is always present when the width and height of the decoded
video are not a multiple of 16.

Your video decoder should be able to output the video in a buffer that is a 
multiple
of 32 bytes wide, e.g. 294 pixels wide video in a 304pixels (608 bytes) wide 
buffer.

_______________________________________________
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