summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read_fbsd.h
Commit message (Collapse)AuthorAgeFilesLines
* stream: remove VCD supportwm42014-06-011-239/+0
| | | | | | | | | If a single person complains, I will readd it. But I don't expect that this will happen. The main reason for removing this is that it's some of the most unclean code remaining, it's unmaintained, and I've never ever heard of someone using it.
* stream: kill start_pos, remove --sb optionwm42014-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | stream.start_pos was needed for optical media only, and (apparently) not for very good reasons. Just get rid of it. For stream_dvd, we don't need to do anything. Byte seeking was already removed from it earlier. For stream_cdda and stream_vcd, emulate the start_pos by offsetting the stream pos as seen by the rest of mpv. The bits in discnav.c and loadfile.c were for dealing with the code seeking back to the start in demux.c. Handle this differently by assuming the demuxer is always initialized with the stream at start position, and instead seek back if initializing the demuxer fails. Remove the --sb option, which worked by modifying stream.start_pos. If someone really wants this option, it could be added back by creating a "slice" stream (actually ffmpeg already has such a thing).
* Kill all tabswm42014-04-131-6/+6
| | | | | | | | | | | I hate tabs. This replaces all tabs in all source files with spaces. The only exception is old-makefile. The replacement was made by running the GNU coreutils "expand" command on every file. Since the replacement was automatic, it's possible that some formatting was destroyed (but perhaps only if it was assuming that the end of a tab does not correspond to aligning the end to multiples of 8 spaces).
* stream: mp_msg conversionswm42013-12-211-26/+3
| | | | We also drop some slave mode stuff from stream_vcd.
* Split mpvcore/ into common/, misc/, bstr/wm42013-12-171-1/+1
|
* core: move contents to mpvcore (2/2)Stefano Pigozzi2013-08-061-1/+1
| | | | Followup commit. Fixes all the files references.
* stream: remove unused vcd functionswm42013-07-151-5/+0
| | | | Gets rid of warnings.
* Rename directories, move files (step 2 of 2)wm42012-11-121-1/+1
| | | | | | | | | | | | Finish renaming directories and moving files. Adjust all include statements to make the previous commit compile. The two commits are separate, because git is bad at tracking renames and content changes at the same time. Also take this as an opportunity to remove the separation between "common" and "mplayer" sources in the Makefile. ("common" used to be shared between mplayer and mencoder.)
* build: switch to libavutil bswap.h and intreadwrite.hUoti Urpala2012-02-011-1/+3
| | | | | | | | | | | | 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.
* cleanup: Make vcd_seek_to_track() static in more filesreimar2011-06-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r31033Uoti Urpala2010-04-261-0/+5
|\
| * Try to fix VCD compilation on non-Linux systems.reimar2010-04-051-0/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31023 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30732Uoti Urpala2010-03-101-2/+2
|\|
| * Mark vcd_get_track_end () and vcd_read_toc() as static.diego2010-02-221-2/+2
| | | | | | | | | | | | | | They are only used within the respective files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30712 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30475Uoti Urpala2010-03-091-0/+18
|\|
| * Add license header to all files missing it in the stream subdirectory.diego2010-01-301-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30468 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30216Uoti Urpala2010-01-081-0/+4
|\|
| * Add a few missing header #includes and #defines.diego2010-01-041-0/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30207 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Replace libavutil internal header #includes with MPlayer copiesUoti Urpala2009-07-261-1/+1
|/ | | | | | Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/ instead.
* Add missing header #includes to fix 'make checkheaders'.diego2008-03-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26216 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 missing multiple inclusion guards.diego2008-02-211-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2
* vcd_read must read exactly VCD_SECTOR_DATA bytes.reimar2008-01-281-1/+1
| | | | | | | | If NetBSD can not handle this setting, the code must be rewritten to use a temporary buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25901 b3059339-0415-0410-9bf9-f77b7e298cf2
* Caching toc header in vcd private structure for later use.ulion2007-12-171-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25439 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MSF -> sector conversion being 150 sectors ofreimar2007-07-271-1/+2
| | | | | | | (pregap or whatever it is called) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23882 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify track length calculationreimar2007-07-271-18/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23881 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some more *BSD vcd_read simplificationreimar2007-07-271-41/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix several 100lreimar2007-07-271-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23879 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor out some common codereimar2007-07-271-28/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Somewhat unified *BSD vcd readingreimar2007-07-271-4/+89
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23877 b3059339-0415-0410-9bf9-f77b7e298cf2
* READ_TOC for making *BSD code more similarreimar2007-07-271-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23876 b3059339-0415-0410-9bf9-f77b7e298cf2
* vcd_inc_msf function also for freebsd vcd_readreimar2007-07-271-9/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23872 b3059339-0415-0410-9bf9-f77b7e298cf2
* More VCD cosmeticsreimar2007-07-271-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23871 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics to reduce diff between Free- and netBSD vcd stuffreimar2007-07-261-47/+59
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23869 b3059339-0415-0410-9bf9-f77b7e298cf2
* TOCADDR macro as first step to common *BSD vcd reading codereimar2007-07-261-22/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23867 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵ben2006-07-311-0/+138
split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2