Michael Niedermayer
77ea0d4bdd
quantizer noise shaping
...
Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 03:52:58 +00:00
Michael Niedermayer
2c8b796fa9
b frames + cbr fix
...
Originally committed as revision 2730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-29 15:50:54 +00:00
Michael Niedermayer
11a8a71d4e
mpeg4 pts fix
...
Originally committed as revision 2724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-26 19:04:32 +00:00
Michael Niedermayer
65a24d0b39
optimization & bugfix extracted from the 4k line diff between ffmpeg 0.4.7 and http://www.alicestreet.com/ffh263.html
...
the other parts of the diff where
1. spelling fixes (rejected as only a small part of it could be applied automatically)
2. cosmetics (reindention, function reordering, var renaming, ...) with bugs (rejected)
3. rtp related stuff (rejetced as it breaks several codecs)
4. some changes to the intra/inter decission & scene change detection (quality tests needed first)
Originally committed as revision 2721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-24 23:47:33 +00:00
Michael Niedermayer
303e50e65b
closed gop support & flags2 as all bits in flags are used
...
and a few minor things i forgot to commit ...
Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Michael Niedermayer
20f155ed80
avcodec_flush_buffers() fix
...
Originally committed as revision 2715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-19 14:41:34 +00:00
Michael Niedermayer
2c492e94fc
removing broken framerate conversation hack in mpeg1/2
...
Originally committed as revision 2713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 21:41:44 +00:00
Michael Niedermayer
507a8e0d70
type fixes, found by Wolfgang Hesseler
...
Originally committed as revision 2694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-12 22:39:19 +00:00
Michael Niedermayer
8f2ab83318
copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise
...
Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 16:04:55 +00:00
Michael Niedermayer
622348f931
interlaced dct decision cleanup
...
function moved to dspcontext
mmx&mmx2 optimized
change SSE -> SAD as default (better quality)
vbv buffer size command line option in kbyte
Originally committed as revision 2669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 22:57:07 +00:00
Michael Niedermayer
0982834b04
non YV12 vissualization fix by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 2662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 17:13:14 +00:00
Michael Niedermayer
5ac59c559b
warn the user if we had to clip some dct coefficient due to a crappy format which doenst support the whole needed range (msmpeg4/wmv mostly but mpeg1 too to a lesser extend)
...
Originally committed as revision 2661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 14:43:52 +00:00
Michael Niedermayer
783df5f347
denoise_dct_mmx()
...
Originally committed as revision 2657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 22:29:08 +00:00
Michael Niedermayer
fbb898067f
more trellis quant optimizations
...
Originally committed as revision 2655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 19:22:00 +00:00
Michael Niedermayer
34e0a29d36
cleanup
...
Originally committed as revision 2651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 03:02:34 +00:00
Michael Niedermayer
7485d118f2
optimizing (trellis) quantizer
...
Originally committed as revision 2650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 02:39:05 +00:00
Michael Niedermayer
ae55b53303
dont show uninitalized motion vectors
...
Originally committed as revision 2645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 16:56:04 +00:00
Michael Niedermayer
273977d814
rate limit tips and checks
...
Originally committed as revision 2643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 15:13:44 +00:00
Michael Niedermayer
bb198e198a
interlaced motion estimation
...
interlaced mpeg2 encoding
P & B frames
rate distored interlaced mb decission
alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed
Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Michael Niedermayer
b846b231b3
100000l
...
Originally committed as revision 2637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 15:29:38 +00:00
Wolfgang Hesseler
0c9bbaec60
motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Michael Niedermayer
1031fabd14
picture number fixes
...
Originally committed as revision 2634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-29 22:25:08 +00:00
Steven M. Schultz
1c004e5622
lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
...
Originally committed as revision 2630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-22 19:42:28 +00:00
Michael Niedermayer
71c47d6e24
10l (forgot to copy top_field_first flag)
...
Originally committed as revision 2629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-22 19:06:01 +00:00
Michael Niedermayer
d60a8f85d7
vbv_delay
...
Originally committed as revision 2623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-17 19:53:05 +00:00
Michael Niedermayer
d50635cd24
split intra / inter dequantization
...
Originally committed as revision 2607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 02:57:00 +00:00
Michael Niedermayer
7ebfc0ea63
error concealment regression test
...
Originally committed as revision 2606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 01:42:00 +00:00
Michael Niedermayer
d55f7b6521
cleanup
...
Originally committed as revision 2605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-13 20:41:33 +00:00
Aurelien Jacobs
0c11692a1d
Here are juste two added #ifdef CONFIG_ENCODERS to allow
...
libavcodec to compile without CONFIG_ENCODERS defined
patch by (Aurelien Jacobs <aurel at gnuage dot org>)
Originally committed as revision 2604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-13 02:14:18 +00:00
Michael Niedermayer
864119b6ca
mb type & qp vissualization
...
Originally committed as revision 2603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-13 01:33:52 +00:00
Michael Niedermayer
11dffbe1da
stuffing to stay above min_bitrate
...
Originally committed as revision 2602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 21:30:47 +00:00
Fabrice Bellard
7a0f9d7e7d
fixed top_field_first support when encoding
...
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Michael Niedermayer
dd5e90cd55
interlaced dct encoding fix
...
Originally committed as revision 2592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:05:41 +00:00
Fabrice Bellard
db9b1b5eae
fixed interlaced encoding
...
Originally committed as revision 2590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:49:20 +00:00
Michael Niedermayer
5ea4b18d9f
motion_subsample_log2
...
Originally committed as revision 2580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 01:55:54 +00:00
Wolfgang Hesseler
8d7ec294c4
move motion_val & mb_type to AVFrame patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
cleanups & fixes by me
Originally committed as revision 2579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 01:49:56 +00:00
Michael Niedermayer
01e8ff27b4
slice flush / position fix
...
Originally committed as revision 2569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-07 02:10:30 +00:00
Michael Niedermayer
ba58dabc5c
h263 slice structured mode
...
slice cleanup
Originally committed as revision 2568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-07 01:33:45 +00:00
Michael Niedermayer
2be9f03abb
AVFrame.interlaced_frame fixes
...
Originally committed as revision 2566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 01:03:12 +00:00
Michael Niedermayer
c70f1716cf
export top_field_first & interlaced_frame
...
Originally committed as revision 2564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 00:19:46 +00:00
Michael Niedermayer
b40cd4e0e4
rv20 (h263) b frame decoding support
...
Originally committed as revision 2561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-04 18:34:47 +00:00
Michael Niedermayer
554daa2402
cleanup
...
Originally committed as revision 2558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 16:47:17 +00:00
Michael Niedermayer
6beeb962a2
h263 modified quantization fix
...
Originally committed as revision 2557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 16:07:41 +00:00
Michael Niedermayer
332f9ac4e3
h263 loop filter
...
fixed h263 modified quantization
CODEC_FLAG_OBMC
Originally committed as revision 2549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-01 15:23:14 +00:00
Michael Niedermayer
43dc0bfd2e
cleanup
...
Originally committed as revision 2545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-30 17:30:18 +00:00
Michael Niedermayer
dba019daba
h263 alternative inter vlc support
...
Originally committed as revision 2541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 08:37:51 +00:00
Michael Niedermayer
f7190f7399
h263 OBMC & 4MV support
...
cleanup
Originally committed as revision 2536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 21:31:20 +00:00
Michael Niedermayer
b68ab2609c
dont read from b frames if draw_horiz_band==NULL
...
Originally committed as revision 2533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-27 13:38:00 +00:00
Michael Niedermayer
9bc8b38660
16x8 MV vissualization by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 2530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-25 00:35:18 +00:00
Michael Niedermayer
bc1e364666
10l
...
Originally committed as revision 2529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-24 21:53:32 +00:00
Michael Niedermayer
ad0d17f1f8
qprd with b frames fix
...
Originally committed as revision 2518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 23:45:25 +00:00
Michael Niedermayer
dd3e415e06
qprd needs mbd=2
...
Originally committed as revision 2517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 23:22:06 +00:00
Michael Niedermayer
30758048ef
ac prediction with rate distorted qp fix
...
Originally committed as revision 2510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 13:03:51 +00:00
Michael Niedermayer
1f26c6f338
rate distored optimal lambda->qp support
...
Originally committed as revision 2509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 12:25:44 +00:00
Michael Niedermayer
ea05d9c9c7
flush fix (untested)
...
Originally committed as revision 2473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 17:42:50 +00:00
Michael Niedermayer
762357e63a
10l (fixes dct coeff noise reduction)
...
Originally committed as revision 2470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:31:02 +00:00
Michel Bardiaux
9b87956678
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:26:22 +00:00
Michael Niedermayer
821cb11f76
noise reduction of dct coefficients
...
Originally committed as revision 2468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-02 23:19:47 +00:00
Michael Niedermayer
5f1948111a
pts fix and related fixes
...
Originally committed as revision 2452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 16:58:49 +00:00
Ivan Kalvachev
a579db0c4f
XvMC speedup by removing one memcpy and doing MB packing
...
Originally committed as revision 2442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-27 23:22:43 +00:00
Michael Niedermayer
6b56c616d9
make convert_matrix() independant of MpegEncContext
...
Originally committed as revision 2441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-27 14:37:30 +00:00
Michael Niedermayer
9b4b6e099b
segfault fix
...
Originally committed as revision 2434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 19:30:14 +00:00
Michael Niedermayer
b4c3816cfa
optionally merge postscale into quantization table for the float aan dct
...
Originally committed as revision 2420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 09:11:56 +00:00
Michael Niedermayer
65e4c8c919
floating point AAN DCT
...
Originally committed as revision 2415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 18:26:38 +00:00
Michael Niedermayer
9d9e31722a
112 bytes smaller MpegEncContext
...
Originally committed as revision 2414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 15:36:46 +00:00
Michael Niedermayer
45686da26d
move blocks away MpegEncContext (7.4 -> 5.8k)
...
Originally committed as revision 2413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 12:01:21 +00:00
Michael Niedermayer
642ccefbc8
move mmx quantizer matrixes out of MpegEncContext (23k -> 7k) (no meassureable slowdown)
...
Originally committed as revision 2412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 11:23:39 +00:00
Michael Niedermayer
7e4995c388
move q_*_matrix out of MpegEncContext (40k ->23k) dct_quantize() is even slightly faster now, dont ask my why ...
...
Originally committed as revision 2411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 10:59:39 +00:00
Michael Niedermayer
b465449eb7
dynamic alloc of picture structs instead of putting them in MpegEncContext
...
Originally committed as revision 2410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 19:55:31 +00:00
Michael Niedermayer
fa384dcc81
export mpeg2 active display area / pan scan
...
fix mpeg2 aspect_ratio for the rare case that active display area != AVCodecContext.width/height
decode sequence display extension & picture display extension
Originally committed as revision 2401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 09:52:02 +00:00
Michael Niedermayer
a573cc27f5
emu_edge checks simplification and avoid redundant checks for mpeg1/2 if emu_edge is set
...
Originally committed as revision 2395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-17 18:56:01 +00:00
Michael Niedermayer
6571e41dcd
picture buffer cleanup, this fixes a assertion failure (if assertion checking was manualy enabled for utils.c) and a memleak at least
...
Originally committed as revision 2392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 00:21:54 +00:00
Mike Melanson
764ef40015
disable encoders where appropriate (patch courtesy of BERO
...
<bero -at- geocities.co.jp>)
Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 04:15:53 +00:00
Michael Niedermayer
431f2172cd
fix decoding if the aspect ratio changes
...
Originally committed as revision 2367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 21:32:58 +00:00
Alex Beregszaszi
ed7debda14
removed the obsolete and unused parameters of init_put_bits
...
Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 21:25:00 +00:00
Michael Niedermayer
158c7f059c
use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
...
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range
Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-07 11:32:40 +00:00
Michael Niedermayer
16c3c1ecb4
rd cbp + single coeff elimination fix
...
Originally committed as revision 2333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 08:52:37 +00:00
Michael Niedermayer
ca7d05d56f
optionally try to encode each MB with MV=<0,0> and choose the one with better RD
...
Originally committed as revision 2328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 00:24:34 +00:00
Michael Niedermayer
f2f6134b9e
rate distortion optimal cbp support (h263/mpeg4 non intra only)
...
Originally committed as revision 2323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-30 22:18:43 +00:00
Michael Niedermayer
34f60ee61b
slight quality improvement ( < +0.04 PSNR) for high bitrate videos with trellis quantization
...
Originally committed as revision 2300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-24 19:45:57 +00:00
Michael Niedermayer
05fbd0a2b0
scenechange_threshold
...
Originally committed as revision 2281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 11:25:29 +00:00
Michael Niedermayer
541ae14095
AVI stream header FCC / more reliable detection of old xvid files
...
Originally committed as revision 2258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 23:40:55 +00:00
Michael Niedermayer
2523e73c77
--disable-risky fix by (Luca Abeni <lucabe72 at email dot it>)
...
Originally committed as revision 2243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 19:46:21 +00:00
Fabrice Bellard
56c4a18464
ctype.h is a common header
...
Originally committed as revision 2223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 19:58:34 +00:00
Michael Niedermayer
22ddd60bc2
fixing CODEC_FLAG_GLOBAL_HEADER
...
Originally committed as revision 2167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 20:14:28 +00:00
Michael Niedermayer
e4eadb4b44
oooooops, having 2 Eterms open and doing cvs diff in one and cvs commit in the other sucks, especially if they are in different directories (MPlayer/main/libavcodec vs. ffmpeg/libavcodec)
...
Originally committed as revision 2165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-25 22:54:53 +00:00
Michael Niedermayer
029911d1c3
mpeg2 encoding
...
Originally committed as revision 2164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-25 22:47:32 +00:00
Fabrice Bellard
df15903f27
removed unused variable
...
Originally committed as revision 2159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:13:48 +00:00
Michael Niedermayer
d6eb3c500a
custom quant matrix encoding support
...
Originally committed as revision 2135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-22 22:18:08 +00:00
Roman Shaposhnik
36b58e850d
* fixing a regression in mpeg encoder (not setting pix_fmt),
...
this is hardly the right way to do things, but it'll suffice for now.
* patch from Gildas Bazin
gbazin at altern dot org
* fix for a 10l in configure
* gcc 2.95.3 and Solaris build in general are not ready
for -Werror in libavformat/Makefile
Originally committed as revision 2123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-12 18:20:29 +00:00
Michael Niedermayer
6e23091277
check input pix_fmt
...
Originally committed as revision 2104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-05 14:08:28 +00:00
Michael Niedermayer
59c673d518
cleanup / fixes
...
Originally committed as revision 2103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-05 10:19:43 +00:00
Michael Niedermayer
769fc4660c
clear bitstream buffers in AVCodec.flush()
...
Originally committed as revision 2101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-02 22:01:02 +00:00
Michael Niedermayer
ffba1dc02b
make the h263 decoder more error tolerant
...
Originally committed as revision 2099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-01 11:00:03 +00:00
Michael Niedermayer
7d1c3fc1d6
rate distortion mb decision support
...
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c
Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 02:09:12 +00:00
Ivan Kalvachev
f23a68dff3
make MPV_frame_start fail on get_buffer failer
...
Originally committed as revision 2089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 23:31:13 +00:00
Ivan Kalvachev
2e7b4c8442
initial XvMC support
...
Originally committed as revision 2085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 01:28:49 +00:00
Michael Niedermayer
17d71fb922
last frames & b frames encoding fix
...
Originally committed as revision 2075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-23 10:41:07 +00:00
Michael Niedermayer
3bb07d6165
default for slices is display order again
...
optional support for field slices & slices in coded order
and single component slices for svq1 (unfinished)
Originally committed as revision 2066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-20 14:48:05 +00:00
Michael Niedermayer
42928ccbc2
svq3 b frame slices fix
...
Originally committed as revision 2065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-18 11:47:14 +00:00
Michael Niedermayer
7a06ff148d
AVCodec.flush()
...
ff_draw_horiz_band() in coded order / cleanup
Originally committed as revision 2064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 12:29:07 +00:00
Michael Niedermayer
44a2950f72
flv cleanup / simplify
...
Originally committed as revision 2026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 00:15:27 +00:00
Garrick Meeker
d4f5d74a54
flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)
...
Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 23:10:59 +00:00
Michael Niedermayer
147e5200ca
memleak fix by (Jake Page <jake at CS dot Stanford dot EDU>)
...
with minor fix by me
Originally committed as revision 2014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-05 08:31:08 +00:00
Ivan Kalvachev
d55e93e48b
Mpeg2 16x8 Patch by ("Ivan Kalvachev" <ivan at cacad dot com>)
...
Originally committed as revision 2006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 23:29:00 +00:00
Michael Niedermayer
8e937a4ad1
2x100l
...
Originally committed as revision 1989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-27 12:58:40 +00:00
Ivan Kalvachev
1dff7d56ad
DMV support patch by ("Ivan Kalvachev" <ivan at cacad dot com>)
...
Originally committed as revision 1985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-23 22:32:15 +00:00
Michael Niedermayer
c009df3f86
make ff_emulated_edge_mc() independant of MpegEncContext
...
Originally committed as revision 1971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-18 22:00:23 +00:00
Michael Niedermayer
b1e6b355f7
lossless mjpeg encoding (planar yuv & RGB) and somerelated bugfixes
...
Originally committed as revision 1968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-17 22:48:51 +00:00
Michael Niedermayer
4cdfaf8093
mpeg1 decoding fix
...
Originally committed as revision 1917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-29 21:34:25 +00:00
Michael Niedermayer
db6e779506
motion vector vissualization for mpeg1/2
...
mpeg1/2 cleanup/bugfix
error resilience bugfix
Originally committed as revision 1911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-27 12:31:03 +00:00
Michael Niedermayer
3d2e8cce3a
ASV1 codec
...
with postprocessing support :)
Originally committed as revision 1891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-19 13:30:59 +00:00
Michael Niedermayer
d8085ea727
cleanup
...
Originally committed as revision 1882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 23:08:01 +00:00
Michael Niedermayer
8b82a95675
svq3 decoder by anonymous
...
Originally committed as revision 1845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-09 22:16:14 +00:00
Michael Niedermayer
e20c40697c
release buffer cleanup
...
Originally committed as revision 1839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-06 20:43:37 +00:00
Michael Niedermayer
eb14c71360
doxy
...
Originally committed as revision 1832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 10:00:57 +00:00
Michael Niedermayer
bb463d8102
10l (returning negative number of consumed bytes if the first startcode of a frame was split between 2 buffers)
...
Originally committed as revision 1824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 01:11:26 +00:00
Michael Niedermayer
93d4546633
typo in a comment ...
...
Originally committed as revision 1821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 16:18:35 +00:00
Michael Niedermayer
d90cf87b90
fixing mixed dr1 + internal buffers
...
Originally committed as revision 1820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 00:29:48 +00:00
Michael Niedermayer
129dfab2c7
10l
...
Originally committed as revision 1774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 20:02:12 +00:00
Michael Niedermayer
9acbbd16b9
check validity of some flags
...
Originally committed as revision 1773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 14:06:21 +00:00
Michael Niedermayer
7bc9090a41
simplified adressing of most mb based arrays (mb_x + mb_y*s->mb_stride) now instead of mb_x + mb_y*mb_width and 1+mb_x + (1+mb_y)*(mb_width+2) and ... mixture
...
more direct use of the new mb_type stuff instead of codec specific stuff
runtime mb_type debug output h264/h263 variants/mpeg1/2/4
error concealment /resilience for mpeg1/2
various minor optimizations
Originally committed as revision 1746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 13:18:38 +00:00
Michael Niedermayer
9f2e61b6a3
pict_type & quality fix
...
Originally committed as revision 1739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-06 21:03:24 +00:00
Michael Niedermayer
0da71265d8
H264 decoder & demuxer
...
Originally committed as revision 1732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 14:42:28 +00:00
Michael Niedermayer
2c19981a93
10l
...
Originally committed as revision 1725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-02 10:18:29 +00:00
Michael Niedermayer
1f9aea9b91
fixing msmpeg4v2 encoding
...
Originally committed as revision 1723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-01 15:38:01 +00:00
Michael Niedermayer
309522372c
some static -> dynamic alloc & 16->8 bit
...
Originally committed as revision 1722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-31 11:13:14 +00:00
Michael Niedermayer
9b8709d135
mpeg1 slice encoding support
...
Originally committed as revision 1720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-30 19:26:01 +00:00
Michael Niedermayer
5acaa5e1df
simplify slice encoding (variance of packet size is practically identical)
...
Originally committed as revision 1719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-30 16:22:08 +00:00
Michael Niedermayer
1984f6359e
user setable quantizer bias
...
Originally committed as revision 1701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-22 12:09:02 +00:00
Michael Niedermayer
67116af9c2
10l
...
Originally committed as revision 1699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-22 00:00:53 +00:00
Michael Niedermayer
c5a9ab69c2
qmin/qmax cleanup
...
Originally committed as revision 1689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-17 11:02:33 +00:00
Michael Niedermayer
b536d0aad2
field pic decoding cleanup
...
Originally committed as revision 1686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 20:22:22 +00:00
Zdenek Kabelac
5d4ce4574b
* added more options
...
Originally committed as revision 1675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 19:49:58 +00:00
Michael Niedermayer
14bea432f1
per context frame_rate_base, this should finally fix frame_rate related av sync issues
...
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Zdenek Kabelac
a77146abfe
* 'externaly' visible option list begins avoptions_ prefix
...
* fixed FLAG AVOption
Originally committed as revision 1661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-10 11:48:33 +00:00
Michael Niedermayer
7004ffb3d7
merging fourcc with codec_tag
...
Originally committed as revision 1645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 01:40:52 +00:00
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:32:04 +00:00
Michael Niedermayer
3c5ce6dc99
cleanup
...
Originally committed as revision 1627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 20:13:11 +00:00
Michael Niedermayer
640950c700
mpeg2 field pictures + sliced mode (doesnt work with mplayer though, dunno why)
...
Originally committed as revision 1626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 20:03:15 +00:00
Michael Niedermayer
dfb476cbe0
field picture decoding support (16x16 MC blocks only as i dont have any samples which use other modes ...)
...
Originally committed as revision 1624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 17:48:19 +00:00
Michael Niedermayer
21e59552d6
extended option for h263+ patch by (fixounet at free dot fr) with some minor modifications
...
Originally committed as revision 1622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 16:10:13 +00:00
Michael Niedermayer
3b4f73dc76
typo (fixes wmv1 regression test in c)
...
Originally committed as revision 1621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-04 13:05:14 +00:00
Michael Niedermayer
b0368839ac
MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
...
bitexact cleanup
Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-03 14:54:00 +00:00
Michael Niedermayer
e51d6d27a6
h263(+) clenaup & bugfixes
...
Originally committed as revision 1614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-28 13:07:07 +00:00
Michael Niedermayer
ebbcdc9ac0
user specified motion estimation range limit
...
h263 me range fixed (was smaller then needed)
Originally committed as revision 1610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-27 22:56:07 +00:00
Wolfgang Hesseler
7604246d1a
more #ifdef CONFIG_ENCODERS patch by (Wolfgang Hesseler <qv at multimediaware dot com>) with modifications by me (s/WOLFGANG/CONFIG_ENCODERS/ and some other fixes)
...
Originally committed as revision 1588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-16 23:05:38 +00:00
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Zdenek Kabelac
fe1b62fb3e
* still unfinished code for Options
...
* demo code - awating more comments
Originally committed as revision 1569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:40:23 +00:00
Michael Niedermayer
63b15e559a
mpeg1 bframe encoding patch by (Raphaël LEGRAND) with some modifications by me
...
Originally committed as revision 1551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 12:00:57 +00:00
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
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
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
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
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
Michael Niedermayer
1d0eab1dcc
bugs
...
Originally committed as revision 1469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-18 01:37:42 +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
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
a33c7159e1
get_format()
...
Originally committed as revision 1451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 00:48:29 +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
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
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
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
59b571c1e4
more debug output
...
Originally committed as revision 1338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-17 11:25:29 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Michael Niedermayer
bbed9259cc
put a few large tables under #ifdef CONFIG_ENCODERS or dynamically allocate them
...
Originally committed as revision 1130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 16:11:03 +00:00
Michael Niedermayer
6bb925f47d
dont call emms_c() for each MB
...
Originally committed as revision 1127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 12:11:53 +00:00
Michael Niedermayer
0aa7875a73
cleanup
...
Originally committed as revision 1126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 11:47:58 +00:00
Michael Niedermayer
af27aea922
fixing another assert q>0.0 issue caused by variance < 0, this fix allso changes the inter/intra decission very slightly -> all regression checksums need to be updated
...
Originally committed as revision 1122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 00:48:05 +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
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
50eb9cbc44
idct_permutation_type variable, so the permutation type can quickly be identified
...
Originally committed as revision 1071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 13:39:47 +00:00
Michael Niedermayer
6e2d5f1aea
regression test for H263+
...
Originally committed as revision 1070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 10:50:02 +00:00
Michael Niedermayer
945eeee15e
slice encoding cleanup
...
Originally committed as revision 1069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 00:08:32 +00:00
Michael Niedermayer
7801d21d13
optimize block_permute()
...
optimize dct_quantize_c()
dont permute s->q_inter/intra_matrix
Originally committed as revision 1067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-23 15:11:07 +00:00
Michael Niedermayer
4a3d7fbcbc
fixing interlaced MC & edge-emu
...
Originally committed as revision 1066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-23 08:14:12 +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
8b32880cc9
fixing h263 decoding (did segfault)
...
Originally committed as revision 1049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-19 01:31:26 +00:00
Michael Niedermayer
fb8a9e2f37
fixing interlaced dct + hq mode
...
Originally committed as revision 1048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-18 18:32:50 +00:00
Michael Niedermayer
9fee1e234e
init flags before using it (found by arpi)
...
Originally committed as revision 1047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-16 22:18:41 +00:00
Michael Niedermayer
073b013d00
complete mpeg4 GMC decoding support
...
Originally committed as revision 1046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-16 19:55:49 +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
Michael Niedermayer
0298af4887
set low_delay on encoding if no b frames
...
Originally committed as revision 1007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-06 17:46:22 +00:00
Michael Niedermayer
676e200cff
trying to fix the non-x86 IDCTs (untested)
...
Originally committed as revision 1006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-06 15:27:01 +00:00
Alex Beregszaszi
defdfc9aa0
moved dct init out from mpv_common_init to dct_common_init (for less-uglier way for dv)
...
Originally committed as revision 1002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 20:59:29 +00:00
Leon van Stuivenberg
5917d17cb7
ps2 optimizations update patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
...
Originally committed as revision 996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 20:57:19 +00:00
Michael Niedermayer
3994623df2
optimization
...
Originally committed as revision 992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 17:07:39 +00:00
Michael Niedermayer
a02017367b
optimizing mpeg1_decode_block()
...
Originally committed as revision 985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 16:14:14 +00:00
Michael Niedermayer
cc7ac88830
convert only needed matrixes in convert_matrix() (mjpeg calls it for every frame)
...
Originally committed as revision 983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 09:19:54 +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
ea689c8eb7
An easy way to speed up encoding by 6%.
...
Originally committed as revision 978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-28 02:18:34 +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
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
9e4c69485b
adaptive quantization for h263
...
Originally committed as revision 969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 15:07:44 +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
1e7bfebe7f
fixing qpel 4mv
...
Originally committed as revision 945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 12:36:54 +00:00
Michael Niedermayer
590a635884
interlaced qpel mpeg4 fixed
...
Originally committed as revision 943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 10:11:05 +00:00
Michael Niedermayer
bea669e57c
interlaced mpeg4 b frame decoding
...
Originally committed as revision 936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 09:45:32 +00:00
Michael Niedermayer
b9d2bb5b2f
fixing interlaced mpeg4 decoding
...
Originally committed as revision 933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 18:28:17 +00:00
Michael Niedermayer
66370d3fca
statistics for forw & back p-MBs instead of just one counter for both
...
Originally committed as revision 925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 12:26:09 +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
b318477992
put/avg_pixels16
...
fixing 2 small qpel bugs
Originally committed as revision 915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-11 12:39:53 +00:00
Michael Niedermayer
6b460aa387
reducing sizeof MpegEncContext to avoid stack overflow on crap M$ windo$
...
Originally committed as revision 914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-11 07:26:43 +00:00
Michael Niedermayer
ad324c9351
dct cleanup
...
more accurate mmx dct (dont discard bits for fun)
fixing mmx quantizer bug for qscale%2==1 (bias was slightly wrong)
Originally committed as revision 895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 16:52:33 +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
Michael Niedermayer
fd7db0fddf
mpeg4 interlaced decoding support (not completly implemented/tested due to lack of samples)
...
Originally committed as revision 870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-27 16:28:19 +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
3aa102be84
new ratecontrol code
...
Originally committed as revision 862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 21:19:50 +00:00
Michael Niedermayer
7806197db2
error concealment needs the mbintra_table so it should allways be allocated
...
Originally committed as revision 861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-24 13:24:43 +00:00
Michael Niedermayer
1fb4890b51
better scene change detection
...
Originally committed as revision 858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-22 19:41:06 +00:00
Michael Niedermayer
c9178d868a
same dc skip behavior for chroma & luma elimination, its confusing otherwise imho
...
Originally committed as revision 854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-18 00:42:58 +00:00
Michael Niedermayer
f5866a0340
skip blocks with small chroma dc too (if the user wants it) needed to avoid IDCT(input coeffs !=0) == 0 problems which cause catastrophic error accumulation at qp=1
...
Originally committed as revision 853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-17 20:10:27 +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
Michael Niedermayer
508abacadb
4mv + bframe decoding bugfix
...
Originally committed as revision 843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-05 21:36:14 +00:00
Michael Niedermayer
b7adc711fa
last_picture should be never == NULL (it was with dr1) this might fix a segfault with error concealment
...
Originally committed as revision 837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 16:05:05 +00:00
Michael Niedermayer
d930ef19ea
fixing mpeg4 mpeg quantizers
...
Originally committed as revision 836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-02 20:27:46 +00:00
Michael Niedermayer
a10678da8a
max_b_frame=4 bugfix
...
Originally committed as revision 833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-01 11:01:07 +00:00
Michael Niedermayer
b5a093b3a9
different edge positions fixed with edge emu / dr1
...
Originally committed as revision 814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 20:22:36 +00:00
Michael Niedermayer
3e6a20a0cd
minor optimizations
...
fixing numbers.avi
fixing ac prediction between MBs with different QP
Originally committed as revision 782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 01:34:05 +00:00
Michael Niedermayer
79c0c7858d
use edge emu for encoding of width or height %16!=0 files
...
Originally committed as revision 776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 23:32:31 +00:00
Michael Niedermayer
9022797ba2
fixing NULL reference frame with dr1
...
Originally committed as revision 775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 17:50:42 +00:00
Michael Niedermayer
9be42dba97
larger edge emu buffer (might have been too small)
...
Originally committed as revision 773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 13:25:01 +00:00
Michael Niedermayer
5499377432
fixing gmc with emu edges
...
Originally committed as revision 772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 12:42:50 +00:00
Michael Niedermayer
4c9ede2e4b
interlaced mpeg2 fix ... replacing linesize>>1 by uvlinesize brainlessly wasnt a good idea
...
Originally committed as revision 771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 11:04:26 +00:00
Michael Niedermayer
fe072fb4ee
exporting mbskip_table after it has been allocated
...
Originally committed as revision 768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 11:45:14 +00:00
Michael Niedermayer
760acb18a3
direct rendering for SVQ1
...
MpegEncContext->opaque MUST NOT be used by the codec, its for the parent program
using standart values for pict_type
using (uv)linesize
handling dropable p-frames like b-frames
Originally committed as revision 763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 21:19:37 +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
225f9c44cf
4mv & qpel edge emu
...
Originally committed as revision 760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 00:25:53 +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
Michael Niedermayer
c03a717274
rl decoding optimization
...
Originally committed as revision 755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 17:30:43 +00:00
Marko Kreen
adc09b2eab
adding ff prefix to avoid global name conficts with xvid (patch by Marko Kreen <marko at l-t.ee>)
...
Originally committed as revision 739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 21:01:45 +00:00
Falk Hüffner
e0580f8c68
Update and activate dct_unquantize_h263_mvi. Thanks to Måns Rullgård
...
for some improvements.
Originally committed as revision 714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 03:01:06 +00:00
Michael Niedermayer
a406617f2a
init dc_scale tables to defaults (fixes mjpeg sig11)
...
Originally committed as revision 706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-25 10:15:42 +00:00
Michael Niedermayer
f5957f3fe2
wmv1 support
...
dc scale optimisation
better ac table selection for msmpeg4
Originally committed as revision 696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:49:00 +00:00
Michael Niedermayer
6282185e82
grayscale only encoding
...
Originally committed as revision 679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 14:04:36 +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
Michael Niedermayer
0f440e0214
optimizing MPV_decode_mb
...
Originally committed as revision 673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 23:43:56 +00:00
Fabrice Bellard
ad31c904b2
use ff_idct_put/add()
...
Originally committed as revision 670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:36:03 +00:00
Fabrice Bellard
03c94ede93
avoid name clash with libjpeg - added missing externs
...
Originally committed as revision 660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:58:40 +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
333547be44
typo (found by Bohdan Horst <nexus at hoth.amu.edu.pl>)
...
Originally committed as revision 648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 15:31:30 +00:00
Michael Niedermayer
2a052693dd
divx5 bug workaround
...
Originally committed as revision 647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 13:31:48 +00:00
Michael Niedermayer
7f2fe444a3
single coefficient elimination
...
prequantization
more readable malloc & check if NULL
error concealment / error resilience
b_quant_offset (unfinished, should be 0 for now)
data partitioning
Originally committed as revision 642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:20:39 +00:00
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:45:33 +00:00
Fabrice Bellard
6000abfa89
removed useless header includes - use av memory functions
...
Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:03:29 +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
Alex Beregszaszi
a69b930cd3
clamp intra matrix to 8bit for mjpeg (workaround for qscale>=25)
...
Originally committed as revision 451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-07 17:55:02 +00:00
Michael Niedermayer
7aaf3b98fc
there are divx5? encoded files without a userdata section but with b-frames :(
...
Originally committed as revision 446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 13:15:05 +00:00
Juanjo
ef5b1b5a7e
- Advanced Intra Coding (AIC) support for H.263+ encoder, just DC by now.
...
- Bug fix H.263+ AIC tables.
- Warning fixes.
Originally committed as revision 431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-02 04:39:45 +00:00
Michael Niedermayer
bb71e31757
fixing msmpeg4v3 dc-scale for quantizers 24-31
...
Originally committed as revision 427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-30 01:29:29 +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
d7e9533aa0
fixed msmpeg4 infinite loop if buggy stream
...
rewrote quantizer
fixed bias (+10% compression/quality for h263 like codecs)
qscale=1 support
mpeg1 intra frames looks far less blocky
added codec_id field
Originally committed as revision 423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-27 12:30:26 +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
d697b89bab
segfault fix
...
Originally committed as revision 418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 21:02:18 +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
eec1c6b94c
divx 5.01 support
...
Originally committed as revision 412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 12:45:22 +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
Michael Niedermayer
91029be790
much better ME for b frames (a bit slow though)
...
fixed MC rounding for b frames
fixed hq mode with b-frames
Originally committed as revision 406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-19 03:25:20 +00:00
Michael Niedermayer
1f0cd30fd9
fixing hq mode with mpeg1 and 2-pass
...
Originally committed as revision 405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 18:19:50 +00:00
Michael Niedermayer
9dbf1dddbd
mpeg2/mpeg4 dequantizer support (c & mmx)
...
mpeg1 dequantizer optimizations
Originally committed as revision 404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 16:30:31 +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
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
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
3bf43d42ed
mpeg4 mpeg quantizer support
...
Originally committed as revision 381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-07 02:03:32 +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
Michael Niedermayer
ff3dfbae1a
fixing 1/0
...
Originally committed as revision 370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-30 21:33:14 +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
cf8039b2cf
mpeg4 4MV encoding
...
Originally committed as revision 363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 04:25:35 +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
9c15096e3f
fcode_tables where too small, found by Klaas-Pieter Vlieg <vlieg@eurescom.de>
...
Originally committed as revision 360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 23:45:13 +00:00
Michael Niedermayer
174489bdcc
10l (motion_val was uninitilized)
...
20l (first frame of a gop could be a p-frame sometimes)
add hq flag to MpegEncContext
Originally committed as revision 356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 04:16:51 +00:00
Michael Niedermayer
9d2a035529
fixing motion estimation with h263p hopefully
...
Originally committed as revision 355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 20:21:33 +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
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
c5b1c10a0e
fixing epzs & mpeg1 (hopefully now really ...)
...
Originally committed as revision 348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 16:51:44 +00:00
Michael Niedermayer
8a29b31054
mpeg1 & epzs fix
...
Originally committed as revision 347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 04:35:46 +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
bd31a7750f
scene change detection
...
Originally committed as revision 337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 19:45:33 +00:00
Michael Niedermayer
c674115939
10l
...
Originally committed as revision 336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 18:08:11 +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
Michael Niedermayer
4278e7a6f5
optimization
...
Originally committed as revision 332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 14:57:17 +00:00
Michael Niedermayer
d6231b9e70
use ac prediction in mpeg4 encoding (5% smaller intra-blocks/keyframes)
...
some minor optimizations
last non zero index cant be 64 bugfix
Originally committed as revision 331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 04:10:53 +00:00
Michael Niedermayer
6f91bcd151
mpeg4 b-frames :)
...
create slightly more correct headers & add "ffmpeg" user-data section
Originally committed as revision 328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-12 22:54:25 +00:00
Michael Niedermayer
1699d37681
divx5 draw_edges bugfix
...
Originally committed as revision 322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 03:17:53 +00:00
Michael Niedermayer
44eb495128
divx5-gmc support
...
q-pel mc support
neither is totally bugfree yet though :(
Originally committed as revision 320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-09 13:01:16 +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
Michael Niedermayer
2b9ab1d54a
fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)
...
Originally committed as revision 313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-22 19:19:01 +00:00
Juanjo
9e15ad28bd
- Bug fixes in H.263+ Advanced INTRA Coding decoder.
...
- H.263+ should be able to decode streams with AIC now :)
Originally committed as revision 311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-19 19:23:34 +00:00
Juanjo
d140623fc4
- H.263+ decoder support for Advanded INTRA Coding (buggy)
...
Originally committed as revision 310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 19:33:27 +00:00
Zdenek Kabelac
8257bf0534
* eliminating duplicated code from MPV_common_end
...
* simplified indexing
Originally committed as revision 305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:31:37 +00:00
Juanjo
b4dbd87c04
- Minor changes on bitrate control
...
Originally committed as revision 300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-15 20:46:37 +00:00
Michael Niedermayer
17592475b3
alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
...
Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 15:43:16 +00:00
Juanjo
e03c341ef3
- More work on preliminary bit rate control, just to be able to get an
...
average variance for picture's MBs so we can adjust qscale on the MB layer.
Originally committed as revision 294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 06:10:50 +00:00
Juanjo
37fbfd0a91
- Now the ME is done for the entire picture when enconding, the
...
DCT/Quantization is done after we have calculated all the MV of the picture.
- This is the preamble for a better bit rate control.
Originally committed as revision 293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 01:56:50 +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
3cb32e3d1f
PATCH by Rik Snel <rsnel@cube.dyndns.org>
...
this includes the range for quantized dct coefficients in dct_quantize() (-1023...1023)
Originally committed as revision 291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:25:06 +00:00
Arpi
80e103d04c
PATCH by Rik Snel <rsnel@cube.dyndns.org>
...
this patch enhances the jpeg header writer. It can be asked to omit
quantisation and huffman tables and it can write different horizontal and
vertical sampling factors. (the last thing is useless for libavcodec
itself (because libavcodec only handles YUV420P at ecoder level), but the
values are initialized so that operation of libavcodec is not impaired)
Originally committed as revision 290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:23:41 +00:00
Michael Niedermayer
0b2540a0c1
avoid copying input when encoding non intra stuff too
...
Originally committed as revision 288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 23:48:24 +00:00
Michael Niedermayer
2f349de286
(commit by michael)
...
mmx & mmx2 quantizer
c dct permutation bugfix
dont copy input on intra only encodings if it can be avoided
dont draw edges on intra only stuff
Originally committed as revision 281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-27 13:30:18 +00:00
Michael Niedermayer
d2b3c3d7bb
(commit by michael)
...
dc coeff isnt dequantized (bug reported by falk hueffner)
Originally committed as revision 278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 15:25:11 +00:00
Michael Niedermayer
4e3269e87f
(commit by michael)
...
quantizer range bugfix (mpeg1 & mpeg4 encoding)
Originally committed as revision 277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 14:34:03 +00:00
Michael Niedermayer
ae40484c1c
(commit by michael)
...
bye bye weird al rounding bug ;)
Originally committed as revision 268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 22:22:41 +00:00
Michael Niedermayer
5975626d6f
(commit by michael)
...
emms
Originally committed as revision 267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 05:02:26 +00:00
Michael Niedermayer
3d9fccbf0f
(commit by michael)
...
draw_edges_mmx()
Originally committed as revision 266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 04:07:29 +00:00
Michael Niedermayer
badaf88eeb
(commit by michael)
...
dequantizers skip trailing zeros
msmpeg4 non-intra decoder has its dequantizer "build in" now
Originally committed as revision 260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-13 04:59:37 +00:00
Arpi
eede215681
rv10 sig11 fix by Michael Niedermayer <michaelni@gmx.at>
...
Originally committed as revision 258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-12 14:36:40 +00:00
Michael Niedermayer
5b3438c630
different fix, s->mbintra_table used only if h263_pred set. - patch by Michael Niedermayer <michaelni@gmx.at>
...
Originally committed as revision 257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 22:07:12 +00:00
Vladimir Dergachev
01dbbd0a9a
This fixes segfaults because of uninitialized s->mbintra_table variable - patch by Vladimir Dergachev <volodya@mindspring.com>
...
Originally committed as revision 256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:32:34 +00:00
Arpi
477c35a9f0
mpeg4 encoder fix by Michael Niedermayer <michaelni@gmx.at>
...
Originally committed as revision 254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:23:48 +00:00
Michael Niedermayer
bff6ecaa9c
AC table reset (memset) optimization - patch by Michael Niedermayer <michaelni@gmx.at>
...
Originally committed as revision 251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:53:21 +00:00
Michael Niedermayer
ef093645ef
fix different UMV handling for mpeg4 vs. h263 - patch by Michael Niedermayer <michaelni@gmx.at>
...
Originally committed as revision 249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:46:40 +00:00
Stephen Davies
fb4a9613ee
qscale estimate fix, diff extended to 64bit wide. patch by Stephen Davies <steve@daviesfam.org>
...
Originally committed as revision 247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-08 00:28:55 +00:00
Arpi
3a842ea5d1
informal msg
...
Originally committed as revision 238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-26 14:02:08 +00:00
Arpi
393fe8dd8e
unrestricted MC fixed - thanks to Michael Niedermayer for idea
...
Originally committed as revision 236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-16 12:44:34 +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
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
Juanjo
544286b3d3
Moved some H.263+ variables to MpegEncContext to be thread-safe.
...
Increase video_buffer on ffmpeg to avoid buffer overrun on big pictures.
Originally committed as revision 114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-31 06:21:27 +00:00
Juanjo
6dbd39fe70
Added support to Unrestricted Motion Vectors (UMV)
...
on H.263+ encoding/decoding. According to Annex D.
Now MV on H.263+ are 32x32 long.
Originally committed as revision 113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-28 23:32:34 +00:00
Fabrice Bellard
58f26ba916
changed opendivx to mpeg4
...
Originally committed as revision 102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:12:23 +00:00
Fabrice Bellard
1a56543279
win32 fixes
...
Originally committed as revision 84 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:48:05 +00:00
Fabrice Bellard
519c2b6d11
moved matrix init away from MPV_common_init()
...
Originally committed as revision 77 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-12 00:52:37 +00:00
Fabrice Bellard
514547517b
fixed mpeg2 interlaced DCT
...
Originally committed as revision 74 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 22:07:21 +00:00
Fabrice Bellard
425dddb7f1
fixed mpeg1 first block bug (pb with black picture optimisation for B frames)
...
Originally committed as revision 59 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 21:57:07 +00:00
Fabrice Bellard
4f1c7e3c92
fixed block permutation in encoder (not optimal - should move it in forward DCT code)
...
Originally committed as revision 51 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:48:42 +00:00
Arpi
4af7bcc185
MMX/MMXEXT iDCT support, using external functions currently defined in libmpeg2
...
Gives average 13-20% mpeg decoding speedup on x86 systems.
Originally committed as revision 30 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-03 18:33:03 +00:00
Arpi
2d6d0c1d66
- removed #include ../config.h, because it's included from common.h
...
which is included from avcodec.h which is included from those files...
Originally committed as revision 29 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-02 18:46:26 +00:00
Nick Kurshev
54329dd5a5
Adding fastmemcpy stuff to speedup mplayer project
...
Originally committed as revision 27 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-02 08:29:38 +00:00
Fabrice Bellard
21af69f787
use block[] in structure to have it aligned on 8 bytes for mmx optimizations - dct_unquantize is always a function pointer - added specialized dct_unquantize_h263
...
Originally committed as revision 22 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:26:26 +00:00
Nick Kurshev
a9b3f63084
Sync with mplayer's stuff
...
Originally committed as revision 14 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 09:04:34 +00:00
Fabrice Bellard
3bb4e23a8a
added skip macroblock optimization (big perf win on black regions for example)
...
Originally committed as revision 13 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:43:41 +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