summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename directories, move files (step 1 of 2) (does not compile)wm42012-11-121-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tis drops the silly lib prefixes, and attempts to organize the tree in a more logical way. Make the top-level directory less cluttered as well. Renames the following directories: libaf -> audio/filter libao2 -> audio/out libvo -> video/out libmpdemux -> demux Split libmpcodecs: vf* -> video/filter vd*, dec_video.* -> video/decode mp_image*, img_format*, ... -> video/ ad*, dec_audio.* -> audio/decode libaf/format.* is moved to audio/ - this is similar to how mp_image.* is located in video/. Move most top-level .c/.h files to core. (talloc.c/.h is left on top- level, because it's external.) Park some of the more annoying files in compat/. Some of these are relicts from the time mplayer used ffmpeg internals. sub/ is not split, because it's too much of a mess (subtitle code is mixed with OSD display and rendering). Maybe the organization of core is not ideal: it mixes playback core (like mplayer.c) and utility helpers (like bstr.c/h). Should the need arise, the playback core will be moved somewhere else, while core contains all helper and common code.
* cleanup: remove some things related to old video decoderswm42012-10-301-18/+7
|
* commands, vd_ffmpeg: fix switch_ratio slave commandUoti Urpala2011-11-141-0/+1
| | | | | | | | | The implementation of the switch_ratio command was hacky and called mpcodecs_config_vo() to reconfigure the filter/VO chain from under an existing decoder. This call no longer worked properly with vd_ffmpeg after that started using mpcodec_config_vo2(). Add new video decoder control command VDCTRL_RESET_ASPECT and use this to tell vd_ffmpeg to reinitialize the output chain properly.
* cosmetics: vf.[ch]: reformatUoti Urpala2011-11-141-15/+16
| | | | Also a couple of smaller changes to other files.
* core, demux, vd_ffmpeg: pass side data from demux_lavf to vd_ffmpegUoti Urpala2011-08-201-7/+10
| | | | | | | | | | | | Pass the libavformat packet side_data field from demux_lavf to vd_ffmpeg. Libavcodec/libavformat use this field for palette data, and passing it is required for the playback of some paletted video codecs. The implementation works by giving vd_ffmpeg a copy of the struct demux_packet used to store the video packet (from which it can access the avpacket field). The definition of struct demux_packet is moved to new file demux_packet.h so that vd_ffmpeg.c can use it without including all of demuxer.h.
* vd_ffmpeg: autoselect output colorspaces without codecs.confUoti Urpala2011-06-261-1/+9
| | | | | | | | | | | | | Selecting the colorspace to output from a decoder is done in the function mpcodecs_config_vo(). Add a new version of this function, mpcodecs_config_vo2(), that allows the decoder to specify a list of candidate colorspaces instead of always using a hardcoded list specified in the codecs.conf entry. If the codecs.conf entry has any "out" lines then those still take priority and the decoder-provided list (if any) is ignored. Make vd_ffmpeg provide a list of the colorspaces it's willing to output. Remove "out" lines from most entries for libavcodec video decoders in codecs.conf, so that the automatic values are now used instead.
* Merge svn changes up to r30463Uoti Urpala2010-03-091-0/+18
|\ | | | | | | | | | | Note that r30455 is wrong, that commit does not in fact change the default behavior as claimed in the commit message. It only breaks "-af-adv force=0", which was already pretty much useless though.
| * 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
| * Add some "const" to mpcodecs_vd_driversreimar2009-03-061-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28861 b3059339-0415-0410-9bf9-f77b7e298cf2
* | core: Add support for decoder reordering of pts valuesUoti Urpala2009-11-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a mode where libavcodec's reordered_opaque feature is used to associate container packet timestamps with decoded frames. This should improve behavior at least for MPEG files with interlaced h264; the previous code does not cope well with the libavformat demuxer producing two field packets with separate timestamps but the libavcodec h264 decoder only producing a single output frame for those two packets (so half the timestamps have no associated output frame). The current libavformat mpeg demuxer seems to finally work with interlaced h264 files and produce valid timestamps which are useful with a mode like this. By default MPlayer now selects between this new mode and the old one automatically based on the number of timestamp problems they cause; by default the new mode is used if both seem to work. The new option -pts-association-mode can be used to force a particular mode. If correct-pts mode is disabled this has no effect on timing. Also remove the "EXPERIMENTAL" marker from the manpage description of -correct-pts.
* | Make video decoder description structs constUoti Urpala2008-04-251-2/+2
| | | | | | | | | | | | This makes the per-decoder struct vd_functions and its ->info struct constants. Same for the mpcodecs_vd_drivers[] table of pointers to those structs.
* | Move vd_use_slices to options structUoti Urpala2008-04-251-2/+0
| |
* | Remove _s/_st suffix from some struct namesUoti Urpala2008-04-251-1/+1
|/ | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* Add necessary header #includes to fix 'make checkheaders'.diego2008-03-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26179 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-221-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-011-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new video pts tracking mode, enabled by option -correct-pts.uau2006-07-061-0/+1
| | | | | | | | | | | | | | This mode has the following differences: - Video timing is correct for streams with B frames, at least with some demuxers. - Video filters can modify frame timestamps and insert new frames, and removing frames is handled better than before. - Some things are known to break, it's not usable as the default yet. Things should work as before when the -correct-pts option is not used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
* flushing stuff after seeking (finally we can view MPEG without thouse blocks ↵michael2004-02-181-0/+1
| | | | | | after seeking with -vc ffmpeg12) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11978 b3059339-0415-0410-9bf9-f77b7e298cf2
* wine headers cleanuparpi2002-09-221-0/+1
| | | | | | | | | - WAVEFORMATEX & BITMAPINFOHEADER decl moved to stheader.h - lots of useless include wine/* removed from mplayer code - fixed few warnings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7472 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2002-09-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7221 b3059339-0415-0410-9bf9-f77b7e298cf2
* equalizer reworkedalex2002-07-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6781 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add draw slice for the codecsalbeu2002-07-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6710 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for external pp by divx4. some fixes/cosmetics?alex2002-07-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6709 b3059339-0415-0410-9bf9-f77b7e298cf2
* global var for option -slicesarpi2002-04-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5484 b3059339-0415-0410-9bf9-f77b7e298cf2
* common stuff moved to mpc_info.harpi2002-03-251-22/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5324 b3059339-0415-0410-9bf9-f77b7e298cf2
* divx_quality and equalizer support donearpi2002-03-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5004 b3059339-0415-0410-9bf9-f77b7e298cf2
* comments fixedarpi2002-03-071-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4989 b3059339-0415-0410-9bf9-f77b7e298cf2
* new controls added for query/set pp levelarpi2002-03-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4958 b3059339-0415-0410-9bf9-f77b7e298cf2
* callbacks addedarpi2002-02-281-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4884 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpcodecs core - initial versionarpi2002-02-281-0/+38
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4879 b3059339-0415-0410-9bf9-f77b7e298cf2