summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_theora.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove some demuxers and decoderswm42012-07-301-207/+0
| | | | | | | | | | | | | | | | | | Most of these demuxers and decoders are provided in better form by libav, while the mplayer builtin ones are essentially unmaintained. The only legimitate use case for not using the libav ones was working around libav bugs or bugs related to the way mplayer uses libav. Instead of trying to keep dead code alive, development effort should go into improving libav or the mplayer libav glue code. Note that the libav demuxer have been preferred over the mplayer builtin ones for a while in mplayer2. There were some exceptions: playing DVDs with dvdnav or playing network sources. (That's because some stream modules and network.c requested explicit file formats, such as DEMUXER_TYPE_MPEG_PS, which mapped to builtin demuxers.) With this commit, they are switched to use libav. One caveat is that the requested format is not passed to libavformat, instead we rely on the auto probing to select the correct libav demuxer (see code in demux_open_stream()).
* build: switch to libavutil bswap.h and intreadwrite.hUoti Urpala2012-02-011-1/+2
| | | | | | | | | | | | Remove the private bswap and intreadwrite.h implementations and use libavutil headers instead. Originally these headers weren't publicly installed by libavutil at all. That already changed in 2010, but the pure C bswap version in installed headers was very inefficient. That was recently (2011-12) improved and now using the public bswap version probably shouldn't cause noticeable performance problems, at least if using a new enough compiler.
* Merge svn changes up to r31256Uoti Urpala2010-05-301-3/+3
|\
| * Use MSGT_DECVIDEO in a video decoder.cehoyos2010-05-281-3/+3
| | | | | | | | | | | | | | Patch by Giorgio Vazzana, mywing81 gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31249 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31211Uoti Urpala2010-05-301-0/+4
|\| | | | | | | | | The merged cache2.c changes are known to have problems. Will merge further fixes to them before merging this to the master branch.
| * Avoid decoding of 0-size packets. This also fixes that the main loop believesreimar2010-05-231-0/+4
| | | | | | | | | | | | | | | | tehre is an infinite number of delayed frames, thus never finishing (happens with -demuxer lavf -vc theora). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31206 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn change r31191Uoti Urpala2010-05-301-3/+4
|\|
| * Ignore (but print out) offset with libtheora decoder.cehoyos2010-05-221-3/+4
| | | | | | | | | | | | | | Patch by Giorgio Vazzana, mywing81 gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31191 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30967Uoti Urpala2010-04-261-2/+19
|\|
| * cosmetics: indentationaurel2010-03-181-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30933 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add support for lavf style extradata in vd_theoraaurel2010-03-181-0/+17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30932 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Delete things related to old translation systemUoti Urpala2010-03-101-1/+0
|/ | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Add support for decoding 4:2:2 and 4:4:4 Theora files.reimar2010-02-141-8/+19
| | | | | | | Patch by Giorgio Vazzana [mywing81 gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30585 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2010-02-141-26/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Just use goto instead of reimplementing it badly with a do { } while (0) andreimar2010-02-141-21/+8
| | | | | | | break. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30568 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change aspect calculation code to switch to floating point earlier so integerreimar2010-02-141-2/+2
| | | | | | | overflows are not possible. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return NULL instead of 0 for function returning a pointer.reimar2010-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless casts.reimar2010-02-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless code, QUERY_FORMAT already ensures the requested format is ↵reimar2010-02-141-10/+0
| | | | | | supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove excessive ()reimar2010-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30557 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark all ad_info_t/vd_info_t structure declarations as const.diego2010-02-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing license headers to all files in the libmpcodecs directory.diego2010-01-301-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memleak in theora decoder due to missing ↵reimar2006-12-061-0/+2
| | | | | | theora_comment_/theora_info_clear on uninit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.diego2006-07-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 3reynaldo2006-07-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #ifdefs around complete files into the build system.diego2006-06-211-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
* revert the flip part of vd_theora fixhenry2005-02-231-7/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14782 b3059339-0415-0410-9bf9-f77b7e298cf2
* Theora fixes:henry2005-02-221-12/+18
| | | | | | | | | - do not use negative stride (fixes -vf pp crash) - pass true image dimensions to VO, not the aligned ones (fixes incorrect aspect ratio bug & black bar under video) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14764 b3059339-0415-0410-9bf9-f77b7e298cf2
* bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>faust32005-02-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use aspect ratio from Theora context. Patch by j at v2v dot ccmosu2004-07-061-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Theora-CVS update patch by Martin Drab <drab@kepler.fjfi.cvut.cz>alex2003-08-181-28/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10659 b3059339-0415-0410-9bf9-f77b7e298cf2
* just updated vd_theora.c to decode the additional header packets,arpi2003-06-061-0/+22
| | | | | | | | | | | | introduced by recent changes in Theora CVS which broke the current support. I'll be able to upload a newly encoded sample by tuesday. patch by David Kuehling <dvdkhlng@gmx.de> note: theora comment decoding disabled for backward compatibility,. result wasn't used anyway --A'rpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10252 b3059339-0415-0410-9bf9-f77b7e298cf2
* theora video decoder, based on patch by David Kuehling <dvdkhlng@gmx.de>arpi2003-05-111-0/+157
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10095 b3059339-0415-0410-9bf9-f77b7e298cf2