Commit Graph

3676 Commits

Author SHA1 Message Date
Panagiotis Issaris
0de9926f62 Move the ratecontrol related code from mpegvideo.h to a separate header file.
Originally committed as revision 6386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:39:19 +00:00
Panagiotis Issaris
d70ef6d761 Reformat the output of the list of available AVOptions, by indenting the
parameters of certain options and displaying them _right after_ the actual
option taking the parameter.

Originally committed as revision 6385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:36:12 +00:00
Panagiotis Issaris
6d6f42d202 Remove the override of lmin and lmax, so the actual option value provided will
be used.

Originally committed as revision 6384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:34:53 +00:00
Panagiotis Issaris
4d7b4613a1 Pull out the ff_eval* from the mpegvideo header, as it doesn't belong there and
put it in a separate file.

Originally committed as revision 6383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:33:04 +00:00
Måns Rullgård
f28748e671 remove extraneous #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 22:03:52 +00:00
Panagiotis Issaris
720442981b Remove the "mblmax" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:46:25 +00:00
Panagiotis Issaris
93b26b6381 Remove the "mblmin" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:45:51 +00:00
Kostya Shishkov
8db0c25d95 Handle case of get_bits(0)
Originally committed as revision 6365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 05:01:02 +00:00
Måns Rullgård
b86216de4c dc_val should be signed
Originally committed as revision 6364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 22:13:44 +00:00
Måns Rullgård
bca99b47bf return 0 from encode_picture() and estimate_qp() on success
Originally committed as revision 6363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 22:12:08 +00:00
Panagiotis Issaris
0ec6065a34 Break compatibility only when first part of version number changes, in this
specific case for ff_eval deprecation.

Originally committed as revision 6358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:08:36 +00:00
Panagiotis Issaris
95c9943081 Make AVOption parsign code use ff_eval2()
Originally committed as revision 6357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:01:39 +00:00
Måns Rullgård
62bb489b13 add some #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:54:07 +00:00
Måns Rullgård
191e8ca752 fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Panagiotis Issaris
d80f243ae9 Make ratecontrol use ff_eval2().
Originally committed as revision 6354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:46:19 +00:00
Panagiotis Issaris
a2eb288ac7 Fix compilation by postponing deprecation of ff_eval() until the next version
increment.

Originally committed as revision 6352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 11:09:35 +00:00
Kostya Shishkov
050b60b2cc free memory before return
Originally committed as revision 6351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 04:37:57 +00:00
Kostya Shishkov
1dbb339db3 bump lavc version for WavPack decoder
Originally committed as revision 6350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 04:31:39 +00:00
Michael Niedermayer
c38a29a448 fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000)
Originally committed as revision 6349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 22:23:33 +00:00
Panagiotis Issaris
ae41e29b5b Introduce ff_eval2 which is equivalent to ff_eval but does not log anything.
Instead, error messages are passed upward by means of a struct member variable.

Originally committed as revision 6348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 22:01:33 +00:00
Måns Rullgård
a0403006f8 ARMv5TE optimized IDCT
Originally committed as revision 6347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 20:26:22 +00:00
Michael Niedermayer
e2887363e1 fix decoding of bastard1.rm (rv ver=0x10003001 ver0=0x8000000)
Originally committed as revision 6346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 20:24:13 +00:00
Måns Rullgård
89cba1bd7d fix MUL16 macro
Originally committed as revision 6344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:31:43 +00:00
Panagiotis Issaris
4156a436e3 Handle possible failure of ff_eval.
Originally committed as revision 6338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 14:04:36 +00:00
Michael Niedermayer
327409d7b9 mpeg1 b_strategy=2 segfault fix
Originally committed as revision 6337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 08:49:24 +00:00
Kostya Shishkov
730581f3b4 WavPack lossless audio decoder
Originally committed as revision 6336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 03:41:51 +00:00
Reimar Döffinger
1a174c2831 remove get_le16 and get_le32, get_bits and get_bits_long can just be used directly.
Originally committed as revision 6335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:57:34 +00:00
Reimar Döffinger
544c449d12 Get rid of get_bits_long_le, get_bits_long was fixed and now behaves the same way.
Originally committed as revision 6334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:54:19 +00:00
Reimar Döffinger
6831406b2f Changes needed due to show_bits_long behaviour changes/fixes
Originally committed as revision 6333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:53:11 +00:00
Reimar Döffinger
d1121caa66 Fix get_bits_long to work with ALT_BITSTREAM_READER_LE.
Gives the same result as get_bits_long_le in vorbis.c instead
of some wild big-/little-endian mixture.

Originally committed as revision 6332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:47:55 +00:00
Aurelien Jacobs
4fde50604d rename vector to vect to avoid clash with Apple gcc
Originally committed as revision 6331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 18:54:18 +00:00
Luca Barbato
79e47000c8 move memory functions from avcodec to avutil
Originally committed as revision 6330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 15:23:40 +00:00
Oded Shimon
0e3cb7a1ff fix to vorbis decoder for book==0
Originally committed as revision 6328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:58:06 +00:00
Panagiotis Issaris
97a9195feb Missing extern declaration for av_strtod.
Originally committed as revision 6327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:53:54 +00:00
Michael Niedermayer
b8100438a0 cosmetic
Originally committed as revision 6326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:41:25 +00:00
Michael Niedermayer
e6b120018b segfault fix
thanks to takis for finding the cause of this

Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:38:14 +00:00
Panagiotis Issaris
79ca4de35b Define NAN -if not already defined- as 0.0/0.0
Originally committed as revision 6324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-23 08:50:50 +00:00
Luca Barbato
004390a639 Use mathops
Originally committed as revision 6323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:57:23 +00:00
Panagiotis Issaris
22565f5d7e Remove the "error" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:05:27 +00:00
Panagiotis Issaris
cccb4c966b Remove the "mepc" OptionDef. The equally named AVOption takes over its function.
Originally committed as revision 6321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:04:56 +00:00
Panagiotis Issaris
bf08081389 Remove the "mb_threshold" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 13:55:56 +00:00
Loren Merritt
a4eb118a41 cosmetics (indentation)
Originally committed as revision 6313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 17:43:09 +00:00
Loren Merritt
f469094c9b tweak ff_imdct_calc_3dn2
Originally committed as revision 6312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 17:42:23 +00:00
Loren Merritt
ebbafcb454 sse implementation of imdct.
patch mostly by Zuxy Meng (zuxy dot meng at gmail dot com)

Originally committed as revision 6311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 16:37:39 +00:00
Kostya Shishkov
a1ef006823 Finally enable B-frame decoding as all known samples work perfect
Originally committed as revision 6309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:46:11 +00:00
Kostya Shishkov
6b33eed83f For B-frames if the second reference frame signals intensity compensation
then the first reference frame should be intensity compensated.

Originally committed as revision 6308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:44:35 +00:00
Kostya Shishkov
162f412dec Reorder MV order in B-frames so no swapping in vc1_b_mc() is needed
Originally committed as revision 6307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:38:47 +00:00
Kostya Shishkov
75807fe26e Zero number of current scan after decoding one picture.
This fixes grayscale JPEG-LS decoding.

Originally committed as revision 6306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:28:46 +00:00
Michael Niedermayer
98bf484309 1000l copy and paste typo
Originally committed as revision 6305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 01:08:05 +00:00
Michael Niedermayer
c3e462a8ca set supported pixel formats for a few encoders (fixes crashes with grayscale)
Originally committed as revision 6303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 21:17:37 +00:00