Doom9's Forum

Doom9's Forum (https://forum.doom9.org/index.php)
-   MPEG-4 ASP (https://forum.doom9.org/forumdisplay.php?f=52)
-   -   why xvid_decoder not export yuv file (https://forum.doom9.org/showthread.php?t=77676)

tim__huang 8th June 2004 07:50

why xvid_decoder not export yuv file
 
in xvid_decraw.c,xvid_decraw call dec_main to decoder one frame and get one originality image,

static int
dec_main(unsigned char *istream,
unsigned char *ostream,
int istream_size,
xvid_dec_stats_t *xvid_dec_stats)

and than it save in file used function write_image
static int write_image(char *prefix, unsigned char *image)

and we can see that write_image only save image as png pgm or tga file format .

in the function write_image,the second param ,image,is yuv file format?and why it save it as yuv file format?


All times are GMT +1. The time now is 09:24.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.