Carl Eugen Hoyos
627686e635
Make sws_dcVec static: It is only used inside libswscale/utils.c.
...
Originally committed as revision 30787 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
479e1e6170
Remove pointless empty line.
...
Originally committed as revision 30730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
8ebed38e7a
Apply consistency nit.
...
Originally committed as revision 30729 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
f1d5a1f285
Reorder buffer debug. Also print out if slice was buffered.
...
Originally committed as revision 30722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
b623d0cb03
Reindent and fix brace placement.
...
Originally committed as revision 30643 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
22b6a24c34
Vertically align a list of comparisons in sws_getCachedContext().
...
Originally committed as revision 30642 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
5a011d8b08
Merge two if conditions, allow to decrese the level of indentation of
...
the block.
Originally committed as revision 30641 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
62bb4ca199
Simplify how usesVFilter and usesHFilter are set.
...
Originally committed as revision 30520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
fbc0f6a973
Apply misc fixes to sws_getCoefficients() doxy.
...
Originally committed as revision 30519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
89ee5c6897
Satisfy consistency need:
...
int * sws_getCoefficients -> int *sws_getCoefficients.
Originally committed as revision 30518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
David Conrad
3f3dc76cb1
Add function to translate SWS_CS_* to coefficient array
...
Originally committed as revision 30513 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
82e5f86bd5
Implement shuffle_bytes_abcd() functions and use them for shuffling
...
bytes when converting between RGB32 variants.
In particular fix the argb -> rgba and abgr -> bgra conversions.
See the thread:
Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug
Date: Tue, 26 Jan 2010 01:06:18 +0100
Originally committed as revision 30501 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
af0e662169
Declare support for the pixel formats:
...
PIX_FMT_YUVJ420P
PIX_FMT_YUVJ422P
PIX_FMT_YUVJ440P
PIX_FMT_YUVJ444P
in the isSupported{In,Out} macros.
These pixel formats are not true pixel formats but hacks specific to
JPEG in libavcodec. They are deprecated and should be removed (that is
from libavcodec first and libswscale second)... but they must be
tested by swscale-test.
See thread:
Subject: [FFmpeg-devel] [PATCH] Extend show_pix_fmts() to make it print the input/output support
Date: 2010-01-30 15:54:08 GMT
Originally committed as revision 30474 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
e62bd367ea
Blackfin: use SRAM only when CONFIG_SRAM is set
...
Originally committed as revision 30472 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
909f659473
Reindent.
...
Originally committed as revision 30467 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
3ece3e524f
Use a consistent convention for the names of the internal wrapper
...
functions. Improve readability.
-This line, and those below, will be ignored--
swscale.c
Originally committed as revision 30466 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
7dac0c4379
Fix randomness of the swscale-test output.
...
See the thread:
Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertion
Date: Fri, 29 Jan 2010 01:52:23 +0100
Originally committed as revision 30457 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
b51de6d8c7
Rename swscale-example to swscale-test, to better reflect the intended
...
use of the program.
Originally committed as revision 30439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
6022255774
Use isAnyRGB() where possible
...
Originally committed as revision 30435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
81858371d9
Add 3 more RGB makros that allow specifying RGB in bytes and any rgb/bgr.
...
Originally committed as revision 30434 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Michael Niedermayer
3b1ee70312
Rename isRGB() and isBGR() as their meaning is confusing.
...
Originally committed as revision 30433 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
7b87519b32
Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightly
...
simplify code.
Originally committed as revision 30432 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
aa2ead8215
Fix mis-computation of the needsDither variable erroneously introduced
...
in r30419, which was causing a swscale-example regression.
Also increase my liter count by 20.0 units.
Originally committed as revision 30431 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
f632c4549b
Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.
...
Originally committed as revision 30425 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
30b6147521
Use av_get_bits_per_pixel() for computing the bits per pixel of the
...
source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.
Originally committed as revision 30419 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
59398ea9c0
Indent.
...
Originally committed as revision 30413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
2658e7a6e7
Don't redefine M_PI. It is already defined from libavutil/mathematics.h.
...
Originally committed as revision 30412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
a4388ebd37
Split swscale.c into scaler code (swscale.c) and utility code (utils.c).
...
Originally committed as revision 30411 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
4a88852623
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
David Conrad
01cc47dcd3
More const-correctness for sws_scale
...
Originally committed as revision 30381 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
5d4d503fd0
Document some more of SwsContext.
...
Originally committed as revision 30380 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
613f2dc4ae
Avoid more pointless tests, the input and output formats need to be
...
supported both as input and as output, as the conversion performed is:
yuva420p -> src -> dst -> yuva420p.
Originally committed as revision 30379 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
0e21dcdb13
Split overly long line.
...
Originally committed as revision 30378 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
731c04ad65
Make selfTest() perform tests where both the input and output formats
...
are supported, avoid pointless loops.
Originally committed as revision 30377 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Alexis Ballier
f28cc5771f
Make const prototypes for input sources of sws_scale_* stricter.
...
Patch by Alexis Ballier gmailify($firstname, $familyname)
Originally committed as revision 30374 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
9e5f164dc1
swscale-example: Add comment about the use of av_{malloc,free}.
...
Originally committed as revision 30373 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
3aca8b59f6
Remove useless forward declaration.
...
Originally committed as revision 30371 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Zuxy Meng
d5206d3dd6
User friendly warning message that gives out names of source and target formats
...
Originally committed as revision 30370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
51d83986b1
swscale-example: use av_malloc()
...
Image buffers require 16-byte alignment, so av_malloc() should be used.
Fixes crash on PPC.
Originally committed as revision 30369 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
2d8d885b06
Split long line.
...
Originally committed as revision 30368 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
591e465acf
Convert int -> enum PixelFormat in doTest().
...
Originally committed as revision 30367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Zuxy Meng
3c52d4849f
Define out currently unused static functions.
...
Originally committed as revision 30365 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
c36a4294dc
Remove stray '\' at the end of macro definitions.
...
Originally committed as revision 30362 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
90eb284a77
Remove duplicated or pointless newlines.
...
Originally committed as revision 30361 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
398c193d0b
Factorize error message logging, log it if the converter cannot be
...
set.
Originally committed as revision 30360 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
e36a545de5
Reindent after the last commit.
...
Originally committed as revision 30359 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
c0d1dc1c4f
Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper
...
only if the input format is paletted.
Fix potential crashes/weirdness if the input format is non-paletted.
Originally committed as revision 30358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
00c4127ec9
Remove double const
...
Originally committed as revision 30357 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
9a180390b9
Factorize error message logging in rgb2rgbWrapper().
...
Originally committed as revision 30356 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
1b5d46c6a6
Reindent
...
Originally committed as revision 30350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago