Commit Graph

59876 Commits

Author SHA1 Message Date
Arpi
3cb32e3d1f PATCH by Rik Snel <rsnel@cube.dyndns.org>
this includes the range for quantized dct coefficients in dct_quantize()  (-1023...1023)

Originally committed as revision 291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:25:06 +00:00
Arpi
80e103d04c PATCH by Rik Snel <rsnel@cube.dyndns.org>
this patch enhances the jpeg header writer. It can be asked to omit
quantisation and huffman tables and it can write different horizontal and
vertical sampling factors. (the last thing is useless for libavcodec
itself (because libavcodec only handles YUV420P at ecoder level), but the
values are initialized so that operation of libavcodec is not impaired)

Originally committed as revision 290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:23:41 +00:00
Michael Niedermayer
fa778d53ad workaround gcc 2.95.2 bug
Originally committed as revision 289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 00:38:44 +00:00
Michael Niedermayer
b0db419867 fastmemcpy
Originally committed as revision 4587 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 15:54:56 +00:00
Michael Niedermayer
4bb3fa5e4f unscaled BGR15->BGR16
a few bugfixes of the other unscaled converters

Originally committed as revision 4582 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 04:18:01 +00:00
Michael Niedermayer
b72034dd49 bgr15 input support
Originally committed as revision 4581 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 03:09:46 +00:00
Michael Niedermayer
5bb9d9d8e8 faster bgr16 input
Originally committed as revision 4580 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 01:24:02 +00:00
Michael Niedermayer
6af250ea5c bgr16 input support
Originally committed as revision 4579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 00:42:00 +00:00
Michael Niedermayer
0b2540a0c1 avoid copying input when encoding non intra stuff too
Originally committed as revision 288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 23:48:24 +00:00
Michael Niedermayer
b935781b41 unscaled converters
BGR24 -> BGR32 & RGB24 -> RGB32
 BGR32 -> BGR24 & RGB32 -> RGB24

Originally committed as revision 4568 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-07 15:29:15 +00:00
Michael Niedermayer
adeaecb9ae fixing green line at right side bug (reported by Nick Kurshev <nickols_k@mail.ru>)
Originally committed as revision 4564 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-07 03:39:30 +00:00
Michael Niedermayer
d8c2efac4b width or height %16 != 0 bugfix
Originally committed as revision 287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 02:08:36 +00:00
Michael Niedermayer
a861d4d7f3 rgb32 & rgb24 input support
squished a endianness bug in the 15/16bgr output

Originally committed as revision 4559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 22:55:57 +00:00
Michael Niedermayer
b6654a5464 101 (yuv2rgb with mpeg1,...) ;)
simple copy if possible (same format, no scaling, ...)

Originally committed as revision 4556 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 21:59:23 +00:00
Michael Niedermayer
370799068d swScale internally uses yuv2rgb now if possible
Originally committed as revision 4555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 20:52:14 +00:00
Michael Niedermayer
6fe84b4327 use multiply instead of divides for DC prediction on X86
Originally committed as revision 286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-05 22:51:23 +00:00
Michael Niedermayer
b81cf27484 printing error messages if something is wrong instead of just return NULL;
Originally committed as revision 4530 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-04 18:53:01 +00:00
Michael Niedermayer
8a01d20ccb filterPos bugfix (only nearest neighbor scaling was affected)
Originally committed as revision 4493 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-03 02:08:05 +00:00
Michael Niedermayer
6ff0ad6bfd MMX(2) optimized YUY2 input
avoid duplicate checks for formats by changeing them (Y8->Y800, IYUV->I420)

Originally committed as revision 4482 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-02 18:18:58 +00:00
Michael Niedermayer
1747031459 printing correct format info
Originally committed as revision 4469 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-01 19:39:37 +00:00
Michael Niedermayer
1e621b18b2 YUY2, BGR24, BGR32 input support (no mmx yet)
Originally committed as revision 4468 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-01 19:25:09 +00:00
Michael Niedermayer
1f347f225d -sws 2 is default now
Originally committed as revision 4422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-30 15:32:43 +00:00
Michael Niedermayer
6c7506de1c YV12 like formats support (I420/IYUV)
bugfixes related to vo_x11 resizeing

Originally committed as revision 4420 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-30 15:21:08 +00:00
Michael Niedermayer
4b6388d1f5 top row bugfix
Originally committed as revision 4404 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-29 04:21:27 +00:00
Michael Niedermayer
d8863d37e2 area averageing scaling support (-sws 5) (is identical to bilinear for upscale)
Originally committed as revision 4403 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-29 01:43:15 +00:00
Michael Niedermayer
ff7ba85694 nearest neighbor / sdl emulation ;) scaling (-sws 4)
Originally committed as revision 4402 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-28 23:57:18 +00:00
Michael Niedermayer
bdd677ac13 minor QP bugfix
Originally committed as revision 4400 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-28 22:38:15 +00:00
Arpi
5dfd24ac98 workaround gcc bug "m" (0)
avoiding useage of ebx

