summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for PIX_FMT_MONOWHITE as output format.michael2008-09-123-8/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27586 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb24toyv12 is not accurately rounding, so disable it as well when themichael2008-09-121-1/+1
| | | | | | | user asks for accurate rounding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27585 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,michael2008-09-121-1/+2
| | | | | | | because they do not accurately round. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27584 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100000000000000l, forgot to commit header change for r27580.michael2008-09-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo that lead to averaging of the same pixel in rgb24ToUV_half().michael2008-09-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27582 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove mistakely commited code i used for testing.michael2008-09-111-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement full horizontal chroma for rgb/bgr24/32 output. michael2008-09-112-1/+115
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27580 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not do unneeded clipping in YSCALE_YUV_2_PACKEDX_C.michael2008-09-111-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27579 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize yuv2packedXinC().michael2008-09-112-228/+58
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27578 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set rgb2yuv constants more accurately, makes no real difference though.michael2008-09-111-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27577 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix chroma yuv->rgb tables for jpeg style yuv, this was missed as itmichael2008-09-111-4/+4
| | | | | | | only affects the C code while mmx uses different tables. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct normalization constant for the vertical filter.michael2008-09-101-2/+2
| | | | | | | | I am not completely sure why this was at such an incorrect value, but I could not find any problems when it was set correctly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27575 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the 2point linear interpolation coefficients correct even for themichael2008-09-101-2/+2
| | | | | | | nearly never occurring 0.0, 1.0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix overflow.michael2008-09-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27573 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync w/r26990 and wording fixes, patch by Cédric Viougpoirier2008-09-101-73/+65
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27572 b3059339-0415-0410-9bf9-f77b7e298cf2
* wording fixes by Cédric Viougpoirier2008-09-101-34/+66
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27571 b3059339-0415-0410-9bf9-f77b7e298cf2
* typography and wording fixes, by Cédric Viou and myselfgpoirier2008-09-101-197/+268
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix build failure due to %%eip on x86_64.michael2008-09-101-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change RGB2YUV_SHIFT from 16 to 15 to make it able to workmichael2008-09-102-5/+3
| | | | | | | with 16bit signed constants (like SIMD might use). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27568 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add bgr/rgb15/16/32->UV-half to the macro so there is less code duplicationmichael2008-09-101-124/+24
| | | | | | | at the source level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize RGB/BGR15/16/32->UV by using the preprocessor.michael2008-09-101-93/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize rgb/bgr15/16/32->Y by using the preprocessor.michael2008-09-101-81/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make SWS_FULL_CHR_H_INP work.michael2008-09-102-11/+165
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27564 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling/wording cosmeticsdiego2008-09-101-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27563 b3059339-0415-0410-9bf9-f77b7e298cf2
* More accurate rounding for 8bit inputs.michael2008-09-091-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,michael2008-09-092-196/+147
| | | | | | | and does not throw half the chroma away. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27561 b3059339-0415-0410-9bf9-f77b7e298cf2
* more French typography fixes and wording fixes, by Cédric Viou and myselfgpoirier2008-09-091-72/+84
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27560 b3059339-0415-0410-9bf9-f77b7e298cf2
* lots of fixes, original patch by Cédric Viougpoirier2008-09-091-50/+67
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add table of rgb->yuv conversion coefficients.michael2008-09-091-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27558 b3059339-0415-0410-9bf9-f77b7e298cf2
* More correct rounding for the rgb/bgr->yuv converters.michael2008-09-091-20/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27557 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make internal Matroska demuxer default againuau2008-09-091-1/+0
| | | | | | | | | | Undo Aurelien's previous commit which made the lavf demuxer the default. SSA/ASS subtitles do not work properly with the lavf demuxer at the moment. That's much more important than any issues with the internal demuxer. The internal demuxer must remain the default at least until the subtitle issues are resolved. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27556 b3059339-0415-0410-9bf9-f77b7e298cf2
* revert r27551 which break much more things than it fixesaurel2008-09-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27555 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use preprocessor conditionals to disable CPU-extension-specific code. We cannotdiego2008-09-093-12/+85
| | | | | | | | rely on libmpeg2's internal CPU extension handling, it leads to link failures with our build system. Fixes Bugzilla #1188. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27554 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix offsets and fuzz in local diff.diego2008-09-091-14/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27553 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent overflows during mpeg->jpeg yuv.michael2008-09-091-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27552 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use internal demuxer for Matroska files for nowuau2008-09-081-1/+0
| | | | | | | | | Change the default demuxer back to the internal one at least until the current lavf breakage with SSA/ASS subtitles is sorted out. There have also been quite a few other regressions so maybe the lavf demuxer should be tested a bit more before trying to make it the default again. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27551 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert bad changes to SSA/ASS subtitle packet formatuau2008-09-082-40/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following commits are reverted partially or completely: "a valid ASS line contains 9 ',' before actual text" "demux_mkv: output correctly formated ASS packets" "libass: add a new ass_process_data() to process demuxed subtitle packets" These commits converted the internal representation of SSA/ASS subtitle packets from the format used by Matroska to a custom format where each packet has contents exactly matching one line in complete SSA script files. AFAIK no files natively use such a format for muxed subtitles. The stated reason for this change was to use a format that could in principle be muxed into a maximal number of containers. SSA subtitles do not have an implicit duration so both start time and duration or end time need to be specified explicitly; the new format moved timing information inside the codec packet data so it could be muxed without modification into containers that can represent only start time at the container level. However such a change is wrong from the viewpoint of program architecture. Timing information belongs to the demuxer level, but these commits moved not only the duration but also the authoritative value of the start time to inside the codec data. Additionally the new format lost the value of the Matroska ReadOrder field which is used by MPlayer. This commit changes the internal packet format back to that used by Matroska and makes the internal Matroska demuxer output that format again. Libavformat still outputs the "new" format; it could be converted back to the Matroska format in demux_lavf.c, but I'm not adding that code at least yet. The current lavf code has similar problems as the reverted code in MPlayer, and it also currently fails to provide any way to access the value of the ReadOrder field. I hope that the lavf side will be improved; if it isn't conversion can be added later. For now I'll make MPlayer default to the internal Matroska demuxer instead of the lavf one in a separate commit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27550 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation with lavc version > r15270gpoirier2008-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after libavcodec major version 52 changesuau2008-09-085-11/+13
| | | | | | | | | | | Some symbols were dropped or renamed, requiring corresponding changes in MPlayer. - Use AVCodecContext->bits_per_coded_sample instead of ->bits_per_sample. - Use AVCodecContext->trellis instead of ->flags&CODEC_FLAG_TRELLIS_QUANT. - Don't set AVCodecContext->rtp_mode (already marked unused before). - Use ff_eval2() instead of ff_eval(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27548 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix jpeg yuv.michael2008-09-082-8/+37
| | | | | | | Fixes issue504. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27547 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo in comment.michael2008-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix accurate rounding mode on x86_64.michael2008-09-073-21/+34
| | | | | | | Fixes issue222. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27545 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make ToY and ToUV family of function consistent part Ilu_zero2008-09-071-16/+16
| | | | | | | Convert width argument from int to long (note: srcW is still an int). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make fast bilinear scaler work again.michael2008-09-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27543 b3059339-0415-0410-9bf9-f77b7e298cf2
* 'mp3lame' audio output codec was wrongly listed as 'lame'.diego2008-09-071-2/+2
| | | | | | | noticed by Robert Vincenz, vincenz.robert t-online de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27542 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace casual GPL notices by proper license headers.diego2008-09-0721-101/+405
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header cosmeticsdiego2008-09-071-18/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27540 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header cosmeticsdiego2008-09-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove wrong compilation instructions.diego2008-09-071-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove encode2mpeglight, it is only an outdated stripped-down version of thediego2008-09-072-2016/+0
| | | | | | | tool maintained externally at http://encode2mpeg.sf.net/. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27537 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header cosmeticsdiego2008-09-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27536 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix incorrect FSF address in license header.diego2008-09-061-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace casual GPL notice by proper license header.diego2008-09-061-3/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27534 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove outdated URL from vd_info_t struct.diego2008-09-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27533 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove version information from libmpeg2 vd_info_t struct.diego2008-09-061-1/+1
| | | | | | | It is available in other places and needs to be updated continuously. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27532 b3059339-0415-0410-9bf9-f77b7e298cf2
* libass: fix type mismatch between size parameter and the way it's usedaurel2008-09-052-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27531 b3059339-0415-0410-9bf9-f77b7e298cf2
* libass: add a new ass_process_data() to process demuxed subtitle packetsaurel2008-09-053-7/+25
| | | | | | | conforming to the ASS spec git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27530 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_mkv: output correctly formated ASS packetsaurel2008-09-051-1/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27529 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify function selection codebcoudurier2008-09-051-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27528 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable yuv422p to uyvy converterbcoudurier2008-09-054-0/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27527 b3059339-0415-0410-9bf9-f77b7e298cf2
* a valid ASS line contains 9 ',' before actual textaurel2008-09-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27526 b3059339-0415-0410-9bf9-f77b7e298cf2
* lavf: the subtitles display duration is stored in pkt.convergence_durationaurel2008-09-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make 16bit grayscale output work.michael2008-09-042-6/+75
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.michael2008-09-041-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.michael2008-09-044-8/+53
| | | | | | | Fixes issue248. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 4 and 8 bit RGB/BGR input.michael2008-09-041-9/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove workaround for rgb/bgr mess.michael2008-09-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 4 of the unscaled rgb15/16 converters, each of these containedmichael2008-09-041-28/+10
| | | | | | | | | 2-3 bugs each of which made it fail completely, this code clearly has never been tested and been written by somone who knows the difference between a potato and a computer is that the first is round. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27519 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb vs bgr fix for the unscaled converters.michael2008-09-043-42/+42
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27518 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rgb15/16 vs. bgr part2.michael2008-09-041-24/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27517 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rgb15/16 vs. bgr part1.michael2008-09-041-5/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add fflush to prevent stdout & stderr from being mixed.michael2008-09-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
* support E-AC-3 decoding using ffmpegaurel2008-09-013-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27514 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove Windows-specific #ifdefs, the file does not compile on MinGW anyway.diego2008-09-011-10/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27513 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore .exe files on Windows.diego2008-09-010-0/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27512 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename --enable-tremor-external option to --enable-tremor along with thediego2008-09-011-8/+8
| | | | | | | corresponding variables. git-svn-id: svn://svn.mplayerhq.hu/mplay