Commit Graph

3903 Commits

Author SHA1 Message Date
Oded Shimon
beaec74a94 Original Commit: r10 | ods15 | 2006-09-17 19:37:17 +0300 (Sun, 17 Sep 2006) | 2 lines
mappings header syntax

Originally committed as revision 6421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:28 +00:00
Oded Shimon
6f133df1ea Original Commit: r9 | ods15 | 2006-09-17 18:56:41 +0300 (Sun, 17 Sep 2006) | 2 lines
add residue header syntax

Originally committed as revision 6420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:26 +00:00
Oded Shimon
d2d5c89d34 Original Commit: r8 | ods15 | 2006-09-17 09:43:38 +0300 (Sun, 17 Sep 2006) | 2 lines
floor header syntax

Originally committed as revision 6419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:24 +00:00
Oded Shimon
d52480b40d Original Commit: r7 | ods15 | 2006-09-17 08:50:47 +0300 (Sun, 17 Sep 2006) | 2 lines
skeleton for residue/floor/mappings header

Originally committed as revision 6418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:22 +00:00
Oded Shimon
1f7e7464e9 Original Commit: r6 | ods15 | 2006-09-16 20:36:31 +0300 (Sat, 16 Sep 2006) | 2 lines
add correct and working put_float ...

Originally committed as revision 6417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:20 +00:00
Oded Shimon
3112124154 Original Commit: r5 | ods15 | 2006-09-16 17:29:04 +0300 (Sat, 16 Sep 2006) | 4 lines
more "surrounding" stuff, main header. some cleanup.

actually compiles now! doesn't do anything though

Originally committed as revision 6416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:18 +00:00
Oded Shimon
0688b89c6d Original Commit: r4 | ods15 | 2006-09-16 15:36:03 +0300 (Sat, 16 Sep 2006) | 3 lines
codebook header syntax
small simplification for encode_init()

Originally committed as revision 6415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:16 +00:00
Oded Shimon
3a5fdf92f5 Original Commit: r3 | ods15 | 2006-09-16 11:49:07 +0300 (Sat, 16 Sep 2006) | 2 lines
cosmetics

Originally committed as revision 6414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:14 +00:00
Oded Shimon
504d195260 skeleton for vorbis_enc.c
Originally committed as revision 6413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:54:55 +00:00
Loren Merritt
2833fc4646 approximate qpel functions: sacrifice some quality for some decoding speed. enabled on B-frames with -lavdopts fast.
Originally committed as revision 6412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 21:25:17 +00:00
Alexander Strange
eacad59e03 Fix compilation with --disable-encoders.
patch by Alexander Strange, astrange at ithinksw dot com

Originally committed as revision 6410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 18:19:49 +00:00
Oded Shimon
7f09a56091 remove render_line from vorbis.h, add ff_vorbis_floor1_render_list instead
Originally committed as revision 6409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:38:07 +00:00
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
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
Panagiotis Issaris
58bba31e3f Remove the "qsquish" OptionDef. The AVOption min/max value is changed to match
the removed range check in ffmpeg.c.

Originally committed as revision 6299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:39:56 +00:00
Panagiotis Issaris
6bacd250f4 Remove the "qmax" OptionDef.
Originally committed as revision 6298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:36:33 +00:00
Panagiotis Issaris
5687a2f4cc Remove the "qmin" OptionDef.
Originally committed as revision 6297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:34:58 +00:00
Panagiotis Issaris
315b0f9742 Remove the "bf" OptionDef parameter so the equally named AVOption will take
over. Move over ffmpeg.c constraint checking, but allow value of zero to disable
B-frame.

Originally committed as revision 6296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:34:13 +00:00
Panagiotis Issaris
fcc9b95653 Inform the user that a certain AVOption is out of range.
Originally committed as revision 6295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:28:24 +00:00
Panagiotis Issaris
076ce01793 Correct the constraints of some AVOptions. These had a default value of zero,
while the minimum allowed value was set to FLT_MIN.

