summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.diego2008-09-157-88/+89
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid useless line in libpostproc test.diego2008-09-151-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid using floating point for calculating filter coefficients.michael2008-09-151-81/+83
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid some explicit types in sizeof().michael2008-09-141-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use av_mallocz() instead of for() =0;michael2008-09-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27610 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move dither tables from yuv2rgb to swscale, they have been written by me andmichael2008-09-142-111/+111
| | | | | | | can be used under LGPL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27609 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r27607Gabrov2008-09-141-7/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27608 b3059339-0415-0410-9bf9-f77b7e298cf2
* wording consistency cosmeticsdiego2008-09-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27607 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -heartbeat-cmd and -stop-xscreensaver sections reference each other.reimar2008-09-141-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27606 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync diff with libmpeg2 update.diego2008-09-131-742/+75
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27605 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update internal libmpeg2 copy to version 0.5.1.diego2008-09-1322-289/+421
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27604 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpeg-0.4.1.diff was renamed to libmpeg2_changes.diff.diego2008-09-1311-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27603 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.ben2008-09-131-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove version string from name of local changes diff file.diego2008-09-131-0/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indention.michael2008-09-131-313/+313
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.michael2008-09-132-12/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27599 b3059339-0415-0410-9bf9-f77b7e298cf2
* multiple locales in mplayer wishcompn2008-09-131-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable mmx routines that are not bitexact when the user wantsmichael2008-09-131-6/+15
| | | | | | | bitexact ones. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make horizontal mmx scaling code match C code.michael2008-09-131-16/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27596 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ensure that additional filter coeffs that exist due to alignmentmichael2008-09-131-0/+2
| | | | | | | are 0 if bitexact mode is requested. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27595 b3059339-0415-0410-9bf9-f77b7e298cf2
* yvu9toyv12Wrapper is not bitexact so disable it when the user wantsmichael2008-09-121-1/+1
| | | | | | | bitexactness to C. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the horizontal C scaler code clip only against INT16_MAX not 0,michael2008-09-121-1/+1
| | | | | | | this decreases the difference between C and MMX, its also faster. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27593 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add bitexact flag.michael2008-09-122-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27592 b3059339-0415-0410-9bf9-f77b7e298cf2
* The yuv->rgb tables are too small for cliping to be avoidable,michael2008-09-121-1/+1
| | | | | | | | | thus revert the respective optimization. The table generator code has to be rewritten anyway one day by some volunteer because its not LGPL, fixing the GPL table generator thus seems like wasted time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27591 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix another 1000l bug in the mono input code.michael2008-09-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for PIX_FMT_YUV440P.michael2008-09-121-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27589 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l PIX_FMT_MONOWHITE check was really a || 1.michael2008-09-121-1/+1
| | | | | | | | Thats what happens when one does not do the full set of tests before each commit and just quickly goes over the diff thinking, "hey it is a trivial change". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support mono as input format.michael2008-09-122-1/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27587 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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