Commit Graph

1576 Commits

Author SHA1 Message Date
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 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
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
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 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 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 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 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 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
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 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 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 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 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 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
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
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
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 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 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
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 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 9f9c322930 support forcing low_delay during decoding
Originally committed as revision 1150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 18:47:51 +00:00
Michael Niedermayer 05c4072b45 Altivec Patch (Mark III) by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 11:28:08 +00:00
François Revol 3f95e8434b added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
contribution by Laszlo Torok <torokl@alpha.dfmk.hu>
4CC 'MAC3' and 'MAC6' in Quicktime.
It works for mono streams, needs to be fixed for stereo when I get my hands on a stereo sample :)
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:39:22 +00:00
Michael Niedermayer 6b72ac6323 exporting the internal qscale table, this allso fixes the ordering
Originally committed as revision 1116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 20:41:40 +00:00
Fabrice Bellard bc8d1857fb added wma decoder
Originally committed as revision 1090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:48:55 +00:00
Michael Niedermayer d6db1c9c6a handle direct rendering buffer allocation failure
Originally committed as revision 1075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 00:02:23 +00:00
Michael Niedermayer 03e93d35b0 xvid qpel bug workaround
Originally committed as revision 1063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-22 18:55:20 +00:00
Michael Niedermayer b704e7420b mpeg4 header parser clenup (needed for parsing of VOL header in avctx->extradata)
Originally committed as revision 1032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 12:21:54 +00:00
Michael Niedermayer 4d2858deac better/cleaner error resilience (done in a 2nd pass after decoding)
h263/mpeg4 out of order slice decoding

Originally committed as revision 1030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-13 13:16:04 +00:00
Arpi e9feea594a DV ntsc support, 411P colorspace added
Originally committed as revision 1010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-07 21:28:33 +00:00
Fabrice Bellard 020fcc94e0 added DV support
Originally committed as revision 999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 07:16:50 +00:00
Michael Niedermayer 144f062500 rv10 cleanup (de)muxer still needs to be cleaned up (still searching volunteer for that ;) )
Originally committed as revision 988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 19:29:10 +00:00
Michael Niedermayer 2ad1516a6c idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code

Originally committed as revision 980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 22:44:22 +00:00
Falk Hüffner 7ffbb60ee7 Minor warning fix.
Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-28 01:49:37 +00:00
Michael Niedermayer 202ef8b819 ff_get_fourcc() & XVIX support
Originally committed as revision 975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-27 10:27:57 +00:00
Michael Niedermayer 0c2dd16eb6 autodetect UMP4 (by adding a fourcc field to AVCodecContext)
Originally committed as revision 974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 23:27:22 +00:00
Michael Niedermayer fcb48651f4 mpeg4 interlaced dct encoding
Originally committed as revision 971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 00:22:25 +00:00
Michael Niedermayer 5e746b9995 darkness masking (lumi masking does only bright stuff now)
Originally committed as revision 967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 10:53:59 +00:00
Michael Niedermayer c5d309f2d5 adaptive quantization (lumi/temporal & spatial complexity masking)
Originally committed as revision 964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-23 14:56:11 +00:00
Michael Niedermayer b3a391e8b8 fixing i_quant_factor, this should finally fix the bitrate bug with ffserver hopefully
Originally committed as revision 959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 20:22:39 +00:00
Michael Niedermayer b71901e6ee documenting most stuff in AVCodecContext
Originally committed as revision 957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 17:44:54 +00:00
Michael Niedermayer a949d72e0e avcodec_alloc_context()
Originally committed as revision 954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 09:13:43 +00:00
Alex Beregszaszi 050fe8bab5 aspect (ext. par too) support for h263 and mpeg4 (inc. build becouse of new vars)
Originally committed as revision 941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 19:31:32 +00:00
Michael Niedermayer 15415af418 export pts from stream if available
store pts in stream if available (otherwise use frame_rate)

Originally committed as revision 923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 10:54:53 +00:00
Michael Niedermayer 208d3ddf96 set pict_type & key_frame on decoding too
Originally committed as revision 918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 00:27:08 +00:00
Michael Niedermayer 14207b27b5 support decoding of the last mpeg "packet" even if no startcode is immedeatly afterwards (fixes bugs with mpeg in avi)
new behavior is only activated if CODEC_FLAG_NOT_TRUNCATED is set

Originally committed as revision 909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-06 22:30:16 +00:00
Mark Hills 81e0d0b412 oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 18:07:56 +00:00
Michael Niedermayer ab6d194a38 croping patch by (talus25 at speakeasy dot net) with fixes from atmos & me
Originally committed as revision 888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:19:38 +00:00
Martin Olschewski c7e079314b sun solaris compilation bugfix, patch by (Martin Olschewski <olschewski at zpr dot uni-koeln dot de>)
Originally committed as revision 882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 18:17:20 +00:00
Michael Niedermayer 28db7fce02 slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG)
per context DCT selection

Originally committed as revision 878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-29 23:55:32 +00:00
Alex Beregszaszi e769f0535e added aspected_width/height for EXTENDED_PAR
Originally committed as revision 869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-26 20:45:01 +00:00
Michael Niedermayer ce980a9576 new ratecontrol code
sadly there are no (unsigned) int left in AVCodecContext so this breaks shared libavcodec libs :(

Originally committed as revision 863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 21:41:57 +00:00
Michael Niedermayer 87f8cab45b mpeg4 mpeg quantizer encoding
Originally committed as revision 844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-06 23:51:15 +00:00
Philip Gladstone b71472eb62 Add conversions to and from RGBA32 and BGRA32.
Originally committed as revision 824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 03:08:04 +00:00
Fabrice Bellard 917e06c81b added proposed API for parse_only mode to extract compressed frames from compressed streams
Originally committed as revision 810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:25:36 +00:00
François Revol 0147f19856 beos/mov/adpcm patch by François Revol <revol at free dot fr>
* Some BeOS fixes:
- errno stuff
- nanosleep() replacement
- added a doc/README.beos

* mov reader still has problems with most videos (skips many chunks),
- It should now read .mov files with zlib-compressed moov headers (aka cmov)
- added SVQ1 support.
- removed mapping 'raw ' and 'yuv2' to h263, was my mistake.
- added IMA4 support. (tested)
- fixed frame rate (it reported 0 fps or something before)
- extended file probing ('wide' and 'free' atoms)
- improved .mov/.mp4 detection (or so I think)

* adpcm
* added zlib support, with header file and lib check

Originally committed as revision 780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-20 20:05:50 +00:00
Michael Niedermayer 0fd90455ec uvlinesize
export has_b_frames
mb_skip with more than 2 ip buffers

Originally committed as revision 762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 14:15:10 +00:00
Michael Niedermayer 93a21abde5 direct rendering method 1 support
Originally committed as revision 759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-14 18:37:35 +00:00
Nick Kurshev be8ffec9cd new codec: Sorenson v1
Originally committed as revision 726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 16:08:43 +00:00
Michael Niedermayer 0151a6f546 wmv1 support
Originally committed as revision 697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:50:20 +00:00
Fabrice Bellard 544eb99cbf memory functions are exported
Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:42:18 +00:00
Michael Niedermayer b50eef3ae0 grayscale only decoding
Originally committed as revision 677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 13:35:56 +00:00
Nick Kurshev 8696b63645 use qstride instead of fixed constants
Originally committed as revision 653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 07:58:35 +00:00
Nick Kurshev ae72cda62b new field for communicating with external postprocessing
Originally committed as revision 652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 07:01:42 +00:00
Michael Niedermayer 1f6b6e50ce single coefficient elimination
error concealment / error resilience
b_quant_offset (unfinished, should be 0 for now)

Originally committed as revision 646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:25:54 +00:00
Michael Niedermayer 92ba5ffbb5 workaround dc_scale bug in old ffmpeg msmpeg4v3 encoder (set workaround_bugs=1 for this)
Originally committed as revision 561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 23:13:57 +00:00
Fabrice Bellard 51a4966370 added avcodec_set_bit_exact() for testing
Originally committed as revision 540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:22:51 +00:00
Juanjo e0a3d744a0 - repeat_pict meaning changed, now it signals the extra delay for the
decoded frame.
- extra_delay = (repeat_pict / 2) * (1/fps)

Originally committed as revision 496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 19:56:42 +00:00
Zdenek Kabelac e8f147930b * first shot for the new avcodec API
- comments, critics, improvements on the ffmpeg list are welcomed

Originally committed as revision 494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 14:17:11 +00:00
Nick Kurshev 79b0d5f925 build num ++
Originally committed as revision 490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 16:06:45 +00:00
Nick Kurshev 8bceb6af09 build info for ABI
Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:53:25 +00:00
Nick Kurshev 5d27890ae9 I was too lazy to be a hero ;)
Originally committed as revision 488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:30:10 +00:00
Juanjo c80340a4eb - repeat_pict added to AVCodecContext to signal if the decoder must repeat
frames from 3:2 pulldown sources.
- repeat_pict honoured by MPEG-1/2 decoder.

Originally committed as revision 486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 02:55:48 +00:00
Juanjo 9cd3766f6e - pict_type exported to AVCodecContext
- Added real_pict_num to AVCodecContext, it represent the number of the
  previous encoded frame, usefull when coding with B frames.
- Warning fix in motion_est.c

Originally committed as revision 484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-11 23:42:16 +00:00
Philip Gladstone 4a663d8042 * Start using enumerated types (makes debugging much easier)
Originally committed as revision 469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:22:30 +00:00
Juanjo bc6caae212 - MPEG-4 B frames coding option for ffmpeg.c
- Warning fixes.

Originally committed as revision 448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 19:32:55 +00:00
Nick Kurshev 156e5023e8 version info
Originally committed as revision 443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-05 09:56:13 +00:00
Arpi e84c31dc88 Support for external huffman table and various fixes by Alex Beregszaszi <alex@naxine.org>
Originally committed as revision 429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-01 18:12:04 +00:00
Michael Niedermayer 2417652e9f export mbskip_table for direct rendering
add hurry_up support

Originally committed as revision 424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-27 13:12:57 +00:00
Michael Niedermayer 1c2a8c7f14 avcodec_flush_buffers()
Originally committed as revision 420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-24 01:24:06 +00:00
Michael Niedermayer 1ff662cc2c export delay info
fixed low_delay & vo_type on mpeg4 header writer & parser

Originally committed as revision 415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 19:04:28 +00:00
Michael Niedermayer 8b4c7dbc55 fixed ratecontrol & b-frames
2pass ratecontrol
fixed hq with 2pass
inceased build num (a few more vars for the rc stuff)
hopefully no new bugs

Originally committed as revision 408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-21 21:18:17 +00:00
Arpi 2c029cd19d postprocess array increased to handle images up to 2048x1536
Originally committed as revision 407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-20 21:17:26 +00:00
Michael Niedermayer 9dbcbd92e8 fixed mpeg4 time stuff on encoding
mpeg4 b-frame enoding support
removed old, out-commented ratecontrol
reuse motion compensation code between encoding & decoding
prefix newly added global functions with ff_ to reduce namespace polution
b-frame ME (unfinished, but working)
added some comments to mpegvideo.h
do MC on encoding only once if possible
bugs? ;)

Originally committed as revision 403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 04:32:12 +00:00
Juanjo 4b1f4f236b - Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.

Originally committed as revision 400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-15 02:28:05 +00:00
Juanjo 101bea5f22 - ME method compatibility with legacy apps.
- Please use AVCodecContext's me_method now.

Originally committed as revision 399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 22:17:40 +00:00
Juanjo e4986da9ce - ME setting moved to AVCodecContext/MpegEncContext, no longer a global.
- EPZS ME algo used by default.
- HQ flag activated for ffmpeg.
- Cosmetics ...

Originally committed as revision 398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 18:57:51 +00:00
Juanjo 9f862d1133 - PIX_FMT_ANY = -1 to avoid breaking any stuff that could be using it.
Thanks to D Richard Felker III for his comments.

Originally committed as revision 392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 00:37:06 +00:00
Juanjo dbc598bb79 - Commented out PIX_FMT_ANY by now. It seems that not all codecs are setting
the PIX_FMT_ so they get PIX_FMT_ANY instead of PIX_FMT_YUV420P which
obviuosly annoys ffmpeg.

Originally committed as revision 391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 00:08:39 +00:00
Zdenek Kabelac bc657ac31d * using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 21:03:35 +00:00
Michael Niedermayer e1a9dbffed wmv1 header parser (unfinished)
Originally committed as revision 380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-06 22:29:37 +00:00
Michael Niedermayer 84afee348f msmpeg4v2 decoding (no encoding yet)
Originally committed as revision 376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 04:09:04 +00:00
Arpi 60e575acc8 using Juanjo's way to pass forced type - especially as I_TYPE/P_TYPE defines aren't exported in the public interface, and the flagged method matches the way as qscale forcing work
Originally committed as revision 366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 23:07:54 +00:00
Michael Niedermayer 4d69fbc99e force frame type for 2-pass encoding
Originally committed as revision 365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 22:50:22 +00:00
Michael Niedermayer ba6802debf 4MV motion estimation (not finished yet)
SAD functions rewritten (8x8 support & MMX2 optimizations)
HQ inter/intra decission
msmpeg4 encoding bugfix (MV where too long)

Originally committed as revision 362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-27 21:25:22 +00:00
Michael Niedermayer 098eefe183 statistics for 2-pass encoding
Originally committed as revision 354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 17:43:30 +00:00
Michael Niedermayer 2efe097a7e more aspect stuff
Originally committed as revision 350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 23:28:11 +00:00
Michael Niedermayer 11ce88346b mpeg4 aspect_ratio_info in AVCodecContext (requested by alex)
experimental (& faster) motion estimation
squished a dirty uninitialized var bug
mpeg1 fcode>1 support

Originally committed as revision 349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 23:22:08 +00:00
Michael Niedermayer 45870f5718 new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected

Originally committed as revision 344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 02:21:17 +00:00
Michael Niedermayer 9cdd6a24ad hopefully better bitrate controll
Originally committed as revision 334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 16:31:38 +00:00
Juanjo 9d36bdc9be - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:58:53 +00:00
Juanjo 43f1708f8b - Added PSNR feature to libavcodec and ffmpeg. By now just Y PSNR until I'm
sure it works ok. Also it's slow, so use it only when you _really_ need to
measure quality.
- Fix libavcodec Makefile to enable profiling.

Originally committed as revision 314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-26 22:14:27 +00:00
Juanjo 81401c1fbc - Fixes on RTP and GOB headers for H.263.
- RTP callback system implemented for H.263/H.263+.
- Bug fix on DC coefficients of H.263.
- H.263 decoder now returns PTS on picture number.

Originally committed as revision 292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 16:59:56 +00:00
Arpi 98f3b098f9 avcodec_find_encoder_by_name() patch by Alex
Originally committed as revision 237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-23 22:25:18 +00:00
Juanjo 644d98a4f2 - Preliminary RTP friendly mode for H.263.
- GOB headers for H.263 coding on RTP mode.
- Improved GOB header detection for H.263 decoder.

Originally committed as revision 222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-19 02:13:14 +00:00
Arpi ebbe52f1da postprocessing array increased to handle HDTV resolutions (1920x1152)
Originally committed as revision 206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-05 18:23:31 +00:00
Arpi 79e7b30557 exporting qscale data for postprocessing (for MPlayer)
Originally committed as revision 164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-16 23:10:38 +00:00
Fabrice Bellard a96b68b717 added pcm codecs
Originally committed as revision 140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:16:51 +00:00
Fabrice Bellard bf89e6b1f9 added draw_horiz_band test
Originally committed as revision 98 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:09:47 +00:00
Fabrice Bellard 219b06c66b new img_convert API - added deinterlacing filter
Originally committed as revision 66 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:00:05 +00:00
Fabrice Bellard d9fea0b588 added 422P and 444P formats (need to patch ffmpeg.c so that it is handled in all the program)
Originally committed as revision 38 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:53:21 +00:00
Fabrice Bellard 4e66ab3bab added MJPEG decoder + comments
Originally committed as revision 35 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:47:03 +00:00
Fabrice Bellard d771bcae33 added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
Originally committed as revision 9 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:58:31 +00:00
Fabrice Bellard de6d9b6404 Initial revision
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-22 14:18:56 +00:00