summaryrefslogtreecommitdiffstats
path: root/libmpdemux/asf.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename directories, move files (step 1 of 2) (does not compile)wm42012-11-121-251/+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.
* Change <endian.h> include to <sys/types.h>wm42012-07-311-1/+1
| | | | | This seems to be more portable. Should fix compilation on OSX and FreeBSD. Apparently also works on MinGW-w64.
* Remove compile time/runtime CPU detection, and drop some platformswm42012-07-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mplayer had three ways of enabling CPU specific assembler routines: a) Enable them at compile time; crash if the CPU can't handle it. b) Enable them at compile time, but let the configure script detect your CPU. Your binary will only crash if you try to run it on a different system that has less features than yours. This was the default, I think. c) Runtime detection. The implementation of b) and c) suck. a) is not really feasible (it sucks for users). Remove all code related to this, and use libav's CPU detection instead. Now the configure script will always enable CPU specific features, and disable them at runtime if libav reports them not as available. One implication is that now the compiler is always expected to handle SSE (etc.) inline assembly at runtime, unless it's explicitly disabled. Only checks for x86 CPU specific features are kept, the rest is either unused or barely used. Get rid of all the dump -mpcu, -march etc. flags. Trust the compiler to select decent settings. Get rid of support for the following operating systems: - BSD/OS (some ancient BSD fork) - QNX (don't care) - BeOS (dead, Haiku support is still welcome) - AIX (don't care) - HP-UX (don't care) - OS/2 (dead, actual support has been removed a while ago) Remove the configure code for detecting the endianness. Instead, use the standard header <endian.h>, which can be used if _GNU_SOURCE or _BSD_SOURCE is defined. (Maybe these changes should have been in a separate commit.) Since this is a quite violent code removal orgy, and I'm testing only on x86 32 bit Linux, expect regressions.
* cosmetics: asf.h: Fix comment errorib2011-07-061-1/+1
| | | | | | | | According to the ASF documentation, MF_PD_ASF_FILEPROPERTIES_PREROLL (preroll) is UINT64. Fix type mentioned in comment. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33484 b3059339-0415-0410-9bf9-f77b7e298cf2
* Calculate length of ASF files with more than 1 second precision.reimar2009-11-101-1/+1
| | | | | | | Based on patch by On2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29881 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-261-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license header to all files in libmpdemux.diego2009-05-081-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused GUID_t definition that also incorrectly defined GUID_DEFINEDreimar2008-08-311-14/+0
| | | | | | (while actually not defining GUID, only GUID_t). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27500 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 explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.diego2007-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set i_bps for ASF video streams according to extended stream propertieszuxy2007-05-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23375 b3059339-0415-0410-9bf9-f77b7e298cf2
* For DVR-MS:nicodvb2007-05-071-1/+18
| | | | | | | | | | | | extract timing information from the payload extension, set key frames, detect video frame boundaries, interpolate the average video frame time using the known informations from past frames and timestamps. Video data before the first video key frame is thrown away. Patch by John Donaghy johnfdonaghy gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace MIN with FFMINreimar2007-03-011-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22396 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-071-1/+1
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bswap.h, use libavutil/bswap.h instead.diego2006-11-291-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* interpolate real fps of dvr-ms files using the extended stream properties.nicodvb2006-09-241-0/+2
| | | | | | | Patch by John Donaghy - johnfdonaghy gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19967 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch from John Donaghy: "fix for audio and video in dvr-ms asf files"pacman2006-06-061-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18610 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix descrambling of asf file,iive2006-03-301-3/+3
| | | | | | | | | where signed buffer could cause erroneous values to be filled in descrable variables, add misssing check for one of these variables and restore sign of these variables as insurance that these checks will work even in such case. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18002 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move global vars used for header parsing, etc to dewux->priv as it shouldalbeu2006-03-291-0/+12
| | | | | | | be. Also cleanup a bit signedness. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17993 b3059339-0415-0410-9bf9-f77b7e298cf2
* bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines ↵mosu2003-01-151-1/+1
| | | | | | can be safely used like functions: mydef(flag ? val1 : val2) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added ASF_Authenticate as an asf stream type.bertrand2002-07-091-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6677 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved the asf_http_streaming_ctrl_t struct from asf_streaming.cbertrand2002-07-051-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6645 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added big endian macro for asf_chunk_t and added defines for the ASF chunk type.bertrand2002-04-141-0/+19
| | | | | | | (reworked of the patch from Guillaume Morin <guillaume@morinfr.org>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5617 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed unused code that I commented earlier.bertrand2002-01-231-37/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4311 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the asf_file_header_t struct to read all the fields properly.bertrand2002-01-201-0/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4289 b3059339-0415-0410-9bf9-f77b7e298cf2
* Somewhere along the line, someone updated a field in an ASF structuremelanson2001-12-241-1/+1
| | | | | | | | from 'unk1' to 'preroll'. There is a macro that is only needed on big endian systems that didn't get updated to reflect that change. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3720 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed functions prototypes for streaming that don't need to be here.bertrand2001-12-161-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3536 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed an unknown file to preroll.bertrand2001-12-161-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the some functions prototypes for the network streaming.bertrand2001-11-201-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3042 b3059339-0415-0410-9bf9-f77b7e298cf2
* config.h cleanup, few things added to steram/demuxer headersarpi2001-10-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added ASF http server streaming (Not mms streaming).bertrand2001-10-261-1/+2
| | | | | | | | Fixed one bug in the ASF mms streaming. Fixed a typo in http. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2490 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemuxer...arpi2001-10-201-0/+200
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2