Statistics
| Branch: | Revision:

ffmpeg / libswscale @ aa2ead82

# Date Author Comment
aa2ead82 01/24/2010 09:28 PM Stefano Sabatini

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

f632c454 01/24/2010 05:44 PM Stefano Sabatini

Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.

Originally committed as revision 30425 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

30b61475 01/24/2010 12:55 PM Stefano Sabatini

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

59398ea9 01/24/2010 03:02 AM Ramiro Polla

Indent.

Originally committed as revision 30413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

2658e7a6 01/24/2010 02:16 AM Ramiro Polla

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

a4388ebd 01/24/2010 02:08 AM Ramiro Polla

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

4a888526 01/22/2010 03:26 AM Måns Rullgård

Move array specifiers outside DECLARE_ALIGNED() invocations

Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

01cc47dc 01/21/2010 09:52 AM David Conrad

More const-correctness for sws_scale

Originally committed as revision 30381 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

5d4d503f 01/20/2010 03:26 AM Ramiro Polla

Document some more of SwsContext.

Originally committed as revision 30380 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

613f2dc4 01/20/2010 12:22 AM Stefano Sabatini

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

0e21dcdb 01/19/2010 10:36 PM Stefano Sabatini

Split overly long line.

Originally committed as revision 30378 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

731c04ad 01/19/2010 09:52 PM Stefano Sabatini

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

f28cc577 01/19/2010 04:30 PM Alexis Ballier

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

9e5f164d 01/19/2010 03:42 PM Ramiro Polla

swscale-example: Add comment about the use of av_{malloc,free}.

Originally committed as revision 30373 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3aca8b59 01/19/2010 11:35 AM Ramiro Polla

Remove useless forward declaration.

Originally committed as revision 30371 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d5206d3d 01/19/2010 05:21 AM Zuxy Meng

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

51d83986 01/19/2010 03:47 AM Måns Rullgård

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

2d8d885b 01/18/2010 11:34 PM Stefano Sabatini

Split long line.

Originally committed as revision 30368 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

591e465a 01/18/2010 11:33 PM Stefano Sabatini

Convert int -> enum PixelFormat in doTest().

Originally committed as revision 30367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3c52d484 01/18/2010 08:42 AM Zuxy Meng

Define out currently unused static functions.

Originally committed as revision 30365 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c36a4294 01/17/2010 11:29 PM Stefano Sabatini

Remove stray '\' at the end of macro definitions.

Originally committed as revision 30362 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

90eb284a 01/17/2010 11:17 PM Stefano Sabatini

Remove duplicated or pointless newlines.

Originally committed as revision 30361 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

398c193d 01/17/2010 11:07 PM Stefano Sabatini

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

e36a545d 01/17/2010 11:02 PM Stefano Sabatini

Reindent after the last commit.

Originally committed as revision 30359 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c0d1dc1c 01/17/2010 11:00 PM Stefano Sabatini

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

00c4127e 01/17/2010 07:26 PM Måns Rullgård

Remove double const

Originally committed as revision 30357 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9a180390 01/17/2010 03:11 PM Stefano Sabatini

Factorize error message logging in rgb2rgbWrapper().

Originally committed as revision 30356 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

1b5d46c6 01/17/2010 02:25 PM Måns Rullgård

Reindent

Originally committed as revision 30350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d39d7cf6 01/17/2010 02:25 PM Måns Rullgård

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

e922e34c 01/17/2010 12:26 AM Stefano Sabatini

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

5090d8e1 01/17/2010 12:21 AM Stefano Sabatini

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

a630ed3e 01/16/2010 10:49 PM Stefano Sabatini

Fix typo, "get rid off" -> "get rid of".

Originally committed as revision 30338 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

730cb9da 01/16/2010 07:51 PM Stefano Sabatini

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

73cadb4f 01/16/2010 07:32 PM Stefano Sabatini

Prefer enum PixelFormat to int as the parameter type of
fmt_depth(fmt).

Originally committed as revision 30333 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

bc45751f 01/16/2010 07:22 PM Stefano Sabatini

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

80853cfc 01/16/2010 07:19 PM Stefano Sabatini

Factorize the code which calls the non optimized C functions in
getSwsFunc().

Originally committed as revision 30331 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c70f1401 01/16/2010 07:14 PM Stefano Sabatini

Prefer "to %s%s" over "to%s %s", slightly more readable.

Originally committed as revision 30330 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a9e2878c 01/16/2010 07:11 PM Stefano Sabatini

Simplify code in sws_getContext() which logs if the destination format
support dithering, remove the const char *dither variable and use a
literal string instead.

Originally committed as revision 30329 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9556124c 01/16/2010 07:04 PM Ramiro Polla

Document some of SwsContext.

Originally committed as revision 30328 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

0cc854e3 01/16/2010 06:39 PM Ramiro Polla

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

d95c8638 01/16/2010 06:36 PM Stefano Sabatini

Factorize code which logs the source and destination formats in
sws_getContext().

Originally committed as revision 30326 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3e906f4c 01/16/2010 11:08 AM Stefano Sabatini

Simplify reset_ptr(): employ usePal() macro rather than enumerating
all the paletted formats.

Originally committed as revision 30317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e8393e1c 01/16/2010 04:48 AM Måns Rullgård

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

2e3e8031 01/15/2010 07:50 PM Ramiro Polla

Don't initialize normal horizontal filter if MMX2 filter is used.

Originally committed as revision 30313 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a959e247 01/15/2010 08:51 AM Zuxy Meng

Const correctness for src pointer. Remove all constness related warnings in
libswscale.

Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3bfbbef6 01/15/2010 12:39 AM Stefano Sabatini

Fix typo.

Originally committed as revision 30304 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

00c081a8 01/14/2010 07:12 PM Ramiro Polla

Remove unused clip_table code.

Originally committed as revision 30303 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

efc034cc 01/14/2010 06:19 AM Ramiro Polla

Add const qualifier to rgb48 to YV12 functions' src.

Originally committed as revision 30301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a3e35e28 01/14/2010 06:19 AM Ramiro Polla

Add missing parameter to rgb48 to YV12 functions.

Originally committed as revision 30300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

28b2866f 01/12/2010 07:03 PM David Conrad

/nop is illegal with Apple's older version of gas, this was fixed elsewhere
but not here since it was unused before now.

Originally committed as revision 30289 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

845e37e7 01/12/2010 02:34 AM Zuxy Meng

Make sure that sfence is used after any non temporal stores.

Originally committed as revision 30287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

52c0fcaf 01/11/2010 08:21 AM Zuxy Meng

Avoid redefinition of RGB_PLANAR2PACKED24 as the template is included for
multiple times.

Originally committed as revision 30273 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

996de2fe 01/11/2010 07:30 AM Ramiro Polla

cosmetics: {} placement.

Originally committed as revision 30272 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

23b0072a 01/09/2010 05:20 PM Zuxy Meng

MMX accelerated yuv420->rgb24 routine, trivial as essentially as it just
swaps R and B inputs for the existing yuv420->bgr24 routine.

Originally committed as revision 30254 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

4b190455 01/09/2010 02:44 PM Zuxy Meng

Remove unused PREFETCHW macro

Originally committed as revision 30253 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

1b168a42 01/08/2010 07:31 PM Reimar Döffinger

Ignore 0-height slice in sws_scale, otherwise a final 0-height slice will
cause libswscale to assume the incorrect slice order and complain about
slices starting in the middle.

Originally committed as revision 30246 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

8e9767f6 01/07/2010 07:07 PM Stefano Sabatini

Implement sws_isSupportedInput() and sws_isSupportedOutput().

Originally committed as revision 30236 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

bb34acd8 01/07/2010 07:13 AM Zuxy Meng

Remove const to avoid a bunch of GCC warnings against discarded qualifiers and
incompatible pointer type.

Originally committed as revision 30234 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

634116df 01/03/2010 03:20 PM Stefano Sabatini

Prefer enum PixelFormat over int for the type of the format parameter
of getSubSampleFactors().

Originally committed as revision 30184 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

997980f0 01/03/2010 02:35 PM Stefano Sabatini

Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for the
swscale_configuration() and swscale_license() functions, consistent
with the rest of FFmpeg.

Originally committed as revision 30180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f412d5e9 01/03/2010 12:22 AM Stefano Sabatini

Simplify usePal() macro, make it use av_pix_fmt_descriptors.

Originally committed as revision 30172 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b3cf7cb1 01/03/2010 12:09 AM Stefano Sabatini

Simplify getSubSampleFactors(), make it use the values provided by
av_pix_fmt_descriptors().

Originally committed as revision 30171 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f514b4f9 01/01/2010 09:46 AM Reimar Döffinger

Do not needlessly use the BP register in x86_64-specific code, there are
enough other registers available that are less likely to cause issues.

Originally committed as revision 30160 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c887b30d 12/28/2009 12:05 PM Diego Biurrun

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

aaba7e6c 12/21/2009 01:59 AM Ramiro Polla

Remove parameters no longer used in h[yc]scale().

Originally committed as revision 30099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a1f4b4bb 12/21/2009 01:54 AM Ramiro Polla

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

bb53e1d1 12/21/2009 01:41 AM Ramiro Polla

