Commit Graph

1575 Commits

Author SHA1 Message Date
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
Dieter 34b10a5791 crop optmization patch by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 09:00:18 +00:00
Michael Niedermayer 8aa1e3da03 infinity fix by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 1310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 08:39:37 +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 c11ef252e6 Fixed problem with frame rate reduction when capturing from a source
whose PTS does not start at zero. New code will fix that if the PTS
is more than 100 seconds from zero. This may well not be the right
number, but it is a big improvement over the current state.

Originally committed as revision 1297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-02 04:21:17 +00:00
Philip Gladstone 6638d424d4 Try to make this compile on platforms with dlfcn.h
Originally committed as revision 1296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:18:59 +00:00
Philip Gladstone 6c11d48cab Added a release function to free up the context. Also removed the dummy
declarations at the bottom of the file. This type checking is now handled by the
header file.

Originally committed as revision 1295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:17:58 +00:00
Philip Gladstone 042f24652e Added support for a realease function to eliminate the context blocks used
by each hook.

Originally committed as revision 1294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:16:32 +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
Philip Gladstone 9d6f1d52c5 Moved hook documentation into the doc directory
Originally committed as revision 1292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:12:23 +00:00
Philip Gladstone adbc051047 Add more tests for the presence of dlfcn.h and dlopen
Originally committed as revision 1291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:11:47 +00:00
Fabrice Bellard a1dfc201bd fixed 'file:' in URLs
Originally committed as revision 1290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-29 19:19:47 +00:00
Fabrice Bellard a382b927ed fixed multidir compile
Originally committed as revision 1289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-29 14:56:03 +00:00
Philip Gladstone 6207ba95f3 I goofed on the darwin LDFLAGS front. Till sourceforge install gcc3
I can't actually test it fully.

Originally committed as revision 1288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-28 02:53:06 +00:00
Philip Gladstone 4baca0690f More changes to make things compile on more platforms
Originally committed as revision 1287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-27 02:45:14 +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 9c938e77e8 More fixes to compile and build on more platforms.
Originally committed as revision 1280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 05:01:36 +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
Philip Gladstone b55e4ef43d Try to get this to build on more platforms (especially Darwin)
Originally committed as revision 1278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 03:35:18 +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
Fabrice Bellard abac617591 renamed libav to libavformat
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 19:07:40 +00:00