[XviD-devel] xvid decoder for help

Sam Lerouge sam.lerouge at ugent.be
Fri Sep 16 09:31:43 CEST 2005


Hello,

About two years ago, I wanted to do the same, and I didn't have to modify 
much of the xvid_decraw.c code. I suggest you take a look at the following 
threads on the XViD forum:
- 
http://www.xvid.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=1482&highlight=
- 
http://www.xvid.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=1640&highlight=

Best regards,

Sam Lerouge
Ghent University - IBBT, Multimedia Lab

----- Original Message ----- 
From: "xjb" <Rlancelot at sohu.com>
To: "xvid-devel" <xvid-devel at xvid.org>
Sent: Thursday, September 15, 2005 5:41 PM
Subject: [XviD-devel] xvid decoder for help


> xvid decoder problem
>
>
> When I decode the encoded bitstream by xvidcore-1.0.3 using the 
> xvid_decraw.exe,it always outputs files in tga or png format.
>
> But sometimes I need to output the YUV sequeces just as the original 
> YUV420 test sequences such as Akiyo_qcif etc,how can I achieves this?
>
> In xvid_decraw.c function main() there is an buffer point out_buffer,does 
> it points to decoded frame buffer?If this is the fact,then how does the 
> data organized in frame buffer?
>
> For YUV420 format frame,it takes only 
> XDIM*YDIM(Y)+XDIM*YDIM/4(U)+XDIM*YDIM/4(V) bytes,but the main()
> allocates XDIM*YDIM*4 for frame buffer pointed by out_buffer.
>
> How can I abstract the Y U V data from the out_buffer pointing frame 
> buffer?
>
> Please give me some help,thanks in advance! 



More information about the XviD-devel mailing list