- 14 Oct, 2016 2 commits
-
-
Andreas Cadhalpun authored
The calculation of width/height should round up, not round down to prevent setting width or height to 0. Also image->comps[compno].w is unsigned (at least in openjpeg2), so the calculation could silently wrap around without the explicit cast to int. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
openjpeg 2 sets the data pointers of the image components to NULL, causing segfaults if the image is reused. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 13 Oct, 2016 1 commit
-
-
Andreas Cadhalpun authored
Use check_lib2 to test the header together with the function. This is necessary, because '-DOPJ_STATIC' changes what the included header does. Also add '-DOPJ_STATIC' to CPPFLAGS, so that it isn't necessary to hardcode this in libavcodec/libopenjpeg{dec,enc}.c. Finally, check for non-static openjpeg 2.1, too. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 26 Jun, 2016 1 commit
-
-
Michael Niedermayer authored
Fixes issues with libopenjpeg 2.1 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 25 Mar, 2016 1 commit
-
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
- 25 Dec, 2015 1 commit
-
-
Michael Bradshaw authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 07 Sep, 2015 1 commit
-
-
Vittorio Giovara authored
The new fields can be accessed directly and are more intelligible. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 27 Jul, 2015 1 commit
-
-
Michael Niedermayer authored
This parameter can be used to inform the allocation code about how much downsizing might occur, and can be used to optimize how to allocate the packet Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 20 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Allocating coded_frame is what most encoders do anyway, so it makes sense to always allocate and free it in a single place. Moreover a lot of encoders freed the frame with av_freep() instead of the correct API av_frame_free(). This bring uniformity to encoder behaviour and prevents applications from erroneusly accessing this field when not allocated. Additionally this helps isolating encoders that export information with coded_frame, and heavily simplifies its deprecation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 02 Jun, 2015 2 commits
-
-
Andreas Cadhalpun authored
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
If opj_image_create fails to allocate an image it returns NULL, which causes a segmentation fault at 'img->x0 = 0'. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 02 Mar, 2015 1 commit
-
-
Clément Bœsch authored
-
- 14 Feb, 2015 1 commit
-
-
Diego Biurrun authored
-
- 02 Feb, 2015 2 commits
-
-
Jean First authored
lavc/libopenjpegenc: move opj_create_compress, opj_cio_open and opj_set_event_mgr to libopenjpeg_encode_frame libopenjpegenc crashes with "pointer being freed was not allocated" when threading is enabled with: ffmpeg -i tests/vsynth1/01.pgm -vcodec libopenjpeg file.j2k this appears to be a bug in libopenjpeg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Jean First authored
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 01 Feb, 2015 1 commit
-
-
Carl Eugen Hoyos authored
-
- 23 Jan, 2015 1 commit
-
-
Jean First authored
if the openjpeg parameter tcp_rates is not 0 ( using the ffmpeg compression_level option ) every 2nd image per thread is badly encoded. By moving the opj_setup_encoder function from libopenjpeg_encode_init to libopenjpeg_encode_frame this can be prevented. This fixes ticket #3754. Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Aug, 2014 1 commit
-
-
Vittorio Giovara authored
The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
-
- 03 Jun, 2014 1 commit
-
-
Dave Rice authored
This gives a >50% speed up when encoding with libopenjpeg. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 18 Mar, 2014 2 commits
-
-
Carl Eugen Hoyos authored
-
Vittorio Giovara authored
-
- 24 Jan, 2014 2 commits
-
-
Michael Niedermayer authored
Simplifies code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes CID1163842 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 30 Dec, 2013 1 commit
-
-
Nicolas George authored
-
- 17 Dec, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 16 Nov, 2013 1 commit
-
-
Anton Khirnov authored
-
- 03 Oct, 2013 1 commit
-
-
Diego Biurrun authored
-
- 28 Sep, 2013 1 commit
-
-
Michael Bradshaw authored
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 23 Sep, 2013 1 commit
-
-
Michael Bradshaw authored
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 22 Jul, 2013 1 commit
-
-
clook authored
-
- 04 Jul, 2013 1 commit
-
-
Sean McGovern authored
The aix header math.h defines "extern int class()" for C. This fixes compilation on aix with external libraries enabled. Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
-
- 04 Feb, 2013 1 commit
-
-
Michaël Cinquin authored
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
-
- 31 Jan, 2013 2 commits
-
-
Michael Bradshaw authored
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
-
Michael Bradshaw authored
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
-
- 22 Dec, 2012 1 commit
-
-
Johannes Nixdorf authored
Beginning with version 1.5.1 openjpeg defaults to install its headers to /usr/include/openjpeg-${major}.${minor} instead of /usr/include without providing a compatibility symlink making the old test fail. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Nov, 2012 1 commit
-
-
Carl Eugen Hoyos authored
Reviewed-by: Michael Bradshaw
-
- 27 Oct, 2012 1 commit
-
-
Michael Bradshaw authored
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 12 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 04 Sep, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-