Originally committed as revision 6294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:27:18 +00:00
Luca Barbato
99aed7c8fc New single instruction math operation header
Originally committed as revision 6291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-19 22:22:29 +00:00
Michael Niedermayer
39e1b5cf8e use correct rounding functions
this should fix a floating point exception on some systems
lets hope these arent missing anywhere, if so another solution must be found

Originally committed as revision 6290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-19 09:31:00 +00:00
Panagiotis Issaris
97c73545a5 Add support for SI (k, M, ...) and IEC/IEEE (Ki, Mi, ...) units.
Originally committed as revision 6287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-18 11:35:48 +00:00
Michael Niedermayer
7eb1042cbd K prefix
add SI prefix selftest

Originally committed as revision 6286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-17 10:22:01 +00:00
Michael Niedermayer
e66477afbe support SI and some non SI prefixes
Originally committed as revision 6284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-17 08:52:41 +00:00
Michael Benjamin
5ca030fed4 ADI Blackfin optimizations
patch by Michael Benjamin, neuroptik gmail com

Originally committed as revision 6282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-16 22:26:09 +00:00
Måns Rullgård
cd621028c0 remove junk characters in comment
Originally committed as revision 6279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-16 00:51:49 +00:00
Måns Rullgård
f07e8487b0 clean up #ifdef HAVE_IPP
Originally committed as revision 6278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 23:20:58 +00:00
Panagiotis Issaris
fda7eb9098 Correct the i_qfactor minimum, which was current set higher then the default
value.

Originally committed as revision 6274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 21:57:19 +00:00
Diego Biurrun
02c1592fde Fix Indel --> Intel typo.
Originally committed as revision 6260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 13:53:26 +00:00
Panagiotis Issaris
7df00a4e06 Rename the AVOption's names to the shorter OptionDef names.
Originally committed as revision 6257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 10:57:20 +00:00
Baptiste Coudurier
8e453fc3c7 remove unused, uninitialized free format frame size
Originally committed as revision 6256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 10:28:23 +00:00
Aurelien Jacobs
2a2311bee3 disable vp3 mmx idct for theora files to avoid artifacts
(see theora-a4_v6-k250-s0_2.ogg)

Originally committed as revision 6253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 22:13:23 +00:00
Panagiotis Issaris
0b97eea306 Synchronize the defaults specified in the AVOptions[] array to the defaults
specified in the ffmpeg.c global static variabels. This preserves the current
behavior.

Originally committed as revision 6252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 14:02:32 +00:00
Panagiotis Issaris
66acccf05f Make OFFSET() reuse offsetof
Originally committed as revision 6251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 13:51:54 +00:00
Panagiotis Issaris
a41e9d6899 Allow parameter values (AVOptions) to use the 'k', 'M', 'G'
and 'B' postfixes.

Originally committed as revision 6249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 11:23:41 +00:00
Diego Biurrun
7f889a76ad Remove the LGPL exception clause as discussed on ffmpeg-devel
and move the dependent code under CONFIG_GPL.

Originally committed as revision 6248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 00:38:03 +00:00
Siarhei Siamashka
1839e854e5 Proper armv5te instructions support detection.
patch by Siarhei Siamashka, siarhei dot siamashka gmail com

Originally committed as revision 6246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 21:39:41 +00:00
Aurelien Jacobs
a8678a3a7a replaces back some C code by dsp.put_pixels_tab[0][0] (revert r6231)
but this time ensure proper alignment using av_malloc instead of av_realloc

Originally committed as revision 6245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 20:16:33 +00:00
Panagiotis Issaris
7facadb0bb corrects the type of the AVOption parameter "bugs", patch by Takis
Original thread:
Date: Sep 11, 2006 1:43 PM
Subject: [Ffmpeg-devel] [PATCH] Wrong AVOption type

Originally committed as revision 6244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 09:28:48 +00:00
Panagiotis Issaris
5cc9b87f45 adds descriptions to the libavcodec AVOptions array, taken from the
OptionDef options[] array.
Patch by Takis,
Original thread:
Date: Sep 11, 2006 3:39 PM
Subject: [Ffmpeg-devel] [PATCH] AVOptions description sync

Originally committed as revision 6243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 09:03:13 +00:00
Aurelien Jacobs
1dac8fea05 Enables back the mmx/sse optimized version of the vp3 idct.
It generates different md5sum than the reference C implementation,
but no visual difference, so enabled only when bitexact is not set.

Originally committed as revision 6241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 20:58:17 +00:00
Kostya Shishkov
e179fbc850 Swap back and forward motion vectors to achieve correct picture
Originally committed as revision 6237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:35:11 +00:00
Kostya Shishkov
1884a48bee Set motion vectors used in B-frames to zero by default
Originally committed as revision 6236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:29:37 +00:00
Kostya Shishkov
c8868640c1 Use h264_chroma funcs in B-frames MC too
Originally committed as revision 6235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:19:07 +00:00
Kostya Shishkov
b116cc7f95 Fix edge emulation for bicubic MC in B frames
Originally committed as revision 6234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:16:28 +00:00
Kostya Shishkov
f9942ba94b 2989l: Set avctx->has_b_frames value in header and don't change it
Originally committed as revision 6233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:13:00 +00:00
Aurelien Jacobs
0dd5866af7 don't use dsp.put_pixels_tab[0][0] with unaligned ptr (fix artifacts on altivec)
Originally committed as revision 6231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-11 23:29:24 +00:00
Siarhei Siamashka
024da4b146 armv5 optimizations
patch by Siarhei Siamashka siarhei.siamashka at gmail com

Originally committed as revision 6228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 22:29:02 +00:00
Panagiotis Issaris
8c3dd5dc9c Use and set sane AVOption defaults
Patch by Takis
Original thread:
Date: Sep 8, 2006 3:26 PM
Subject: [Ffmpeg-devel] [PATCH 2/2] Use and set sane AVOption defaults

Originally committed as revision 6227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 21:51:08 +00:00
Panagiotis Issaris
493f7857de adds doxygen docs to av_opt_set_defaults. Patch by Takis
Originally committed as revision 6226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:46:20 +00:00
Panagiotis Issaris
73a8ceaa17 make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:21:40 +00:00
Diego Biurrun
b7cff9ce7c Remove unused variable.
Originally committed as revision 6223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 18:16:19 +00:00
Luca Barbato
8faf544392 Cleanup, from Emanuele Giaquinta <exg@gentoo.org>
Originally committed as revision 6221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 15:36:53 +00:00
Diego Biurrun
04d7f60143 Add official LGPL license headers to the files that were missing them.
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 14:02:42 +00:00
Kostya Shishkov
dc43482b26 Disable B-frames decoding until they produce correct picture
Originally committed as revision 6218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 04:24:53 +00:00
Aurelien Jacobs
d120e4026d rename vector to vect to avoid clash with Apple gcc
Originally committed as revision 6217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 22:53:44 +00:00
Diego Biurrun
9a8e6f8708 Add proper GPL headers.
Originally committed as revision 6216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 22:04:43 +00:00
Aurelien Jacobs
5ce117c37c VP5 and VP6 video decoder
Originally committed as revision 6213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 17:19:37 +00:00
Kostya Shishkov
34a8dcd031 Drop unneeded checks before av_free() and change to av_freep() where it's more suitable.
Originally committed as revision 6212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:40:41 +00:00
Kostya Shishkov
767516533d Support for BI-frames in Advanced Profile
Originally committed as revision 6211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:32:36 +00:00
Kostya Shishkov
d429c98208 Don't print header bits by default
Originally committed as revision 6210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:29:17 +00:00
Kostya Shishkov
6cf6d0ec1a [Cosmetics] Remove if(profile < PROFILE_ADVANCED) from decode_sequence_header()
as it's always true and reindent code inside by the way.

Originally committed as revision 6209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:28:02 +00:00
Kostya Shishkov
d1d28ddf99 [Cosmetics] Remove some done TODOs/FIXMEs from comments
Originally committed as revision 6208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:23:44 +00:00
Kostya Shishkov
1dc1ce643e Proper support for B/BI frames
Originally committed as revision 6207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:21:56 +00:00
Panagiotis Issaris
5e89b50b29 undefines a few temporary defines which were not undefined after their usage.
Patch by Panagiotis Issaris

Originally committed as revision 6205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 08:49:28 +00:00
Michael Niedermayer
7b95bc5842 print more correct error messges
Originally committed as revision 6194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 08:27:51 +00:00
Kostya Shishkov
7ff0b84f0e Handle the rest of known blocks (by skipping them)
Originally committed as revision 6185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 04:08:34 +00:00
Kostya Shishkov
096bc417ae Tests for overreading input data
Originally committed as revision 6184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 04:05:04 +00:00
Kostya Shishkov
54b55c8da0 Cursor drawing support
Originally committed as revision 6183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 04:01:42 +00:00
Diego Biurrun
f7b106cb35 Switch license from GPL to LGPL. The original author agreed to this as
stated in the commit message adding this file.

Originally committed as revision 6181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-06 10:17:28 +00:00
Alan Curry
afd1a2d88e Fix buffer handling for stereo mace files, fixes some random sig11
Patch by Alan Curry !<! pacman !@! TheWorld !.! com !>!

Originally committed as revision 6178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 21:17:30 +00:00
Corey Hickey
577cd173e3 second pass encoding changes:
- warn rather than fail when specified bitrate need not be used
- fail with a useful message when specified bitrate is too low
- print potentially useful information if verbose

patch based mostly on suggestions from Michael Niedermayer and Loren Merritt

Originally committed as revision 6176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 15:46:06 +00:00
Diego Biurrun
157cba3bdb Mark this file properly as LGPL as allowed by its author Leon van Stuivenberg.
Clean up the outdated URLs in the header.

Originally committed as revision 6175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 13:50:36 +00:00
Kostya Shishkov
805934b3e4 Try to handle all chunks, previous scheme was not correct.
Originally committed as revision 6173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 07:31:53 +00:00
Kostya Shishkov
c0d6fc1f73 Handle raw blocks correctly (both updating pointer and storing to memory)
Originally committed as revision 6172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 07:29:26 +00:00
Kostya Shishkov
eb57c88973 VMware Video decoder (fourcc: VMnc)
Originally committed as revision 6171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 04:37:14 +00:00
Michael Niedermayer
353e433b96 seems the output of that code is never used
Originally committed as revision 6170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 21:11:54 +00:00
Måns Rullgård
ae5e7e7f10 inline align_get_bits()
Originally committed as revision 6169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 17:25:38 +00:00
Corey Hickey
29b372b9e9 error message spelling typo
Originally committed as revision 6168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 17:08:20 +00:00
Diego Biurrun
d67898427b Exchange informal GPL notice by official license header.
Originally committed as revision 6165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 09:37:28 +00:00
Kostya Shishkov
3c275f6def VC-1 Advanced Profile support (progressive only, tested on WVC1 samples)
Originally committed as revision 6162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 04:24:49 +00:00
Roman Shaposhnik
3c8f30a745 * Restructuring the division of labor between DV codec and DV format
[ Based on a patch by Brian Brice (bbrice at newtek dot com) ]

Originally committed as revision 6161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 03:33:11 +00:00
Diego Biurrun
712ae911bb The license of this file is LGPL, as clarified by Fabrice.
Originally committed as revision 6160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 22:16:54 +00:00
Diego Biurrun
73c42241b4 Add copyright notice from the Independent JPEG Group instead of referring
to a README we don't include.

