Commit Graph

975 Commits

Author SHA1 Message Date
Romain Dolbeau
3b991c54eb Altivec on non darwin systems patch by Romain Dolbeau
Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-26 22:29:47 +00:00
Fabrice Bellard
0d4c587854 removed warning
Originally committed as revision 1506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:18:42 +00:00
Fabrice Bellard
8e1e6f31c1 use av_malloc() functions - added av_strdup and av_realloc()
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:03:09 +00:00
Fabrice Bellard
ddedacfe98 undefine malloc macros
Originally committed as revision 1503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 22:59:06 +00:00
Michael Niedermayer
e78df69997 reversing my own stupidity ... (raw packed yuv422 files dont use YUY2 but UYVY)
Originally committed as revision 1494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 01:20:47 +00:00
Fabrice Bellard
a968e365c9 fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
Originally committed as revision 1488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-22 09:35:03 +00:00
Michael Niedermayer
b7a22d846b cleanup
Originally committed as revision 1487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-21 21:30:48 +00:00
Michael Niedermayer
68f593b484 GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops
Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-21 17:34:12 +00:00
Romain Dolbeau
fe50f38577 More AltiVec MC functions patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:50:14 +00:00
Max Krasnyansky
566986ee19 img_convert() (YUV to YUV) patch by (Max Krasnyansky <maxk at qualcomm dot com>)
Originally committed as revision 1484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:41:48 +00:00
Fabrice Bellard
69572401ad added gray<->RGB functions - fixed rgb<->yuv functions for non RGB24 case
Originally committed as revision 1483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:26:19 +00:00
Michael Niedermayer
f943e1383d trying to fix mb skip bug in mpeg1/2 if slices are not used
Originally committed as revision 1482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 20:37:24 +00:00
Michael Niedermayer
d0162d09d0 fixing yuv422 -> yuv420p (i need that for the vceq videos ...)
Originally committed as revision 1481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 20:33:08 +00:00
Zdenek Kabelac
2a743f633e * code for parsing options
now options have to be added...
  - see main for a simple usage example.

Originally committed as revision 1480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 19:04:39 +00:00
Nick Kurshev
56f7fda16b reverse
Originally committed as revision 1479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 18:43:31 +00:00
Nick Kurshev
bfbc8de9d8 Function renaming. Solves some namespace conflicts
Originally committed as revision 1478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 16:33:47 +00:00
Michael Niedermayer
76fbb0248a align
Originally committed as revision 1477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 20:04:35 +00:00
Romain Dolbeau
35e5fb067e PPC perf, PPC clear_block, AltiVec put_pixels8_xy2 patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 19:00:45 +00:00
Måns Rullgård
ef9f730675 C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 18:30:29 +00:00
Michael Niedermayer
6772518310 finetuneing thresholds/factors
nicer mb decission
a few minor improvements & fixes

Originally committed as revision 1472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 17:55:13 +00:00
Falk Hüffner
6b02692791 sse16_c is totally fucked up (unaligned loads, LONG_MAX is undefined,
uint32 array index -> segv), so let's just use a nice plain
unobfuscated version, which also happens to be faster for me.

Originally committed as revision 1470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 12:06:36 +00:00
Michael Niedermayer
1d0eab1dcc bugs
Originally committed as revision 1469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-18 01:37:42 +00:00
Arpi
e51d4defe0 - removed nonsense *.d dependancy stuff, there was already a better 'make dep' support in it
- enabled .depend generation by default, so no need to 'make dep' then...

Originally committed as revision 1468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 22:40:00 +00:00
Michael Niedermayer
db40a39aba AltiVec perf (take 2), plus a couple AltiVec functions by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-16 21:54:55 +00:00
Michael Niedermayer
0e15384d9d fixing DCTELEM != short
Originally committed as revision 1462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-15 19:21:21 +00:00
Michael Niedermayer
3a87ac948f more compare functions (rd & bit)
Originally committed as revision 1461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-15 18:05:23 +00:00
Michael Niedermayer
aaa1e4cd48 10l
Originally committed as revision 1460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-14 19:25:05 +00:00
Philip Gladstone
77b71ddc11 AUtomatic dependency generation. Runs on Linux (at least). Probably should
update .cvsignore (somehere) to exclude .d files

Originally committed as revision 1459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-14 15:30:42 +00:00
Michael Niedermayer
cb7c98d6e2 padding bug autodetection improvement 2nd try
Originally committed as revision 1458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-13 13:20:21 +00:00
Michael Niedermayer
650faac6de better padding/stuffing bug autodetection
Originally committed as revision 1457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-13 12:57:39 +00:00
Michael Niedermayer
741235ebe9 gmc1 segfault fix (found by kabi)
Originally committed as revision 1456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-13 12:55:05 +00:00
Michael Niedermayer
744ac4be05 dct_unquantize_h263_altivec by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
Originally committed as revision 1455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 13:29:24 +00:00
Michael Niedermayer
67309e49c0 /* align 16 */
Originally committed as revision 1454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 13:13:52 +00:00
Michael Niedermayer
9214855006 average motion vector rounding like the reference says and not what the standard says
Originally committed as revision 1453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 12:16:36 +00:00
Michael Niedermayer
a33c7159e1 get_format()
Originally committed as revision 1451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 00:48:29 +00:00
Felix von Leitner
2a006cd396 sse16 & pix_norm1 optimization patch by (Felix von Leitner <felix-ffmpeg at fefe dot de>) (with some modifications)
Originally committed as revision 1450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 22:32:56 +00:00
Felix von Leitner
d32ac509f6 add/diff_bytes bugfix patch by (Felix von Leitner <felix-ffmpeg at fefe dot de>)
Originally committed as revision 1449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 21:04:47 +00:00
Romain Dolbeau
e629ab68a7 altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
Originally committed as revision 1448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 20:51:03 +00:00
Slavik Gnatenko
f3ec2d46ba os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 20:34:38 +00:00
Fabrice Bellard
2a877875fa added missing formats in all functions - added monoblack, monowhite and gray8 support for most conversions
Originally committed as revision 1435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:54:38 +00:00
Fabrice Bellard
5915a6dc85 moved avpicture_xxx to imgconvert
Originally committed as revision 1434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:52:39 +00:00
Fabrice Bellard
2d1a4094a2 build update - avpicture_fill() returns the image size
Originally committed as revision 1433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:51:31 +00:00
Fabrice Bellard
0b2612b1cd changed BGRA32 to RGBA32. XXX: clarify expected behaviour on big endian cpu
Originally committed as revision 1432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:13:18 +00:00
Fabrice Bellard
524c6b6342 simplified code (need automatic testing) - added primitive new format support.
Originally committed as revision 1431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:08:48 +00:00
Fabrice Bellard
9bbffbb155 moved avcodec_get_chroma_sub_sample() to imgconvert.c
Originally committed as revision 1430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:07:06 +00:00
Fabrice Bellard
dab64ebc0d new image formats - suppressed ill defined formats (endianness, unless specified, is always the one of the CPU) - added avcodec_get_pix_fmt_name()
Originally committed as revision 1429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:04:36 +00:00
Falk Hüffner
1a02ea65e0 Implement sad8x8 and sad16x16 with pix_abs.
Originally committed as revision 1428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-10 13:35:15 +00:00
Michael Niedermayer
88e9ab1f82 typo (noticed by kabi)
Originally committed as revision 1427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 22:10:57 +00:00
Michael Niedermayer
db79495376 qpel fix
Originally committed as revision 1426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 20:42:37 +00:00
Michael Niedermayer
2826984994 fixed wmv2 slices
Originally committed as revision 1425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 11:37:08 +00:00
Michael Niedermayer
e5ab4fdd8e workaround dropable p frame after first frame bug
Originally committed as revision 1424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 01:43:31 +00:00
Fabrice Bellard
4013fcf4af altivec patches by Romain Dolbeau
Originally committed as revision 1423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-08 18:47:49 +00:00
Fabrice Bellard
e366e6795d suppressed getopt.h
Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 23:49:40 +00:00
Fabrice Bellard
9ebc63a967 tests link all libavcodec
Originally committed as revision 1421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 23:47:09 +00:00
Fabrice Bellard
0fe67fa74b suppressed pix_norm_altivec
Originally committed as revision 1420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 22:51:32 +00:00
Fabrice Bellard
f08ce7fe3b suppressed redundant math.h - suppressed M_PI redefinition
Originally committed as revision 1419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 22:43:16 +00:00
Fabrice Bellard
c4d82fea54 generic M_PI define
Originally committed as revision 1418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 22:38:25 +00:00
Fabrice Bellard
8d268a7d4c fft altivec by Romain Dolbeau - simplified patch, test it on PPC with fft-test and wma decoding
Originally committed as revision 1417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 18:15:48 +00:00
Fabrice Bellard
15e35d0d42 removed redundant includes
Originally committed as revision 1416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 18:15:14 +00:00
Fabrice Bellard
923ceff8ef enabled SSE fft (first code using GCC 3.2 vector builtins on x86 - please tell me if you have better ideas for intrinsic naming or Makefile support)
Originally committed as revision 1415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:48:14 +00:00
Fabrice Bellard
b35a02d527 align fixes for sse/altivec
Originally committed as revision 1414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:46:08 +00:00
Fabrice Bellard
bbbb6d6fc3 enabled SSE fft on x86
Originally committed as revision 1413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:45:24 +00:00
Fabrice Bellard
d9823692f5 use av_malloc instead of malloc
Originally committed as revision 1412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:44:21 +00:00
Fabrice Bellard
ea0f841a54 compile fixes
Originally committed as revision 1411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:43:50 +00:00
Fabrice Bellard
e1958604fd added define for builtins use - inverse fix by Romain Dolbeau
Originally committed as revision 1410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:41:43 +00:00
Michael Niedermayer
5a508a98e9 PIC / ebx fix
Originally committed as revision 1408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 13:00:38 +00:00
Michael Niedermayer
0b093b6fef more gcc bug workarounds
Originally committed as revision 1407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 11:59:34 +00:00
Michael Niedermayer
3df6fa7777 gcc 3.2.2 -O3 bug workaround (older gcc are very likely affected too but didnt check)
Originally committed as revision 1406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 11:07:15 +00:00
Fabrice Bellard
2f62e147ae oops : better error resilience - should fix most wma decoding problems
Originally committed as revision 1404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 22:47:42 +00:00
Zdenek Kabelac
87fb268fdc * avoid usage of next/last buffer after flush
(but there still something wrong when the first frame isn't keyframe)

Originally committed as revision 1403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 18:09:27 +00:00
Zdenek Kabelac
628d601b56 * first shot for generaly usable option parser for codecs
Originally committed as revision 1402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 18:06:51 +00:00
Michael Niedermayer
c296f66b54 1000l (push & esp) using mangle now ...
Originally committed as revision 1401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 09:55:52 +00:00
Michael Niedermayer
4a711c33cc b frame segfault fix
Originally committed as revision 1400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 01:20:37 +00:00
Michael Niedermayer
3178ee4cc4 qpel in b frames bugfixes
Originally committed as revision 1398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 20:59:29 +00:00
Michael Niedermayer
3643bd9c31 slowdown / gcc 2.95.* bug workaround (this should be reversed as soon as gcc 2.95.* support is droped)
Originally committed as revision 1397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 19:53:07 +00:00
Michael Niedermayer
f7b47594dc negative linesize support (so mplayer -flip works)
Originally committed as revision 1395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 17:59:26 +00:00
Thomas Jarosch
369fe5993f pts encoding fix patch by (Thomas Jarosch <tomj at simonv dot com>)
Originally committed as revision 1394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 17:17:14 +00:00
Michael Niedermayer
826f429ae9 qpel in mmx2/3dnow
qpel refinement quality parameter

Originally committed as revision 1393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 15:57:10 +00:00
Michael Niedermayer
70ac76c0eb mpeg4 header encoding bugfix
Originally committed as revision 1392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-03 23:21:52 +00:00
Michael Niedermayer
f931ff7b9f pre motion estimation cleanup/bugfix
Originally committed as revision 1390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-02 12:48:09 +00:00
Michael Niedermayer
f5fb6b34fd motion estimation pre pass
Originally committed as revision 1389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-02 01:29:35 +00:00
Michael Niedermayer
0a13093de8 bugfix
Originally committed as revision 1388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 16:47:31 +00:00
bubu
ccfddafbd9 warnings patch by (bubu <bubu at bubu dot net>)
Originally committed as revision 1386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 15:10:45 +00:00
Michael Niedermayer
b07a59805e shape adaptive diamonds for EPZS
user specified amount of MV predictors from the last frame
b frame MV predictor scaling fixed

Originally committed as revision 1384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 14:36:20 +00:00
Michael Niedermayer
c442d75c6e trellis quantization for mpeg1
rounding bugfix for mpeg1 (seems this was introduced during the ME changes)

Originally committed as revision 1382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 00:42:18 +00:00
Michael Niedermayer
9981dfc662 more optimized trellis quantizer
Originally committed as revision 1381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-31 22:58:41 +00:00
Michael Niedermayer
477ab036ad trellis quantization
Originally committed as revision 1380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-31 17:23:56 +00:00
Michael Niedermayer
41773b735e correcter mpeg4 headers
Originally committed as revision 1376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-30 00:28:42 +00:00
Michael Niedermayer
2bbf71777f removing PIX_FMT_ANY
Originally committed as revision 1373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-29 22:35:46 +00:00
Michael Niedermayer
5fe061a027 better set pix_fmt explicitly
Originally committed as revision 1372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-29 22:20:03 +00:00
Michael Niedermayer
a6a494fb2d xvid build 3 still has the padding wrong in 1/8 of the cases :(((((
having the padding right in 7/8 of the cases confuses the autodetection code too

Originally committed as revision 1371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-29 01:27:50 +00:00
Michael Niedermayer
1457ab5233 qpel encoding
4mv+b frames encoding finally fixed
chroma ME
5 comparission functions for ME
b frame encoding speedup
wmv2 codec (unfinished)
user specified diamond size for EPZS

Originally committed as revision 1365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-27 23:51:46 +00:00
Alex Beregszaszi
a46a7052bc disabled aspect code due to it is extra buggy
Originally committed as revision 1359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-22 22:34:42 +00:00
Mark Hills
c55427f8c8 fixes crash patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 1355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-21 15:54:21 +00:00
Zdenek Kabelac
f7696989d9 * fix for empty image queue
Originally committed as revision 1342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-19 18:59:45 +00:00
Michael Niedermayer
17a70fdeef mb qp limits
Originally committed as revision 1340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-18 10:09:43 +00:00
Michael Niedermayer
8fc698950b support dumping the qscale stuff to the screen
Originally committed as revision 1339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-18 09:23:24 +00:00
Michael Niedermayer
59b571c1e4 more debug output
Originally committed as revision 1338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-17 11:25:29 +00:00
Jürgen Keil
a8140ad5ab mlib fix patch by (Juergen Keil <jk at tools dot de>)
Originally committed as revision 1337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-15 22:42:59 +00:00
Michael Niedermayer
96d9cb220b fixing playback of DaveMatthews_Crash_PocketPC.avi
Originally committed as revision 1335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-11 08:56:28 +00:00