summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵reynaldo2006-03-3122-67/+82
| | | | | | chello DOT hu with LOTS of modifications by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
* Trust the demuxer instead of the decoder for samplerate detection.diego2006-03-301-6/+5
| | | | | | | | Fixes the ffmp3_bad_rate_detection.avi sample. patch by qwen dux qwendu__at__gmail__.__com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17996 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printfs in aviprint.c to mp_msg and give the information printingdiego2006-03-273-9/+9
| | | | | | | functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
* reinit vo when pix_fmt changes.reimar2006-03-271-0/+3
| | | | | | | Avoids broken image or even crash with mf://*.jpg and JPGs with different chroma sampling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17974 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change some printf calls to fprintf.diego2006-03-271-1/+1
| | | | | | | based on a patch by Attila Ötvös, oattila,,@,,chello,,.,,hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17972 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change 'if(verbose)' to the more appropriate mp_msg_test.diego2006-03-273-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
* use shifts instead of division. 15% faster hqdn3dlorenm2006-03-261-20/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-247-14/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* feed something (hopefully correct timestamps) into the video filter chainmichael2006-03-212-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17911 b3059339-0415-0410-9bf9-f77b7e298cf2
* lavc doesnt pass AVFrame.opaque around :/michael2006-03-211-2/+17
| | | | | | | so lets use AVFrame.pts and hope lavcs pedantic timestamp checks like what mencoder generates ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17910 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l (null pointer dereference)michael2006-03-211-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17908 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵michael2006-03-2180-180/+191
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync to x264 r476 (subq=7)lorenm2006-03-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17903 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support libavcodec vrc_strategy=1 (XviD ratecontrol).corey2006-03-171-1/+1
| | | | | | | As a side effect, this also makes -lavcopts vcodec=xvid work. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17887 b3059339-0415-0410-9bf9-f77b7e298cf2
* compile in the filters that depend on libavcodec/dsputil.h only when mplayer ↵nicodvb2006-03-162-8/+10
| | | | | | is configured to use the imported libavcodec git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove twos workaround, this bug was fixed in mov demuxerrtognimp2006-03-141-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17869 b3059339-0415-0410-9bf9-f77b7e298cf2
* in24/in32/fl32 little/big-endian QuickTime PCM audio supportrathann2006-03-131-0/+20
| | | | | | | approved by rxt git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17859 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not randomly chop up packets, this isnt allowed in almost no containermichael2006-03-131-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17856 b3059339-0415-0410-9bf9-f77b7e298cf2
* -lavcopts aglobalmichael2006-03-132-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17843 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l found by Oded: case 2 on a boolean value...rfelker2006-03-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17833 b3059339-0415-0410-9bf9-f77b7e298cf2
* QuickTime in24 and in32 PCM audio supportrathann2006-03-111-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17814 b3059339-0415-0410-9bf9-f77b7e298cf2
* add default case to encoder switch-case (maybe an error message would be ↵reimar2006-03-081-0/+3
| | | | | | good as well). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17782 b3059339-0415-0410-9bf9-f77b7e298cf2
* free tmp earlier, it is not needed below and might leak on errors otherwisereimar2006-03-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17769 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync to x264 r457 (direct_pred=3)lorenm2006-03-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17732 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce Real DLL/so loading verbosity, OKed by Roberto.diego2006-03-032-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17722 b3059339-0415-0410-9bf9-f77b7e298cf2
* XviD multi-threaded encoding supportgpoirier2006-03-011-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17704 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l (dont limit dimension components independantly if noup)michael2006-02-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix video delay when encoding with B-frames.corey2006-02-214-2/+25
| | | | | | | | | | Encoding delay is adjusted for on-the-fly during encoding. Decoding delay is compensated for by setting an appropriate dwStart on the audio stream (only in muxer_avi at this point). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17660 b3059339-0415-0410-9bf9-f77b7e298cf2
* no upscale flag so automatic downscaling is possible in mencodermichael2006-02-181-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17647 b3059339-0415-0410-9bf9-f77b7e298cf2
* memalign segfaults when used without declaration on amd64 (default function ↵aurel2006-02-161-0/+4
| | | | | | return type is int so the pointer was trunctated to 32bits) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17636 b3059339-0415-0410-9bf9-f77b7e298cf2
* include config.h before includes that need itiive2006-02-161-1/+1
| | | | | | | based on patch by Alan Curry <pacman at theworld com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17631 b3059339-0415-0410-9bf9-f77b7e298cf2
* Align memory at 16 byte boundaries.diego2006-02-141-3/+3
| | | | | | | | | This fixes crashes related to AltiVec as reported at http://mplayerhq.hu/pipermail/mplayer-advusers/2006-January/001381.html patch by Luca Barbato, lu_zero #at# gentoo #dot# org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17626 b3059339-0415-0410-9bf9-f77b7e298cf2
* lavc exposes the reconstructed picture, so no need to decode it againlorenm2006-02-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure maxlen is respected, instead of just failing the assert later on.reimar2006-02-101-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17582 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-0914-15/+15
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* include config.h as img_format.h needs endian definitions, noticed by Alan ↵iive2006-02-091-0/+1
| | | | | | Curry <pacman at theworld com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for grayscale [m]jpegrtognimp2006-02-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mpng to work correctly with 16 bit png's. don't have any files to testods152006-02-071-0/+1
| | | | | | | | this on, but mpng still works correctly for files that worked fine before. patch by derf < tterribe BANG xiph POIT org > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17553 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only compile libmpencoders if MEncoder has been enabled.diego2006-01-311-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move conditional compilation out of the code and into the build system.diego2006-01-3111-51/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make clean/distclean behave uniformly in all directories.diego2006-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to ↵michael2006-01-2610-14/+14
| | | | | | muxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17488 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass vbv_size & max_rate from encoder to muxer over muxer_stream_t (if this ↵michael2006-01-251-0/+8
| | | | | | | | | | is wrong/silly/10000000l then dont hesitate to flame / reverse) make a few things like mux_rate, mux_max_delay, ... user settable fixed buffer underflow errors when muxing to mpeg-ps git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17481 b3059339-0415-0410-9bf9-f77b7e298cf2
* vglobal so the user can tell the encoder that she wants global headers ... ↵michael2006-01-241-1/+11
| | | | | | one step closer to correct mov/mp4 muxing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17479 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using INT_MAX without including limits.h breaks compilation on MinGW.diego2006-01-231-0/+1
| | | | | | | patch by Gianluigi Tiesi, mplayer $$@$$ netfarm $$.$$ it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17470 b3059339-0415-0410-9bf9-f77b7e298cf2
* support libavcodec's new sc_factor parametercorey2006-01-221-0/+3
| | | | | | | Original idea from Michael; patch by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17465 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper support for shared libpostprocdiego2006-01-224-7/+11
| | | | | | | patch by Nico Sabbi, fixes and consistency cleanups by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17464 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use free instead of speex_free - since speex_free does not appear in thereimar2006-01-191-1/+1
| | | | | | | headers it probably is for internal use only. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17430 b3059339-0415-0410-9bf9-f77b7e298cf2
* Push "Building audio filter chain" up to verbose level.diego2006-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17428 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync to x264 r398.lorenm2006-01-161-0/+7
| | | | | | | patch by Guillaume Poirier. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17403 b3059339-0415-0410-9bf9-f77b7e298cf2
* ad_hwmpa: pass-through fake audio codec for hardware mpeg decodersnicodvb2006-01-153-0/+139
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistent variable names for shared libavcodec.diego2006-01-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17388 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update licensing information: The FSF changed postal address.diego2006-01-1318-18/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-1210-33/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* convert some printfs to mp_msgrathann2006-01-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17356 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for external libavformatnicodvb2006-01-091-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17355 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync to x264 r390 (bime)lorenm2005-12-301-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support vme=8 (iterative overlapped block).diego2005-12-291-1/+1
| | | | | | | patch by Corey Hickey < .. bugfood-ml .. @ .. fatooh .. . .. org .. > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add bidir_refine to lavc's set of options, and document it.gpoirier2005-12-281-0/+3
| | | | | | | Patch by Corey Hickey < bugfood DASH ml AHHH fatooh POIS org > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove tables used by MPlayer native 14_4 and 28_8 codecsrtognimp2005-12-272-2591/+0
| | | | | | | I forgot to remove them when i switched to lavc codecs git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17251 b3059339-0415-0410-9bf9-f77b7e298cf2
* support downscaling frames for dynamic b frame decissiongpoirier2005-12-251-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17244 b3059339-0415-0410-9bf9-f77b7e298cf2
* I screwed up keep aspect param, made behavior the opposite of man page.ods152005-12-201-1/+1
| | | | | | | 0-1 were original aspect ratio instead of display... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17228 b3059339-0415-0410-9bf9-f77b7e298cf2
* malloc padding to avoid access beyond allocated memoryhenry2005-12-192-5/+5
| | | | | | | Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse the H264 hackhenry2005-12-191-19/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17226 b3059339-0415-0410-9bf9-f77b7e298cf2
* negative quality values allow postproc regardless of inputhenry2005-12-181-6/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17224 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not postprocess H264henry2005-12-181-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17222 b3059339-0415-0410-9bf9-f77b7e298cf2
* bitexact flagmichael2005-12-181-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17218 b3059339-0415-0410-9bf9-f77b7e298cf2
* deobfuscate some very simple code...ods152005-12-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17216 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not set the flag when config failedhenry2005-12-161-1/+4
| | | | | | | patch by Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17199 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove MPlayer native 14_4 and 28_8 codecs (they are in lavc)rtognimp2005-12-098-932/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17152 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move audio packets reordering from codec interface to demuxers for realrtognimp2005-12-091-100/+26
| | | | | | | | | files (old and new format), pass only real extradata to the codec Enable cook codec from lavc, prefer lavc codecs for 14_4 and 28_8 formats. Disable internal 28_8, it's broken now and will be removed soon git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17150 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent flicker on b-frames, trivial port from vf_spphenry2005-12-071-6/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17134 b3059339-0415-0410-9bf9-f77b7e298cf2
* more warning fixesods152005-12-072-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17123 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent flicker, to get old behaviour use spp=x:y:4 / x:y:5michael2005-12-061-6/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17111 b3059339-0415-0410-9bf9-f77b7e298cf2
* expand aspect works by display aspect, not video aspect.ods152005-12-051-2/+3
| | | | | |