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
Diego Biurrun
cb39768960
Add long_name for Xxan codec.
...
Originally committed as revision 20900 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
0080402d36
Improve handling allocated buffers in Xan decoder
...
Originally committed as revision 20899 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
2628f515fe
cosmetics: reindent a bit
...
Originally committed as revision 20898 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
4a49ab77c6
Remove unnecessary calls to avcodec_check_dimensions, the check is already
...
done at a higher level.
Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
5333450ce6
Use memcpy to copy till end of line in one go instead of copying pixel by pixel
...
in xan_wc3_output_pixel_run and xan_wc3_copy_pixel_run
Originally committed as revision 19774 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
64b8e620cb
Slightly simplify detection of end of compressed data in xan_unpack
...
Originally committed as revision 19772 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
f63f689e10
Avoid code duplication in xan_unpack for the final memcpy.
...
Originally committed as revision 18608 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
d7670f2827
Use sign_extend function instead of reimplementing it.
...
Originally committed as revision 18599 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
e62f622193
Remove a useless "& 0xF"
...
Originally committed as revision 18598 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
977d813447
Use / and % operators instead of reimplementing them with a loop.
...
Originally committed as revision 18597 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b1e309865f
Change buffer check to avoid an unlikely pointer arithmetic overflow.
...
Originally committed as revision 18596 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
be50938073
Simplify xan_huffman_decode by using get_bits
...
Originally committed as revision 18595 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
e5986d0427
Cosmetics to improve xan_unpack readability
...
Originally committed as revision 18590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
16cc5a738c
Fix buffer size check for xan_unpack which was broken by r18586
...
Originally committed as revision 18589 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c644665f42
Some more simplifications of xan_unpack
...
Originally committed as revision 18588 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
455fdd2f8c
Reindent xan_unpack code
...
Originally committed as revision 18587 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
948f60fa24
Avoid some code duplication in xan_unpack
...
Originally committed as revision 18586 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
59bd7f23e8
Increase buffer padding to avoid most space checks in xan_unpack
...
Originally committed as revision 18584 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4b96f43fe1
Change buffer size checks to avoid the very unlikely overflow case.
...
Originally committed as revision 18576 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5e12701c5c
Remove a pointless right-shift in xan decoder.
...
Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9126aea528
Replace bytecopy with the equivalent but faster av_memcpy_backptr.
...
Ca. 10% faster xan_unpack on x86_64 decoding of SC_32-part.MVE
Originally committed as revision 18572 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
44c9efcb57
Use memcpy instead of the very inefficient bytecopy where both are correct
...
(i.e. no overlap of src and dst is possible).
Originally committed as revision 18569 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
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
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 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
Mike Melanson
282ee4e766
fix the WC3 Xan decoder by correcting the frame accounting logic
...
Originally committed as revision 12326 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9f5bd89506
const
...
Originally committed as revision 11799 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c67102f902
const
...
Originally committed as revision 11796 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
2c124cb65c
Use AV_xx throughout libavcodec
...
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5a6a6cc7dc
Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.
...
Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
587d07227e
Remove superfluous setting of has_b_frames in codecs without B-frames.
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
fe0372296a
typos
...
Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Mike Melanson
ca16618b01
tinfoil patch: no array is written to in bulk before counts are
...
validated; do not free frames that are not allocated; removed all of the
output modes that no one uses and only PAL8 remains
Originally committed as revision 4517 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Mike Melanson
3a278992bd
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
...
MKTAG/MKBETAG
Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michel Bardiaux
9b87956678
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
2a2bbcb05f
revised palette API, courtesy of Roberto Togni (rtogni at freemail.it)
...
Originally committed as revision 2451 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
42e96409d3
MACRO-ize a bunch of redundant code blocks; fix 16-bit RGB modes (it's
...
RGB not RGG)
Originally committed as revision 2293 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
afb8d3f80d
change pixel identifier conflict with AltiVec headers (patch courtesy of
...
Magnus Damm <damm at opensource.se>)
Originally committed as revision 2272 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago