summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* when using -v, print also which lavc codec has been used, notattila2009-11-281-1/+1
| | | | | | | just that the init was ok git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29970 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix initialization values for vf_expand priv struct.reimar2009-11-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.reimar2009-11-221-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add const to draw_slice argument to match what FFmpeg expects for ↵reimar2009-11-221-2/+2
| | | | | | draw_horiz_band. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch ad_ffmpeg to avcodec_decode_audio3reimar2009-11-221-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29955 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.reimar2009-11-221-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29954 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unreachable parsing code: for filters that use the option parser,reimar2009-11-217-135/+0
| | | | | | | | the args argument to open will always be NULL and vf->priv will always be != NULL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29945 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow vf_scale to output to RGB48, though still prefer the 24 and 32 bit ↵reimar2009-11-211-0/+2
| | | | | | formats. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a define for IMGFMT_RGB48NE that depends on machine endianness.reimar2009-11-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use avcodec_align_dimensions to appropriately align width and height inreimar2009-11-171-5/+2
| | | | | | | get_buffer instead of reimplementing it badly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29921 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capablecehoyos2009-11-102-0/+2
| | | | | | | | | hardware. Original patch by NVIDIA corporation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29885 b3059339-0415-0410-9bf9-f77b7e298cf2
* Map AV_LOG_VERBOSE to MSGL_V in order to avoid spurious log output.diego2009-11-101-0/+1
| | | | | | | based on a patch by On2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for DVB teletext.reimar2009-11-102-0/+27
| | | | | | | Patch by Francesco Lavra [francescolavra interfree it] with modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29875 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for 8 channel audio.tack2009-11-102-3/+5
| | | | | | | | Where 8 channel support is non-trivial (e.g. ao_dsound), at least ensure we fail gracefully. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Properly free the pthread mutex for teletext.reimar2009-11-091-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow teletext compilation without pthreadsreimar2009-11-091-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29865 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove CONFIG_TV_TELETEXT.cehoyos2009-11-071-4/+0
| | | | | | | | DVB teletext support is nearly finished, it will be possible to read teletext from file, it will not be depending on reception any more. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29851 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorise vbi_decode().cehoyos2009-11-071-30/+39
| | | | | | | Patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29850 b3059339-0415-0410-9bf9-f77b7e298cf2
* Separate teletext from tv support.cehoyos2009-11-072-6/+16
| | | | | | | Path by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29848 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only call avcodec_close if the open succeeded before, otherwise avcodec_closereimar2009-11-061-1/+2
| | | | | | | | will crash (happens e.g. when encoding ends before any frames were actually encoded, e.g. when an MPEG file was cut down to much so it no longer contains a full video frame). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29835 b3059339-0415-0410-9bf9-f77b7e298cf2
* ad_ffmpeg: Fix channel layout for ffvorbis and ffaactack2009-11-041-8/+1
| | | | | | | | | | | Patch submitted by Nicolas George, nicolas.george normalesup org The layout exceptions removed by this patch were rendered unnecessary by changes in ffmpeg which normalize channel layout for aac (r20067) and vorbis (r20148). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29821 b3059339-0415-0410-9bf9-f77b7e298cf2
* Teletext display does support font scaling via OSD font scaling, removecehoyos2009-10-311-1/+0
| | | | | | | | | TODO item. Patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29809 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace two more occurences of tvi_vbi with dec_teletext.cehoyos2009-10-311-2/+2
| | | | | | | Patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29808 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove incorrect comment.cehoyos2009-10-311-2/+0
| | | | | | | Original patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29807 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MSGT_TELETEXT, rename TVI_CONTROL as VBI_CONTROL and fix some pathscehoyos2009-10-292-57/+61
| | | | | | | | | in comments. Based on a patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29802 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move teletext specific code from stream into libmpcodecs.cehoyos2009-10-292-0/+1987
| | | | | | | Patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29801 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync to x264-r1296lorenm2009-10-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29787 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing '#include "config.h"', the header uses HAVE_BIGENDIAN.diego2009-10-191-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29783 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark some functions that do not need external visibility as static.diego2009-09-302-2/+2
| | | | | | | patch by Alexander Neumann, alexander bumpern de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29744 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce console output verbosity: Move colorspace information to verbose mode.diego2009-09-301-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29742 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change type to avoid void * arithmetic.reimar2009-09-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29716 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set codec_type and codec_id in codec context for lavc encoders.reimar2009-09-252-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29715 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure avctx->codec_type and codec_id are set, since libavcodecreimar2009-09-232-0/+3
| | | | | | | | | currently requires that. That probably is an unintended API change and should be fixed/reverted in lavc but it hurts little to workaround here. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use x264_encoder_delayed_frames instead of the current hack to flush delayedreimar2009-09-231-4/+2
| | | | | | | frames in VFCTRL_FLUSH_FRAMES. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29705 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync to x264-r1260 (which changed api)lorenm2009-09-231-33/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29704 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add several HAVE_EBX_AVAILABLE conditions where necessaryreimar2009-09-143-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29681 b3059339-0415-0410-9bf9-f77b7e298cf2
* %lf is not a valid printf format specifier, use just %f instead.reimar2009-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29680 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always keep a backup of the expand values from the command-line, so valuesreimar2009-09-101-8/+19
| | | | | | | | will be recalculated correctly e.g. after aspect change and -vf expand=aspect=4/3 command line. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29666 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2009-08-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29554 b3059339-0415-0410-9bf9-f77b7e298cf2
* Retry deciding to get audio parameters several times on errors, this avoidsreimar2009-08-261-0/+3
| | | | | | | failing to init the decoder completely just because the first packet is broken. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29553 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix incorrect channel ordering for lavc audio codecs (specifically ffac3,tack2009-08-182-15/+7
| | | | | | | | | ffdca, ffflac, ffaac, fftruehd). In the process, adds support for 32-bit samples. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29533 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, fix compilation again and make codec-cfg.c use the predefined constantsreimar2009-08-121-1/+1
| | | | | | | instead of reimplementing the IMGFMT_RGB|bit_depth logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29500 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, RGB48BE does _not_ use 49 bit/pixel, probably fixes 48 bit PNG decoding.reimar2009-08-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add IMGFMT_RGB48LE and IMGFMT_RGB48BE.cehoyos2009-08-113-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29486 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a giant hack to the x264 encoder module to ensure all delayed frames arereimar2009-08-071-1/+3
| | | | | | | | written on FLUSH_FRAMES, this is necessary since using multiple threads adds an additional delay beyond the B-frame delay. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29480 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace macro: MAX -> FFMAXben2009-08-061-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29479 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix stupid, off-by-one, mistakes in assert() expressions.eugeni2009-07-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29448 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-265-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure clip coordinates are inside the screen area.eugeni2009-07-181-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29425 b3059339-0415-0410-9bf9-f77b7e298cf2
* 20% faster hqdn3d on x86_64lorenm2009-07-071-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29414 b3059339-0415-0410-9bf9-f77b7e298cf2
* new debanding filterlorenm2009-07-072-0/+409
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29413 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace "g" asm constraint by "erm" since "g" allows 64bit immediates whilegpoirier2009-06-071-2/+2
| | | | | | | | | | | the operator (cmp) using the "g"-constrained operand doesn't support 64bit immediates. Original thread: date: Tue, Jun 2, 2009 at 11:31 AM subject: [PATCH] Fix MPlayer to compile on Darwin/x86_86 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29352 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch to avcodec_decode_video2 to allow a hack that makes PNG decode correctlyreimar2009-06-011-2/+7
| | | | | | | again instead of in CorePNG delta mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29340 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialize local variable, avoids a possible crash due to using anreimar2009-06-011-2/+2
| | | | | | | uninitialized variable as array index for mono files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29339 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-13128-1289/+1289
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPV_common_init balks if s->avctx->pix_fmt == PIX_FMT_NONE, so we set it ↵rik2009-05-091-0/+2
| | | | | | correctly git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29286 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' to parameterless function declarations.diego2009-05-042-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace glibc-specific __WORDSIZE preprocessor check with HAVE_FAST_64BIT.diego2009-04-251-2/+2
| | | | | | | The latter is properly set by configure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove reference to outdated documentation file.diego2009-04-202-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29209 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add algorithm flag (SWS_POINT) to sws_getContext call to avoid a crash.diego2009-04-201-1/+1
| | | | | | | patch by Alexander Strange, astrange ithinksw com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29205 b3059339-0415-0410-9bf9-f77b7e298cf2
* follow renaming of pbBufPtr() to put_bits_ptr() by stefanorik2009-04-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29178 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix E-AC-3 channel ordering. E-AC-3 needs to use the same ordering as AC-3,diego2009-04-121-1/+2
| | | | | | | | not the standard ordering. patch by Andrew de Quincey, adq_dvb lidskialf net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29173 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary malloc.h #includes and related #ifdeffery.diego2009-04-0218-96/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use MP_MAX_PLANES as size for plane pointer/stride arrays in ↵reimar2009-03-294-22/+18
| | | | | | | | | | libmpcodecs. This might avoid some issues since sws_scale in some cases assumes these have at least 4 valid entries. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29103 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use MP_MAX_PLANES as size of arrays passed to mpcodecs_draw_slice.reimar2009-03-292-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29098 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use x86_reg instead of long in several video filters to fix compilation on ↵reimar2009-03-274-11/+11
| | | | | | MinGW64. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29077 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.cehoyos2009-03-183-5/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28991 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support FFmpeg codecs that decode to other formats than S16.reimar2009-03-181-1/+10
| | | | | | | Double format is currently not supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28990 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid ridiculously small decode_buffer_size (e.g. 4 with acodec=pcm_s16le)reimar2009-03-151-0/+1
| | | | | | | that can make -oac lavc unusable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28963 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove file names from file header, it only causes trouble.diego2009-03-154-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for HAVE_EBX_AVAILABLE before enabling MMX code that needs the EBX ↵reimar2009-03-132-4/+4
| | | | | | | | | register. Makes things a bit simpler for everyone who insists on compiling MPlayer as PIE-code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the same code as in vf_decimate to select diff_MMXreimar2009-03-131-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing ecx clobber in diff_MMX code (yes, that function is duplicated).reimar2009-03-132-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28940 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of nuppelvideo.h and its ugly packed struct and instead write thereimar2009-03-091-18/+17
| |