1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
Commit Graph

272 Commits

Author SHA1 Message Date
bcoudurier
244d3d1622 simplify function selection code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27528 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 01:44:33 +00:00
bcoudurier
3178a5606a enable yuv422p to uyvy converter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27527 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 00:25:39 +00:00
michael
a0d85f9301 Make 16bit grayscale output work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27524 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 22:58:16 +00:00
michael
c1fa10dc7e Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27523 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 22:31:22 +00:00
michael
172a4bfaea Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Fixes issue248.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27522 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 21:59:15 +00:00
michael
1a636fc7f9 Fix 4 and 8 bit RGB/BGR input.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27521 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 20:46:36 +00:00
michael
a42e4e1bd5 Remove workaround for rgb/bgr mess.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27520 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 20:16:41 +00:00
michael
a56ed81a5c Fix 4 of the unscaled rgb15/16 converters, each of these contained
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
2008-09-04 19:49:13 +00:00
michael
6dcd5a4e7a rgb vs bgr fix for the unscaled converters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27518 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 19:11:39 +00:00
michael
b8d98f8959 Fix rgb15/16 vs. bgr part2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27517 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 18:24:25 +00:00
michael
b387cc68b6 Fix rgb15/16 vs. bgr part1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27516 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 18:14:29 +00:00
michael
de4a1aae91 Add fflush to prevent stdout & stderr from being mixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 15:13:55 +00:00
stefano
e372474088 Change header inclusion guard names in line with FFmpeg r15120.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27499 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 07:42:11 +00:00
stefano
6c30638aa1 Implement swscale_version().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27492 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 18:23:54 +00:00
gpoirier
1d0ab01312 compilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of AVV() macro
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27349 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-25 09:15:08 +00:00
diego
75a52556e9 cosmetics: Fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27345 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-24 16:52:35 +00:00
diego
89e44cda3a Remove AltiVec vector declaration compiler compatibility macros.
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27344 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-24 16:49:14 +00:00
michael
4993d0c46a fix memleak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27332 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-21 11:41:13 +00:00
michael
76affcd2cb Cleanup, use av_freep() instead of av_free(x); x=NULL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27331 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-21 11:18:24 +00:00
michael
17b0917069 Make C code in yuv2yuv1() do accurate rounding, this could be split
depending on SWS_ACCURATE as well if someone wants.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27323 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-18 00:09:09 +00:00
michael
3076d107cf indent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27322 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 23:43:48 +00:00
michael
8db6dab345 Forgotten accurate rounding function YSCALEYUV2YV121_ACCURATE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27321 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 23:42:06 +00:00
michael
e96aa16d0c simplify yuv2yuv1()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27320 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 23:35:36 +00:00
michael
8d04d0c285 10l forgot SWS_BILINEAR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27318 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:30:02 +00:00
michael
fb9c400ac2 Ensure that exactly one scaler algo is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27317 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:01:18 +00:00
astrange
5212b72ec9 Cosmetics: reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27279 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 22:27:50 +00:00
astrange
84c048051a Remove const vector casts from Altivec.
Fixes compatibility with C99.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27278 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 22:27:19 +00:00
lu_zero
4a6cd3026e 100l, avoption splitted code added, I should double check with svn status...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27245 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-10 15:37:06 +00:00
lu_zero
afbb3b8a16 Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27244 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 22:43:08 +00:00
lu_zero
d34eccfec3 Remove ASSERT() macro. SoC Patch from Keiji Costantini
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27214 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 03:32:47 +00:00
lu_zero
4e3106460f Reindent. SoC Patch from Keiji Costantini
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27213 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 03:27:31 +00:00
lu_zero
ba7100e51c Split simpleCopy into packedCopy and planarCopy. SoC Patch from Keiji Costantini
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27212 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 03:26:32 +00:00
diego
1e95d9f4ef spelling/grammar/wording overhaul
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27190 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-04 13:49:45 +00:00
diego
38c51d7eb6 whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27188 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-04 13:14:29 +00:00
diego
98b0b52fce Place license header at the top of the file for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27187 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-04 13:12:47 +00:00
diego
f80ecfbb32 OBJS should end in .o, not .c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27035 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 14:44:38 +00:00
diego
775975f33c VIS OBJS should end in .o, not .c; patch by Jan Knutar, jknutar nic fi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27034 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 14:44:05 +00:00
diego
c923274e4a Add missing #include, patch by Jan Knutar, jknutar nic fi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27033 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 14:41:44 +00:00
bcoudurier
38ce550b21 restore needed cast to correct type with const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26957 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 19:08:16 +00:00
bcoudurier
3b5904ef9a cast to correct type, suppress warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26949 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:36:23 +00:00
bcoudurier
f8ac253ab4 cast to correct type, suppress warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26948 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:35:27 +00:00
bcoudurier
cdd5253352 cast to correct type, suppress warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26947 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:34:39 +00:00
bcoudurier
76b6861d77 cast to correct type, suppress warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26946 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:28:15 +00:00
bcoudurier
1a38d2aaea add const, suppress warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26945 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:27:45 +00:00
bcoudurier
0c310e00b1 remove useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26944 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:25:07 +00:00
bcoudurier
c11a96876c add const, suppress warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26943 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:23:50 +00:00
bcoudurier
bbfb56cc65 add const, suppress warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26942 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:21:12 +00:00
bcoudurier
f9f4d5b718 remove useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26941 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 03:17:42 +00:00
superdump
429e8afc84 Remove in_asm_used_var_warning_killer()
Patch by Keiji Costantini ( strites gmail com )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26706 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-09 12:47:55 +00:00
diego
e6f301c8ae Use full path for #includes from another directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-09 12:00:25 +00:00