[FFmpeg-soc] [soc]: r769 - in jpeg2000: checkout.sh ffmpeg.patch j2k.c j2k.h j2kenc.c

Diego Biurrun diego at biurrun.de
Tue Aug 14 15:39:50 CEST 2007


On Tue, Aug 14, 2007 at 01:03:03PM +0200, k.nowosad wrote:
> 
> Log:
> moved common functions for encoder and decoder into j2k.c
> 
> Added:
>    jpeg2000/j2k.c
> Modified:
>    jpeg2000/checkout.sh
>    jpeg2000/ffmpeg.patch
>    jpeg2000/j2k.h
>    jpeg2000/j2kenc.c

j2k.c should have been created with svn copy.

> --- jpeg2000/ffmpeg.patch	(original)
> +++ jpeg2000/ffmpeg.patch	Tue Aug 14 13:03:03 2007
> @@ -2,11 +2,12 @@ Index: Makefile
>   OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
> -+OBJS-$(CONFIG_JPEG2000_ENCODER)        += j2kenc.o aecenc.o
> ++OBJS-$(CONFIG_JPEG2000_ENCODER)        += j2kenc.o aecenc.o j2k.o
> ++OBJS-$(CONFIG_JPEG2000_DECODER)        += j2kdec.o aecdec.o j2k.o

That's not alphabetical order.

> --- (empty file)
> +++ jpeg2000/j2k.c	Tue Aug 14 13:03:03 2007
> @@ -0,0 +1,213 @@
> +/*
> + * JPEG2000 encoder and decoder
> + * Copyright (c) 2007 Kamil Nowosad
> + */
> +
> +/**
> + * JPEG2000 image encoder and decoder common functions
> + * @file j2k.c
> + * @author Kamil Nowosad
> + */

You should write common functions at the top of the file as well.

Diego



More information about the FFmpeg-soc mailing list