Carl Eugen Hoyos
8f45bd1433
libopenjpeg: Support rgba64 encoding
11 years ago
Vittorio Giovara
1ea9fa15c3
libopenjpeg: K&R formatting cosmetics
11 years ago
Michael Niedermayer
9b68538fdd
avcodec/libopenjpegenc: Replace av_frame_alloc() and av_frame_ref() by av_frame_clone()
...
Simplifies code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
52d2bcc786
avcodec/libopenjpegenc: Check the return code of av_frame_ref()
...
Fixes CID1163842
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
97af2faaba
lavc/libopenjpegenc: check av_frame_alloc() failure.
11 years ago
Michael Niedermayer
1458f0647c
avcodec/libopenjpegenc: drop dependancy on sizeof(AVFrame)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
5b9c3b4505
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
11 years ago
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Michael Bradshaw
f46a3e3d6e
libopenjpeg: fix encoding of odd sized subsampled images
...
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Bradshaw
3cfd4df8e7
libopenjpeg: init and close properly; don't config during encode
...
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
clook
4443213d2e
avcodec/libopenjpegen: XYZ 12 bit support for libopenjpeg encoder
12 years ago
Sean McGovern
bf18abb2eb
Rename "AVClass class" as "AVClass component_class" for external codecs.
...
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>
12 years ago
Michaël Cinquin
60f06f986f
libopenjpegenc: make dci compliant j2c
...
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
12 years ago
Michael Bradshaw
28f36dce3e
libopenjpegenc: simplify switch statement
...
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
12 years ago
Michael Bradshaw
c58c67398d
libopenjpegenc: add support for pix fmt gbrp (8-16 bit)
...
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
12 years ago
Johannes Nixdorf
e749b5dd98
configure: consider using /usr/include/openjpeg-1.5 when searching for openjpeg
...
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>
12 years ago
Carl Eugen Hoyos
b5d496f3a4
Support new transparency colour-spaces with libopenjpeg.
...
Reviewed-by: Michael Bradshaw
12 years ago
Michael Bradshaw
c430cb49fd
Update my email address
...
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
50ba57e0ce
lavc: do not use av_pix_fmt_descriptors directly.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Martin Storsjö
e6153f173a
avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
124134e424
avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Piotr Bandurski
53241b5dc7
lavc: add missing new line to some messages
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
7ebe3962f3
Add missing includes for code relying on external libraries
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Michael Bradshaw
043c75a989
libopenjpegenc: set numresolution max to INT_MAX
...
OpenJPEG doesn't have a max lowres limit, so don't enforce an arbitrary one.
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
51a5ddfa01
libopenjpeg: K&R formatting cosmetics
13 years ago
Michael Bradshaw
453c02f971
libopenjpeg: introduce encoding support
...
Based on FFmpeg version from
commit 713a7854e0
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Michael Bradshaw
713a7854e0
libopenjpegenc: cosmetics: reorder pix_fmts
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
13 years ago
Michael Bradshaw
7544ef7805
libopenjpegenc: add support for YUV420/422/444P12/14
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
13 years ago
Paul B Mahol
f06269dda5
cosmetics: align more codecs declarations
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1ef5561a66
libopenjpeg: YUVA422P and YUVA444P support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
b0f6df28de
libopenjpeg: YUV410P and YUV411P support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
3f26a87488
libopenjpegenc: remove leftover because older version of patch being applied
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
67d5fcc989
libopenjpegenc: allow changing encoding parameters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
dec8eb6b29
libopenjpegenc: merge common code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
8e45005a84
libopenjpegenc: use pix_fmt descriptor to get bpp
...
This will also simplify adding support for RGB565 and similar.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
06b0c6a655
libopenjpegenc: use pix_fmt descriptor to get numcomps
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
b222c28ee8
libopenjpegenc: switch to encode2()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
a5b823368a
libopenjpeg: make .long_name usefull
...
Fixes following strange output:
DEV D libopenjpeg OpenJPEG based JPEG 2000 encoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
de07355026
Changed indexing in libopenjpeg to shorten lines
13 years ago
Carl Eugen Hoyos
df42dd7323
Support gray8a encoding with libopenjpeg.
...
Reviewed-by: Michael Bradshaw
Reviewed-by: Paul B Mahol
13 years ago
Michael Bradshaw
56af084cb5
libopenjpegenc: Remove two redundant function parameters.
13 years ago
Michael Bradshaw
a02694c926
libopenjpegenc: Simplify gray encoding.
13 years ago
Michael Bradshaw
0abe25aa7b
libopenjpegenc: Add error messages.
13 years ago
Michael Bradshaw
ee33eb40fc
libopenjpegenc: Rename four conversion functions.
13 years ago
Carl Eugen Hoyos
36397ea1c7
RGBA64 encoding with libopenjpeg.
...
Reviewed-by: Michael Bradshaw
13 years ago
Carl Eugen Hoyos
ffd1017fb8
Gray16 encoding with libopenjpeg.
...
Reviewed-by: Michael Bradshaw
13 years ago
Carl Eugen Hoyos
4093d130d1
Support encoding RGB48 with libopenjpeg.
...
Reviewed-by: Michael Bradshaw
13 years ago
Carl Eugen Hoyos
ef611095f0
Add missing PIX_FMT_NONE to libopenjpegenc
...
fixes ticket #813
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago