1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

1076 Commits

Author SHA1 Message Date
Michael Niedermayer
deedfbdbca 10l
Originally committed as revision 1239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 23:04:07 +00:00
Zdenek Kabelac
5940262772 * oops fixed bad initialization of ff vals.
- put FF_LIBMPEG2_IDCT_PERM into CVS - so it will work for now

Originally committed as revision 1227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 10:08:31 +00:00
Zdenek Kabelac
d43b10ec7a * fixed prototype
Originally committed as revision 1226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 09:17:52 +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
Michael Niedermayer
58bfafbed9 hurry_up=5 support
Originally committed as revision 1219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-18 09:28:21 +00:00
Michael Niedermayer
7c5ab7b88d slices & encoding optim
Originally committed as revision 1217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 11:05:14 +00:00
Michael Niedermayer
22f3e8bea7 dr1
Originally committed as revision 1216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 00:07:06 +00:00
Michael Niedermayer
0626afe9b2 0.1l
Originally committed as revision 1215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:34:25 +00:00
Michael Niedermayer
152ba68cc9 YV12 support (warning this is experimental & wont work with offical huffyuv but there is a approx. 20% speed & compression gain)
10l flush_put_bits()

Originally committed as revision 1214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:25:20 +00:00
Joel Yliluoma
a32072d0e9 16-bit and 15-bit rgb/bgr patch by (Joel Yliluoma <joel dot yliluoma at w-create dot com>) (note, rare formats disabled)
Originally committed as revision 1212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:46:14 +00:00
Michael Niedermayer
11f18fafca huffyuv
Originally committed as revision 1211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:20:04 +00:00
Zdenek Kabelac
6a85ec8d9c * minor warning fix
Originally committed as revision 1209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:04:40 +00:00
Zdenek Kabelac
adb4328917 * not checking for get_buffer_callback - it would be user's error
* if DR1 is disabled in get_buffer_callback silently fallback to
  non-dr rendering

Originally committed as revision 1208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 18:43:49 +00:00
Michael Niedermayer
d6483a8e5c 1l found by kabi
Originally committed as revision 1207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 18:02:07 +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
92ddb69283 * init for inv_zigzag_direct16 moved to init block
Originally committed as revision 1204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 10:05:21 +00:00
Zdenek Kabelac
5abd509acd * init table once
Originally committed as revision 1203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 10:01:27 +00:00
Zdenek Kabelac
4555345704 * using macros to shorten init part
* removing some unused/unneeded code
* unifing some function names

Originally committed as revision 1202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 09:47:14 +00:00
Zdenek Kabelac
34dfe896e3 * quick fix for bit exact setting
(FIXME - add this into context flags)

Originally committed as revision 1200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 21:44:27 +00:00
Michael Niedermayer
c9a2ebc4c0 100l for kabi (fixing qpel)
Originally committed as revision 1198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 16:17:25 +00:00
Zdenek Kabelac
af19f78f2f * using DSPContext - so each codec could use its local (sub)set of CPU extension
* these are untested - users/developers please check

Originally committed as revision 1197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 10:04:45 +00:00
Zdenek Kabelac
85bd552606 * using DSPContext - so each codec could use its local (sub)set of CPU extension
* fixing compiler warning about uninit level

Originally committed as revision 1196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:44:59 +00:00
Zdenek Kabelac
ec7e0bf0fd * using DSPContext - so each codec could use its local (sub)set of CPU extension
* I think IDCT needs some better generic solution

Originally committed as revision 1195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:43:43 +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
Zdenek Kabelac
fb602cd15e * useless commit - ignore
Originally committed as revision 1193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:37:40 +00:00
Zdenek Kabelac
c6af86c240 * avcodec_init could be removed I guess...
Originally committed as revision 1192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:31:17 +00:00
Zdenek Kabelac
2602c84635 * consts
Originally committed as revision 1191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:30:07 +00:00
Zdenek Kabelac
8350df9704 * added dsp_mask
* using frame_bits for wav bits_per_sample

Originally committed as revision 1190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:24:15 +00:00
Arpi
df1c67adda 10l - set pixelfmt (colorspace) _before_ calling get_buffer() callback
Originally committed as revision 1185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 18:45:36 +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
f11d3f2310 avoid duplicate ";" warnings (based upon a patch by mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 11:24:27 +00:00
Michael Niedermayer
347ae22ecf hurry_up>=5 -> skip everything except header & set pict_type&key_frame
Originally committed as revision 1182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 10:54:07 +00:00
Michael Niedermayer
c2d418f1e6 fixing -sameq with mpeg2
Originally committed as revision 1179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-09 13:57:54 +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
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
Michael Niedermayer
3d71589f27 cleanup
Originally committed as revision 1171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 17:31:26 +00:00
Michael Niedermayer
95e2ce4aa0 lrintf detection (based upon a patch by François Revol <revol at free dot fr>)
Originally committed as revision 1162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 00:07:05 +00:00
Michael Niedermayer
b587a7cb2b vc++ sucks, found by ("csharprules" <csharprules at hotmail dot com>)
Originally committed as revision 1160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-04 20:57:08 +00:00
Zdenek Kabelac
b0397e0e00 * DR1 support
Originally committed as revision 1157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-04 18:03:10 +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
Michael Niedermayer
9f9c322930 support forcing low_delay during decoding
Originally committed as revision 1150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 18:47:51 +00:00
Michael Niedermayer
05c4072b45 Altivec Patch (Mark III) by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 11:28:08 +00:00
François Revol
3f95e8434b added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
contribution by Laszlo Torok <torokl@alpha.dfmk.hu>
4CC 'MAC3' and 'MAC6' in Quicktime.
It works for mono streams, needs to be fixed for stereo when I get my hands on a stereo sample :)
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:39:22 +00:00
Michael Niedermayer
86f85dca30 cleanup
Originally committed as revision 1142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 08:55:46 +00:00
Arpi
288daa8452 handle init error in ffmpeg12
Originally committed as revision 1141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 01:43:19 +00:00
Michael Niedermayer
8671359bfc better padding bug detection
Originally committed as revision 1139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 00:05:06 +00:00
Michael Niedermayer
75460b0ce5 put MIN/MAX under ifndef MAX/MIN
Originally committed as revision 1138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-01 20:37:10 +00:00
Michael Niedermayer
6a70098ac6 fixing msmpeg4v3 with mb_height % slice_height != 0
Originally committed as revision 1137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-01 18:55:03 +00:00
Michael Niedermayer
f56dd362bd hopefully fixing sprite_warping_points==0
Originally committed as revision 1136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-01 13:25:22 +00:00
Zdenek Kabelac
f408fc67c0 * avoid negative numbers as well
Originally committed as revision 1134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 20:22:30 +00:00
Nick Kurshev
dd3be2c97e 10l
Originally committed as revision 1133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 18:22:15 +00:00
Nick Kurshev
b8e6ad84e5 reverse first hunk
Originally committed as revision 1132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 18:17:25 +00:00
Nick Kurshev
d08070e653 fixed debug compilation
Originally committed as revision 1131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 18:08:19 +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
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
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
Fabrice Bellard
4707cb07e1 fixed nb_block_sizes detection - fixed codec_id test (avctx->codec_id does not need to be initialized)
Originally committed as revision 1121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 00:07:13 +00:00
Michael Niedermayer
0bfacb95de fixing q>0.0 assert failure caused by overflow of variance for b frames
Originally committed as revision 1120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 22:55:07 +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
Alex Beregszaszi
6234d753a9 NetBSD fix by Bernd Ernesti <mplayer@lists.veego.de>
Originally committed as revision 1115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 20:31:04 +00:00
Fred
5981f4e693 1) Add MMX deinterlace code.
2) "Fix" first and last line deinterlace.  I had second-thoughts that this might be some image filtering algorithm that someone cleverer than I created.
3) Add in-place deinterlace functions (only used when src == dst).
patch by (Fred <foohoo at shaw dot ca>)

Originally committed as revision 1113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 09:09:34 +00:00
Fabrice Bellard
bc42388648 use lrintf to avoid double conversion
Originally committed as revision 1107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:39:11 +00:00
Fabrice Bellard
9d85cbd93a added lrintf for non ISOC libcs (fixme: find a better test)
Originally committed as revision 1106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:38:21 +00:00
Fabrice Bellard
ab253fe3c5 avoid name clash - fixed again block size selection
Originally committed as revision 1105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:27:30 +00:00
Fabrice Bellard
82696beed3 avoid name clash
Originally committed as revision 1104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:26:01 +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
Fabrice Bellard
64c133898a fixed block size selection
Originally committed as revision 1093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 01:42:05 +00:00
Fabrice Bellard
6d2abd6b3e added new fft/mdct code - added fft-test program
Originally committed as revision 1091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:51:48 +00:00
Fabrice Bellard
bc8d1857fb added wma decoder
Originally committed as revision 1090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:48:55 +00:00
Fabrice Bellard
6107fa87b4 preparing integration of new AC3 decoder
Originally committed as revision 1089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:39:05 +00:00
Fabrice Bellard
bb6f569072 new generic FFT/MDCT code for audio codecs
Originally committed as revision 1088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:34:08 +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
060f89b328 mergeing inter & intra rl_length tables (50% smaller & no meassureable difference in filesize/quality)
Originally committed as revision 1078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 12:20:58 +00:00
Michael Niedermayer
f3c09da19f 75% smaller rl_length table
Originally committed as revision 1077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 12:09:25 +00:00
Leon van Stuivenberg
a09907d988 dsputil mmi cleanup patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 1076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 09:20:48 +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
Jürgen Keil
384855eebf segfault fix patch by (Juergen Keil <jk at tools dot de>)
Originally committed as revision 1073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-26 18:56:43 +00:00
Michael Niedermayer
917f58279d fixing decoding of streams with no keyframe at the start
Originally committed as revision 1072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 16:06:32 +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
c42612f1b4 clip MVs for direct mode
Originally committed as revision 1068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-24 00:51:17 +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
8d0e42cad0 more defaults
Originally committed as revision 1065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-22 23:43:25 +00:00
Michael Niedermayer
7da71a5c68 xvid qpel bug autodetect
Originally committed as revision 1064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-22 19:48:52 +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
fc48cbad5b fixing msmpeg4v3 encoding at bitrates <128k
Originally committed as revision 1052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-20 17:02:41 +00:00
Michael Niedermayer
35aa136a77 fixing h263 slice decoding (again)
Originally committed as revision 1051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-19 23:48:08 +00:00
Michael Niedermayer
49943a18d0 fixing interlaced dct with 4mv
Originally committed as revision 1050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-19 11:03:13 +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
46fd0de8a7 fixing alt_scan for the first frame (variable was reset)
Originally committed as revision 1045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-16 17:23:18 +00:00
Michael Niedermayer
d2975f8d4f warning fixes
Originally committed as revision 1044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-15 15:24:08 +00:00
Michael Niedermayer
a61f82653e better padding bug detection
Originally committed as revision 1039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 19:53:04 +00:00
Fabrice Bellard
ec6a375248 removed warnings
Originally committed as revision 1038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 18:25:58 +00:00
Fabrice Bellard
4f891f53b3 removed invalid header include
Originally committed as revision 1037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 18:01:32 +00:00
Michael Niedermayer
b704e7420b mpeg4 header parser clenup (needed for parsing of VOL header in avctx->extradata)
Originally committed as revision 1032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 12:21:54 +00:00
Michael Niedermayer
26893f6bd4 fixing wmv1 slice decoding
Originally committed as revision 1031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-13 19:53:32 +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
Falk Hüffner
8b313a4787 Move Alpha optimized IDCT to own file. Based on a patch by Måns
Rullgård <mru@users.sourceforge.net>.

I've left out the idctCol2 part, because W4 has recently been decreed
to be 16383, and also I doubt it will give a noticeable speedup.

Originally committed as revision 1029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 23:01:16 +00:00
Fabrice Bellard
18f4e34ff6 removed unused variables
Originally committed as revision 1027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 13:49:16 +00:00
Fabrice Bellard
a5e880583c corrected pixel format display
Originally committed as revision 1025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 09:16:35 +00:00
Fabrice Bellard
4bfad53561 added two pass info
Originally committed as revision 1022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-10 17:12:55 +00:00
Michael Niedermayer
4973397975 mpeg1 2pass encoding
Originally committed as revision 1019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-09 17:18:24 +00:00
Fabrice Bellard
9c89585ad4 resample fix by Petros Tsantoulis
Originally committed as revision 1018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-09 14:16:31 +00:00
Fabrice Bellard
d017ab70f4 support buffers containing more than one frame
Originally committed as revision 1016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-09 12:35:22 +00:00
Fabrice Bellard
1c05e11d02 fixed NTSC end of line bug
Originally committed as revision 1014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-08 17:54:02 +00:00
Fabrice Bellard
789587d595 minimum support for YUV411P (new combined scaler/converter will handle that better...)
Originally committed as revision 1013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-08 17:42:33 +00:00
Jürgen Keil
47fa9c203a 16x{8,16} {avg,put}_pixels support patch by (Juergen Keil <jk at tools dot de>)
Originally committed as revision 1012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-08 12:09:23 +00:00
Arpi
9e39878252 10l - MMX/FPU state was not restored, causing nonsense fpu behaviour in caller (mplayer)
Originally committed as revision 1011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-07 23:08:42 +00:00
Arpi
e9feea594a DV ntsc support, 411P colorspace added
Originally committed as revision 1010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-07 21:28:33 +00:00
Falk Hüffner
acd2e05c47 * Fix dct_unquantize_h263_axp for changed block_last_index indexing.
* Set qadd to 0 for intra with h263_aic (whatever that may be).

Originally committed as revision 1009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-07 02:03:21 +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
Falk Hüffner
6c38306600 Make compilable again after DCT cleanup. It gives wrong results,
though, so I disabled it for now. Anybody knows offhand what might be
the reason?

Originally committed as revision 1005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-05 00:57:42 +00:00
Falk Hüffner
e447d7d65f Some nifty stuff for upcoming patches.
Originally committed as revision 1004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-05 00:12:58 +00:00
Falk Hüffner
3565eeaaaa Fix for source dir != build dir. Patch provided by Måns Rullgård.
Originally committed as revision 1003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 23:32:40 +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
Fabrice Bellard
7be166e4ea simplified parsing - added MMX idct support
Originally committed as revision 1000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 07:49:00 +00:00
Fabrice Bellard
020fcc94e0 added DV support
Originally committed as revision 999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 07:16:50 +00:00
Fabrice Bellard
5d2231ee8f first working version of DV video decoder
Originally committed as revision 998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 21:07:39 +00:00
Fabrice Bellard
652f019786 in fact IDCT248 needs to be normalized as I suspected
Originally committed as revision 997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 21:03:59 +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
Fabrice Bellard
a46a3ce416 added IDCT248 testing
Originally committed as revision 995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 19:49:23 +00:00
Fabrice Bellard
9bf71516b1 first version of IDCT248 for DV decoding support
Originally committed as revision 994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 13:41:33 +00:00
Michael Niedermayer
3a3d3a42c2 fixing custom quantizer matrix decoding
minor optimizations

Originally committed as revision 993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 22:56:58 +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
ce5b7c5e11 sliced mode for mpeg1/2
Originally committed as revision 991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 16:36:43 +00:00
Michael Niedermayer
acf44abb8c move scantable init from block-decode to header parser
Originally committed as revision 990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 23:47:04 +00:00
Michael Niedermayer
3729c91296 optimizing mpeg2 decode block stuff
Originally committed as revision 989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 23:11:40 +00:00
Michael Niedermayer
144f062500 rv10 cleanup (de)muxer still needs to be cleaned up (still searching volunteer for that ;) )
Originally committed as revision 988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 19:29:10 +00:00
Michael Niedermayer
4c2bc159bd fixing rv10, this isnt the cleanest solution (parsing the packet header in the codec & creating it in the muxer) but it was that way before things broke, and its the simplest solution
Originally committed as revision 986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 21:36:43 +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
8e1652dc9d forgot zigzag_direct[] behind #ifdef DEBUG (found by Klaas-Pieter Vlieg <vlieg at eurescom dot de>)
Originally committed as revision 984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 10:06:17 +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
9b59c92f47 indenting preprocessor stuff, as its completly unreadable otherwise
Originally committed as revision 982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 23:39:30 +00:00
Michael Niedermayer
23e54f6927 renaming variable
Originally committed as revision 981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 23:21:13 +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
f9bb4bdffc Add Alpha assembly for pix_abs16x16. Optimized for pca56, no large win
on ev6.

Originally committed as revision 979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 15:14:28 +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
Falk Hüffner
7ffbb60ee7 Minor warning fix.
Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-28 01:49:37 +00:00
Michael Niedermayer
a9c6830605 minor optimization of h263_encode_motion()
Originally committed as revision 976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-27 15:38:54 +00:00
Michael Niedermayer
202ef8b819 ff_get_fourcc() & XVIX support
Originally committed as revision 975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-27 10:27:57 +00:00
Michael Niedermayer
0c2dd16eb6 autodetect UMP4 (by adding a fourcc field to AVCodecContext)
Originally committed as revision 974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 23:27:22 +00:00
Michael Niedermayer
7f2bdb62d4 automatically detect broken opendivx codec and workaround, so bug=1 shouldnt be needed anymore for mpeg4 files, if there still are files which need bug=1 then tell me ...
Originally committed as revision 973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 22:37:33 +00:00
Michael Niedermayer
5482970b4b h263_dc_scale() cleanup
Originally committed as revision 972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 09:16:23 +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
Leon van Stuivenberg
b560f4b656 ps2 idct bugfix patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 23:57:17 +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
d87c0267e3 adaptive quantization for mpeg1
Originally committed as revision 968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 12:33:37 +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
9960903667 fixing ac prediction encoding with adaptive quantization
Originally committed as revision 966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 09:15:46 +00:00
Michael Niedermayer
693b0e1d66 fixing variance scaling for b frames (messed adaptive quants up)
cliping too long MVs in b frames instead of setting them to 0

Originally committed as revision 965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-23 15:16:09 +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
Leon van Stuivenberg
d46aba2642 ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-23 08:44:24 +00:00
Michael Niedermayer
084c726ba3 pix_sum16_mmx()
Originally committed as revision 961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-20 10:03:01 +00:00
Arpi
3f09f52adf fdct_mmx -> ff_fdct_mmx (renamed to avoid namespace conflict with xvid)
[found by Kim Minh Kaplan]

Originally committed as revision 960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 22:14:53 +00:00
Michael Niedermayer
b3a391e8b8 fixing i_quant_factor, this should finally fix the bitrate bug with ffserver hopefully
Originally committed as revision 959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 20:22:39 +00:00
Michael Niedermayer
e8b62df6e4 fixing apiexample
Originally committed as revision 958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 18:24:52 +00:00
Michael Niedermayer
b71901e6ee documenting most stuff in AVCodecContext
Originally committed as revision 957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 17:44:54 +00:00
Falk Hüffner
0af65aac18 * Remove -finline-limit=8000 (not supported by gcc 2.95)
* Hack to force correct gcc arch flags for motion_est_alpha.c

Originally committed as revision 956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 16:06:25 +00:00
Michael Niedermayer
590d3f81b7 fixing *pixels_tab stuff (hopefully, as its untested ...)
Originally committed as revision 955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 10:26:49 +00:00
Michael Niedermayer
a949d72e0e avcodec_alloc_context()
Originally committed as revision 954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 09:13:43 +00:00
Michael Niedermayer
947ac25a44 10l (forgot to commit)
Originally committed as revision 953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-18 18:30:31 +00:00
Michael Niedermayer
6a1f7e7b6b better min/max rate handling
cleanup

Originally committed as revision 952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-18 18:28:11 +00:00
Michael Niedermayer
946c8a1281 fixing
fixing max_rate/min_rate

Originally committed as revision 951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-18 09:08:03 +00:00
Michael Niedermayer
8f2b21a80f fixing memalign
Originally committed as revision 949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-15 10:02:15 +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
Michael Niedermayer
b7c27ee601 alignment info
Originally committed as revision 947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 19:00:09 +00:00
Michael Niedermayer
a172cae62e interlaced b frames fix
Originally committed as revision 946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 17:18:26 +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
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
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
Falk Hüffner
8c7b533e8b Synthesize pixels16 functions from pixels functions.
Originally committed as revision 942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 23:27:01 +00:00
Alex Beregszaszi
050fe8bab5 aspect (ext. par too) support for h263 and mpeg4 (inc. build becouse of new vars)
Originally committed as revision 941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 19:31:32 +00:00
Falk Hüffner
60286c8a37 Fix for h % 8 == 4 in put_pixels_axp_asm.
Originally committed as revision 940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 15:44:53 +00:00
Michael Niedermayer
e3bd83f874 10l (field select readed at the wrong place ...)
Originally committed as revision 939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 11:47:57 +00:00
Michael Niedermayer
fc97db6435 interlaced b frames cleanup
Originally committed as revision 938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 11:24:58 +00:00
Falk Hüffner
a343d33ed6 Due to version renumbering, Alpha builtins aren't supported in thegcc
3.2 release.

Originally committed as revision 937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 10:56:51 +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
Falk Hüffner
1c73a3fbf2 Adapt to new 8/16 table scheme.
Originally committed as revision 935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 09:28:45 +00:00
Michael Niedermayer
2276785cfa fixing 1/0 if the headers are incomplete (like what M$ encoder generates)
Originally committed as revision 934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 07:46:06 +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
f3cfadd52f parsing resync header extension support
Originally committed as revision 931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 15:22:14 +00:00
Michael Niedermayer
33cbc6052a vbv parameter parsing (more skiping actually ;) )
Originally committed as revision 930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 15:02:47 +00:00
Michael Niedermayer
7727783512 avoid nonsense frame-skip messages
Originally committed as revision 929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 15:00:09 +00:00
Michael Niedermayer
dae9ffc440 uninitialized var ...
Originally committed as revision 927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 14:43:44 +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
7866eeff46 m4v input support
return the correct number of bytes consumed for decding h263 like formats (needed for reading raw streams) this could break some divx files with b frames, so please tell me ASAP if u notice any problems

Originally committed as revision 924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 11:10:33 +00:00
Michael Niedermayer
15415af418 export pts from stream if available
store pts in stream if available (otherwise use frame_rate)

Originally committed as revision 923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 10:54:53 +00:00
Philip Gladstone
02ac31361b Change abort() calls to av_abort() calls.
Originally committed as revision 922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 02:34:56 +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
Nikolai Zhubr
0eaec10550 fixing overflow in 16->8 bit conversion, patch by (Nikolai Zhubr <s001 at hotbox dot ru>)
Originally committed as revision 913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-07 10:57:51 +00:00
Michael Niedermayer
3db48188df optimizing mpeg4_encode_block(), generates allso slightly shorter bitstream as some codes can be represented as esc1 and esc2 and esc2 is shorter for a few of them
Originally committed as revision 911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-07 00:16:30 +00:00
Michael Niedermayer
14207b27b5 support decoding of the last mpeg "packet" even if no startcode is immedeatly afterwards (fixes bugs with mpeg in avi)
new behavior is only activated if CODEC_FLAG_NOT_TRUNCATED is set

Originally committed as revision 909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-06 22:30:16 +00:00
Michael Niedermayer
0b61920aa7 fixing rv10 encoding (ffmpeg can at least decode its own rv10 files now)
Originally committed as revision 907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-05 13:23:11 +00:00
Michael Niedermayer
cfda33cbad apiexample needs EXTRALIBS
Originally committed as revision 906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-05 10:06:20 +00:00
Michael Niedermayer
6acce86bdd fixing tests
Originally committed as revision 905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-05 08:48:34 +00:00
Michael Niedermayer
9db99069bd fixing segfault
Originally committed as revision 903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-03 20:15:34 +00:00
Michael Niedermayer
b59f574753 10l (compilation if defined ARCH_ALPHA)
Originally committed as revision 902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 17:08:40 +00:00
Michael Niedermayer
1a684b3d53 fixing encoding at high QPs (was broken after the dct accuracy increase due to too small inverse table)
Originally committed as revision 901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 16:56:29 +00:00
Michael Niedermayer
be7109c12b ar -s -> ranlib
Originally committed as revision 900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 16:48:40 +00:00
Henry Mason
ecfd40b390 new vbv calculation patch by (Henry Mason <talus25 at speakeasy dot net>) with slight modification by me
Originally committed as revision 899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 09:51:52 +00:00
Brian Foley
ab6c65f693 altivec build tidyup patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 08:48:12 +00:00
Michael Niedermayer
004c18ee9c higher accuracy
Originally committed as revision 897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 20:54:38 +00:00
Mark Hills
81e0d0b412 oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 18:07:56 +00:00
Michael Niedermayer
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
Michael Niedermayer
86748dbc61 dct-test update
test simple-idct and ijg int DCT too
 do tests with random & sparse matrixes
 print systematic error matrixes

Originally committed as revision 892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 09:33:05 +00:00
Lennert Buytenhek
5bd11e314e dont discard first frame patch by (Lennert Buytenhek <buytenh at math dot leidenuniv dot nl>)
Originally committed as revision 890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:40:31 +00:00
Lennert Buytenhek
1565dabc1a be less verbose patch by (Lennert Buytenhek <buytenh at math dot leidenuniv dot nl>)
Originally committed as revision 889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:26:43 +00:00
Michael Niedermayer
ab6d194a38 croping patch by (talus25 at speakeasy dot net) with fixes from atmos & me
Originally committed as revision 888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:19:38 +00:00
Michael Niedermayer
e7fce5e9fb bitexact hack for the simple mmx idct
Originally committed as revision 886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-31 14:17:51 +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
471d7dc3d0 undefined M_PI / M_E fix
Originally committed as revision 881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 16:16:30 +00:00
Heliodoro Tammaro
a43bd1d715 patch by Heliodoro Tammaro <helio at interactives dot org>
- configures/builds on all darwin versions
- ffserver builds on darwin (if you have the extra libraries)
- builds correctly (again) on non-darwin ppc (no -faltivec in gcc-3.2)

Originally committed as revision 880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 00:05:28 +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
255b3ac27d use extradata for h263_long_vector mode detection
Originally committed as revision 876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 21:47:28 +00:00
Brian Foley
59925ef204 first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 13:14:36 +00:00
Michael Niedermayer
68bd11f5de working around undefined behavior of get-vlc if the vlc s invalid
more debug output by default for errors (so we can see immedeatly whats wrong on bugreports)
guess long_vectors mode

Originally committed as revision 874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 12:23:12 +00:00
Michael Niedermayer
ee3b2be65d fixes rv10 decoding crash
Originally committed as revision 873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 09:19:28 +00:00
Dominik Mierzejewski
0778718635 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
Originally committed as revision 872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 08:15:30 +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
4dd0e44f14 fixing some 64bit bugs
Originally committed as revision 867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-26 16:10:41 +00:00
Michael Niedermayer
405469cefd forgot the const bits in 2pass curve matching (patch (with rounding removed) by Rémi Guyomarch <rguyom at pobox dot com>)
Originally committed as revision 866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-26 08:14:36 +00:00
Michael Niedermayer
c695ca3bce fixing qmin==qmax && qsquish==1
Originally committed as revision 865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 23:49:50 +00:00
Rémi Guyomarch
d0d816d8bf NAN doesnt exist on FreeBSD patch by (Rémi Guyomarch <rguyom at pobox dot com>)
Originally committed as revision 864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 22:54:43 +00:00
Michael Niedermayer
ce980a9576 new ratecontrol code
sadly there are no (unsigned) int left in AVCodecContext so this breaks shared libavcodec libs :(

Originally committed as revision 863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 21:41:57 +00:00
Michael Niedermayer
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
f36db5dfd3 faster ff_sqrt()
Originally committed as revision 859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-22 19:41:39 +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
90cee0c351 darwin patches by Heliodoro Tammaro <helio at interactives dot org>
Originally committed as revision 857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-21 19:18:02 +00:00
Michael Niedermayer
9f36153415 dont trash mm0, its still used in the next iteration of the loop (fixes strange horizontal lines on some blocks in b frames on mmx only cpus)
Originally committed as revision 855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-20 19:23: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
Volker Moell
c1325d18ff patch by (Volker Moell <volker-ml at die-moells dot de>)
creating $(prefix)/bin and $(prefix)/lib
  improved linking libavcodec.so -> libavcodec-$(VERSION).so
  ldconfig does not rise an error on not beeing root when installing

Originally committed as revision 852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-13 18:51:11 +00:00
Zdenek Kabelac
3625e88ab7 * resync without endless loop
Originally committed as revision 849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-09 10:43:02 +00:00
Michael Niedermayer
62959862df faster vlc table selection
Originally committed as revision 848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-09 00:13:54 +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
f255af5d93 fixing level overflow check for qp=1
Originally committed as revision 842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-05 19:05:02 +00:00
Michael Niedermayer
159d10fc2c hopefully fixing unreprodceable segfault when overreading the end if error_resilience==-1 (it didnt overread here though)
Originally committed as revision 841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 19:28:27 +00:00
Michael Niedermayer
0a6baf39cb fixing slices which start at mb_x>0
Originally committed as revision 840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 18:19:09 +00:00
Michael Niedermayer
5507833249 supporting rare overflow mess even with error_resilience>=0
Originally committed as revision 839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 16:46:18 +00:00
Michael Niedermayer
44273f1951 making some error checks optional
Originally committed as revision 838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 16:21:41 +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
fc2bb4f44d fixing normal mmx idct
Originally committed as revision 835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-02 11:58:02 +00:00
Michael Niedermayer
32b9092155 10l found by Rémi Guyomarch <rguyom at pobox dot com>
Originally committed as revision 834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-01 23:23:48 +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
5efa265074 b frame direct mode bugfix (bug found by CM <chenm001 at 163 dot com>)
Originally committed as revision 832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-31 08:01:29 +00:00
Falk Hüffner
57d2bce188 MVI optimizations for motion estimation.
Originally committed as revision 831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-29 23:14:51 +00:00
Michael Niedermayer
38274ea268 dump bits per frame / qp / frame complexity support
Originally committed as revision 827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 14:48:44 +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
Philip Gladstone
b71472eb62 Add conversions to and from RGBA32 and BGRA32.
Originally committed as revision 824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 03:08:04 +00:00
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
Fabrice Bellard
917e06c81b added proposed API for parse_only mode to extract compressed frames from compressed streams
Originally committed as revision 810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:25:36 +00:00
Bohdan Horst
a5f0696948 this include isn;t longer need and now generate a lot of warnings patch by Bohdan Horst <nexus at hoth.amu.edu.pl>
Originally committed as revision 789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-23 09:44:34 +00:00
Alex Beregszaszi
ce23c668f1 moved codebooks to svq1_cb.h
Originally committed as revision 788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 20:51:26 +00:00
Michael Niedermayer
05174fd411 fixing bitrate vs. kbitrate in header
fixing wmv1 decoder (was broken during some optimizations ...)
inter-intra prediction encoding

Originally committed as revision 786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 08:15:27 +00:00
François Revol
889c522492 adpcm encoding patch by François Revol <revol at free dot fr>
Originally committed as revision 785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 01:44:08 +00:00
François Revol
6742d95d59 YUV410P to YUV420P patch by François Revol <revol at free dot fr>
Originally committed as revision 783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 07:54:53 +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
4afeaec92f pix_abs mmx2 isnt bit-exact ...
Originally committed as revision 781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 00:48:50 +00:00
François Revol
0147f19856 beos/mov/adpcm patch by François Revol <revol at free dot fr>
* Some BeOS fixes:
- errno stuff
- nanosleep() replacement
- added a doc/README.beos

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

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

Originally committed as revision 780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-20 20:05:50 +00:00
Michael Niedermayer
e1707f52d5 BeOS patches by "shatty" <shatty at myrealbox.com>
1. errno's are negative on beos, so negating them gives positive values.
2. the -shared flag is -nostart on beos.
3. building the shared lib on beos requires -fomit-frame-pointer
4. beos doesn't have oss support

Originally committed as revision 779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-19 22:23:40 +00:00
Roy Sigurd Karlsbakk
eddbd7e5a0 largefile support patch by Roy Sigurd Karlsbakk <roy at karlsbakk.net>
Originally committed as revision 778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-18 20:27:09 +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
9ac7ecd698 hmm ABS(dc-diff) > 512 fix
printing some error messages if some error occurs

Originally committed as revision 774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 15:54:56 +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
cc504d3c3c low_delay / has_b_frames fix
Originally committed as revision 770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 10:30:31 +00:00
Michael Niedermayer
1a013246fb fixes fire.avi & subtitles.avi
Originally committed as revision 769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 09:15:14 +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
bc6d7776d8 hurry up support
returning buf_size insetad of 0

Originally committed as revision 767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 10:29:07 +00:00
Michael Niedermayer
22b13d5b4c grayscale only decoding
Originally committed as revision 766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 10:19:00 +00:00
Michael Niedermayer
3cf33c37e7 dr1
Originally committed as revision 765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 01:24:02 +00:00
Michael Niedermayer
94aec31fa0 dr1
Originally committed as revision 764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 00:48:29 +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
Nick Kurshev
cd141f4c22 1001L
Originally committed as revision 761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 07:43:22 +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
4f68b0847e rl vlc table optimization (not yet used)
Originally committed as revision 758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-14 18:36:24 +00:00
Michael Niedermayer
02e0aa20a8 faster get_bit_cache
Originally committed as revision 757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-14 14:05:10 +00:00
Falk Hüffner
d200cab674 Force inlining on get_vlc2.
Originally committed as revision 756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 19:31:15 +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
Falk Hüffner
e3e98d3c23 Remove support for variable BSIZE and INCR, as sub_pixels_* is no
longer needed.

Originally committed as revision 754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:29:11 +00:00
Michael Niedermayer
a349467945 get_vlc -> get_vlc2
Originally committed as revision 753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:23:02 +00:00
Falk Hüffner
f5abd9fd1a * Improve xy2 routines slightly
* Mark MC pointer arguments as restrict

Originally committed as revision 752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:17:38 +00:00
Michael Niedermayer
8ed2ddb2c2 optimization (get_vlc() -> get_vlc2())
Originally committed as revision 751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:10:27 +00:00
Michael Niedermayer
edcf989073 optimization (get_vlc -> get_vlc2)
Originally committed as revision 750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 15:45:52 +00:00
Michael Niedermayer
71529954c6 return buf_size again, i hope kabi is finally happy now ;)
Originally committed as revision 749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 15:03:47 +00:00
Michael Niedermayer
45a82edbdd rl vlc decoding optimizations
Originally committed as revision 748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 14:55:12 +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
Falk Hüffner
14ac09bfab Tweak Alpha compiler flags.
Originally committed as revision 745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:55:19 +00:00
Nick Kurshev
361e7cade9 10L
Originally committed as revision 744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:54:10 +00:00
Nick Kurshev
861dfbb551 Add Arpi to list of porters.
Originally committed as revision 743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:16:17 +00:00
Nick Kurshev
365777216b Change licence to LGPL since there are no objections from side of original author
Originally committed as revision 742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:03:41 +00:00
Michael Niedermayer
6300c80a88 dont trash table in GET_VLC
Originally committed as revision 741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 12:42:20 +00:00
Falk Hüffner
5ea6f10f72 Remove some cruft.
Originally committed as revision 740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 22:06:04 +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
Michael Niedermayer
9d07682305 returning the number of consumed bytes (2nd try)
Originally committed as revision 738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 20:21:00 +00:00
Michael Niedermayer
08dce7b02f get_vlc() optimizations
Originally committed as revision 737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 20:05:42 +00:00
Nick Kurshev
63e0d4ac59 Applied patch of Felix Buenemann
Originally committed as revision 736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 17:39:16 +00:00
Michael Niedermayer
cceabc8656 get_vlc() optimization
Originally committed as revision 735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 17:32:59 +00:00
Nick Kurshev
82dd7d0dec * prefixication (due Kabi's request)
* generic optimization:
  - enable ALT and ALIGNED stream
  - move "if(const)" out from loops
  - supress duplicated computing
* first attempt to fix problem with strides

Originally committed as revision 734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 16:37:08 +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
Michael Niedermayer
ebd62a2402 return the number of consumed bytes instead of 0 or buf_size
Originally committed as revision 731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 10:25:11 +00:00
Michael Niedermayer
ef5e74bbfd c std doesnt like negative shifts -> use asm
Originally committed as revision 730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 19:22:50 +00:00
Zdenek Kabelac
df595131bb * declare av_free
Originally committed as revision 729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 18:38:07 +00:00
Felix Bünemann
c60a6560a1 warning fix patch by atmos
Originally committed as revision 728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 18:14:59 +00:00
Michael Niedermayer
55cb1ae6fc gcc3 bug workaround
Originally committed as revision 727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 17:41:51 +00:00
Nick Kurshev
be8ffec9cd new codec: Sorenson v1
Originally committed as revision 726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 16:08:43 +00:00
Michael Niedermayer
8db1a1dde0 new bitstream reader API (old get_bits() based one is emulated and will still be supported in the future cuz its simpler)
minor optimizations to get_vlc

Originally committed as revision 725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 10:35:10 +00:00
Michael Niedermayer
de0f2f4cca wmv1 slice_height != mb_height support
encoding of slice_height != mb_height
1bit shorter wmv1 headers if bit_rate<50 !? ROTFL M$ is even more stupid than i thought
using dc of non intra blocks for dc prediction of wmv1 if bitrate < 129 && res < 320x240

Originally committed as revision 723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-07 08:34:46 +00:00
Falk Hüffner
0a12d6fdfd Implement clear_blocks_axp.
Originally committed as revision 722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-05 19:16:26 +00:00
Falk Hüffner
02da51ec60 * Move "restrict" fallback to common.h
* Don't include config.h in dsputil.c

Originally committed as revision 721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 13:41:27 +00:00
Falk Hüffner
c13e1abdec * Detect "retrict" keyword
* Use "restrict" in some dsputil routines (yields large speedup)

Originally committed as revision 716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 01:47:32 +00:00
Falk Hüffner
2dbe7ec87c Make dct_unquantize_h263 work on systems without MVI extension.
Originally committed as revision 715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 23:30:32 +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
Falk Hüffner
dde3f77dbc Use updated motion compensation routines.
Originally committed as revision 713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 01:09:44 +00:00
Falk Hüffner
3530320dbf Activate ALT_BITSTREAM_READER by default on Alpha, since it seems to
be a noticeable win (at least for me :)

Originally committed as revision 712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-02 02:22:46 +00:00
Falk Hüffner
494e409255 Assembly version of put_pixels. This is currently the function that
takes the most time, and it allows for more efficient unaligned access
and better control over memory latencies.

Originally committed as revision 711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 23:47:01 +00:00
Falk Hüffner
d13c54cdc0 Add profiling support.
Originally committed as revision 710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 23:02:36 +00:00
Falk Hüffner
bb7d4939ba Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
allows better scheduling of the memory accesses, and is portable among
all compilers.

Originally committed as revision 709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 04:26:07 +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
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
Falk Hüffner
db42e13bfb Ugly hack to make the assembler accept MVI instructions.
Originally committed as revision 705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 22:22:39 +00:00
Falk Hüffner
b210c96c0c * Fixed constraints
* Support ccc
* Support gcc 3.2 builtins

Originally committed as revision 704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 22:21:30 +00:00
Falk Hüffner
3155c994b6 Reintroduce lost idctSparseCol for Alpha. Sorry for adding even more
code duplication, I'm currently working on the put/add variants, but I
did not get them to be as fast as the old method yet...

Originally committed as revision 703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 21:17:22 +00:00
Michael Niedermayer
f10bd870bf 4mv bugfix
Originally committed as revision 702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 15:02:52 +00:00