Vertically align a list of comparisons in sws_getCachedContext().
Originally committed as revision 30642 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Merge two if conditions, allow to decrese the level of indentation ofthe block.
Originally committed as revision 30641 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Simplify how usesVFilter and usesHFilter are set.
Originally committed as revision 30520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Apply misc fixes to sws_getCoefficients() doxy.
Originally committed as revision 30519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Satisfy consistency need:int * sws_getCoefficients -> int *sws_getCoefficients.
Originally committed as revision 30518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add function to translate SWS_CS_* to coefficient array
Originally committed as revision 30513 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Implement shuffle_bytes_abcd() functions and use them for shufflingbytes 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 bugDate: Tue, 26 Jan 2010 01:06:18 +0100...
Declare support for the pixel formats:PIX_FMT_YUVJ420PPIX_FMT_YUVJ422PPIX_FMT_YUVJ440PPIX_FMT_YUVJ444P
in the isSupported{In,Out} macros.
These pixel formats are not true pixel formats but hacks specific toJPEG in libavcodec. They are deprecated and should be removed (that is...
Blackfin: use SRAM only when CONFIG_SRAM is set
Originally committed as revision 30472 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Reindent.
Originally committed as revision 30467 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Use a consistent convention for the names of the internal wrapperfunctions. 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
Fix randomness of the swscale-test output.
See the thread:Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertionDate: Fri, 29 Jan 2010 01:52:23 +0100
Originally committed as revision 30457 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Rename swscale-example to swscale-test, to better reflect the intendeduse of the program.
Originally committed as revision 30439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Use isAnyRGB() where possible
Originally committed as revision 30435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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
Rename isRGB() and isBGR() as their meaning is confusing.
Originally committed as revision 30433 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightlysimplify code.
Originally committed as revision 30432 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Fix mis-computation of the needsDither variable erroneously introducedin 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
Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.
Originally committed as revision 30425 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Use av_get_bits_per_pixel() for computing the bits per pixel of thesource and destination format, cache those values in the newly addedSwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and removethe fmt_depth() function.
Originally committed as revision 30419 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Indent.
Originally committed as revision 30413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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
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
Move array specifiers outside DECLARE_ALIGNED() invocations
Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
More const-correctness for sws_scale
Originally committed as revision 30381 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Document some more of SwsContext.
Originally committed as revision 30380 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Avoid more pointless tests, the input and output formats need to besupported 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
Split overly long line.
Originally committed as revision 30378 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Make selfTest() perform tests where both the input and output formatsare supported, avoid pointless loops.
Originally committed as revision 30377 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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
swscale-example: Add comment about the use of av_{malloc,free}.
Originally committed as revision 30373 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove useless forward declaration.
Originally committed as revision 30371 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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
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
Split long line.
Originally committed as revision 30368 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Convert int -> enum PixelFormat in doTest().
Originally committed as revision 30367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Define out currently unused static functions.
Originally committed as revision 30365 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove stray '\' at the end of macro definitions.
Originally committed as revision 30362 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove duplicated or pointless newlines.
Originally committed as revision 30361 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Factorize error message logging, log it if the converter cannot beset.
Originally committed as revision 30360 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Reindent after the last commit.
Originally committed as revision 30359 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Make the pal2rgbWrapper set and use the converter in pal2rgbWrapperonly 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
Remove double const
Originally committed as revision 30357 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Factorize error message logging in rgb2rgbWrapper().
Originally committed as revision 30356 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Reindent
Originally committed as revision 30350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove inline from initFilter()
It makes no sense having that function inlined.
Originally committed as revision 30349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add a const qualifier in a cast, fix the gcc warning:swscale.c: In function ‘sws_scale’:swscale.c:2968: warning: cast discards qualifiers from pointer target type
Originally committed as revision 30341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add a const qualifier in a cast, fix the gcc warning:swscale.c: In function ‘planarCopy’:swscale.c:2256: warning: cast discards qualifiers from pointer target type
Originally committed as revision 30340 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Fix typo, "get rid off" -> "get rid of".
Originally committed as revision 30338 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Revert r30331, which broke compilation.
swScale_C is not templated if any optimization is to be used and!runtime_cpudetect.
Originally committed as revision 30334 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Prefer enum PixelFormat to int as the parameter type offmt_depth(fmt).
Originally committed as revision 30333 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Declare with av_unused the variable alpMmxFilter, fix the gcc warning:swscale_template.c: In function ‘swScale_C’:swscale_template.c:2580: warning: unused variable ‘alpMmxFilter’swscale_template.c: In function ‘sws_init_swScale_C’:
Originally committed as revision 30332 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Factorize the code which calls the non optimized C functions ingetSwsFunc().
Originally committed as revision 30331 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Prefer "to %s%s" over "to%s %s", slightly more readable.
Originally committed as revision 30330 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Simplify code in sws_getContext() which logs if the destination formatsupport dithering, remove the const char *dither variable and use aliteral string instead.
Originally committed as revision 30329 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Document some of SwsContext.
Originally committed as revision 30328 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Reuse h{lum,chr}Filter{,Pos} variables for MMX2 fast_bilinear horizontal scaler.
Originally committed as revision 30327 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Factorize code which logs the source and destination formats insws_getContext().
Originally committed as revision 30326 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Simplify reset_ptr(): employ usePal() macro rather than enumeratingall the paletted formats.
Originally committed as revision 30317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add symbol versioning for shared libraries
Based on patch by Reinhard Tartler <siretart tauware de>
Originally committed as revision 30315 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Don't initialize normal horizontal filter if MMX2 filter is used.
Originally committed as revision 30313 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Const correctness for src pointer. Remove all constness related warnings inlibswscale.
Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Fix typo.
Originally committed as revision 30304 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove unused clip_table code.
Originally committed as revision 30303 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add const qualifier to rgb48 to YV12 functions' src.
Originally committed as revision 30301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add missing parameter to rgb48 to YV12 functions.
Originally committed as revision 30300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
/nop is illegal with Apple's older version of gas, this was fixed elsewherebut not here since it was unused before now.
Originally committed as revision 30289 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Make sure that sfence is used after any non temporal stores.
Originally committed as revision 30287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Avoid redefinition of RGB_PLANAR2PACKED24 as the template is included formultiple times.
Originally committed as revision 30273 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
cosmetics: {} placement.
Originally committed as revision 30272 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
MMX accelerated yuv420->rgb24 routine, trivial as essentially as it justswaps R and B inputs for the existing yuv420->bgr24 routine.
Originally committed as revision 30254 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove unused PREFETCHW macro
Originally committed as revision 30253 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ignore 0-height slice in sws_scale, otherwise a final 0-height slice willcause libswscale to assume the incorrect slice order and complain aboutslices starting in the middle.
Originally committed as revision 30246 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Implement sws_isSupportedInput() and sws_isSupportedOutput().
Originally committed as revision 30236 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove const to avoid a bunch of GCC warnings against discarded qualifiers andincompatible pointer type.
Originally committed as revision 30234 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Prefer enum PixelFormat over int for the type of the format parameterof getSubSampleFactors().
Originally committed as revision 30184 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for theswscale_configuration() and swscale_license() functions, consistentwith the rest of FFmpeg.
Originally committed as revision 30180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Simplify usePal() macro, make it use av_pix_fmt_descriptors.
Originally committed as revision 30172 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Simplify getSubSampleFactors(), make it use the values provided byav_pix_fmt_descriptors().
Originally committed as revision 30171 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Do not needlessly use the BP register in x86_64-specific code, there areenough other registers available that are less likely to cause issues.
Originally committed as revision 30160 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove unused variable, fixes the warning:libswscale/swscale_template.c:2575: warning: unused variable ‘srcFormat’
Originally committed as revision 30132 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove parameters no longer used in h[yc]scale().
Originally committed as revision 30099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.
Originally committed as revision 30098 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Rename function pointers used to convert from the input pixel format to theintermediate YV12 to a more descriptive name.
Originally committed as revision 30097 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Check if chroma horizontal scaler is needed in sws_init_swScale().
Originally committed as revision 30096 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Remove unused fields from SwsContext.
Originally committed as revision 30095 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Indentation.
Originally committed as revision 30087 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Originally committed as revision 30086 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Set fast_bilinear functions in sws_init_swScale().
Originally committed as revision 30085 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Set horizontal scaler's range conversion in context in sws_init_swScale().
Originally committed as revision 30082 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Set horizontal scaler's src offsets in context in sws_init_swScale().
Originally committed as revision 30081 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Document the differences between the two asm fragments in initMMX2HScaler().
Originally committed as revision 29978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Start using intermediate buffers at index 0.These index variables are incremented before each use, so they should beinitialized to -1.
Originally committed as revision 29977 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Fix compilation with runtime cpu detection.All functions in swscale_template.c should be declared with the RENAME macro.
Originally committed as revision 29976 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add support for nv12/nv21 input.
Originally committed as revision 29974 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Make sws_format_name() use av_pix_fmt_descriptors.
This also introduces a dependency of libswscale on libavutil.
Originally committed as revision 29968 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Add functions to return library license and library configuration.
Originally committed as revision 29932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capablehardware.
Original patch by NVIDIA corporation.
Originally committed as revision 29885 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Use enum PixelFormat instead of int for srcFormat and dstFormat.
Originally committed as revision 29857 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Document sws_freeContext().
Originally committed as revision 29844 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale