summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
Commit message (Collapse)AuthorAge
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun2012-10-01
|
* MSS2 decoderAlberto Delmás2012-08-31
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vc1: Do not read from array if index is invalid.Mashiat Sarker Shakkhar2012-03-26
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vc1: Move init code shared between decoder and parser to common code file.Diego Biurrun2012-03-07
| | | | This fixes standalone compilation of the VC-1 parser.
* vc1: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msmpeg4: Add ff_ prefixes to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: always read the bfraction element for interlaced fieldsHendrik Leppkes2012-01-26
| | | | | | | Previously, it would not be read if refdist_flag was not set, however according to the spec and the reference decoder, it should always be read. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vc1: don't read the interpfrm and bfraction elements for interlaced framesHendrik Leppkes2012-01-23
| | | | | | | This matches the spec as well as the reference decoder, and fixes a bug with interlaced frame decoding. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vc1: use an enum for Frame Coding ModeLuca Barbato2011-11-28
| | | | Document it a little and possibly fix a bug in dxva2_vc1.
* vc1: explicitly zero interlaced mode coding variables for progressive modeKostya Shishkov2011-10-13
| | | | | | | | Both v->fcm and v->field_mode are used in common code, now they won't be reset for progressive frame after interlaced one causing writing past the frame end for example. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vc1: K&R reformatting cosmeticsKostya Shishkov2011-10-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1dec: interlaced stream decoding support 3/3Mashiat Sarker Shakkhar2011-10-10
| | | | | | Cosmetics: break some lines and reformat TODOs Signed-off-by: Anton Khirnov <anton@khirnov.net>
* VC1: Support dynamic dimension changesAlberto Delmás2011-08-31
| | | | | | | | Fixes SA00072, SA00073, SA10150, SA10151, Issue2076 Improves SA10153 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vc1: fix VC-1 Pulldown handling.John Stebbins2011-08-25
| | | | | | | | | | | | Pulldown flags are being set incorrectly and AVFrame->repeat_pict is not being set. Also, skipped frames exit header parsing too early and do not set pulldown flags appropriately. Ticks_per_frame needs to be set and time_base adjusted so player can extend frame duration by a field time. This fixes problems encountered when attempting to transcode HD-DVD EVOB files with HandBrake. Also makes these files play smoothly in avplay. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Windows Media Image decoder (WMVP/WVP2)Alberto Delmás2011-08-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* VC-1: fix reading of custom PAR.Reimar Döffinger2011-08-15
| | | | | | | Custom PAR num/denum are in 1-256 range. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* simple_idct: add 10-bit versionMans Rullgard2011-07-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-02
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."Ronald S. Bultje2011-05-04
| | | | | | | This reverts commit f8bed30d8b176fa030f6737765338bb4a2bcabc9. 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.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Parse sprite data for WMVP and WVP2, and decode sprites for the latterAlberto Delmás2011-04-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vc1: warn for unimplemented pan-scan feature.Ronald S. Bultje2011-03-21
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* VC1: merge idct8x8, coeff adjustments and put_pixels.Ronald S. Bultje2011-02-21
| | | | | Merging these functions allows merging some loops, which makes the results (particularly after SIMD optimizations) much faster.
* dsputil: move VC1-specific stuff into VC1DSPContext.Ronald S. Bultje2011-02-17
|
* logging: downgrade recoverable errors to warningsStefan Kost2011-02-08
| | | | | | | | 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>
* Make WMV3 decoder attempt to decode WMVP as wellKostya Shishkov2010-09-26
| | | | Originally committed as revision 25209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RES_SM in WMV3 is really two flags, so split it in decoderKostya Shishkov2010-09-26
| | | | Originally committed as revision 25208 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make WMV3 decoder print more errors when decoding beta WMV9 files.Kostya Shishkov2010-07-10
| | | | | | 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
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Print error message when true interlaced VC-1 frames are encounteredKostya Shishkov2009-10-10
| | | | | | to inform user why decoder produces no output. Originally committed as revision 20196 to svn://svn.ffmpeg.org/ffmpeg/trunk
* idct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.Jason Garrett-Glaser2009-06-16
| | | | | | | | | 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
* Fix typo in vc1.c, make capitalization in warning/error messages more ↵Jason Garrett-Glaser2009-06-16
| | | | | | consistent. Originally committed as revision 19203 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split decoder-specific code off from vc1.c into vc1dec.c and keep codeDiego Biurrun2009-06-11
| | | | | | shared between decoder and parser in vc1.c. Originally committed as revision 19152 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set ↵Baptiste Coudurier2009-06-05
| | | | | | CODEC_CAP_DR1 Originally committed as revision 19111 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused hack which set AVCodecContext frame_number to pic timestampBaptiste Coudurier2009-05-30
| | | | Originally committed as revision 18988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set pict_type in VC-1 parser, fix some timestamps problemsBaptiste Coudurier2009-05-30
| | | | Originally committed as revision 18987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that we don't read from invalid memory with B-frame qpelDavid Conrad2009-05-15
| | | | Originally committed as revision 18839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dead assignments found by CSABenjamin Larsson2009-05-02
| | | | Originally committed as revision 18730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Display dimensions should not affect the real size of coded frame, thus setKostya Shishkov2009-04-23
| | | | | | | | 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
* Switch VLC tables in WMV3/VC-1 decoder to new static init methodKostya Shishkov2009-04-22
| | | | Originally committed as revision 18658 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set flag after VC-1 VLCs are initialized to avoid race conditionKostya Shishkov2009-04-21
| | | | Originally committed as revision 18639 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some useless assignments and variables found by ClangKostya Shishkov2009-04-21
| | | | Originally committed as revision 18638 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VC1 loop filter uses the frame quantizer not the mb quantizerDavid Conrad2009-04-16
| | | | Originally committed as revision 18534 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split VC1 loop filter into separate functions for h/v and sizeDavid Conrad2009-04-15
| | | | Originally committed as revision 18521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move VC1 loop filter to DSPContextDavid Conrad2009-04-15
| | | | Originally committed as revision 18520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VC1: add and use avg_no_rnd chroma MC functionsDavid Conrad2009-04-14
| | | | Originally committed as revision 18518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 onlyDavid Conrad2009-04-14
| | | | Originally committed as revision 18517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VC1: Do qpel when needed for both MVs in a B frameDavid Conrad2009-04-14
| | | | Originally committed as revision 18511 to svn://svn.ffmpeg.org/ffmpeg/trunk