Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 years ago
ami_stuff
3950376b8b
Support fourcc YV24.
...
Fixes ticket #306 .
14 years ago
Carl Eugen Hoyos
dec126a932
Fix internal buffer size for 2bpp and 4bpp raw video.
14 years ago
Carl Eugen Hoyos
3713cf11c6
Fix linesize for some rawvideo samples with odd width.
14 years ago
ami_stuff
90d475a9e7
Support fourcc YV16 (ticket 307).
14 years ago
ami_stuff
67e7dc5404
rawdec: Fix decoding of QT WRAW files.
...
From some tests it results that:
1. All of the AVI/MOV WRAW files need to be flipped.
2. MOV WRAW files need to use AVI color modes.
3. Assigning PAL8 mode by default to WRAW codec is not correct.
14 years ago
Stefano Sabatini
50fee0fc8b
rawdec: fail in case of unknow pixel format
14 years ago
Carl Eugen Hoyos
701012d676
Fix 32bit rawvideo in avi on big-endian.
14 years ago
ami_stuff
040e1c67ed
rawdec: fix decoding of QT WRAW files
...
Fix decoding of QT WRAW files.
From some tests it results that:
1. all of the AVI/MOV WRAW files (at least from the link posted
to the trac ticket #108 ) need to be flipped
2. mov WRAW files need to use AVI color modes
3. assigning PAL8 mode by default to WRAW codec is not correct
Fix decoding of file CarltonMovie2.mov, fix trac issue #108 .
14 years ago
Michael Niedermayer
9763420bcc
rawdec: Allow overriding top field first.
...
Iam not sure this is the best way to implement it, but its the simplest
and keeps the code seperate from the application. Keeping ffmpeg.c
simple and not requireing user apps to duplicate this code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
ami_stuff
85eedcf6ff
Support decoding of 1bpp rawvideo in avi (ticket 205).
14 years ago
ami_stuff
0eba7fc293
Support decoding of 2bpp rawvideo in avi (ticket 206).
14 years ago
Stefano Sabatini
27614b1217
rawdec: propagate pict_type information to the output frame
14 years ago
ami_stuff
2bd12ee3c8
Support more QT 1bpp rawvideo files.
...
Fixes ticket #189 .
14 years ago
Stefano Sabatini
ce5e49b0c2
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Stefano Sabatini
1ba5727242
lavc: add a pkt_pos field to AVFrame
...
This is similar to what was done with pkt_pts. This simplifies the
operation of extracting the pos information from the AVPacket, and
allows further simplifications.
14 years ago
Kostya Shishkov
2d8591c27e
make containers pass palette change in AVPacket
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Michael Niedermayer
24009f3601
Make find_pix_fmt() non static
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
7ffe76e540
Merge libavcore into libavutil
...
Done to keep ABI compatible. Otherwise this is just silly
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Stefano Sabatini
e86c78836b
In the rawvideo decoder, set pkt_pts in the output frame.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 3c802cabba
)
14 years ago
Stefano Sabatini
3c802cabba
In the rawvideo decoder, set pkt_pts in the output frame.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
e7e2df27f8
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69
)
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
ed5d30d91c
Move internal function ff_set_systematic_pal() to libavcore, and
...
rename it ff_set_systematic_pal2().
Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alexander Strange
1bb56bdb41
rawdec: Properly pass reordered_opaque through the decoder
...
Originally committed as revision 25261 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
b641982b23
rawdec: ensure that there is always a valid palette for formats that
...
should have one like gray8 etc.
Originally committed as revision 25190 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
2efcde73fc
rawdec: only allocate a full-frame size buffer if it actually will
...
be used, place palette buffer in the context to simplify this.
Originally committed as revision 25163 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tomas Härdin
c1bdc9300b
avcodec.h: Clarify AVCodecContext::pix_fmt documentation since its value may be set by the demuxer
...
rawdec.c: Only perform bits_per_coded_sample -> pix_fmt guesswork if pix_fmt hasn't been set
Originally committed as revision 23561 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
de51f22d85
fix rgb444 support in avi.
...
Originally committed as revision 23503 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6a2c9b8bcb
Rename pixelFormatBpsAVI to pix_fmt_bps_avi and pixelFormatBpsMOV to
...
pix_fmt_bps_mov.
The new names are consistent with the predominant FFmpeg style.
Originally committed as revision 23244 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1beff414a2
Rename findPixelFormat() to find_pix_fmt().
...
Less ugly and more consistent with the FFmpeg predominant style.
Originally committed as revision 23243 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6531b5c9f4
Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.
...
The new name is shorter and consistent with the FFmpeg style.
Originally committed as revision 23206 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
19a00c5eb2
avi bgr24 padding fix.
...
Fixes issue1901
Originally committed as revision 22997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
36cbdc9539
Fix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).
...
Originally committed as revision 21617 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
864a074213
Correctly decode some Avid AV1x samples, fixes issue 1684.
...
Originally committed as revision 21241 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
c78dfcdaf4
Do not assign codec_tag to pix_fmt in rawdec.c, but in raw.c
...
Originally committed as revision 21218 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0941ee0fa6
Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.
...
Originally committed as revision 21154 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
6698d13998
Cosmetics: Fix indentation and comment after r21027.
...
Originally committed as revision 21028 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
4235c98e57
Support decoding raw 2bpp in mov, fixes issue 1528.
...
Originally committed as revision 21027 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0a1e15109a
Improve readability of 4bpp raw decoder and prepare for supporting 2bpp.
...
Originally committed as revision 21026 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
f27fd36231
Fix colourspace for 16 bit raw video in mov, fixes issue 1527 on big-endian.
...
Originally committed as revision 20985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
e1bd945b1d
Support raw black&white in mov, fixes issue 1654.
...
Originally committed as revision 20984 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
484d146416
Use correct pixfmt for 32 bit raw in mov also on big-endian, fixes issue 1630.
...
Originally committed as revision 20962 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c522b4e94e
Simplify: use FFSWAP
...
Originally committed as revision 20222 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
fc3fc0293d
Add new FOURCC (0x0003) for raw DIB video, set flip flag accordingly.
...
Fixes a few AVI files from what is probably a mobile phone video camera.
Originally committed as revision 19172 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago