[FFmpeg-devel] [PATCH] Split raw.c

Panagiotis Issaris takis.issaris
Mon May 21 17:35:21 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The attached patch splits raw.c into several parts. The pixel format
related functions are split into a separate rawpixfmt.[ch] pair and the
encoder and decoder are put into separate files. Three arrays and a
function had to be made global and were prefixed with ff_.

rawpixfmt.c is compiled unconditionally, rawdec.c en rawenc.c are only
compiled when needed.

 Makefile    |    4 -
 raw.h       |  200
+----------------------------------------------------------
 rawdec.c    |  127 +++----------------------------------
 rawenc.c    |  178 ----------------------------------------------------
 rawpixfmt.c |  148 ++-----------------------------------------
 rawpixfmt.h |  202
++----------------------------------------------------------
 6 files changed, 39 insertions(+), 820 deletions(-)

With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGUbw49kOxLuzz4CkRAn85AJ92OrsK3lokci2pnoLgZDnxUEwIiACeI7jW
IdRiRjH/FcCx1e96lmnqz2Q=
=EHVy
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20070521T171920-ffmpeg-optional_rawvideo.diff
Type: text/x-patch
Size: 31066 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070521/ec61cd1a/attachment.bin>



More information about the ffmpeg-devel mailing list