Diego Biurrun
a25dac976a
Use bitstream_init8() where appropriate
8 years ago
Alexandra Hájková
bd6496fa07
interplayvideo: Convert to the new bitstream reader
8 years ago
Diego Biurrun
b668662939
get_bits: Move BITSTREAM_READER_LE definition before all relevant #includes
...
This avoids the danger that get_bits.h might get indirectly #included before
BITSTREAM_READER_LE is defined.
Also sort headers into canonical order where appropriate.
9 years ago
Vittorio Giovara
41ed7ab45f
cosmetics: Fix spelling mistakes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Vittorio Giovara
def97856de
lavc: AV-prefix all codec capabilities
...
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
6a85dfc830
lavc: Replace av_dlog and tprintf with internal macros
10 years ago
Gabriel Dume
f929ab0569
cosmetics: Write NULL pointer equality checks more compactly
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Ronald S. Bultje
8071264f21
interplayvideo: Use hpeldsp instead of dsputil for half-pel functions
...
This makes interplayvideo independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
12 years ago
Anton Khirnov
3d973e461b
interplayvideo: remove a static variable.
12 years ago
Anton Khirnov
089b3d6815
interplayvideo: return meaningful error codes.
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
Anton Khirnov
594d4d5df3
lavc: add a wrapper for AVCodecContext.get_buffer().
...
It will be useful in the upcoming transition to refcounted AVFrames.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Diego Biurrun
9676d8eb67
interplayvideo: fix av_dlog parameter type mismatch
...
libavcodec/interplayvideo.c:909:13: warning: format ‘%p’ expects argument of type ‘void *’, but argument 7 has type ‘GetByteContext’ [-Wformat]
13 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
Ronald S. Bultje
f31a68e78c
interplayvideo: convert to bytestream2.
13 years ago
Martin Storsjö
9cf0841ef3
dsputil: Add ff_ prefix to the dsputil*_init* functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
17aa02b9a1
interplayvideo: Handle changed video dimensions on the fly
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
aaf47bcde7
Drop ALT_ prefix from BITSTREAM_READER_LE name.
...
The prefix is a historic remnant that probably meant "alternative".
Now that the A32 bitstream reader has been dropped it makes no sense anymore.
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
Diego Biurrun
df96f22d8f
Replace custom debug output functions by av_dlog().
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
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