Ronald S. Bultje
18b6a69ce9
Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
...
This reverts commit f8bed30d8b
. The reason
for this is that the overlap filter, which runs after IDCT, should run
on unclamped values, and thus IDCT and put_pixels() cannot be merged if
we want to attempt to be bitexact.
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
Alberto Delmás
768c525114
Parse sprite data for WMVP and WVP2, and decode sprites for the latter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Ronald S. Bultje
72452cc475
vc1: warn for unimplemented pan-scan feature.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
f8bed30d8b
VC1: merge idct8x8, coeff adjustments and put_pixels.
...
Merging these functions allows merging some loops, which makes the
results (particularly after SIMD optimizations) much faster.
14 years ago
Ronald S. Bultje
12802ec060
dsputil: move VC1-specific stuff into VC1DSPContext.
14 years ago
Stefan Kost
ae2104791f
logging: downgrade recoverable errors to warnings
...
In all 3 cases, the decoding continues and thus a warning would be sufficient.
Helps application that catch them with own log handers to handle them
accordingly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Kostya Shishkov
cba322d76d
Make WMV3 decoder attempt to decode WMVP as well
...
Originally committed as revision 25209 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Kostya Shishkov
10f93363b7
RES_SM in WMV3 is really two flags, so split it in decoder
...
Originally committed as revision 25208 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Kostya Shishkov
42ff9d7a58
Make WMV3 decoder print more errors when decoding beta WMV9 files.
...
As a side effect it will also decode a lot of P-frames from those.
Originally committed as revision 24161 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
Kostya Shishkov
9e553f7acc
Print error message when true interlaced VC-1 frames are encountered
...
to inform user why decoder produces no output.
Originally committed as revision 20196 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
4f717c69ed
idct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.
...
Includes mmx2 asm for the various functions.
Note that the actual idct still does not have an x86 SIMD implemtation.
For wmv3 files using regular idct, the decoder just falls back to simple_idct,
since simple_idct_dc doesn't exist (yet).
Originally committed as revision 19204 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
41faa87886
Fix typo in vc1.c, make capitalization in warning/error messages more consistent.
...
Originally committed as revision 19203 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b761659bef
Split decoder-specific code off from vc1.c into vc1dec.c and keep code
...
shared between decoder and parser in vc1.c.
Originally committed as revision 19152 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
35b2c65756
vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19111 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
87e302bfd8
remove unused hack which set AVCodecContext frame_number to pic timestamp
...
Originally committed as revision 18988 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2d05bc8641
set pict_type in VC-1 parser, fix some timestamps problems
...
Originally committed as revision 18987 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
ebcf3b742b
Ensure that we don't read from invalid memory with B-frame qpel
...
Originally committed as revision 18839 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
10c773c12f
Remove dead assignments found by CSA
...
Originally committed as revision 18730 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b750fb6945
Display dimensions should not affect the real size of coded frame, thus set
...
only avctx->{width,height} and don't touch coded_{width,height} when parsing
them. This fixes the case when coded and display dimensions differ by more
than one macroblock.
Originally committed as revision 18665 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
21fce71fd1
Switch VLC tables in WMV3/VC-1 decoder to new static init method
...
Originally committed as revision 18658 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
f7cf12b209
Set flag after VC-1 VLCs are initialized to avoid race condition
...
Originally committed as revision 18639 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
346802aa99
Remove some useless assignments and variables found by Clang
...
Originally committed as revision 18638 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
2d08f9ea54
VC1 loop filter uses the frame quantizer not the mb quantizer
...
Originally committed as revision 18534 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
3992526b3c
Split VC1 loop filter into separate functions for h/v and size
...
Originally committed as revision 18521 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
0e58865d6e
Move VC1 loop filter to DSPContext
...
Originally committed as revision 18520 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
8013da7364
VC1: add and use avg_no_rnd chroma MC functions
...
Originally committed as revision 18518 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
c374691b28
Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only
...
Originally committed as revision 18517 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
6cecd63005
VC1: Do qpel when needed for both MVs in a B frame
...
Originally committed as revision 18511 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
e161e007be
Use INIT_VLC_USE_STATIC and not its value "1".
...
Originally committed as revision 18430 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
David Conrad
828775e160
Remove unused FILTSIGN macro
...
Originally committed as revision 18300 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
bb691a6da4
Add support for HW accelerated VC-1 decoding through the new
...
AVHWAccel infrastructure.
Originally committed as revision 18135 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
1a022c2fbf
Apply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU.
...
Originally committed as revision 17594 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
ac00575d92
Fix VC1 and WMV3 playback in MPlayer.
...
Originally committed as revision 17587 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
4daa41c415
Rename buf_vdpau to buf_start
...
Patch by Gwenole Beauchesne <g$lastname> <at> <(antonym of "joined")-desktop><com>
Originally committed as revision 17561 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c269cf68a0
Approved hunks for VAAPI / our new shiny hwaccel API
...
by Gwenole Beauchesne gbeauchesne splitted desktop com
Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
de86157836
cosmetics: 'void/int inline' --> 'inline void/int' to avoid warnings of the type
...
"'inline' is not at beginning of declaration" with -Wextra.
Originally committed as revision 17392 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
Gwenole Beauchesne
f92a6c66ed
Record B-fraction index from frame header and two fields from entry point structure
...
into VC-1 context.
Patch by Gwenole Beauchesne
(gbeauchesne <whirlpool> splitted <dash> desktop <dit> com)
Thread [PATCH][VC-1] Record extra syntax elements for VA API support
Originally committed as revision 16859 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
81169111ef
Fix Doxygen comments for VC-1 decoder.
...
Originally committed as revision 16843 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
3e7233688a
avoid duplication of size_table and offset_table
...
Originally committed as revision 16743 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
1cae2ef9a6
Remove the block with always false condition from vc1_parse_frame_header()
...
Originally committed as revision 16726 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
a28d522491
VC-1 postproc field is 2 bits wide while decoder read only single bit.
...
Spotted by Stephen Warren.
Originally committed as revision 16725 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
27052238c0
Cosmetics: Fix indentation after last commit.
...
Originally committed as revision 16700 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
c5b42f4a80
Add VDPAU hardware accelerated decoding for WMV3 and VC1 which can
...
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16699 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
5a44906d8e
Fix 10L in r16670 (broke deblocking code)
...
Originally committed as revision 16671 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago