Kostya Shishkov
53b04467ae
Warn when WVC1 cannot be decoded
...
Originally committed as revision 20201 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Andrew Dennison
95ce961d88
Since some junk may be or may be not present before actual VC-1 extradata,
...
search for real extradata start instead of always skipping one byte.
Patch by Andrew Dennison gmailify(${name}d, lists)
Thread: [PATCH] Fix VC1 "Incomplete extradata" for mkv files generated by eac3to
Originally committed as revision 20178 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c05df6895f
Use ff_msmpeg4_decode_init to initialize ff_msmp4_mb_i_vlc since static
...
VLC tables should only be initialized from one place.
This initializes/calculates more VLC tables than necessary for VC1 decoding,
but this is only done once and only a small overhead in time and space (maybe
30 kB) it seems not worth adding a separate function.
Originally committed as revision 20010 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
700363afe7
Only enable WMV3 decoder when it has been turned on in the build system.
...
Originally committed as revision 19534 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e0f58e39c4
Do not check for both CONFIG_VC1_VDPAU_DECODER and CONFIG_WMV3_VDPAU_DECODER,
...
the former depends upon the latter.
Originally committed as revision 19532 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
74a30595b2
Edge emulation should be used in B-frame MC in mspel mode with
...
mv_x < 1 or mv_y < 1.
Originally committed as revision 19255 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
351653a51e
VC-1/WMV: Remove redundant ff_init_block_index() calls.
...
These are only supposed to be called once per row, not once per macroblock.
~1.5% faster according to oprofile.
Originally committed as revision 19213 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
010f98f96a
VC-1/WMV3 decoding: don't clear blocks unless they're actually used.
...
~8% faster VC-1 decoding.
Possible future optimization: clear blocks after use instead of before, and for
DC-only blocks, only clear the DC coefficient.
Originally committed as revision 19205 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
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
Jason Garrett-Glaser
0a359cf157
Faster VC-1 C loopfilter using lots of xor magic
...
Originally committed as revision 16670 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
7a96cd3123
VC-1 display dimensions should affect coded dimensions only (I think)
...
Originally committed as revision 16578 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
e9ca5f0892
Print VC-1 aspect ratio in debug
...
Originally committed as revision 16577 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
820089cb06
421l: fix loop filter for P-frames in VC-1
...
Originally committed as revision 16576 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
63bfcb6997
Fill range_map* in VC1Context.
...
Originally committed as revision 16515 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago