Luca Barbato
ef3a3519c1
rawdec: Replace avpicture functions with imgutils
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Anton Khirnov
4a0f665143
libavcodec: when decoding, copy replaygain side data to decoded frames
11 years ago
Anton Khirnov
da6506c607
lavc: move AVCodecContext.pkt to AVCodecInternal
...
It's a private field, not meant to be accessed from outside lavc.
11 years ago
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Anton Khirnov
e6c4ac7b5f
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
12 years ago
Nicolas George
be40d6cc2b
rawdec: fix a typo -- || instead of |
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
12 years ago
Anton Khirnov
aec50f79e7
rawdec: use AVPALETTE_SIZE instead of magic constants.
12 years ago
Anton Khirnov
0ce033f888
rawdec: cosmetics, reformat
12 years ago
Anton Khirnov
df9b956751
lavc: fix decode_frame() third parameter semantics for video decoders
...
It's got_frame, not data size
12 years ago
Diego Biurrun
52d113ee06
avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2()
...
Functions used across libraries should have avpriv_ and not ff_ prefixes.
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
Diego Biurrun
0ae3ba8daa
avcodec: Drop long-deprecated imgconvert.h header
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Piotr Bandurski
835a893bcb
rawdec: Support fourccs YV16 and YV24
13 years ago
Ronald S. Bultje
98df2e2414
raw: forward avpicture_fill() error code in raw_decode().
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Ronald S. Bultje
cc5dd632ce
raw: move buffer size check up.
...
This way, it protects against overreads for 4bpp/2bpp content also.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Diego Biurrun
562b6c744a
Remove unnecessary AVFrame pointer casts.
13 years ago
Anton Khirnov
38d5533228
pixdesc: mark pseudopaletted formats with a special flag.
...
This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout().
13 years ago
Stefano Sabatini
28b4af8e38
rawdec: propagate pict_type information to the output frame
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Piotr Bandurski
d3a5c26986
rawdec: Support more QT 1bpp rawvideo files.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
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