Commit Graph

169 Commits

Author SHA1 Message Date
Michael Niedermayer
ec0eeaa212 postprocessing support
fix duplicate frames bug?

Originally committed as revision 2031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 19:09:24 +00:00
Michael Niedermayer
0273ceebbd few more error checks
Originally committed as revision 2021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-08 22:12:17 +00:00
Michael Niedermayer
2a250222e6 CONFIG_ENCODERS cleanup
Originally committed as revision 1984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-22 11:08:22 +00:00
Alex Beregszaszi
eb60dddc2e some warning fixes
Originally committed as revision 1977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 15:21:25 +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
Alex Beregszaszi
971eb237b7 10l
Originally committed as revision 1965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 15:06:31 +00:00
Michael Niedermayer
63efe9a7e6 cleanup
pegasus "pseudo yuv" (=RCT) lossless decoding support
bigendian fix?

Originally committed as revision 1963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 13:19:30 +00:00
Michael Niedermayer
e4d2b1f39a lossless jpeg decoding support
Originally committed as revision 1959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-15 00:15:57 +00:00
Michael Niedermayer
9fe690c88f optimize
Originally committed as revision 1900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-23 16:04:24 +00:00
Michael Niedermayer
6d50b2e673 cleanup
Originally committed as revision 1893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-20 01:03:40 +00:00
Falk Hüffner
3db320ea0c Warning fixes.
Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-15 01:34:47 +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
Alex Beregszaszi
ce2749d2c4 simplified
Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-09 16:07:19 +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
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
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
dce778e0ea * check for potentialy problematic field len
Originally committed as revision 1572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 10:45:41 +00:00
Zdenek Kabelac
5c91a6755b * static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:35:32 +00:00
Michael Niedermayer
68f593b484 GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops
Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-21 17:34:12 +00:00
bubu
ccfddafbd9 warnings patch by (bubu <bubu at bubu dot net>)
Originally committed as revision 1386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 15:10:45 +00:00
Alex Beregszaszi
a46a7052bc disabled aspect code due to it is extra buggy
Originally committed as revision 1359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-22 22:34:42 +00:00
Michael Niedermayer
706fc4dea6 fixing aspect (hopefully, i couldnt reproduce the bug)
Originally committed as revision 1317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 15:01:48 +00:00
Michael Niedermayer
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
Alex Beregszaszi
1730832639 10l fix
Originally committed as revision 1300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 15:42:17 +00:00
Alex Beregszaszi
b135d9fb96 mjpegb support (need more samples)
Originally committed as revision 1258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 15:18:11 +00:00
Michael Niedermayer
218baf10f8 cleanup
Originally committed as revision 1173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-06 11:59:17 +00:00
Michael Niedermayer
81ada1ce9d cleanup
Originally committed as revision 1172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-06 09:30:47 +00:00
Alex Beregszaszi
145956deee fixed some bugs in app parser - some jfif and adobe jpgs fixed
Originally committed as revision 1153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 22:49:13 +00:00
Alex Beregszaszi
f9745d55e6 fixed 10l
Originally committed as revision 1124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 09:24:25 +00:00
Alex Beregszaszi
f3a3444721 FOURCC removed, using ff_get_fourcc instead (should be big-endian safe), workarounded a restart interval bug (Spectralfan.mov) (rst support should be rewritten and moved from decode_sos)
Originally committed as revision 1094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 16:29:40 +00:00
Michael Niedermayer
1c0a593ac8 get_vlc2()
Originally committed as revision 1084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 21:02:47 +00:00
Arpi
055317a74c 3rd 10l - don't let it read data beyond the end of frame
Originally committed as revision 1083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 19:20:02 +00:00
Alex Beregszaszi
9d3748bed3 2nd 10l (noticed by arpi)
Originally committed as revision 1082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 19:11:06 +00:00
Alex Beregszaszi
7b5c80f6bb minor speedup noticed by arpi
Originally committed as revision 1081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 19:01:00 +00:00
Alex Beregszaszi
97d4469a74 10l
Originally committed as revision 1080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 18:03:42 +00:00
Alex Beregszaszi
109362cbf4 reworked decode_frame marker searching, fixes many non-working samples
Originally committed as revision 1079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 17:59:35 +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
Michael Niedermayer
5596c60cce dont store version for bit-exact tests
Originally committed as revision 948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 22:07:35 +00:00
Alex Beregszaszi
85bf478ed9 complete aspect support
Originally committed as revision 944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 12:30:48 +00:00
Leon van Stuivenberg
d6afa9c671 handle DRI/RST markers patch by Leon van Stuivenberg <leonvs at iae dot nl>
Originally committed as revision 826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 08:27:02 +00:00
Falk Hüffner
6b765cd276 Warning fix.
Originally committed as revision 747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-12 12:41:32 +00:00
Arpi
d85c5979d0 don't exit decoder after decoding first field -> fixes angels.avi interlacing
Originally committed as revision 746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 23:34:06 +00:00
Zdenek Kabelac
f197d19a21 * clean compiler warning
Originally committed as revision 733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 14:34:06 +00:00
Zdenek Kabelac
d859228038 * turned into debug message - it's annoying when watching mjpeg files
Originally committed as revision 707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-27 13:21:16 +00:00
Fabrice Bellard
ee4b748b7f use ff_idct_put()
Originally committed as revision 669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:35:28 +00:00
Zdenek Kabelac
cd4af68ad5 * started to cleanup name clashes for onetime compilation
Originally committed as revision 617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 16:42:14 +00:00
Fabrice Bellard
3093185ea6 fixed incorrect buffer handling
Originally committed as revision 597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:39:29 +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
564ef23d49 - Warning fix.
Originally committed as revision 476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 05:42:27 +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
Alex Beregszaszi
723106b279 added support for various app headers, and writin FFmpeg comment
Originally committed as revision 450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-07 17:21:38 +00:00
Michael Niedermayer
1c3a2382d0 correct quantizer bias
Originally committed as revision 438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-03 21:38:02 +00:00
Alex Beregszaszi
af289048d8 patch by Alex Beregszaszi <alex@naxine.org>
- AVID (AVRn) support (workaround)
- print error instead of failing for unsupported SOF
- fixed the 0<code<FF range checking

Originally committed as revision 435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-03 16:34:40 +00:00
Arpi
e84c31dc88 Support for external huffman table and various fixes by Alex Beregszaszi <alex@naxine.org>
Originally committed as revision 429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-01 18:12:04 +00:00
Michael Niedermayer
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
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
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
d8c2efac4b width or height %16 != 0 bugfix
Originally committed as revision 287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 02:08:36 +00:00
Fabrice Bellard
a74127c071 win32 fixes
Originally committed as revision 110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:33:03 +00:00
Fabrice Bellard
9d02db7a17 fix got_picture output
Originally committed as revision 99 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:10:39 +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
991ae7b6a4 added interlaced MJPEG support
Originally committed as revision 70 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:03:30 +00:00
Fabrice Bellard
486171d7ba return dummy quality to avoid bug in -sameq case - forgot emms in error case
Originally committed as revision 60 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 22:11:48 +00:00
Fabrice Bellard
186f8ae1f5 added forgotten emms() - fix various segmentation faults when using mjpeg
Originally committed as revision 57 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 19:08:50 +00:00
Fabrice Bellard
47476fa9fd fixed mjpeg matrix quant encoding and decoding
Originally committed as revision 48 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:46:19 +00:00
Fabrice Bellard
bbc0d0c1fe use default huffman tables if none given
Originally committed as revision 40 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 02:46:46 +00:00
Fabrice Bellard
b182e68ac5 added 422P and 444P support - fixed block parsing error
Originally committed as revision 39 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:54:05 +00:00
Fabrice Bellard
e23884046d added correct component id handling
Originally committed as revision 37 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:04:59 +00:00
Fabrice Bellard
10b7b472d9 added MJPEG decoder, renamed mjpegenc.c to mjpeg.c
Originally committed as revision 34 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:44:48 +00:00