1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-07 22:57:42 +00:00
mpv/libswscale
flameeyes 3ab65de119 Invert logic for the single-pass in swScale() functions.
Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that
variable with clip_table in .bss section, rather than issuing a .data
section just for that.

As it is, libswscale require no .data section but .data.rel.ro (that
can be mitigated by prelinking), so the change might actually save one
page of memory at runtime (per process).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27734 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:10:30 +00:00
..
cs_test.c Relicense test/example files as LGPL with Michael's permission. 2008-04-13 01:29:24 +00:00
internal_bfin.S spelling/grammar/wording overhaul 2008-07-04 13:49:45 +00:00
Makefile Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini 2008-07-09 22:43:08 +00:00
rgb2rgb_template.c gcc-apple specific fallback not necessary anymore 2008-10-05 21:00:16 +00:00
rgb2rgb.c enable yuv422p to uyvy converter 2008-09-05 00:25:39 +00:00
rgb2rgb.h spelling/wording cosmetics 2008-09-10 00:02:31 +00:00
swscale_altivec_template.c spelling/grammar/wording overhaul 2008-07-04 13:49:45 +00:00
swscale_avoption.c Add bitexact flag. 2008-09-12 21:46:53 +00:00
swscale_bfin.c spelling/grammar/wording overhaul 2008-07-04 13:49:45 +00:00
swscale_internal.h Add a new unscaled PAL8 -> RGB converter. 2008-10-08 17:46:22 +00:00
swscale_template.c Invert logic for the single-pass in swScale() functions. 2008-10-09 11:10:30 +00:00
swscale-example.c Remove unused function fast_memcpy. 2008-09-29 06:06:19 +00:00
swscale.c Change variable types from int to enum PixelFormat. 2008-10-09 08:36:04 +00:00
swscale.h Add bitexact flag. 2008-09-12 21:46:53 +00:00
yuv2rgb_altivec.c compilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of AVV() macro 2008-07-25 09:15:08 +00:00
yuv2rgb_bfin.c spelling/grammar/wording overhaul 2008-07-04 13:49:45 +00:00
yuv2rgb_mlib.c spelling/grammar/wording overhaul 2008-07-04 13:49:45 +00:00
yuv2rgb_template.c Remove b5Dither, g5Dither and r5Dither from libswscale. 2008-10-04 18:50:39 +00:00
yuv2rgb_vis.c Add missing #include, patch by Jan Knutar, jknutar nic fi. 2008-06-08 14:41:44 +00:00
yuv2rgb.c Remove b5Dither, g5Dither and r5Dither from libswscale. 2008-10-04 18:50:39 +00:00