Rename function pointers used to convert from the input pixel format to the
intermediate YV12 to a more descriptive name.

Originally committed as revision 30097 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e7a47515 12/21/2009 01:34 AM Ramiro Polla

Check if chroma horizontal scaler is needed in sws_init_swScale().

Originally committed as revision 30096 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6f9771d7 12/21/2009 01:30 AM Ramiro Polla

Remove unused fields from SwsContext.

Originally committed as revision 30095 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d3243d14 12/20/2009 05:42 PM Ramiro Polla

Indentation.

Originally committed as revision 30087 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e77ddfa2 12/20/2009 05:15 PM Ramiro Polla

Indent.

Originally committed as revision 30086 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b501a1f5 12/20/2009 05:09 PM Ramiro Polla

Set fast_bilinear functions in sws_init_swScale().

Originally committed as revision 30085 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

bae76dc3 12/20/2009 04:32 PM Ramiro Polla

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

84011f10 12/20/2009 04:21 PM Ramiro Polla

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

a8bcc7b4 12/07/2009 03:52 AM Ramiro Polla

Document the differences between the two asm fragments in initMMX2HScaler().

Originally committed as revision 29978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

75084e47 12/06/2009 10:01 PM Ramiro Polla

Start using intermediate buffers at index 0.
These index variables are incremented before each use, so they should be
initialized to -1.

Originally committed as revision 29977 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e470691a 12/05/2009 09:44 AM Ramiro Polla

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

f415be68 12/03/2009 06:18 PM Ramiro Polla

Add support for nv12/nv21 input.

Originally committed as revision 29974 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a9af75ae 11/26/2009 09:08 PM Stefano Sabatini

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

bd381fd3 11/18/2009 05:16 PM Diego Biurrun

Add functions to return library license and library configuration.

Originally committed as revision 29932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

8cbcb1c7 11/10/2009 07:11 PM NVIDIA Corporation

Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
hardware.

Original patch by NVIDIA corporation.

Originally committed as revision 29885 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b411dfff 11/08/2009 11:31 PM Carl Eugen Hoyos

Use enum PixelFormat instead of int for srcFormat and dstFormat.

Originally committed as revision 29857 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

2e0a80a1 11/07/2009 09:23 AM Stefano Sabatini

Document sws_freeContext().

Originally committed as revision 29844 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a520e9f2 10/30/2009 02:13 PM Stefano Sabatini

Document slice ordering assumption done by sws_scale().

Originally committed as revision 29804 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

53e54620 09/22/2009 02:38 PM Diego Biurrun

Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.

Originally committed as revision 29701 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c866c7d0 09/16/2009 10:34 PM Ramiro Polla

Cleanup buffer debugs in swScale().

Originally committed as revision 29686 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

953c821f 09/16/2009 10:31 PM Ramiro Polla

Use correct buffers in vertical scaler in unscaled YV12 case.

Originally committed as revision 29685 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

749fac31 09/13/2009 01:49 AM Ramiro Polla

Reset slice direction at end of each frame.

Originally committed as revision 29675 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9451b59f 09/12/2009 08:10 PM Ramiro Polla

Remove ; after while(0) in macros.

Originally committed as revision 29674 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

30715d42 09/09/2009 09:43 PM Ramiro Polla

Document that slices can be bottom to top or top to bottom.

Originally committed as revision 29665 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

7d73d1c3 09/07/2009 04:29 PM Ramiro Polla

Indent.

Originally committed as revision 29654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9cf484d0 09/06/2009 12:07 AM Ramiro Polla

Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
parameters.

Originally committed as revision 29652 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

c2613a31 09/05/2009 11:35 PM Ramiro Polla

Indent.

Originally committed as revision 29651 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

991e579c 09/05/2009 11:33 PM Lars Täuber

Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.

Originally committed as revision 29650 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

67c2c5bb 08/29/2009 11:08 PM Ramiro Polla

Curly brackets cosmetics for previous commit.

Originally committed as revision 29587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

1ddb5747 08/29/2009 11:06 PM Ramiro Polla

Check for return value of initFilter().

Originally committed as revision 29586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

dd653355 08/29/2009 11:03 PM Ramiro Polla

Revert mistakenly commited hunk.

Originally committed as revision 29585 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

7248797c 08/29/2009 11:02 PM Ramiro Polla

swscale: Check for return values of malloc.

Originally committed as revision 29584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

111641a9 08/29/2009 03:36 AM Ramiro Polla

swscale-example: Free memory used by input data.

Originally committed as revision 29583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

0607b090 08/29/2009 02:44 AM Ramiro Polla

Restore comment that was partially removed.

Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale