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