1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 19:22:11 +00:00
Commit Graph

376 Commits

Author SHA1 Message Date
michael
65f45532e3 Fix typo in comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27546 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-08 00:52:22 +00:00
michael
7dd7068c7a Fix accurate rounding mode on x86_64.
Fixes issue222.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27545 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 21:06:21 +00:00
lu_zero
6078a4b0e6 Make ToY and ToUV family of function consistent part I
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
2008-09-07 18:22:29 +00:00
michael
1333189983 Make fast bilinear scaler work again.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27543 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 16:59:04 +00:00
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
diego
9616112fde cosmetics: sort lines (correctly)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26673 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-05 10:10:05 +00:00
lu_zero
9efc507dd9 cosmetics: Shuffle lines around and add empty lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26671 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-04 20:22:03 +00:00
lu_zero
275128c8d2 Build sparc arch specific code using the Makefile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26670 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-04 20:19:33 +00:00
diego
c05739c3e3 cosmetics: alphabetical order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26669 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-04 18:28:24 +00:00
diego
70dd60b8cd cosmetics: __asm__ __volatile__ --> asm volatile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26456 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-17 21:54:43 +00:00
diego
42880d2821 Relicense test/example files as LGPL with Michael's permission.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 01:29:24 +00:00
mru
ac1280459b non-recursive makefiles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26346 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-07 21:16:50 +00:00
diego
37d20cbc93 Fix wrong #endif comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26300 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-29 15:51:05 +00:00
diego
ebfa5122b3 Classify mlib as a configurable option, not as a hardware feature.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26275 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-25 21:30:46 +00:00
diego
b090190936 Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.
patch by Alexander Strange, astrange ithinksw com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26270 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-22 18:22:53 +00:00
diego
cf09f76844 cosmetics: comment typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26269 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-22 17:35:32 +00:00
diego
a5a71b8a5f Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26264 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-18 22:14:57 +00:00
zuxy
f59d66a7c0 Fix a typo that causes an assertion to always fail.
Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26257 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-17 06:01:58 +00:00
diego
86a9d2666e typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26251 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 16:13:24 +00:00
diego
6628c4ba3b Remove the unused function roundToInt16. It is a duplicate of the same function
in swscale.c. Fixes the warning:
yuv2rgb_altivec.c:751: 'roundToInt16' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26247 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 10:04:19 +00:00
diego
c1f4b20925 typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26228 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-12 23:50:48 +00:00
diego
c388f79c0f Mark Y variable in EPILOG macro as av_unused to avoid unused variable warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26220 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-11 09:01:38 +00:00
diego
26ad83476f typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26212 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 18:38:46 +00:00
benoit
7f97108f0f Make av_class a pointer to const.
Patch by Takis.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26210 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 14:30:49 +00:00
benoit
26f0d73d73 define VOF as double of VOFW.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26209 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 14:28:25 +00:00
diego
e0879ad8d3 Remove redundant swScaler: output from places where av_log()
properly prints the context anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26207 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 07:30:24 +00:00
diego
3fe4b0b696 cosmetics: Remove useless empty line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26201 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-08 14:54:36 +00:00
diego
5e6c92b86c cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26200 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-08 14:40:18 +00:00
mru
cc36be59cb simplify library version handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26193 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 19:27:08 +00:00
mru
efb5c8304b consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26186 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 20:44:47 +00:00
bcoudurier
fb984553d3 change sws_format_name to return const char*, supress many warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26183 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 11:32:25 +00:00
bcoudurier
7bda4c32f1 remove redundant SwScaler text since av_log uses AVClass context
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26182 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 09:51:25 +00:00
michael
fbd3ffa4a0 One more (forgotten) fix for fixing sws_flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26166 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 04:03:44 +00:00
michael
5022909fa8 Turn ancient V offset numerical constants into named ones.
Add a check that checks that the width is within the chosen constant.
This might have been exploitable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26165 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 03:00:25 +00:00
mru
8d1529b2fe less preprocessor magic in version number macros
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26105 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 20:38:02 +00:00
diego
c214df59db Fix outdated comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26099 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:43:52 +00:00
mru
635e6bf7c3 #include "libavutil/avutil.h" in swscale.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26097 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:24:33 +00:00
reimar
4825a2ee81 __asm __volatile -> asm volatile part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26091 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 14:59:16 +00:00
cehoyos
50899e9083 Discard two symbols from libswscale.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26060 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 08:08:19 +00:00
mru
f4cab7e69a Clean up lib* version definitions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26034 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-19 22:52:28 +00:00
mru
1a8c91dfc2 remove duplicate AV_STRINGIFY() definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26013 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 03:54:07 +00:00
diego
cee7af12b0 FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26010 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 15:17:59 +00:00
benoit
5839f06341 More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25999 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 07:50:27 +00:00
diego
b8da7d2c5a typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25991 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 09:07:41 +00:00
cehoyos
9e83b53822 Make dither4 & dither8 const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25967 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 22:57:37 +00:00
reimar
da8ab92c7d Make some assembler constants global instead of declaring them multiple times.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25910 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-29 14:58:10 +00:00
reimar
4ceb92650a Use DECLARE_ASM_CONST where possible in libswscale code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25903 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 14:38:11 +00:00
reimar
c83eeec033 Fix typo in comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25829 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 20:46:28 +00:00
benoit
024ccaccf7 Change (a == NULL) condition to (!a) and (a != NULL) condition to (a).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25780 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 15:49:31 +00:00
benoit
ef1ae8fd19 Remove some useless parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25779 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 11:07:27 +00:00
benoit
bc7d838528 Cosmetics: whitespaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25778 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 10:24:14 +00:00
benoit
821d1ccea5 Remove non cosmetic spaces inside parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:57:15 +00:00
benoit
94f3351841 Description: remove superfluous parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25776 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:12:23 +00:00
benoit
6e8c03910d Check param in sws_getCachedContext().
Patch by KO Myung-Hun komh chollian net
Original thread: [FFmpeg-devel] [PATCH] param check in sws_getCachedContext()
Date: Wed Jan 9 11:15:19 CET 2008


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:06:09 +00:00
diego
5efcab64a5 comment typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25485 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:47:09 +00:00
benoit
f2281fa06a Make sure strides have positive values before converting.
Patch by Peter Schlaile: peter schlaile de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25467 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:08:36 +00:00
diego
460de55771 Add missing declarations for AltiVec functions, fixes the warnings:
swscale_template.c:1171: warning: implicit declaration of function ‘altivec_yuv2packedX’
swscale.c:1982: warning: implicit declaration of function ‘yuv2rgb_altivec_init_tables’
yuv2rgb.c:652: warning: implicit declaration of function ‘yuv2rgb_init_altivec’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25319 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 04:29:11 +00:00
diego
48d39aa9a5 Fix 'make checkheaders' on AltiVec-enabled systems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25316 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-07 15:30:12 +00:00
diego
02138e2282 Fix some spelling typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25245 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:07:01 +00:00
diego
4548f6964e Comment some #endif directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25211 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 13:21:20 +00:00
diego
27fa018d05 comment spelling/grammar fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25137 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 10:27:58 +00:00
diego
a6682b3a81 The function names of [rgb|bgr]1[56]to[UV|Y] had rgb<->bgr flipped.
Rename them to match the actual implementation. Fixes issue 162.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24965 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 12:34:46 +00:00
diego
f24a71a0f0 Rename LIB to LIBNAME for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24802 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-18 09:35:02 +00:00
diego
42adf39c38 1l: Update wrong #endif comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24801 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-18 09:31:47 +00:00
diego
4f29b1485a Add FFMPEG_ prefix to all multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24800 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-18 09:30:33 +00:00
diego
782dd94b29 cosmetics: Fix AltiVec spelling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24685 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-02 10:37:59 +00:00
diego
b13c49493c Revert wrong ARCH_BFIN --> HAVE_BFIN change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24627 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-27 08:00:22 +00:00
aurel
991c218475 add support for yuva420p colorspace (yuv420p + alpha)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24601 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-24 15:11:49 +00:00
michael
6c5bcd943d cosmetic (get rid of _ at the start of local variable names)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24597 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-24 07:31:43 +00:00
mhoffman
503a85926f renaming ARCH_BFIN to HAVE_BFIN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24309 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-31 14:57:50 +00:00
diego
b19d00992c cosmetics: Sort some lines, whitespace changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24305 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-30 23:11:55 +00:00
diego
64681afa04 Move Apple gcc AltiVec vector declaration syntax to libavutil.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24143 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 15:04:14 +00:00
diego
f7176daf51 Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24121 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-22 22:46:55 +00:00
diego
65d2553645 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23889 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:17:25 +00:00
mhoffman
c524f310b0 integrating blackfin optimized yuyvtoyv12 converter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23833 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-20 00:11:38 +00:00
mhoffman
f0fdd488ef removing reference to bfin_sram.h its not used anylonger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23832 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-20 00:10:55 +00:00
mhoffman
5e530992c3 adding blackfin optimized yuyvtoyv12 converter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23831 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-20 00:09:45 +00:00
benoit
7de92dc41c UltraSPARC VIS yuv2rgb
patch by Denes Balatoni: [dbalatoni interware hu]
original thread: [FFmpeg-devel] [PATCH] UltraSPARC VIS yuv2rgb third try
date: 07/17/2007 08:35 PM


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23825 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-19 07:24:43 +00:00
benoit
26333dbfec use YUV440P in swscale
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23811 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 08:12:40 +00:00
diego
411a4b4058 This was rewritten by Michael, switch copyrights to him and license to LGPL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23796 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-17 09:35:21 +00:00
diego
e34332d602 Remove redundant "all rights reserved" statement, OKed by Walken.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23791 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-16 17:48:02 +00:00
diego
f4876bda37 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23780 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-14 14:39:51 +00:00
lucabe
09718eaa7a Remove unused file (this time for real)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23767 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-11 15:29:20 +00:00
lucabe
ff9096cb6d Resurrect yuv2rgb_init.c, to add a proper license (and some comments about
its origin) in it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23759 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-10 11:18:55 +00:00
diego
b204d01081 ISO8859-1 --> UTF-8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23752 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 18:55:31 +00:00
diego
b3d59ea908 license header consistency cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23722 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 10:18:58 +00:00
diego
2375a9207d Group all copyright and author notices together.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23721 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 10:18:27 +00:00
lucabe
e7e69c5489 Remove unused file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23715 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-03 13:52:36 +00:00
diego
5e7f6adb17 Fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23701 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 12:52:41 +00:00
diego
da9307d121 Remove obsolete and misleading comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23700 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 11:43:38 +00:00
diego
78fb17276c comment grammar fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23685 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-28 11:18:16 +00:00
mhoffman
d1a47e2290 integrating ff_bfin_get_unscaled_swscale into the system
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23605 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 13:03:40 +00:00
mhoffman
b60c17b45c adding Blackfin swscale_bfin infrastructure, and the first swscale routine uyvy to yv12 video resampler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23604 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 12:45:18 +00:00
mhoffman
a143e429a1 document pointer offset by -8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23603 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 00:14:22 +00:00
mhoffman
f8fb16fc31 re pipeline loop, to eliminate extra chroma reads
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23602 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 00:12:44 +00:00
mhoffman
42b67bdedc correct chroma skewing bug, caused by incorrect stride adjustments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23601 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 00:07:55 +00:00
reimar
b6807dadb3 Missing libswscale part of TARGET_ -> HAVE_ change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23564 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-16 15:29:26 +00:00
reimar
f591c3a74d Copile fix: missing libswscale part of ffmpeg r9322 TARGET_ARCH -> ARCH change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23562 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-16 15:17:00 +00:00
diego
7b472fa2ea misc spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23556 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-13 17:48:15 +00:00
reimar
50e63ed5bd Fix yuv2rgb C functions to work for widths divisible by 4 but not by 8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23508 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-08 07:49:59 +00:00
mhoffman
ebe2eb246e correcting spelling error, yuv2rgb888_line was renamed to yuv2rgb24_line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23472 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 13:18:16 +00:00