Ramiro Polla
b494baf0b0
colorspace-test: fix build
...
rgb32tobgr32() has been removed in favour of shuffle_bytes_2103() in r32190
Originally committed as revision 32676 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Martin Storsjö
9c158e4947
Store src/dstFormat after calling handle_jpeg
...
handle_jpeg may update the src/dstFormat variables, this makes sure the
updated version is stored in the context.
This fixes roundup issue 2302.
Patch by Troot, all_crap_goes_here at hotmail
Originally committed as revision 32562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Reimar Döffinger
12eef0d1ba
100l, fix sws_getCachedContext. It did not set the colorspace details,
...
but worse it did not set up destination dimensions, thus every user
of it would necessarily fail.
Originally committed as revision 32424 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
f34fcdc8b6
Set default values for the scale context in sws_alloc_context().
...
Originally committed as revision 32415 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
e60c906a82
Set the default value of param0 and param1 to SWS_PARAM_DEFAULT.
...
Originally committed as revision 32414 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
6d21d67b38
Set valid default values for the srcw, srch, dstw, dsth options in the
...
scale context. Prevent pointless warnings when using
av_opt_set_defaults() for setting the default values, as in a pending
patch.
Originally committed as revision 32413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
fc7c40c2bd
Cosmetics: put "if (...)" and "av_log(...)" in the same line for
...
improving vertical alignment and readability.
Originally committed as revision 32405 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
d29e863e1d
Put if (...) av_log() in the same line, more compact and increase
...
readibility.
Originally committed as revision 32404 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
5abd626e20
Amend constraints for the src_format and dst_format options in the
...
SWScale context.
Originally committed as revision 32403 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
c24b404ba6
Cosmetics: fix braces placement.
...
Originally committed as revision 32402 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
0810a5846b
Deprecate sws_getContext(), use sws_alloc_context() and
...
sws_init_context() instead.
Originally committed as revision 32401 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
499287e0a5
Add documentation for the returned value of sws_init_context().
...
Originally committed as revision 32400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
c508ab6736
Bump minor version after the addition of sws_alloc_context() and
...
sws_init_context() of r32368.
Originally committed as revision 32396 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Baptiste Coudurier
bd8154d0b3
100l fix if condition
...
Originally committed as revision 32395 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Baptiste Coudurier
df0743e01e
Y400A (gray alpha) input support in libswscale
...
Originally committed as revision 32394 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Janne Grunau
9f694f0b3d
swscale: clear SWS_CPU_CAPS_SSE2 in update_flags_cpu() missed in r32068
...
Originally committed as revision 32393 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Janne Grunau
829e5dafc2
cosmetics: break long line update_flags_cpu
...
Originally committed as revision 32392 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
33ce384688
fix typos and grammar
...
Originally committed as revision 32370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Michael Niedermayer
8c26d83edb
Make the avoptions list of sws more complete.
...
Originally committed as revision 32369 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Michael Niedermayer
635d4aed60
Split alloc and init of context so that parameters can be set in the context
...
instead of requireing being passed through function parameters. This also
makes sws work with AVOptions.
Originally committed as revision 32368 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
f4203ff3d9
swscale: use full chroma input for point scaler
...
Originally committed as revision 32360 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
b9f5e3bd75
swscale-test: cosmetic alignment
...
Originally committed as revision 32265 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
5a90173751
swscale: remove useless temporary variable
...
Originally committed as revision 32258 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
cf1cd520c6
swscale: factorize plane copying code out of 2 functions
...
Originally committed as revision 32257 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
f1084cb0cd
swscale-test: always use bilinear scaler to get output for SSD
...
Originally committed as revision 32256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
c12f7b2d2c
rgb2rgb: don't misuse HAVE_* defines
...
Introduce and use COMPILE_TEMPLATE_* instead.
Originally committed as revision 32241 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
40b433b62b
swscale: indentation and emtpy line cosmetics
...
Originally committed as revision 32222 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
6527e56131
swscale: avoid reading prior to the source buffer in planar2x() MMX2
...
Originally committed as revision 32221 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
9b4bf9c21d
swscale-test: allow specifying src/dst pixel formats
...
Originally committed as revision 32215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
9075bc7c51
indent
...
Originally committed as revision 32214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
4bf4478598
swscale-test: take input from reference file
...
If the CRC from the src->dst conversion matches a reference, it is not
necessary to perform a dst->yuva420p conversion and check the SSD.
Originally committed as revision 32213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
6bbae4c8b3
swscale-test: always use SWS_BILINEAR to convert from ref to src
...
Originally committed as revision 32212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
3e1e78008b
swscale-test: move conversion from ref to source back to doTest()
...
The source format parameters are kept in static variables and conversion from
ref to source is only made when any parameter changes.
Originally committed as revision 32211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
a51125b52f
rgb2rgb: replace shuffle_bytes_2103() by optimized rgb32tobgr32()
...
Originally committed as revision 32190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
0132ab80a8
indent
...
Originally committed as revision 32157 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
4d8617496f
swscale: remove unused code
...
yvu9ToYv12Wrapper() used to support yv12 with the chroma planes either in the
uv order or the vu order. FFmpeg no longer has a pixel format in vu order.
Originally committed as revision 32156 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
4821b4456f
rgb2rgb: remove unused yvu9toyv12 function
...
Originally committed as revision 32155 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
4389d606e6
av_fill_image_linesizes -> av_image_fill_linesizes
...
Originally committed as revision 32106 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
539ff40c2d
rgb2rgb: build SSE2 codepath
...
Originally committed as revision 32068 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
c17f5a4e15
swscale: also update flags on sws_getCachedContext()
...
Originally committed as revision 32052 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
a1899e0adc
swscale: fix internal rgb->yv12 chroma conversion used by the main scaler path
...
The shift must be applied before the masking.
Originally committed as revision 32051 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
vle
87db37356c
Fix mlib compilation: add mising include for SwsContext.
...
Patch by [vle gmx net].
Originally committed as revision 32050 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
0fc29f2708
swscale: simplify selection of optimizations to compile.
...
Originally committed as revision 32013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
8f02861636
swscale: Always define COMPILE_xxx to either 0 or 1.
...
Originally committed as revision 32012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Måns Rullgård
66842fe874
swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion
...
Originally committed as revision 32011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Måns Rullgård
83761d5b58
swscale: remove unused macro parameter in BGR2UV template
...
Originally committed as revision 32010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Grant Carver
53bc0dc2bd
fix anonymous memory mapping for NetBSD
...
mmap() with MAP_ANONYMOUS requires the file descriptor to be -1 in NetBSD.
Linux just ignores this parameter.
Patch by Grant Carver <grantc at cat dot co dot za>
Originally committed as revision 31984 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
8d88402013
swscale-test: add CRC output
...
Originally committed as revision 31982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
a42c29febc
validate input data and linesizes
...
Originally committed as revision 31976 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Ramiro Polla
a4fc3bd533
indent
...
Originally committed as revision 31949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago