Commit Graph

60 Commits

Author SHA1 Message Date
sdrik c8509646d5 Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29240 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-27 14:25:44 +00:00
ramiro ab921d2cb6 Move yuv2rgb code to subdirs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29063 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-26 01:30:10 +00:00
sdrik e7d0a352fc Simpler and more elegant fix to the x86_32/OSX+PIC build failure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29046 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 07:09:19 +00:00
sdrik 3349369dfa Fix build failure on x86_32 Mac OS X with PIC enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29022 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 12:16:32 +00:00
sdrik 6667f198c2 Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled converters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29010 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:14:28 +00:00
ramiro 72e3d88202 Do not assume long is same width as x86 register.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28992 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:07:30 +00:00
diego a186cc5523 Consistently use ff_ prefixes for internal symbols.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28988 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 08:06:08 +00:00
diego 972614cb38 Fix ff_bfin_yuv2rgb_get_func_ptr() vs. sws_ff_bfin_yuv2rgb_get_func_ptr() name
mismatch. The function is now called sws_yuv2rgb_get_func_ptr_bfin().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28982 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 12:05:56 +00:00
sdrik 6be0336c0d Add an alpha parameter to the YUV2RGBFUNC macro to ease the upcoming yuva2rgb patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28978 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 20:04:32 +00:00
reimar 25a27fd17a Fix braindead and broken way to calculate abase, fixes regression tests on
big-endian systems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28773 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 11:33:10 +00:00
sdrik 3a81bf82a0 When converting from a non alpha format to an alpha format, defaults to all ones rather than all zeroes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28756 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 08:01:52 +00:00
diego e1724e3000 Rename yuv2rgb2.c --> yuv2rgb.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28723 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:40:20 +00:00
diego 9e540cc708 Remove GPL version of yuv2rgb.c that has been replaced by an LGPL substitute.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28716 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 14:50:28 +00:00
kostya ab3f56987f Prefix visible YUV2RGB functions with sws_
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28496 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 14:31:53 +00:00
kostya c5bf12666b Give better name to Inverse_Table_6_9
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28495 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 14:17:30 +00:00
diego ce1a533059 Remove file name from file headers.
It provides no useful information and breaks on renames.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28494 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 11:19:19 +00:00
diego cecfbf85db HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28358 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 19:58:33 +00:00
aurel be34ba7a39 Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28311 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-14 00:13:56 +00:00
flameeyes 98fb4aebc2 Mark dither_2x2_{8,4} static to swscale.c
These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27736 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:12:38 +00:00
cehoyos 99877b2fc6 Remove b5Dither, g5Dither and r5Dither from libswscale.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27718 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 18:50:39 +00:00
cehoyos 15d516ffdf Remove g6Dither from libswscale.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27715 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 16:40:35 +00:00
michael 5f9a7d91b9 Move dither tables from yuv2rgb to swscale, they have been written by me and
can be used under LGPL.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27609 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-14 18:00:49 +00:00
michael fd6cd1c95c Fix chroma yuv->rgb tables for jpeg style yuv, this was missed as it
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
2008-09-11 00:09:01 +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 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
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
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 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 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
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
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
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
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
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
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
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 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
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
benoit 21939776eb rename attribute_unused to av_unused as it is declared in common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23418 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-30 09:33:09 +00:00
gpoirier ea9075f2c7 Blackfin optimized YUV420 to RGB CSC Color Space Converters.
YUV2 -> RGB BGR for 565, 555 and 888 a.k.a. 24bit color.
Speed-up compared to C version compiled with -O3  187.28%
Patch by Marc Hoffman %mmh A pleasantst P com%
Original thread:
Date: May 9, 2007 2:46 AM
Subject: [FFmpeg-devel] PATCH BlackFin yuv2rgb color space conversion


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-13 19:22:32 +00:00
diego 53b0783bf6 cosmetics attack, part III: Remove all tabs and prettyprint/reindent the code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23175 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 21:36:43 +00:00
diego 95000b0ca7 cosmetics: Remove trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23147 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 23:07:11 +00:00
michael f605cf5f93 fix full range (jpeg yuv) chroma
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22713 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 12:31:53 +00:00
lucabe aaac7f6eaf Pass a context to av_log(), when possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 13:41:45 +00:00
diego 2d33f0d405 Fix license headers and FSF postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21994 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 01:21:36 +00:00
lucabe 896f3ac12b Mark some variables as possibly unused to avoid warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21775 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 17:59:28 +00:00