Michael Niedermayer
b712fb6740
fix decoding of conformace streams AUD_MW_E.264 and BA1_FT_C.264 again (there where last correctly decoded with h264.c rev 1.96)
...
Originally committed as revision 4189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 17:04:03 +00:00
Michael Niedermayer
758082aff7
set time_base for variable fps too
...
Originally committed as revision 4187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 14:36:15 +00:00
Michael Niedermayer
02af2269c0
check for error
...
Originally committed as revision 4183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 20:05:41 +00:00
Kevin Baragona
893bc62480
Even More spelling errors. patch by (Kevin Baragona <kevinmb500 gawab com)
...
Originally committed as revision 4181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:34:47 +00:00
Kevin Baragona
3b66c4c59a
More spelling errors patch by (Kevin Baragona (kevinmb500 gawab com>)
...
Originally committed as revision 4180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:17:28 +00:00
Justin Ruggles
132041f06f
While adding stereo rematrixing, I came across something that needs to
...
be fixed even without adding the feature. The output correctly uses 4
dummy values for the rematrixing flags in block-0, but the bit
allocation routine does not take these bits into account. From what I
can tell, there was a patch in 2003 that corrected the output to make it
DVD and spec compatible, but it didn't correct the bit allocation. It's
only 4 bits over the entire 6 blocks, so overflow errors would happen
rarely or never, but it's still worth fixing. So here is a fix.
patch by (Justin Ruggles {jruggle earthlink net)
Originally committed as revision 4179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:10:52 +00:00
Michael Niedermayer
725de25c4c
fix segfault with 'ffmpeg -i 1.avi -cmp 257 -4mv 2.avi'
...
Originally committed as revision 4178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 13:40:28 +00:00
Michael Niedermayer
5fddb9b382
GCC4 fix by (Keenan Pepper (keenanpepper gmail com)
...
Originally committed as revision 4177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 12:37:38 +00:00
Loren Merritt
a55f20bd9a
fix storage of motion vectors for frames with more than 4096 macroblocks.
...
Originally committed as revision 4175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-03 21:49:18 +00:00
Loren Merritt
7c33ad19fd
clear the DPB after seeking.
...
Originally committed as revision 4174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-03 06:53:59 +00:00
Michael Niedermayer
8b975b7ca5
put most codecs under ifdefs
...
Originally committed as revision 4173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-02 22:14:42 +00:00
Michael Niedermayer
422f4df8b2
#ifdefs around most register_avcodec
...
Originally committed as revision 4171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-02 19:26:18 +00:00
Michael Niedermayer
c0df9d75bd
switch to native time bases
...
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
82c0c4ba78
print pix_fmt if its known instead of if the raw codec is used
...
Originally committed as revision 4162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:41:38 +00:00
Michael Niedermayer
644a92626a
PIX_FMT_NONE and related fixes
...
Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:29:06 +00:00
Yartrebo
66b32bf272
tighter snow slicing patch by (Yartrebo || yartrebo earthlink net)
...
Originally committed as revision 4159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 10:03:01 +00:00
Loren Merritt
42251a2a4f
MMX for H.264 deblocking filter
...
Originally committed as revision 4158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 01:01:41 +00:00
Michael Niedermayer
dee6dde669
avoid unneeded clear_blocks()
...
Originally committed as revision 4157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 00:57:48 +00:00
Matthieu Castet
f9e0f2a206
extract from the subid the options
...
instead of doing a case where we should add lot's of versions.
patch by (matthieu castet {castet.matthieu free fr)
Originally committed as revision 4156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 00:10:11 +00:00
Michael Niedermayer
9786bd4d94
fixing broken_rv20_1mb_.rm
...
Originally committed as revision 4155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 22:08:31 +00:00
Loren Merritt
b80875c186
fix ref comparison in B-frame deblocker ('unused' and 'unavailable' were treated as different)
...
Originally committed as revision 4154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 21:06:22 +00:00
Mike Melanson
160d679c07
Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
...
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Kevin Baragona
dfb706da4d
Spelling errors patch by (Kevin Baragona | kevinmb500 gawab com)
...
Originally committed as revision 4151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 11:13:49 +00:00
Michael Niedermayer
bd0854596a
typo fix by ("Todd.Kirby" doubleshot pacbell net)
...
Originally committed as revision 4150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 11:08:07 +00:00
Michael Niedermayer
4719d1f381
Video-Galileo_small.rm fix by (matthieu castet # castet.matthieu free fr)
...
Originally committed as revision 4149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:27:03 +00:00
Michael Niedermayer
2de4ba7ff7
avoid clearing block[] if its not used at all
...
Originally committed as revision 4148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:23:22 +00:00
Loren Merritt
e2e5894a91
deblocking filter doesn't need to call fill_caches again. 1.4% faster decoding.
...
Originally committed as revision 4147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 20:38:42 +00:00
Michael Niedermayer
dff0f03546
mpeg2_fast_decode_block_intra()
...
Originally committed as revision 4146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 20:31:04 +00:00
Michael Niedermayer
8b39f75b8f
simplify
...
Originally committed as revision 4144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 10:16:19 +00:00
Michael Niedermayer
ee572c5482
remove duplicate clip to 8bit function
...
Originally committed as revision 4143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 10:05:15 +00:00
Michael Niedermayer
f707a5ebba
buffer overflows
...
Originally committed as revision 4142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 09:52:04 +00:00
Michael Niedermayer
856dbbff7f
Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)
...
Originally committed as revision 4141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 09:42:47 +00:00
Michael Niedermayer
29df259923
optimizing non_intra ac coeff decode
...
Originally committed as revision 4140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 11:37:01 +00:00
Mike Melanson
6f921f3100
remove superfluous CONFIG_ENCODERS (entire function is already wrapped)
...
Originally committed as revision 4139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 04:29:11 +00:00
Michael Niedermayer
e91f4bf160
avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
...
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 20:07:48 +00:00
Michael Niedermayer
5bb8a0daa1
various fixes related to the non alt_bitstream_reader
...
Originally committed as revision 4136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 12:08:16 +00:00
Aurelien Jacobs
8230cf0210
add an AMD64 specific implementation of rdtsc()
...
Originally committed as revision 4135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 11:24:20 +00:00
Bret Hughes
6c618a263d
gcc 4 compilation fix
...
patch by Bret Hughes <bhughes at elevating dot com>
Originally committed as revision 4134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 21:41:16 +00:00
Michael Niedermayer
4e492bf107
read 32bit instead of 64bit to avoid overreading and missalignments
...
Originally committed as revision 4133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 13:30:45 +00:00
Yartrebo
8c2515bbb9
fix overflow in mc_block() patch by (Yartrebo )yartrebo earthlink net
...
Originally committed as revision 4132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 09:27:53 +00:00
Michael Niedermayer
b44985ba12
store the number of runs to avoid storing the last run value
...
about 10% lower bitrate for -qscale 32 (forman & some music video)
worst case bitrate increase <0.1% (lossless or low qscale)
and now the bad news, even though this just adds a single subtraction and an if() into the medium sized unpack_coeffs() loop and the if() will only be false once per unpac_coeff() call, gcc produces 50% slower code, i didnt look at the generated asm yet, not sure if i want to ...
Originally committed as revision 4131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 13:24:30 +00:00
Loren Merritt
2cd340438a
allow 2pass ratecontrol. also fixes psnr displayed by mencoder.
...
Originally committed as revision 4130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 05:54:47 +00:00
Michael Niedermayer
cbb1d2b161
replace complicated pointer dereference + index stuff by pointers in unpack_coeffs()
...
Originally committed as revision 4129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:54:03 +00:00
Michael Niedermayer
99cd59e58f
minor optimization
...
Originally committed as revision 4128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:30:08 +00:00
Michael Niedermayer
3c096ac791
optimizing unpack_coeffs()
...
Originally committed as revision 4127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 18:33:26 +00:00
Yartrebo
86e59cc01d
Snow segfault bug in revision 1.43 patch by (Yartrebo /yartrebo earthlink net/)
...
Originally committed as revision 4126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-13 01:57:19 +00:00
Måns Rullgård
f40487c282
s/u_char/uint8_t/
...
Originally committed as revision 4124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-12 22:20:02 +00:00
Michael Niedermayer
f5a719287d
rescale coefficients during IDWT, that way the lifting steps are much simpler and faster
...
Originally committed as revision 4119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 14:21:53 +00:00
Michael Niedermayer
a0a74ad9f0
increasing precission of the quantization parameter
...
this is needed as the quantization stepsize for each subband is also in this precission and insignificant changes to the wavelet like scaling its coefficients slightly differently would lead to wildly variing PSNR and bitrate
note, a encoder could also simply choose to leave the least significant bits of the quantization parameters zero which would give the exact previous behaviour except a y very tiny number of bits in the header
Originally committed as revision 4115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 22:15:48 +00:00
Michael Niedermayer
c97de57c39
fix QROOT != 8
...
Originally committed as revision 4114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 19:48:59 +00:00