Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 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
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
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
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
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ò
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
Michael Niedermayer
71b0654cc6
Support YVU9 AVI 4cc.
...
Fixes issue1068.
Originally committed as revision 18952 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7574dc4c37
update comment for rgb 16 bit in .mov
...
Originally committed as revision 18777 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
3dd2f87e61
Map MOV fourcc YUV2 correctly to PIX_FMT_YUYV422.
...
Patch by Jai Menon
Originally committed as revision 18316 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e641f320bd
indent
...
Originally committed as revision 17481 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
31f2616db8
Fix raw rgb/bgr vertical flip in avi based on info from http://www.fourcc.org/fccbihgt.php .
...
partially fixes issue862.
Originally committed as revision 17475 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
95240bf3e3
Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
...
Originally committed as revision 15611 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
dd1c8f3e6e
Bump Major version, this commit is almost just renaming bits_per_sample to
...
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!
Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
162d4fc99d
Add long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
48026fbef6
1000l parenthesis
...
Originally committed as revision 12274 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
83f02883df
code is ok for 4bpp in mov too, fix 16grey.mov
...
Originally committed as revision 12273 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
da2036c54e
const
...
Originally committed as revision 11738 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
611e7bc41b
support raw 4bpp avi
...
fixes dance1.avi
closes issue40
Originally committed as revision 9828 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
3a763f0f0b
split rawvideo encoder and decoder in their own files
...
Originally committed as revision 9560 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago