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
Daniel Kang
2843502ea4
Check for invalid decode op-codes, fixes issue 2522.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26295 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 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
Kostya Shishkov
da93766858
16-bit Interplay video does not need palette control
...
Originally committed as revision 20936 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
a69be798dc
Add missing opcodes for 16-bit Interplay Video decoding and finally enable it
...
Originally committed as revision 20934 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
dcfb0cad68
16-bit Interplay Video stores motion vector data at the end of frame,
...
so initialize data pointers for 16-bit variant and read motion vectors
as supposed in corresponding opcodes.
Originally committed as revision 20933 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
e09cdc7206
10l trocadero: forgot one case where picture linesize should be used
...
Originally committed as revision 20932 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
5b8ebb3f41
cosmetics: reindent and break long lines after last commits
...
Originally committed as revision 20931 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
5a8cf39e31
Add 16-bit image data handling (but not decoding yet) to Interplay Video
...
Originally committed as revision 20930 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
80fec3ffd0
Use frame linesize in Interplay Video block copying function
...
Originally committed as revision 20929 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
80ca19f766
Make CHECK_STREAM_PTR macro in Interplay Video decoder usable with
...
non-default pointers, it will be useful for checking motion values
data in 16-bit variant of this codec.
Originally committed as revision 20928 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
8badb23e22
Recognize 16-bit Interplay Video variant
...
Originally committed as revision 20927 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
9156a5ad72
Change main loop in Interplay Video decoder, so variables x and y really mean
...
coordinates, not offsets.
Originally committed as revision 20926 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
0fb669ae9e
cosmetics: reindent
...
Originally committed as revision 20919 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
6000439ca4
Simplify ipvideo_decode_opcodes by using get_bits, this might be slower
...
but is not performance-critical anyway.
Originally committed as revision 18593 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
28ab90edde
Remove unused code_counts array from interplavideo.c.
...
Originally committed as revision 18592 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
Reimar Döffinger
8514f8427f
Fix ipvideo_decode_block_opcode_0xD again.
...
Originally committed as revision 18289 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
dd9630e40f
Cosmetics: remove some pointless {}
...
Originally committed as revision 18284 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
993a442315
Slightly simplify ipvideo_decode_block_opcode_0xD
...
Originally committed as revision 18283 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
49a20ffabc
One more simplification for ipvideo_decode_block_opcode_0xA
...
Originally committed as revision 18282 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5e8b83ac3b
Slightly simplify first part of ipvideo_decode_block_opcode_0xA,
...
hopefully allows for further simplifications in the future.
Originally committed as revision 18280 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
283531a81e
Make ipvideo_decode_block_opcode_0x8 a lot simpler by decoding the pixels
...
in a more natural order.
Originally committed as revision 18277 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4472ad2cc4
Fix a too small CHECK_STREAM_PTR value in interplayvideo.c
...
Originally committed as revision 18276 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
f02bd7e49c
Avoid the last two uses of bitmasks in interplayvideo
...
Originally committed as revision 18272 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3f300d7e25
100l, fix FATE test broken by r18264
...
Originally committed as revision 18271 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9aaacc246a
Reindent
...
Originally committed as revision 18270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
1548839e51
Deduplicate code by moving it outside the if/else
...
Originally committed as revision 18269 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
268a618ba6
Rearrange how the different cases are checked to reduce the number of
...
comparisons and allow further simplifications.
Originally committed as revision 18268 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
0448b78b97
Avoid "reloading" code by using a 64 bit type for the flags and loading all at once.
...
Originally committed as revision 18266 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3766b9e0a8
Remove now pointless temporary pix variables.
...
Originally committed as revision 18265 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
0312b77ccd
Slightly simplify part of ipvideo_decode_block_opcode_0x8
...
Originally committed as revision 18264 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
51e350284d
Fix indentation
...
Originally committed as revision 18263 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9be06a0ed1
Avoid code duplication by using ?: and array indexing instead of if..else
...
Originally committed as revision 18262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
32eea24e9a
Prettify some assignments
...
Originally committed as revision 18261 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
e3114eb1bb
Get rid of some pointless bitmask/shifter variables in interplayvideo.c
...
Originally committed as revision 18260 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
aadf88119e
Merge the 3 COPY_FROM_* macros with lots of duplicated code into a single
...
copy_from function.
Originally committed as revision 18225 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
a1f6ffd44d
Change CHECK_STREAM_PTR macro to correctly handle the (extremely unlikely)
...
overflow case.
Originally committed as revision 18224 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3017d8e9d7
Simplify check for leftover bytes after decoding for interplayvideo.
...
Originally committed as revision 18223 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
49da3b7df2
Get rid of pointless "B" array in interplayvideo decoder.
...
Originally committed as revision 18222 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
03b269ddc2
Replace many tiny loops in the interplayvideo decoder by memset, memcpy
...
or initializers.
Originally committed as revision 18221 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fff6077917
Make ipvideo_decode_block array constant, compile-time initialized instead
...
of initializing it each time the decoder is initialized.
Originally committed as revision 18219 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
6d08f6c911
100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
...
instead of the 16x16 one. Seems to fix decoding on PPC.
Originally committed as revision 17808 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0ffbc258aa
Change a bunch of codec long_names to be more consistent and descriptive.
...
Originally committed as revision 17716 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
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
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 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