actually multiple of 16 not 32.
Is it possible with the XDM API calls?

On Thu, Jan 7, 2010 at 3:36 PM, Sameer Naik
<sameer.subscripti...@damagehead.com> wrote:
> Thanks for the reply.
> That is exactly what i was thinking. I would expect the decoder to
> adjust the width and height of the video such that it is a multiple of
> 32. However this does not seem to be the case. I am using the
> "h264dec" provided with TI's DVSDK. Is is possible to instruct the
> decoder to do this?
>
> Regards
> ~Sameer
>
> On Thu, Jan 7, 2010 at 2:49 PM, Vladimir Pantelic
> <p...@nt.tu-darmstadt.de> wrote:
>> 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
>>
>
_______________________________________________
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