Originally committed as revision 283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-28 19:34:16 +00:00
Zdenek Kabelac
320680d420 * temporal solution for shared lib compilation
* using ALPHA code optimalization for non ARCH_I386

Originally committed as revision 282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-28 18:06:28 +00:00
Michael Niedermayer
2f349de286 (commit by michael)
mmx & mmx2 quantizer
c dct permutation bugfix
dont copy input on intra only encodings if it can be avoided
dont draw edges on intra only stuff

Originally committed as revision 281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-27 13:30:18 +00:00
Arpi
580b82fa24 (m)jpeg pad/flush with 1 instead of 0, fix by Rik Snel <rsnel@cube.dyndns.org>
Originally committed as revision 280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-26 00:22:25 +00:00
Michael Niedermayer
2ddeed44a5 (commit by michael)
motion-estimation on width/height not divisable through 16 files bugfix

Originally committed as revision 279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 19:06:47 +00:00
Michael Niedermayer
d2b3c3d7bb (commit by michael)
dc coeff isnt dequantized (bug reported by falk hueffner)

Originally committed as revision 278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 15:25:11 +00:00
Michael Niedermayer
4e3269e87f (commit by michael)
quantizer range bugfix (mpeg1 & mpeg4 encoding)

Originally committed as revision 277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 14:34:03 +00:00
Michael Niedermayer
fd2848053f minor bugfix in the -v output
Originally committed as revision 4305 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-22 15:54:44 +00:00
Michael Niedermayer
5521b193d6 15/16 bit dithering in C (5% slower, can be disabled by comenting #define DITHER1XBPP out)
x/yInc bugfix (bug was introduced during the global var removial)
more emms & no messing with ARCH_X86 (=workaround against not cleared mmx state somewhere)
sharpening filter (-ssf cs=<int> & -ssf ls=<int>)

Originally committed as revision 4298 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 22:11:09 +00:00
Michael Niedermayer
fe8054c0ff copyright(swscaler) = GPL
Originally committed as revision 4296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 18:32:31 +00:00
Nick Kurshev
c7997007be Small simple idct improvement for Alpha by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Originally committed as revision 276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-21 17:46:42 +00:00
Michael Niedermayer
5cebb24be0 a few filters (should be removed/merged when arpis videofilter stuff is finished)
-ssf cgb=<float> -> chrominance gaussian blur (nice to improve picture quality)
-ssf lgb=<float> -> luminance gaussian blur (dunno what its good for)
-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
these will only work if the swscaler is used at all

Originally committed as revision 4295 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 15:22:28 +00:00
Michael Niedermayer
c7f822d95e general convolution filtering of the source picture
dynamic memory allocation for the buffers (needed for the filter stuff)

Originally committed as revision 4291 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 03:56:47 +00:00
Felix Bünemann
635b3ec6dd add mangling
Originally committed as revision 4286 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 18:36:09 +00:00
Nick Kurshev
91d1f1a432 Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Originally committed as revision 275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-20 14:55:42 +00:00
Nick Kurshev
1e98dffb7a Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Originally committed as revision 274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-20 14:48:02 +00:00
Nick Kurshev
4bdd9157cc Cygwin's mangling by Felix Buenemann <atmosfear@users.sourceforge.net>
Originally committed as revision 273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-20 14:30:34 +00:00
Michael Niedermayer
7f56a52795 101
Originally committed as revision 4282 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 13:45:19 +00:00
Michael Niedermayer
28bf81c90d removed global vars so that multiple swscalers can be used
experimental upscaling mode (-sws 3)
general convolution filters support (unfinished)
bugfix for bicubic upscaling
assertion checking if defined MP_DEBUG
checking of the input/output size instead of segfault if its very large

Originally committed as revision 4277 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 05:30:23 +00:00
Alban Bedel
cbf5fa71c9 Added reverting support for -pp and -npp options
Originally committed as revision 4258 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 17:01:03 +00:00
Felix Bünemann
bf1595c488 fix mangling with runtime cpu detection
Originally committed as revision 4254 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 16:56:35 +00:00
Felix Bünemann
9b4644281d mangle for win32 in postproc
Originally committed as revision 4249 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 05:14:47 +00:00
Michael Niedermayer
0a8d8945fd (commit by michael)
faster simple idct in MMX

Originally committed as revision 269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-17 20:00:41 +00:00