summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_ffmpeg.c
Commit message (Collapse)AuthorAgeFilesLines
* Make video decoder description structs constUoti Urpala2008-04-251-1/+1
| | | | | | 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-1/+1
|
* Move -lavdopts to options structUoti Urpala2008-04-251-68/+54
|
* vd_ffmpeg.c: Eliminate some compiler warningsUoti Urpala2008-04-251-5/+5
| | | | | Make the functions used in avctx->draw_horiz_band match its type (add a "const"). Add cast to avoid void * arithmetic.
* Restore grayscale decoding support with FFmpeg.diego2008-04-131-0/+3
| | | | | | | Removing support was done due to a silly misunderstanding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Grayscale encoding/decoding with FFmpeg is no longer enabled, remove referencesdiego2008-03-071-3/+0
| | | | | | | from the documentation and the relevant options from the glue code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26198 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-141-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make m_option_t arrays referenced by cfg-common.h constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change the frame format passed to lavc realvideo decoders to adapt for rtogni2007-10-281-15/+12
| | | | | | | | the changes in r10825. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24882 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable direct rendering for ROQ video, the buffer management used by rtogni2007-09-301-1/+1
| | | | | | | the codec is not compatible with MPlayer idea of reget_buffer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24676 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vd_ffmpeg work with lavf demuxer also for RealVideo.reimar2007-09-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdef HAVE_XVMC within get_format(), all of the functiondiego2007-08-281-2/+0
| | | | | | | is protected by that #ifdef. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24274 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-281-3/+3
| | | | | | | | vd_ffmpeg.c: At top level: vd_ffmpeg.c:915: warning: 'get_format' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24273 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Add some explanatory comments to #endif directives.diego2007-08-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24268 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some unused variable warnings.diego2007-08-251-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24162 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused variables, patch by timwoj ieee org.diego2007-05-281-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ratio aspect on Matroska files, broken with recent 'spect change in DVB' ↵gpoirier2007-03-071-1/+4
| | | | | | | | | | | | | | patch patch by Carl Eugen Hoyos % cehoyos A ag P or P at % Original thread: Subj: [MPlayer-dev-eng] [PATCH] Fix aspect in mkv Date: 03/05/2007 02:01 PM Bug report report: http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-March/065823.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22484 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix some common typos, appropiate --> appropRiate,diego2007-02-241-1/+1
| | | | | | | handEling --> handling, dependAnt --> dependEnt. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22334 b3059339-0415-0410-9bf9-f77b7e298cf2
* reinit the vo when aspect ratio changes; patch by C.E. Hoyos approved by Michaelnicodvb2007-02-201-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22295 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer canot handle DR1 with CODEC_ID_INTERPLAY_VIDEO (later needs too many ↵michael2007-02-171-1/+1
| | | | | | buffers it seems) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22240 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert part of commit r22170.iive2007-02-071-2/+2
| | | | | | | | | FFmpeg lavcodecs version is still (or according to ffmpeg commit r7868, it's back to) 49.3.0, so global variables are not yet directly accessable (if ever). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22171 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after deprecation of some lav log level andreimar2007-02-071-4/+4
| | | | | | | pixel format stuff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22170 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing checks in RealVideo slice handling code.reimar2007-02-061-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmeticsreimar2007-02-031-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22110 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid crash in uninit if codec not foundreimar2007-02-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22109 b3059339-0415-0410-9bf9-f77b7e298cf2
* Swap palette on bigendian.reimar2007-01-311-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22094 b3059339-0415-0410-9bf9-f77b7e298cf2
* BE_32 -> AV_RB32reimar2007-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21964 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of min/max macros from aviheader.h, they do not belong here.reimar2006-12-091-2/+2
| | | | | | | Replace their uses by FFMIN/FFMAX git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21547 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
* Fix memleak if vd_ffmpeg init failsreimar2006-12-061-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21514 b3059339-0415-0410-9bf9-f77b7e298cf2
* Compile fix, BE_32 definition has been movedreimar2006-12-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21473 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
* Fix incorrect use of be2me_32 on a pointer, use BE_32 instead.reimar2006-11-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Useless use of strstr, strchr is good enough.reimar2006-11-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21259 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check the log level before processing the messagehenry2006-11-261-7/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21258 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix extradata passing to lavc RV20 decoderrtogni2006-11-141-9/+8
| | | | | | | | | | | | Pass video codec extradata unchanged from demux_real, sync vd_realvid to the new format Sync mkv demuxer to the changes above (cmsg24 extradata was totally broken before) Detect cmsg24 size from extradata (was fixed) Based on a patch by elupus >> elupus >a< ecce se << git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20936 b3059339-0415-0410-9bf9-f77b7e298cf2
* feed av_log() through mp_msg()michael2006-11-071-0/+49
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20757 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix SVQ3 extradata handling so it works correctly with demux_lavfpacman2006-07-311-8/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19284 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix bogus pointer addition in the extraction of extradata frompacman2006-07-311-2/+1
| | | | | | | BITMAPINFOHEADER. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19283 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.diego2006-07-131-113/+3
| | | | | | | It served no apparent purpose anymore. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new video pts tracking mode, enabled by option -correct-pts.uau2006-07-061-1/+3
| | | | | | | | | | | | | | 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
* rm unnecesary casts from void* - part 3reynaldo2006-07-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify extradata handling and make passing extradata on the default.reimar2006-04-021-38/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18024 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵reynaldo2006-03-311-16/+16
| | | | | | chello DOT hu with LOTS of modifications by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 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
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 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
* Move conditional compilation out of the code and into the build system.diego2006-01-311-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17524 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper support for shared libpostprocdiego2006-01-221-1/+1
| | | | | | | 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
* malloc padding to avoid access beyond allocated memoryhenry2005-12-191-4/+4
| | | | | | | 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
* bitexact flagmichael2005-12-181-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17218 b3059339-0415-0410-9bf9-f77b7e298cf2
* multithreaded decodingmichael2005-12-021-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17081 b3059339-0415-0410-9bf9-f77b7e298cf2
* make -lavdopts debug work again, patch by Jason Tackaberry ( tack AH sault ↵gpoirier2005-12-021-0/+2
| | | | | | | | | | | POIS org ) Original thread: Subject: Re: [MPlayer-dev-eng] [PATCH] make -lavdopts debug work again Date: Fri, 2 Dec 2005 01:38:02 +0100 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17074 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not set ctx->vo_inited when init fails. This caused a crash when areimar2005-11-101-1/+1
| | | | | | | matching colorspace is missing in codecs.conf. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16964 b3059339-0415-0410-9bf9-f77b7e298cf2
* print the first 16 bytes of frame data with -v -v, helps detect whenreimar2005-09-161-0/+2
| | | | | | | the demuxer messes up packetizing (-dumpvideo does not help here :-( ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16498 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for skip optionsreimar2005-07-171-0/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15987 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg theora decoder supportrtognimp2005-06-261-1/+2
| | | | | | | It works only with libavformat demuxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15824 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l for mehenry2005-06-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15695 b3059339-0415-0410-9bf9-f77b7e298cf2
* correcting the previous draw_slice fixhenry2005-06-071-2/+4
| | | | | | | | - don't draw slices beyond sh->disp_h - draw slices sh->disp_w wide to avoid buffer overflow in VO git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15684 b3059339-0415-0410-9bf9-f77b7e298cf2
* check for display height when drawing sliceshenry2005-06-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15679 b3059339-0415-0410-9bf9-f77b7e298cf2
* quicktime fix updatehenry2005-05-251-3/+7
| | | | | | | | - check for existence of sh->ImageDesc instead of h263 fourcc - honor -lavdopts lowres git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15570 b3059339-0415-0410-9bf9-f77b7e298cf2
* prefer width&height from bitmapinfoheader for h263 streamshenry2005-05-251-4/+12
| | | | | | | | fixes playback of some MOV files (http://mplayerhq.hu/pipermail/mplayer-dev-eng/2004-July/027777.html) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15568 b3059339-0415-0410-9bf9-f77b7e298cf2
* LOCO support via lavcrtognimp2005-04-071-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15065 b3059339-0415-0410-9bf9-f77b7e298cf2
* "support" YUVJ colorspaces added to libavcodec, makes mjpeg decoding work againreimar2005-01-261-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14598 b3059339-0415-0410-9bf9-f77b7e298cf2
* wmv3 needs extradataalex2005-01-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14577 b3059339-0415-0410-9bf9-f77b7e298cf2
* change malloc and free to av_ variants where needed.reimar2005-01-081-22/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14432 b3059339-0415-0410-9bf9-f77b7e298cf2
* conditional lowres: activate lowres if frame width >= thresholdnicodvb2004-12-171-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14170 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix byteordermichael2004-12-061-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14119 b3059339-0415-0410-9bf9-f77b7e298cf2
* new lavc codec: ffvhufflorenm2004-11-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14058 b3059339-0415-0410-9bf9-f77b7e298cf2
* too large extradatamichael2004-10-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13612 b3059339-0415-0410-9bf9-f77b7e298cf2
* compensate for width/height being picture width/height instead of bitstream ↵michael2004-09-271-3/+3
| | | | | | width/height git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13490 b3059339-0415-0410-9bf9-f77b7e298cf2
* low resolution decodingmichael2004-09-261-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13474 b3059339-0415-0410-9bf9-f77b7e298cf2
* AVC support moved to libavcodec, avcC atom is now passed in extradatartognimp2004-09-131-98/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13334 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable direct rendering for h264michael2004-09-071-1/+1
| | | | | | | until now we did try with dr, and disabled it if more then 1 reference frame was used, but that rarely resulted in dr+h264 and its not guranteed to work as stride may end up different, and remocing CODEC_CAP_DR1 from h264 in ffm