Maxim Poliakovski
594b54b51e
replacement Indeo 3 decoder
...
The new decoder is much smaller and has better code quality.
Cleanup and fixes courtesy of Kostya Shishkov.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
124e28847b
Remove some stray unnecessary ffmpeg references.
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
14 years ago
Stefano Sabatini
48df6a2415
indeo3: add out-of-buffer write check
...
Prevent out-of-buffer writes. In particular fix smclocki32.avi.1.1
crash, trac issue #114 , roundup issue #1482 .
14 years ago
Stefano Sabatini
7f58eb3c2b
indeo3: release buffer in indeo3_decode_end()
...
Fix leak.
14 years ago
Stefano Sabatini
5443812fbc
indeo3: remove unnecessary includes
14 years ago
Stefano Sabatini
a469c32478
indeo3: add @file doxy and a link to multimedia wiki documentation
14 years ago
Stefano Sabatini
01042d4123
lavc: set defaults in internal codec frames
...
This is required specifically for setting frame->format to -1,
otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading
the format from the output decoded frame will get misled.
In particular fix regressions occurring with the pending vsrc_buffer
patch.
14 years ago
Alex Converse
aab6374bbe
indeo3: Eliminate use of long.
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
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
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6ce9b4310c
Remove use of the deprecated function avcodec_check_dimensions(), use
...
av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 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
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
3aab27b459
Remove useless #include <unistd.h> from many files
...
Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4f76697b3e
Change av_free to av_freep
...
Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
16c8318513
Reallocate internal buffer when coded frame size changes.
...
Fixes out-of-bounds reads and writes with i32/smclocki32.avi.1.0 from issue 1240.
Originally committed as revision 19359 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
28bcc76ab7
Change iv_decode_frame to get AVCodecContext as argument, so that
...
avcodec_check_dimensions can be called with a proper context instead of NULL.
Originally committed as revision 19358 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7bbf3f2ca4
indeo3 decoder uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19090 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
Alex Converse
d42e44a0ef
Reindent after last commit
...
Originally committed as revision 17464 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
274aa1d02f
Some buffer checks for indeo3
...
Originally committed as revision 17462 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
a6cef9651d
Remove unneeded check.
...
Originally committed as revision 16803 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
a44cb89b0f
Fix an exploit in indeo by checking we are not writing out of the strip array.
...
Fixes issue 655
Originally committed as revision 16802 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
1238fa9fb8
indeo3: replace sizeof(struct ...) by sizeof(*var)
...
Originally committed as revision 16128 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bda4e3940a
Replace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.
...
Originally committed as revision 16099 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
2c4b482931
Rename some variables and add some comments to try to be a bit more clear.
...
Originally committed as revision 15510 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
b07e52a955
Fix indentation.
...
Originally committed as revision 15498 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
5fbec79197
Remove useless context variable.
...
Originally committed as revision 15495 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
963203361c
Merge declaration and assignment.
...
Originally committed as revision 15494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
21899717a3
Move iv_decode_frame function to remove a forward declaration.
...
Originally committed as revision 15488 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
950c0373fd
Remove useless lines.
...
Originally committed as revision 15487 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
6f427ccbeb
Reindent whole file.
...
Originally committed as revision 15486 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
e1a96237df
Indent.
...
Originally committed as revision 15480 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
f8be1206a6
Simplify iv_free_func().
...
Originally committed as revision 15479 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
ffc64ac061
Move allocated buffer out of YUV buffer structure.
...
Originally committed as revision 15478 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
c2db8a99a6
Remove useless initializations.
...
Originally committed as revision 15477 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
8b27f76bf8
Check allocations on init.
...
Originally committed as revision 15476 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
809a23a543
Remove useless test.
...
Originally committed as revision 15475 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
56d9b943d3
Cosmetics
...
Originally committed as revision 15474 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
68e9c68fdb
use uint8_t instead of unsigned char
...
Originally committed as revision 15473 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
e679560d9c
Corrector type fits in 8 bits.
...
Originally committed as revision 15472 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
2c3c87b8c4
Remove useless casts and use variable instead of its type in sizeof.
...
Originally committed as revision 15471 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
9fd88b2946
Change table types to uint8_t
...
Originally committed as revision 15470 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago