Commit Graph

1090 Commits

Author SHA1 Message Date
Michael Niedermayer 36df880581 divx503 decoding fix
Originally committed as revision 1538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 23:34:30 +00:00
Fabrice Bellard 4c7e861929 handle odd image sizes when using subsampled chroma (useful for JPEG images)
Originally committed as revision 1536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 19:53:01 +00:00
Fabrice Bellard 811b32ed69 dependencies are only build with make depend
Originally committed as revision 1531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 20:57:37 +00:00
Michael Niedermayer 475b46dad6 fix for ppc compile broken by (Romain Dolbeau <dolbeau at irisa dot fr> and Colin Leroy <colin at colino dot net>)
Originally committed as revision 1526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 00:18:50 +00:00
Michael Niedermayer 782c5984f1 100000l
Originally committed as revision 1524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 22:44:34 +00:00
Michael Niedermayer 69e1a1f26a bugfix
Originally committed as revision 1523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 15:50:07 +00:00
Michael Niedermayer 1d0d55daf4 --disable-risky support
Originally committed as revision 1522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 12:00:11 +00:00
Zdenek Kabelac 02d697aa5f * headers valid for C++ compilers
Originally committed as revision 1521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 20:20:38 +00:00
Fabrice Bellard ea937d0141 win32: rint() does not seem to be defined with mingw32-gcc 2.95 - do you have a better solution ?
Originally committed as revision 1519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 14:50:26 +00:00
Fabrice Bellard d44b50b0af win32: added vsnprintf
Originally committed as revision 1518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 14:37:44 +00:00
Michael Niedermayer cb009a8cff 10l / 4mv segfault fix
Originally committed as revision 1517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 09:26:00 +00:00
Michael Niedermayer c81f034988 optimizing av_log2
Originally committed as revision 1515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 20:39:29 +00:00
Fabrice Bellard 425ed6e223 DV audio decoder by Roman Shaposhnick
Originally committed as revision 1514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 09:21:30 +00:00
Michael Niedermayer 49c79e6c5a drawing cute arrows instead of lame lines for motion vector visualization
Originally committed as revision 1512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-26 23:11:08 +00:00
Michael Niedermayer 2ba8f6b817 feeding doxygen
Originally committed as revision 1511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-26 23:09:12 +00:00
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
Zdenek Kabelac 4cb3ca724d * fill codec_id in codec_open
Originally committed as revision 1329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 18:54:09 +00:00
Michael Niedermayer befaced573 100l
Originally committed as revision 1328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 14:33:20 +00:00
Michael Niedermayer 492cd3a920 AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 12:03:43 +00:00
Michael Niedermayer 4e00e76b3c cleanup / messup?
fixes 20% speedloss bug
removes redundant variables from MpegEncContext
release buffers in avcodec_flush_buffers() (untested)

Originally committed as revision 1325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 00:29:17 +00:00
Michael Niedermayer f8af5cb5a4 correct mpeg4 vo type
Originally committed as revision 1324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 00:06:15 +00:00
Michael Niedermayer 86689eeb7a remove fake wmv2 codec
Originally committed as revision 1323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-08 21:29:37 +00:00
Michael Niedermayer 2b2719acff ump4 decoding fixed
Originally committed as revision 1322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-07 11:38:26 +00:00
Dieter 00a7d8d69c practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 17:58:21 +00:00
Michael Niedermayer 6c16199b43 fixing api-example
Originally committed as revision 1320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 17:39:32 +00:00
Michael Niedermayer 426b80615b aspect ratio encoding for mpeg1
Originally committed as revision 1319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 16:19:25 +00:00
Michael Niedermayer 945f15b740 mpeg1&2 aspect decoding
Originally committed as revision 1318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 16:04:30 +00:00
Michael Niedermayer 706fc4dea6 fixing aspect (hopefully, i couldnt reproduce the bug)
Originally committed as revision 1317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 15:01:48 +00:00
Michael Niedermayer 0d1e924668 fixing 2pass assert failure
better dynamic b frame selection, still not very good though allthough it works fine without 2pass now

Originally committed as revision 1316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 13:30:13 +00:00
Michael Niedermayer 32db2b1d47 missing "\" (found by nick)
Originally committed as revision 1315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 11:56:49 +00:00
Michael Niedermayer 032011465b better? scene change detection
Originally committed as revision 1314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 22:22:53 +00:00
Michael Niedermayer 5f3ed1653f fixing hq + adaptive quant
Originally committed as revision 1313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 19:18:13 +00:00
Michael Niedermayer d9cb5429f2 drop b frames if there are no reference frames
skip b frames if hurry_up

Originally committed as revision 1312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 11:33:43 +00:00
Michael Niedermayer aa388dba30 fixing files where the first frame isn a keyframe
Originally committed as revision 1309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 22:16:24 +00:00
Michael Niedermayer 140cb66321 new PSNR code (now works with chroma, b frames, ...)
rename *_TYPE to FF_*_TYPE for the external API
allow user specified pict_type

Originally committed as revision 1308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 21:13:02 +00:00
Michael Niedermayer 5b20b7328a print a warning if something allocates 0 bytes
Originally committed as revision 1307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 12:42:25 +00:00
Michael Niedermayer b92be2af42 workaround old xvid bug
Originally committed as revision 1306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 12:36:18 +00:00
Michael Niedermayer c8c437bc23 specific debug output support
Originally committed as revision 1305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 12:09:27 +00:00
Michael Niedermayer ce3bcaeda1 fixing illegal 3. esc bug (the mpeg4 std only requires encoders to use unescaped symbols but not esc1 or esc2 if they are shorter than esc3, andjust beause its logical to use the shortest possible vlc doesnt mean encoders do that)
Originally committed as revision 1304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 11:47:24 +00:00
Michael Niedermayer dc172cc13b use spatial error concealment if we dont have a previous frame
Originally committed as revision 1303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 11:25:53 +00:00
Michael Niedermayer 1e491e29c2 cleanup
adding AVVideoFrame
 moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
 removing obsolete variables in AVCodecContext
 skiping of MBs in b frames
 correctly initalizing AVCodecContext
 picture buffer cleanup

Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 10:04:03 +00:00
Zdenek Kabelac 855ea723b0 * two functions to handle allocation of static data more simple
av_mallocz_static - called for every static data table
  av_free_static - called when ffmpeg is no longer needed and should free
                   all static resources
* simple usage shown in mpegaudiodec.c

Originally committed as revision 1301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 19:40:35 +00:00
Alex Beregszaszi 1730832639 10l fix
Originally committed as revision 1300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 15:42:17 +00:00
Michael Niedermayer 843342efb7 100l (sad8x8_x2 had params in wrong order)
Originally committed as revision 1299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 11:07:41 +00:00
Michael Niedermayer 2571e3b62b 100l (mixing chroma & luma linesize)
Originally committed as revision 1298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 01:14:34 +00:00
Philip Gladstone 9e4e1659d6 Simplify an expression and eliminate a compile warning
Originally committed as revision 1293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:14:07 +00:00
Falk Hüffner 3354b0c9e5 Kludge around compilation failure on Alpha.
Originally committed as revision 1286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-27 01:20:42 +00:00
Francisco Javier Cabello Torres 7ca413b44a via c3 fix patch by (Francisco Javier Cabello Torres <fjcabello at visual-tools dot com>)
Originally committed as revision 1285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 16:26:58 +00:00
Michael Niedermayer f78ebb51ec apiexample doesnt send complete frames to the codec
Originally committed as revision 1284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 16:16:04 +00:00
Brian Foley 404d2241ec altivec accelerated v-resample patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 1283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 09:21:01 +00:00
François Revol 0ea8f2be4e Avoid "unused variable 'c'" warning.
Originally committed as revision 1282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 08:58:24 +00:00
Michael Niedermayer e4828c7d43 fixing h263+ slices if the padding at the end of the frame is >7 && <16 && there are no zero bytes afterwards
Originally committed as revision 1281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 08:56:10 +00:00
Philip Gladstone 35fedfc349 Add some rudimentary support for sparc64
Originally committed as revision 1279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 04:29:40 +00:00
Agent Smith 2aa29681c9 dont put flies in the stdout soup patch by (Agent Smith <asmith at wgz dot com>)
Originally committed as revision 1277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 00:54:27 +00:00
Francisco Javier Cabello Torres 57fc257642 via c3 detection patch by (Francisco Javier Cabello Torres <fjcabello at visual-tools dot com>)
Originally committed as revision 1275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 16:58:41 +00:00
Michael Niedermayer 525e51e8a3 10l
Originally committed as revision 1274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 09:57:58 +00:00
Michael Niedermayer 58b0b0dd93 fixing aspect
Originally committed as revision 1273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 09:23:19 +00:00
Michael Niedermayer f8fd15e03f moving init of some variables (hurry_up,...) to MPV_frame_start()
Originally committed as revision 1271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-23 09:12:57 +00:00
Brian Foley 9c76bd48aa * altivec and pix_norm patch by Brian Foley
Originally committed as revision 1269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-22 07:53:06 +00:00
Mark Hills 3aca208a7b * Ogg/Vorbis patch by Mark Hills
Originally committed as revision 1268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-22 07:27:13 +00:00
Zdenek Kabelac 9a7b310d06 * remaining part of John Ryland's patch
Originally committed as revision 1267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-22 07:24:28 +00:00
Alex Beregszaszi b135d9fb96 mjpegb support (need more samples)
Originally committed as revision 1258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 15:18:11 +00:00
Michael Niedermayer 5d3cea3a86 aspect ratio cleanup
Originally committed as revision 1254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 13:08:04 +00:00
Zdenek Kabelac bb28568364 * cut&paste fix
Originally committed as revision 1249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 07:32:18 +00:00
Brian Foley f2677d6b26 altivec optimizations patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 1240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 23:22:29 +00:00
Michael Niedermayer deedfbdbca 10l
Originally committed as revision 1239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 23:04:07 +00:00
Zdenek Kabelac 5940262772 * oops fixed bad initialization of ff vals.
- put FF_LIBMPEG2_IDCT_PERM into CVS - so it will work for now

Originally committed as revision 1227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 10:08:31 +00:00
Zdenek Kabelac d43b10ec7a * fixed prototype
Originally committed as revision 1226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 09:17:52 +00:00
Zdenek Kabelac 83f238cbf0 * compilation fix (ARM users please check)
Originally committed as revision 1225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 07:33:36 +00:00
Michael Niedermayer 58bfafbed9 hurry_up=5 support
Originally committed as revision 1219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-18 09:28:21 +00:00
Michael Niedermayer 7c5ab7b88d slices & encoding optim
Originally committed as revision 1217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 11:05:14 +00:00
Michael Niedermayer 22f3e8bea7 dr1
Originally committed as revision 1216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 00:07:06 +00:00
Michael Niedermayer 0626afe9b2 0.1l
Originally committed as revision 1215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:34:25 +00:00
Michael Niedermayer 152ba68cc9 YV12 support (warning this is experimental & wont work with offical huffyuv but there is a approx. 20% speed & compression gain)
10l flush_put_bits()

Originally committed as revision 1214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:25:20 +00:00
Joel Yliluoma a32072d0e9 16-bit and 15-bit rgb/bgr patch by (Joel Yliluoma <joel dot yliluoma at w-create dot com>) (note, rare formats disabled)
Originally committed as revision 1212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:46:14 +00:00
Michael Niedermayer 11f18fafca huffyuv
Originally committed as revision 1211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:20:04 +00:00
Zdenek Kabelac 6a85ec8d9c * minor warning fix
Originally committed as revision 1209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:04:40 +00:00
Zdenek Kabelac adb4328917 * not checking for get_buffer_callback - it would be user's error
* if DR1 is disabled in get_buffer_callback silently fallback to
  non-dr rendering

Originally committed as revision 1208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 18:43:49 +00:00
Michael Niedermayer d6483a8e5c 1l found by kabi
Originally committed as revision 1207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 18:02:07 +00:00
Zdenek Kabelac 18f770162b * fixing some minor const warnings
Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 15:00:04 +00:00
Zdenek Kabelac 92ddb69283 * init for inv_zigzag_direct16 moved to init block
Originally committed as revision 1204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 10:05:21 +00:00
Zdenek Kabelac 5abd509acd * init table once
Originally committed as revision 1203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 10:01:27 +00:00
Zdenek Kabelac 4555345704 * using macros to shorten init part
* removing some unused/unneeded code
* unifing some function names

Originally committed as revision 1202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 09:47:14 +00:00
Zdenek Kabelac 34dfe896e3 * quick fix for bit exact setting
(FIXME - add this into context flags)

Originally committed as revision 1200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 21:44:27 +00:00
Michael Niedermayer c9a2ebc4c0 100l for kabi (fixing qpel)
Originally committed as revision 1198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 16:17:25 +00:00
Zdenek Kabelac af19f78f2f * using DSPContext - so each codec could use its local (sub)set of CPU extension
* these are untested - users/developers please check

Originally committed as revision 1197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 10:04:45 +00:00
Zdenek Kabelac 85bd552606 * using DSPContext - so each codec could use its local (sub)set of CPU extension
* fixing compiler warning about uninit level

Originally committed as revision 1196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:44:59 +00:00
Zdenek Kabelac ec7e0bf0fd * using DSPContext - so each codec could use its local (sub)set of CPU extension
* I think IDCT needs some better generic solution

Originally committed as revision 1195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:43:43 +00:00
Zdenek Kabelac eb4b3dd3c3 * using DSPContext - so each codec could use its local (sub)set of CPU extension
Originally committed as revision 1194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:40:17 +00:00
Zdenek Kabelac fb602cd15e * useless commit - ignore
Originally committed as revision 1193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:37:40 +00:00
Zdenek Kabelac c6af86c240 * avcodec_init could be removed I guess...
Originally committed as revision 1192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:31:17 +00:00
Zdenek Kabelac 2602c84635 * consts
Originally committed as revision 1191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:30:07 +00:00
Zdenek Kabelac 8350df9704 * added dsp_mask
* using frame_bits for wav bits_per_sample

Originally committed as revision 1190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:24:15 +00:00
Arpi df1c67adda 10l - set pixelfmt (colorspace) _before_ calling get_buffer() callback
Originally committed as revision 1185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 18:45:36 +00:00
Michael Niedermayer b8a78f419d reversing header game
MIN/MAX -> FFMIN/FFMAX

Originally committed as revision 1184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 11:46:59 +00:00
Michael Niedermayer f11d3f2310 avoid duplicate ";" warnings (based upon a patch by mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 11:24:27 +00:00
Michael Niedermayer 347ae22ecf hurry_up>=5 -> skip everything except header & set pict_type&key_frame
Originally committed as revision 1182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 10:54:07 +00:00
Michael Niedermayer c2d418f1e6 fixing -sameq with mpeg2
Originally committed as revision 1179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-09 13:57:54 +00:00
Michael Niedermayer f01a189455 cleanup
Originally committed as revision 1178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-09 10:38:34 +00:00
Michael Niedermayer d7425f59d5 cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED
add CODEC_CAP_TRUNCATED
add alpha plane to AVPicture
remove CODEC_ID_MSMPEG4
remove various unused stuff
support "truncated" mpeg4 streams

Originally committed as revision 1175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-08 18:35:39 +00:00
Michael Niedermayer 218baf10f8 cleanup
Originally committed as revision 1173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-06 11:59:17 +00:00