Originally committed as revision 6157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 16:15:29 +00:00
Justin Ruggles
1df051e197 Fix 2 bit allocation bugs. One fix enables using a higher bandwidth code. The other fixes an issue with floorcod=7.
Originally committed as revision 6156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 15:59:08 +00:00
Kostya Shishkov
60aae27ad9 AltiVec version of put_no_rnd_h264_chroma_pixels_tab[0] (slightly changed version of put_h264_chroma_pixels_tab[0])
Originally committed as revision 6154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 04:44:50 +00:00
Måns Rullgård
0e176c3eb5 remove redundant declarations
Originally committed as revision 6153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 23:10:28 +00:00
Kostya Shishkov
6243da0d50 Drop put_vc1_qpel_pixels_tab as they won't be needed anymore.
Originally committed as revision 6152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 04:58:51 +00:00
Kostya Shishkov
b0c8e1b80a Replace usage of put_*_vc1_qpel_pixels_tab with put_*_h264_chroma_pixels_tab
Originally committed as revision 6151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 04:53:49 +00:00
Kostya Shishkov
e34350a376 New function for chroma MC (will be used in VC-1)
Originally committed as revision 6150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 04:52:00 +00:00
Loren Merritt
f7e89c73e3 snow cosmetics: merge the sliced and non-sliced versions of add_yblock
Originally committed as revision 6149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-01 22:02:38 +00:00
Loren Merritt
74e6a8aade fix snow 1pass rc: the qlog used and the one written to the bitstream weren't always the same.
Originally committed as revision 6148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-01 21:51:35 +00:00
Luca Barbato
9814587500 Align the input buffer in ffplay, introduce a public macro for aligned declarations
Update the avcodec_decode_audio and the float_to_int16 descriptions accordingly

Originally committed as revision 6147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 19:14:00 +00:00
Luca Barbato
27303c8abc Proper fix for the corner case that would have been corrected before, praise&blame to me and exg in equal shares
Originally committed as revision 6143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:44:37 +00:00
Luca Barbato
7e82145755 Revert previous commit
Originally committed as revision 6142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:27:26 +00:00
Luca Barbato
99d239b3e7 Fix float_to_int16, unaligned case, broken by the previous commit
Originally committed as revision 6141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:15:14 +00:00
Kostya Shishkov
74691b7bcb New qpel MC functions conforming to VC-1 standard.
Existing DSPUtil functions cause chroma artifacts on some files.

Originally committed as revision 6139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 04:44:54 +00:00
Kostya Shishkov
2d5eadccb5 Spelling
Originally committed as revision 6138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 04:42:13 +00:00
Kostya Shishkov
66ff2c1f52 Motion compensation for luma always use halfpel precision.
Originally committed as revision 6137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 04:39:27 +00:00
Michael Niedermayer
504ee036ee fix b pyramid in mp4 muxing if no dts are provided to the muxer
Originally committed as revision 6133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-30 21:18:17 +00:00
Nico Sabbi
bb42f8296f install opt.h
Originally committed as revision 6126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 21:23:27 +00:00
Loren Merritt
776fe466b2 slightly faster deblock
Originally committed as revision 6121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 03:07:58 +00:00
Aurelien Jacobs
a1b65018f1 use the A32_BITSTREAM_READER by default on ARM (faster)
Originally committed as revision 6120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 22:25:30 +00:00
Aurelien Jacobs
75c998a219 force usage of ALT_BITSTREAM_READER where needed
Originally committed as revision 6118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 18:46:01 +00:00
Aurelien Jacobs
8fbc6aae75 move some functions to bitstream.h to avoid conflicts
between different  bitstream readers in different codecs

Originally committed as revision 6117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 18:44:49 +00:00
Michael Niedermayer
1b4f17fafa fix buffer handling
Originally committed as revision 6116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 16:15:40 +00:00
Luca Abeni
00b2fa864e Minimal support for the new pixel formats in libavcodec
Originally committed as revision 6115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 14:56:47 +00:00
Loren Merritt
3e20143ee7 mmx implementation of deblocking strength decision.
2-3% faster h264.

Originally committed as revision 6113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 09:33:01 +00:00
Michael Niedermayer
ee3bc9d386 overread AV_LOG_ERROR -> AV_LOG_DEBUG
Originally committed as revision 6111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 21:45:26 +00:00
Michael Niedermayer
c0c66dd81d fix low bitrate mp3
Originally committed as revision 6107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 11:42:40 +00:00
Loren Merritt
bfe328caf0 tweak cabac. 0.5% faster h264.
Originally committed as revision 6106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 09:19:02 +00:00
Michael Niedermayer
39b434c6ae check the validity of the amount of the remaining bytes in the bitsteam before memcpy
Originally committed as revision 6105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 07:19:11 +00:00
Michael Niedermayer
716d73b47d unused var
Originally committed as revision 6104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 20:16:54 +00:00
Michael Niedermayer
4e2d6a456d dont copy frame if the whole mp1/2/3 frame is available in one piece in the input
Originally committed as revision 6103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 18:56:24 +00:00
Aurelien Jacobs
6ff3b2b838 Fix A32_BITSTREAM_READER compilation on x86
Originally committed as revision 6102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 18:12:16 +00:00
Michael Niedermayer
d6bea62338 make mpa_decode_header() 10 times faster
Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 18:02:52 +00:00
Michael Niedermayer
731d0b1aaa another silly typo which surprisingly neither valgrind nor cmp of the file output cought
Originally committed as revision 6100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 17:29:31 +00:00
Michael Niedermayer
d37bb9d8c1 10l found by valgrind
Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 15:24:13 +00:00
Michael Niedermayer
06e7fb82a4 remove duplicated parser, people who pass random gibblets of the bitstream into the decoder will have to pass it through a AVParser like for all other codecs too
remove silly internal buffering architecture (removes 1 memcpy() of the bitstream)
mp3on4 and mp3adu untested

Originally committed as revision 6098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 12:19:05 +00:00
Michael Niedermayer
6e4703cac7 2nd try of skip_bits_long() for the ALT reader
1st try for the LIBMPEG2 reader
simplify init_get_bits()

Originally committed as revision 6097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:50:23 +00:00
Michael Niedermayer
a42ec9f484 make A32 reader align its ptr during init no matter what missaligned mess is given to it
Originally committed as revision 6096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:37:33 +00:00
Michael Niedermayer
3dddf21fcc 3rd try :)
Originally committed as revision 6095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:26:54 +00:00
Michael Niedermayer
1491e21cdb 2nd try for a skip_bits_long() for the A32 reader
Originally committed as revision 6094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:06:33 +00:00
Michael Niedermayer
5a7bd28335 move align_get_bits() to .h to avoid conflicts between different bitstream readers in different codecs
add a skip_bits_long() which can skip by any amount in any direction (several codecs contain half working hacks to do that)

Originally committed as revision 6093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 10:26:14 +00:00
Michael Niedermayer
727c236a6b prevent bitstream reader to be overriden
Originally committed as revision 6092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 09:34:02 +00:00
Michael Niedermayer
9bffa9e7af avoid branch
Originally committed as revision 6088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 14:42:32 +00:00
Michael Niedermayer
14168ddb28 move variable declarations so that their scope is smaller
Originally committed as revision 6087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 13:58:27 +00:00
Michael Niedermayer
bc2d2757bb move the +400 out of the innermost loop
Originally committed as revision 6086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 13:46:56 +00:00
Michael Niedermayer
9b49f89cdf avoid reading exponent twice
Originally committed as revision 6085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 13:36:27 +00:00
Michael Niedermayer
1f1d675b68 reduce size of vlc table, thats slightly faster here
Originally committed as revision 6084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 12:26:34 +00:00
Michael Niedermayer
55017f35da try to avoid l3_unscale() by using a table
Originally committed as revision 6083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 11:55:20 +00:00
Michael Niedermayer
f8347c4167 replace l3_unscale(1, exponents[pos]) by LUT
Originally committed as revision 6082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 10:00:30 +00:00
Michael Niedermayer
7ca1ed0d9c maybe fixing the segfault on ARM
Originally committed as revision 6081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 02:40:52 +00:00
Aurelien Jacobs
5902bdd8d4 cook shouldn't try to enforce the bitstream reader type
Originally committed as revision 6080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 21:59:20 +00:00
Baptiste Coudurier
f31065f6e5 add codec id and tag for JPEG 2000
Originally committed as revision 6076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 14:13:57 +00:00
Michael Niedermayer
92c5cb62b0 10l typo
Originally committed as revision 6074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 12:35:53 +00:00
Michael Niedermayer
e90a72701e avoid a few if(x==0) checks in the inner loops
Originally committed as revision 6073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 11:18:41 +00:00
Michael Niedermayer
25be48eb48 fix non ALT bitstream reader
Originally committed as revision 6070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 09:24:50 +00:00
Michael Niedermayer
6430ce0f72 optimize reorder_block() though this function seems to be executed too rarely for this to make much difference
Originally committed as revision 6068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:40:09 +00:00
Michael Niedermayer
a753e55bb5 simplify
Originally committed as revision 6067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:39:07 +00:00
Michael Niedermayer
a08a502eda dont copy the whole GetBitContext around
Originally committed as revision 6062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 06:57:32 +00:00
Michael Niedermayer
3328ec6331 faster handling of zero coeffs in the low freq decode
Originally committed as revision 6061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 01:12:26 +00:00
Michael Niedermayer
3c693e7743 optimizing high freq decode
Originally committed as revision 6060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 01:01:39 +00:00
Michael Niedermayer
daf4cd9ac3 use memset() instead of slow c loops
Originally committed as revision 6059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 00:03:51 +00:00
Michael Niedermayer
c7aa36964e simplify
Originally committed as revision 6058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 23:40:03 +00:00
Aurelien Jacobs
acba32385b fix arm asm compilation in mpegaudiodec
Originally committed as revision 6057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 23:39:27 +00:00
Baptiste Coudurier
b3701f5cc0 Alignment of the LT window, segfault fix patch by Baptiste Coudurier.
Originally committed as revision 6051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 16:23:56 +00:00
Michael Niedermayer
69fd15f871 MUL* for ARM code based on a patch by Siarhei Siamashka
untested

Originally committed as revision 6050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 13:25:09 +00:00
Michael Niedermayer
f617adedc8 replace MULL with asm too, no significnat speedup but its probably better to not take any chances, some versions of gcc will almost certainly mess it up too if they can
Originally committed as revision 6049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 12:07:02 +00:00
Michael Niedermayer
47a0cd7408 replacing MULH by asm for x86
about 30% faster imdct36()

Originally committed as revision 6048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 11:51:09 +00:00
Michael Niedermayer
5ab1972b53 indent preprocessor directives
Originally committed as revision 6047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 11:16:47 +00:00
Michael Niedermayer
355903f5a8 make high precission synth filter 3 times faster on x86
Originally committed as revision 6046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 11:11:04 +00:00
Michael Niedermayer
0bd2483a75 replace MULL by MULH + shift in dct32() (code is very slightly faster, and the compiler should be able to optimize the shift away on 64bit archs)
Originally committed as revision 6045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 06:24:59 +00:00
Michael Niedermayer
eb6447766d replace a few MULL by MULH
Originally committed as revision 6039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 12:12:43 +00:00
Michael Niedermayer
120aad7fe9 reorder butterflies to reduce memory load/store
Originally committed as revision 6037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 22:18:26 +00:00
Benjamin Larsson
6c496518e8 Added codec id for QCELP.
Originally committed as revision 6036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 19:08:05 +00:00
Michael Niedermayer
ed567d9c41 cosmetics
Originally committed as revision 6032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 23:12:10 +00:00
Michael Niedermayer
67eca72dc0 SWAP
Originally committed as revision 6030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 20:55:02 +00:00
Michael Niedermayer
0eb6817d98 audio format conversion
untested and unused

Originally committed as revision 6029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 20:22:57 +00:00
Luca Abeni
a37e9e8606 Allow swscale emulation header to be included by C++ programs
Originally committed as revision 6027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 15:14:44 +00:00
Benjamin Larsson
9aee40d967 SIMD vector optimizations. 3% faster overall decoding.
Originally committed as revision 6026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 08:46:52 +00:00
Loren Merritt
652c59b967 use ff_fft_calc_3dn2 instead of sse on a K8.
1.5% faster vorbis.

Originally committed as revision 6024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 02:42:20 +00:00
Loren Merritt
1e4ecf26f5 ff_fft_calc_3dn/3dn2/sse: convert intrinsics to inline asm.
2.5% faster fft, 0.5% faster vorbis.

Originally committed as revision 6023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 23:53:49 +00:00
Diego Biurrun
f4bd289a04 Explicitly include fastmemcpy.h from libvo/.
Originally committed as revision 6021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 13:38:24 +00:00
Michael Niedermayer
cf5aed5bad simplify
Originally committed as revision 6020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 10:43:23 +00:00
Steve L'Homme
0b23d689d8 Add YV12 support, patch by Steve Lhomme % steve P lhomme A free P fr %
Original thread:
Date: Aug 17, 2006 5:45 PM
Subject: Re: [Ffmpeg-devel] [PATCH] AVISynth support

Originally committed as revision 6018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 07:55:08 +00:00
Diego Biurrun
7981555d89 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.

Originally committed as revision 6016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 16:32:08 +00:00
Michael Niedermayer
2287c100b2 cleanup
Originally committed as revision 6007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 08:08:28 +00:00
Michael Niedermayer
3829a62eae insufficient alignment
Originally committed as revision 6006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 07:49:22 +00:00
Luca Barbato
cb243ea220 10l, thanks to Emanuele Giaquinta <exg@gentoo.org> for testing and finding the issue
Originally committed as revision 6002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 20:36:05 +00:00
Guillaume Poirier
696e1bb36e Compile fix (for GCC<3.3) when encoders are disabled
Original thread:
Date: Aug 10, 2006 10:45 AM
Subject: [Ffmpeg-devel] [PATCH] fix compilation when Snow ENcoder is disabled

Originally committed as revision 6000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 14:59:27 +00:00
Luca Barbato
241807f32d altivec float optimizations
Originally committed as revision 5999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 22:55:11 +00:00
Michael Niedermayer
94c8fbdcad fix codec timebase and timestamps
Originally committed as revision 5998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 18:17:14 +00:00
Michael Niedermayer
0f812f5291 fix h261 parsing bug
Originally committed as revision 5997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 17:58:30 +00:00
Marco Manfredini
6bb9e49249 Fix building with --disable-opts but MMX enabled.
patch by Marco Manfredini mldb %at% gmx %dot% net

Originally committed as revision 5994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 10:10:06 +00:00
Luca Barbato
b5f7e6eb95 Clean up:make dsputil subfile names consistent
Originally committed as revision 5993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 08:26:43 +00:00
John Dalgliesh
4454dc1b6f Support for MacIntel, last part: balign directives
Determines whether .align's arg is power-of-two or not, then defines ASMALIGN appropriately in config.h. Changes all .baligns to ASMALIGNs.
Patch by John Dalgliesh % johnd AH defyne P org %
Original thread:
Date: Aug 11, 2006 8:00 AM
Subject: Re: [Ffmpeg-devel] Mac OS X Intel last part: balign directives

Originally committed as revision 5990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 16:37:31 +00:00
Marco Manfredini
8226ecaa6c Fix CHECK_BIDIR macro so it works with Intel's Compiler
Patch by Marco Manfredini  mldb A gmx P net

Originally committed as revision 5989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 16:31:17 +00:00
Loren Merritt
069720565c vorbis simd tweaks
Originally committed as revision 5983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 18:19:37 +00:00
Kostya Shishkov
6b53e173cf Disable B-frames decoding until I return and finish their proper decoding.
Originally committed as revision 5980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 04:41:30 +00:00
Luca Barbato
876031a74e keep in sync with dsputil, makes --disable-decoder=vorbis build
Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 02:56:32 +00:00
Loren Merritt
0e0adae0ba vorbis cosmetics: mdct0,mdct1 => mdct[2]
Originally committed as revision 5978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 21:57:30 +00:00
Loren Merritt
88db1a15c5 misc tweaks in vorbis_residue_decode().
4% faster vorbis.

Originally committed as revision 5977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 21:55:31 +00:00
Michael Niedermayer
1f1aa1d955 convert vector_fmul_reverse_sse2 and vector_fmul_add_add_sse2 to sse
please complain if they are slower on sse2 cpus ...

Originally committed as revision 5976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 20:24:58 +00:00
Loren Merritt
eb4825b5d4 sse and 3dnow implementations of float->int conversion and mdct windowing.
15% faster vorbis.

Originally committed as revision 5975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 19:06:25 +00:00
Loren Merritt
60ae06e77e r5954 broke fft on cpus with 3dnow but without mm3dnow.h
Originally committed as revision 5974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 18:49:47 +00:00