Diego Biurrun
daf8cf358a
avformat: Don't anonymously typedef structs
11 years ago
Michael Niedermayer
50bb9b87ab
avformat/img2enc: Use avio_closep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
63e62cfbe2
avformat/img2enc: Use localtime_r() for thread saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f5abd12c4d
avformat/img2enc: remove webp extension as we have a dedicated webp muxer
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Carl Eugen Hoyos
90d93eeb38
Allow .y as extension for image2.
12 years ago
Vittorio Giovara
e50f5d3cf9
Alias PIX image encoder and decoder
12 years ago
Jean First
6d78e852fb
img2: add j2c file extension
Some applications use the j2c extension for jpeg2000 codestream files.
14 years ago
Justin Ruggles
be7c323176
Add a libwebp encoder
12 years ago
Clément Bœsch
3bcd5c1e31
avformat/img2enc: simplify split planes extension selection.
12 years ago
Clément Bœsch
3c5e6e7635
avformat/img2enc: reindent after previous commit.
12 years ago
Clément Bœsch
f70db22999
avformat/image2: allow muxing gif files.
Fixes Ticket #2936 .
12 years ago
Michael Niedermayer
49515cb840
avformat: remove duplicate includes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
7af7b45c38
lavf/image2: extend start_number range to accept zero
Address trac ticket #2884 .
12 years ago
Ramiro Polla
454c89dde3
img2enc: add option to use strftime() for filename
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
3da726f188
lavf/img2enc: use FF_CEIL_RSHIFT().
13 years ago
Michael Niedermayer
c7c71f95f8
replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
00a61ac755
Recognize j2k as file suffix for the image2 muxer.
13 years ago
Anton Khirnov
9e6b5e61a0
img2enc: add an option for overwriting one file with subsequent images
Based on a patch by Michael Niedermayer <michaelni@gmx.at>.
13 years ago
Stefano Sabatini
1ec3324f00
lavf/img2enc: extend current options documentation
13 years ago
Michael Niedermayer
165be91c2b
img2enc: fix typo
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
rogerdpack
d828bae9d2
better failure message for img2enc
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
cc7d5cfeec
img2: K&R formatting cosmetics
Also introduce local img_ namespace to simplify debugging.
13 years ago
Paul B Mahol
f5f29910dd
img2enc: remove dead code
Nothing in lavc sets extradata for such codec and this is wrong place
for it anyway.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
2a0dfc51ea
img2enc: support 16bit per sample yuv in split planes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2c87565147
img2enc: support storing alpha planes too in split plane mode
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
db012e161e
img2enc: Fix yuva with yuv split planes.
Previously the chroma planes where corrupted in this case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
67ee2d2f6d
img2enc: check pix_fmt for split planes mode.
Found-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6dfcc7abdd
img2enc: ensure that the codec is rawvideo for split planes mode.
Found-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
cd559bb49a
lavc: add xface image decoder and encoder
Based on libcompface code by James Ashton <James.Ashton@anu.edu.au>, and
relicensed to LGPL with the author's consent.
13 years ago
Stefano Sabatini
5d1203f063
avio: flush the internal buffer in avio_close()
This is consistent with stdio, and thus what people would naturally
expect.
13 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>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Mashiat Sarker Shakkhar
b5bce20cc3
image2: Add "start_number" private option to the muxer
This adds the capability to start counting file number from an arbitrary
integer.
This includes a few lines of trivial code from FFmpeg codebase.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Mashiat Sarker Shakkhar
f7595fb3b5
image2: Add "start_number" private option to the muxer
This adds the capability to start counting file number from an arbitrary
integer instead of always starting at 1.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
0afd8f12e9
avcodec: add XBM encoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Paul B Mahol
15b4b505c2
img2: split muxer and demuxer into separate files
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago