Roman Shaposhnik
10acc47995
* introducing dct248 into the DSP context.
...
* simple/accurate implementation of dct248
* DV encoding now supports 2-4-8 DCT
* DV encoding gets a bit faster (but still miles away
from what I think it could do)
* misc. DV codec cleanups
Originally committed as revision 2425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-24 18:28:01 +00:00
Alex Beregszaszi
01a2ddaf85
1l
...
Originally committed as revision 2424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 23:24:38 +00:00
Michael Niedermayer
cf3bf5bbaa
minor mmx2 optimization if the dct
...
Originally committed as revision 2423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 13:22:20 +00:00
Michael Niedermayer
1745173bc5
inline -> always_inline (842 -> 690 cpu cycles for dct_quantize() difference for the dct itself should be even bigger)
...
Originally committed as revision 2422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 12:59:21 +00:00
Michael Niedermayer
8d00c562e8
4.9-RC FreeBSD doesnt like lrint() so change to lrintf(), not that bsd supports that but we emulate it ...
...
Originally committed as revision 2421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 12:41:54 +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
10becaaf12
10l
...
Originally committed as revision 2419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 08:31:26 +00:00
Alex Beregszaszi
369e2d5024
10l
...
Originally committed as revision 2418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 22:12:25 +00:00
Alex Beregszaszi
1ffb0091aa
100l
...
Originally committed as revision 2417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 22:10:22 +00:00
Michael Niedermayer
6f5cf8c50f
oops forgot
...
Originally committed as revision 2416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 19:15:55 +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
c4f1e443e7
minimum slice size fix (fixes 422P 1 line per slice, used by huffyuv)
...
Originally committed as revision 11214 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-22 00:19:20 +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
7f96ed5b16
forgot to apply this chunk appearently, no, i dont really remember where it came from
...
Originally committed as revision 2409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 12:55:01 +00:00
Michael Niedermayer
8831db5ca2
start time hack by (devik <devik at cdi dot cz>)
...
Originally committed as revision 2408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 10:55:24 +00:00
Michael Niedermayer
33a6984b8c
BSD doesnt have log2
...
Originally committed as revision 2407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 01:00:31 +00:00
Michael Niedermayer
5c9e4723e0
mpeg2 aspect ratio encoding fixed
...
Originally committed as revision 2406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 23:24:39 +00:00
Michael Niedermayer
5ed9f2e5aa
use continued fractions to approximate a fraction if its numerator or denominator is too large
...
Originally committed as revision 2405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 22:33:53 +00:00
Michael Niedermayer
1c0dcc391a
10l
...
Originally committed as revision 2404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 21:42:15 +00:00
Michael Niedermayer
5ff85f1d8b
AVRational
...
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?
Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Michael Niedermayer
9dad924e22
bottom_field_first -> top_field_first
...
Originally committed as revision 2402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 10:33:13 +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
f2fae326e3
OS/X 10.2.x gcc-3.1 bug workaround by ("Steven M. Schultz" <sms at 2BSD dot COM>)
...
Originally committed as revision 2400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-19 21:11:02 +00:00
Dan Christiansen
dc7cb06ae0
gcc->C99 and warning fixes patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
...
Originally committed as revision 2399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-19 21:05:41 +00:00
Dan Christiansen
4cb3f3b637
Using the extension m4a for audio only MPEG-4 files is increasingly
...
common, especially since Apple iTunes treats files with the two
extensions differently. Without the patch, FFmpeg won't know that m4a
is for MPEG-4 files
patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 2398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-19 20:57:47 +00:00
Dan Christiansen
cf9d24adf6
- Moving -Wall from the individual Makefiles to configure (and only
...
have it passed to GCC)
- Moving the usage in configure to the top of it, so you don't have to
wait needlessly
- Silence compiler output during configuration
- Add support for configuring with IBM XLC
patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 2397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 18:47:06 +00:00
Roman Shaposhnik
2744ca9ac9
* providing MPEG codecs with a generic fields in AVFrame to use.
...
* fixing YUV4MPEG format.
* fixing a bug in DV codec where coded_frame was not set.
Originally committed as revision 2396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 03:19:44 +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
Roman Shaposhnik
5c00fe4137
* original fix still didn't align lines on s_align when CODEC_FLAG_EMU_EDGE
...
was not set.
Originally committed as revision 2394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 18:27:48 +00:00
Roman Shaposhnik
00c28046e4
* fix for a trivial 100l declaration typo
...
Originally committed as revision 2393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 04:50:54 +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
Michael Niedermayer
f0bbfc4a20
default_get_buffer() fixes
...
Originally committed as revision 2391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 21:59:08 +00:00
Doug Larrick
66535069da
Enable decoding of more mpeg-ts streams for pcHDTV patch by (Doug Larrick <doug at ties dot org>)
...
Originally committed as revision 2390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 18:06:44 +00:00
Michael Niedermayer
f539eb52fe
align
...
Originally committed as revision 2389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 16:20:50 +00:00
Michael Niedermayer
bcc7125e1d
fix "first frame is no keyframe" bug
...
Originally committed as revision 2388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 15:37:25 +00:00
Alex Beregszaszi
4b68410579
10l
...
Originally committed as revision 2387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 15:21:46 +00:00
Michael Niedermayer
ff49072013
dither scaling coefficients so they add up to 1.0
...
Originally committed as revision 11124 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-15 12:08:31 +00:00
Michael Niedermayer
379a20360c
rounding fixes
...
Originally committed as revision 11123 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-15 11:21:54 +00:00
Mike Melanson
93cb9d7f73
hook up the XA ADPCM decoder
...
Originally committed as revision 2386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:53:40 +00:00
Mike Melanson
fc38477715
activate the XA and ADX ADPCM codecs
...
Originally committed as revision 2385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:20:40 +00:00
Mike Melanson
f19af812a3
replace file to remove nasty DOS CRs and hard tabs
...
Originally committed as revision 2384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:14:14 +00:00
Mike Melanson
f127136608
this should be part of adpcm.c
...
Originally committed as revision 2383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:02:44 +00:00
Mike Melanson
e986b6e2c7
quiet
...
Originally committed as revision 2382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 02:59:03 +00:00
Mike Melanson
baf23f0c10
use the correct file modes
...
Originally committed as revision 2381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 01:22:50 +00:00
Michael Niedermayer
ffaa816ee3
recommit of
...
* fixing an unitilaized field AVImageInfo::interleaved.
As a matter of fact we have two problems here: first
AVImageInfo::interleaved is never initialzed in img.c.
The second problem is that even if we want interleaved
PNGs there's a bug in png.c that prevents us from generating
them.
The later problem is for somebody familiar with PNG to
handle.
And yes, always setting AVImageInfo::interleaved to 0 isn't
such a good idea, but it still beats garbage values.
orginal commit by roman shaposhnik
Originally committed as revision 2380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 14:40:36 +00:00
Michael Niedermayer
fe08925f64
recommit of
...
* backing out the 0-sized packets patch. We have to devise a more
sensible approach.
orginal commit by roman shaposhnik
Originally committed as revision 2379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 14:36:58 +00:00