Commit Graph

3691 Commits

Author SHA1 Message Date
Oded Shimon e8f42cc0f5 prevent warning in vorbis_data.c
Originally committed as revision 6404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 13:53:08 +00:00
Oded Shimon ded515b241 100l, broke ffmpeg compilation, ABS() and uint* types not defined in vorbis_data.c
Originally committed as revision 6403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 13:45:17 +00:00
Oded Shimon 6c29d7c8f3 make some more functions global so they can be shared with vorbis_enc.c
Originally committed as revision 6402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 11:59:33 +00:00
Oded Shimon 9f963af5a0 make ready_floor1_list() shared for vorbis_enc.c
Originally committed as revision 6401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 11:11:30 +00:00
Kostya Shishkov 429914a330 1l: correct argument order in avcodec_check_dimensions
Originally committed as revision 6400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 05:09:20 +00:00
Michael Niedermayer 3129f3bd0f palette (if we memcpy it into AVFrame) must be uint32_t
Originally committed as revision 6399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 23:49:09 +00:00
Oded Shimon cc0ba5a58f vorbis.h -> vorbis_data.c
move tables from vorbis.h to a C file so they can be used later in
vorbis_enc.c

Originally committed as revision 6398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 18:47:15 +00:00
Michael Niedermayer 18239edfa9 marking AVPaletteControl as deprecated due to thread saftey amongth other issues (it doesnt work if theres any delay between demuxer and decoder)
Originally committed as revision 6397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 18:16:38 +00:00
Michael Niedermayer 0d415b2dd7 seems only 3 bits are used for the number of resolutions, some rv30 files have this set to 10 even though there are just 2 resolutions in the extradata
Originally committed as revision 6395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 16:00:27 +00:00
Michael Niedermayer f457965c20 ignore sub_id
Originally committed as revision 6392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:45:09 +00:00
Michael Niedermayer fb3d155c31 big endian fix
Originally committed as revision 6391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:35:14 +00:00
Michael Niedermayer 113533a582 support resolution switching, fixes rv20errors.rm
Originally committed as revision 6390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:31:15 +00:00
Michael Niedermayer 78a5ec27aa simplify
Originally committed as revision 6389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 23:57:03 +00:00
Michael Niedermayer 6d3124961b fix rv20 b frames (broke since r5264 Mon Apr 3 07:52:24 2006 UTC 2x faster ff_mpeg4_set_direct_mv)
Originally committed as revision 6388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 23:34:42 +00:00
Panagiotis Issaris b2f86c170d Add forgotten eval.h...
Originally committed as revision 6387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:48:27 +00:00
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