Commit Graph

4811 Commits

Author SHA1 Message Date
Diego Biurrun
6f6a3e2acb cosmetics: Move one code block to save an #ifdef in the next commit.
Originally committed as revision 8684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 18:52:03 +00:00
Diego Biurrun
d7455a1c18 Remove #if 0 code.
Originally committed as revision 8683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 18:50:18 +00:00
Diego Biurrun
51cea49ab4 Fix compilation when Theora decoder is disabled, but VP3 is enabled.
Originally committed as revision 8682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 13:42:44 +00:00
Diego Biurrun
0339fab8fc Remove unused variable.
Originally committed as revision 8681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 13:02:25 +00:00
Marco Gerards
90f2a1a03c cosmetics: indentation fix
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 12:05:02 +00:00
Michael Niedermayer
fb12fca35b factorize & 0x0F
Originally committed as revision 8675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 09:44:34 +00:00
Michael Niedermayer
bee4f778ae remove c93_ prefix from static functions in c93.c
Originally committed as revision 8674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 09:31:54 +00:00
Michael Niedermayer
fee9e80550 align vertically
Originally committed as revision 8672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:31:30 +00:00
Michael Niedermayer
43769d722a shorter variable names
Originally committed as revision 8671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:30:47 +00:00
Michael Niedermayer
bbbd775714 general purpose var should be int
Originally committed as revision 8670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:27:11 +00:00
Michael Niedermayer
bce317498b remove redundant comments
Originally committed as revision 8667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:18:34 +00:00
Michael Niedermayer
b0094722b2 remove useless debuging av_log()
Originally committed as revision 8666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:17:06 +00:00
Michael Niedermayer
dc338d173e indention cleanup
Originally committed as revision 8665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:16:05 +00:00
Michael Niedermayer
d7cf44899f use shorter names for the block type enum
Originally committed as revision 8664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:10:22 +00:00
Michael Niedermayer
ee77c2c922 cosmetic
Originally committed as revision 8663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:02:43 +00:00
Michael Niedermayer
949ed6bb30 use bytestream reader instead of bitstream for THP
5% smaller adpcm.o
20% faster

Originally committed as revision 8657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:04:33 +00:00
Anssi Hannula
8e952e4d23 CRYO APC demuxer
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:34:18 +00:00
Michael Niedermayer
204424a4c7 simplify
Originally committed as revision 8655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:30:19 +00:00
Michael Niedermayer
b736a365be prev1/2 -> prev[2]
Originally committed as revision 8654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:27:58 +00:00
Michael Niedermayer
11d662666d simplify
Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:22:50 +00:00
Michael Niedermayer
d9ddac2579 general purpose vars should be int
Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:19:36 +00:00
Michael Niedermayer
20f757076e table[index][ch] -> table[ch][index] (might be faster ...)
Originally committed as revision 8651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:15:52 +00:00
Nicholas Tung
1e6c67599e Bethsoft VID demuxer and video decoder
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 20:51:58 +00:00
Ivo van Poorten
e5b5149603 Fix segmentation fault for gray16le to gray conversion.
Originally committed as revision 8648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 19:24:27 +00:00
Nicholas Tung
587d07227e Remove superfluous setting of has_b_frames in codecs without B-frames.
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 17:37:30 +00:00
Marco Gerards
d1e0d21f94 THP PCM decoder, used on the Nintendo GameCube.
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 16:03:23 +00:00
Michael Niedermayer
efd2afc2ae TIFF-LZW encoding support by (Bartlomiej Wolowiec b.wolowiec students mimuw edu pl)
Originally committed as revision 8645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 15:15:45 +00:00
Michael Niedermayer
f0790c59f4 LZW encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl
Originally committed as revision 8644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 15:10:22 +00:00
Anssi Hannula
9a0ddd09e7 Interplay C93 demuxer and video decoder
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:25:25 +00:00
Diego Biurrun
fe0372296a typos
Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:10:02 +00:00
Diego Biurrun
e42dba481f typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +00:00
Diego Biurrun
f5bccd8574 spelling/wording/grammar
Originally committed as revision 8640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:07:33 +00:00
Víctor Paesa
414425e064 Print a list of valid AMR bitrates if a wrong one is used.
patch by Víctor Paesa, wzrlpy arsystel com

Originally committed as revision 8639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 11:57:35 +00:00
Kamil Nowosad
f4d47d6b30 YUV support patch by (Kamil Nowosad k.nowosad students mimuw edu pl)
Originally committed as revision 8638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 23:16:08 +00:00
Kamil Nowosad
e780e99e5a s/invert/photometric_interpretation/ patch by Kamil Nowosad k.nowosad students mimuw edu pl
Originally committed as revision 8637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 20:49:26 +00:00
Xiaohui Sun
2d99eed135 SGI image decoder ported to the new image API.
patch by Xiaohui Sun, sunxiaohui dsp.ac cn

Originally committed as revision 8635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 18:29:27 +00:00
Benoit Fouet
5558bda833 Return correct decoded size, decoder is called with only one frame at a time.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 10:37:34 +00:00
David Bateman
e8d0041701 IWMMXT-specific dsputils clear_blocks function.
patch by David Bateman, adb014 gmail com

Originally committed as revision 8632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 09:59:55 +00:00
Kostya Shishkov
bcae1fd02e This codec is PAL8 so make it output PAL8 too
Originally committed as revision 8630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 04:40:13 +00:00
Michael Niedermayer
0a7a33d239 remove compound literals gcc 2.95 doesnt support taking an address of a compound literal
and the current code was my fault as i suggested the student to use compound literals
beliving gcc 2.95 supports them completely ...

Originally committed as revision 8629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-05 00:09:48 +00:00
Ian Braithwaite
5bd526d9ad WMA decoder improvement, output closer to the dmo binary.
Patch by Ian Braithwaite ian braithwaite dot dk

[Ffmpeg-devel] WMA decoder improvement, 2007-03-28 15:50

Originally committed as revision 8627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 13:49:55 +00:00
Kostya Shishkov
047549d382 vc1_split should be static
Originally committed as revision 8626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 13:26:26 +00:00
Stefan Huehner
2b100ab2bf changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org %

Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 11:51:08 +00:00
Diego Biurrun
ee5c8a9bc4 Add some Doxygen comments, by Kamil Nowosad, k.nowosad students.mimuw.edu pl.
Originally committed as revision 8624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 11:43:08 +00:00
Diego Biurrun
e7b85a15c8 cosmetics: Fix indentation.
Originally committed as revision 8622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 22:17:37 +00:00
Benoit Fouet
8896cdd379 Remove useless pointer shift.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 22:16:21 +00:00
Benoit Fouet
636b69c5a4 Remove commented-out while loop.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 22:13:16 +00:00
Diego Biurrun
7038fa6102 Explain which configure options are necessary for which AMR variant.
Originally committed as revision 8612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 14:15:59 +00:00
Michael Niedermayer
5d79e24a98 typo
Originally committed as revision 8611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:53:25 +00:00
Michael Niedermayer
bd446bb156 cosmetic
Originally committed as revision 8610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:52:36 +00:00
Kamil Nowosad
f87459e419 FF_CODER_TYPE_RAW / RLE / DEFLATE extracted from a patch by Kamil Nowosad
Originally committed as revision 8609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:52:00 +00:00
Michael Niedermayer
716222db17 tiff encoder by (Bartlomiej Wolowiec b.wolowiec students mimuw edu pl)
Originally committed as revision 8608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:43:57 +00:00
Diego Biurrun
987c3aa810 Remove #if 0 code.
Originally committed as revision 8605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 11:26:14 +00:00
Michael Niedermayer
eb6905f064 dont use *int8_t for the arguments (ive missed that in the patches ...)
Originally committed as revision 8603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 06:46:12 +00:00
Xiaohui Sun
b25514a43f Changed the rle encoder a little and made it more universal.
Not only the repeated byte is calculated as (count ^ xor) + add
but also the raw encoding lenth byte is calculated as that too
patch by Xiaohui Sun sunxiaohui  dsp ac cn

Originally committed as revision 8602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 06:40:21 +00:00
Michael Niedermayer
65df54496e cosmetic
Originally committed as revision 8601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 02:18:00 +00:00
Michael Niedermayer
eb24fd6458 fix indention (less work to fix it myself than to check if a indention fix patch is ok ...)
Originally committed as revision 8600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 01:23:37 +00:00
Michael Niedermayer
bee3851598 move doxy from .c to .h
Originally committed as revision 8599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 01:20:31 +00:00
Michael Niedermayer
1ca286e194 generic rle encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl
Originally committed as revision 8598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 01:01:46 +00:00
Marc Hoffman
b56a8374b1 Remove stray object from list of Blackfin assembler objects.
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-02 07:26:14 +00:00
Marc Hoffman
67fd620c01 bfin dsputils, basic pixel operations sads, diffs, motion compensation
and standard IEEE 8x8 block transforms
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 22:28:45 +00:00
Aurelien Jacobs
f8fb86e9bb cosmetics: indentation
Originally committed as revision 8593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 22:20:51 +00:00
Michael Niedermayer
2de4f9eb47 indention
Originally committed as revision 8590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 16:14:19 +00:00
Michael Niedermayer
6e546aaa24 make AVCodec.init() optional
Originally committed as revision 8589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 16:13:24 +00:00
Diego Biurrun
efb0c399ca support for the THP game format by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 14:28:48 +00:00
Diego Biurrun
2818647310 Add '#undef exit', the function is now forbidden.
Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 11:40:36 +00:00
Diego Biurrun
1026a8d4a7 Merge redundant comments.
Originally committed as revision 8582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 11:07:28 +00:00
Loren Merritt
1cfe393a25 doxy comment tweaks
Originally committed as revision 8580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 23:58:33 +00:00
Guillaume Poirier
bb21f1762a Add doxy comments, based on Loren's explanations posted here:
Date: Mar 30, 2007 9:00 PM
Subject: Re: [Ffmpeg-devel] Motion Estimation in snow.c for Waevelet encoded frames (DWT)

Originally committed as revision 8579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 22:39:43 +00:00
Diego Biurrun
51aeb7aa6e dct-test works on non-x86 now.
Originally committed as revision 8577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:24:53 +00:00
Marc Hoffman
3ac35bdb3e platform-independent restructuring and code simplification
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:24:09 +00:00
Marc Hoffman
c6bdc90890 Remove illegal call to exit().
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:14:59 +00:00
Diego Pettenò
b83f7eb2ce call faacDecClose() with all libfaad versions
patch by Diego Petteno flameeyes gmail com

Originally committed as revision 8574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:47:39 +00:00
Marc Hoffman
19ef2ba57a Replace emms() with emms_c(), patch by Marc Hoffman, mmh pleasantst com.
Originally committed as revision 8571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:20:51 +00:00
Luca Barbato
30f1505380 Typos in comments
Originally committed as revision 8561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 20:56:32 +00:00
Loren Merritt
e62b3dd210 move some stuff out of an inner loop. 12% faster svq1 encoding.
Originally committed as revision 8560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 19:16:41 +00:00
Loren Merritt
5900637219 mmx 16-bit ssd. 2.3x faster svq1 encoding.
Originally committed as revision 8559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 19:15:31 +00:00
Kamil Nowosad
a4072c453b Fix a bug in av_find_opt(). Because some of the AVOption structures have field
unit = NULL, the function could pass NULL to strcmp and cause a segfault.

Patch by Kamil Nowosad, k nowosad % students mimuw edu pl.

Original thread:
Subject: [PATCH] small bugfix in av_find_opt()
Date: 03/23/2007 12:20 PM

Originally committed as revision 8553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:26:13 +00:00
Limin Wang
226d6947bc add 'all' and 'none' options for partitions config
Patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
date: Mar 24, 2007 3:53 PM
subject: [Ffmpeg-devel] [PATCH] add all and none options for partitions config

Originally committed as revision 8552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:05:52 +00:00
Robert Swain
2c48a21c4f Update specification and reference implementation links.
patch by Robert Swain, robert.swain gmail com

Originally committed as revision 8551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 06:33:15 +00:00
Panagiotis Issaris
449659919c Fix compilation when using the --disable-opts parameter. This to help those
interested in using a debugger to debug FFmpeg.

Original thread:
Subject: [PATCH] Fix compilation when using --disable-opts
Date: 2007-03-15 16:58:35 GMT

Originally committed as revision 8549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 14:20:30 +00:00
Benoit Fouet
db56acd480 Accept only existing bitrates.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 09:39:20 +00:00
Michael Niedermayer
7ebf5927fd codec id addition guidlines
Originally committed as revision 8534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 11:18:24 +00:00
Kostya Shishkov
351f6b4e91 FASTTX==0 means additional 16 bits in extradata
Originally committed as revision 8533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 07:28:52 +00:00
Kostya Shishkov
6b27f3b87f One more FASTTX-related hack
Originally committed as revision 8532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 07:27:53 +00:00
Kostya Shishkov
9ac421e3c1 Remove redundant assign
Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 05:23:07 +00:00
Michael Niedermayer
adcb72b521 set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking
Originally committed as revision 8528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 17:33:45 +00:00
Ivan Kalvachev
d215d07ae0 get rid of unused entries in the middle of xvmc_render struct,
extensions are added to the end of the struct (avoids build issues on 64 bits platform)
add osd extension to be used by mplayer (required by the resent changes in the build system)
breaking the compability, thus bumping minor lavc version number

Originally committed as revision 8527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 15:21:19 +00:00
Ian Braithwaite
1890c2acf4 Optimize by building the mdct window and multipying/adding at the same time.
Patch by Ian Braithwaite ian .. braithwaite . dk

[Ffmpeg-devel] WMA decoder speedup 2007-03-22 22:56

Originally committed as revision 8526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 10:03:57 +00:00
Michael Niedermayer
f39c3c8855 factorize &
Originally committed as revision 8525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:54:29 +00:00
Michael Niedermayer
0abfd53344 simplify
Originally committed as revision 8524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:44:42 +00:00
Aurelien Jacobs
ed18643199 properly set *data_size when returning >= 0 values in shorten_decode_frame()
Original thread:
Date: Sat, 24 Mar 2007 04:04:53 +0100
Subject: [Ffmpeg-devel] Shorten file playback broken in SVN trunk

Originally committed as revision 8523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:00:43 +00:00
Michael Niedermayer
0cb7f8a260 check input validity, this prevents a few variables from reachin odd values which might have lead to out of array writes and thus might have been exploitable
Originally committed as revision 8522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 23:37:38 +00:00
Michael Niedermayer
34a370cb0c simplify
Originally committed as revision 8521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 23:22:11 +00:00
Baptiste Coudurier
f0cb03e9f2 increment subminor version due to r8502 and r8504, those revisions make dnxhd and gif decoders in line with libavcodec API
Originally committed as revision 8520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 20:52:45 +00:00
Baptiste Coudurier
04f7136bfe remove TODO, its done now
Originally committed as revision 8519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 16:43:59 +00:00
Baptiste Coudurier
10d4899c01 pass correct buffer size to lzw decode init
Originally committed as revision 8518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 16:29:11 +00:00
Michael Niedermayer
5f01beb548 move eob_reached logic into ff_lzw_decode_tail() which simplifies the code, avoids some checks in the innermost loop and also gets rid of the controversal break while hopefully retaining the last byte in a valid bytestream, invalid bytestreams still can have very significant overread
Originally committed as revision 8517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:43:46 +00:00
Michael Niedermayer
6aaf3abd6d simplify
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:09:16 +00:00
Michael Niedermayer
bf7709619b factorize
Originally committed as revision 8510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 14:02:54 +00:00
Michael Niedermayer
62ef8925c5 simplify
Originally committed as revision 8509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 13:41:14 +00:00
Kostya Shishkov
b666151045 1000l to myself - get correct quantization for blocks 1 and 2
P.S.  This condition could be also written as if(n==3 || n==(2-dc_pred_dir))

Originally committed as revision 8508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 06:00:06 +00:00
Aurelien Jacobs
da91ed594e use generic xiph header spliting func to split theora headers
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:09:26 +00:00
Aurelien Jacobs
5bb127a98f extract vorbis header spliting code into a reusable function
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:06:45 +00:00
Baptiste Coudurier
239e1b6f8f actually return bytes read
Originally committed as revision 8504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:16:30 +00:00
Baptiste Coudurier
ea82552c09 return error if loop has ended before decoding image
Originally committed as revision 8503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:12:24 +00:00
Baptiste Coudurier
877519f550 actually return bytes read
Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:00:56 +00:00
Baptiste Coudurier
7a28b7714e add some length checks
Originally committed as revision 8501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:57:42 +00:00
Baptiste Coudurier
5f7ab90a0c simplify
Originally committed as revision 8500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:53:34 +00:00
Baptiste Coudurier
93e91145b4 fix indentation
Originally committed as revision 8499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:23:51 +00:00
Baptiste Coudurier
36376fa3ba break if eob is reached to avoid reading one too much byte
Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:23:05 +00:00
Limin Wang
e2f3d94786 Fix H.264 8x8 transform selection
It seems that it's opt parse bug, it can't process the flags which start by
digit. After change 8x8dct to dct8x8, I can set it without problem. I guess
nobody will use it since it can't work as expected, so the quick fix is change
the option name.

Patch by Limin Wang lance dot lmwang at gmail com

Originally committed as revision 8492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 12:07:07 +00:00
Tim Chick
56cc42664a iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
armv5t does - use the armv5t function rather than default c code.
patch by Tim Chick chick at computergeek freeserve co uk

Originally committed as revision 8487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-23 00:05:45 +00:00
Michael Niedermayer
8ec04d344a set more reasonable cutoff for audio rate conversion
Originally committed as revision 8486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 14:27:16 +00:00
Michael Niedermayer
47bbf8a71d clarify codec_tag
Originally committed as revision 8484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:27:11 +00:00
Michael Niedermayer
89cff671f4 clarify sub_id
Originally committed as revision 8483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:17:03 +00:00
Michael Niedermayer
7e068841cb replace long double in the audiophile kiddy mode with doubles, its faster (and more portable) and the audiophile placebo 120db stopband attenuation isnt affected
Originally committed as revision 8482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:23:38 +00:00
Michael Niedermayer
d6fead9089 change high precision mode to 30 bits again after making the code less overflow sensitive
Originally committed as revision 8481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:13:13 +00:00
Michael Niedermayer
303bd95cd2 optimize linear filter coeff interpolation code, this also makes the code less prone to overflows
Originally committed as revision 8480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:10:30 +00:00
Justin Ruggles
d971a5fa81 cosmetics. align and condense.
Originally committed as revision 8479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:39:20 +00:00
Justin Ruggles
319708da02 simplify
Originally committed as revision 8478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:38:00 +00:00
Justin Ruggles
bbd16dea67 utilize multi-stage AC-3 bit allocation. speeds up encoding by 25-30%
Originally committed as revision 8477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:34:26 +00:00
Michael Niedermayer
447caf7941 revert r8469 (increase bits for non default highprecision mode)
it causes overflows with linear interpolated filters coefficients

Originally committed as revision 8476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 03:18:34 +00:00
Michael Niedermayer
55fc0eb174 AUDIOPHILE_KIDDY_MODE
Originally committed as revision 8475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 03:16:02 +00:00
Michael Niedermayer
50df67d3b5 optimize bessel function instead of trusting gcc to do trivial optimizations (as gcc doesnt ...)
Originally committed as revision 8474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 00:52:49 +00:00
Michael Niedermayer
14f887efc6 select more sensible default windows (= attenuation beyond the dynamic range of your input is silly if it negatively affects other parameters)
Originally committed as revision 8473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 00:16:41 +00:00
Michael Niedermayer
20cf58c32b make kaiser windows with other beta than 16 available
Originally committed as revision 8472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 23:44:49 +00:00
Tim Chick
f88e7c833b enable iwmmxt support, removing mm_support() stub
patch by Tim Chick, chick at computergeek freeserve co uk

Originally committed as revision 8471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 23:07:24 +00:00
Michael Niedermayer
c252b26d55 make high precision mode accessible at compile time
Originally committed as revision 8470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:39:00 +00:00
Michael Niedermayer
ca6940f871 increase bits for non default highprecision mode
Originally committed as revision 8469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:38:07 +00:00
Michael Niedermayer
ae232dd740 code for testing the accuracy of the resampler
Originally committed as revision 8468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:37:05 +00:00
Michael Niedermayer
66a148a19a remove dithering of filter coefficients, improves precision by 1-2 bits and
improves subjective sound quality on artificial sample (udial.wav resampling
to 32khz)

Originally committed as revision 8467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:02:52 +00:00
Kostya Shishkov
c72e05ba0f Smacker Audio stereo fix
Originally committed as revision 8460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 05:56:29 +00:00
Ian Braithwaite
058ee0cf95 Small simplifications to subband coefficient handling and use av_random().
Patch by Ian Braithwaite ian .. braithwaite ... dk

Originally committed as revision 8456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 18:08:51 +00:00
Loren Merritt
0ec4bc6a27 oops, encoder was under ifdef decoders.
Originally committed as revision 8455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 16:51:30 +00:00
Kostya Shishkov
b314cfe709 Correctly handle data_size on decoding
Originally committed as revision 8451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 05:44:42 +00:00
Justin Ruggles
b5a05cc295 fix handling of special case for lowest snroffset. regressions are unaffected.
Originally committed as revision 8450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 02:12:13 +00:00
Baptiste Coudurier
8a0cdea157 10l, fix debug, dprintf does not have log level
Originally committed as revision 8449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-19 16:07:51 +00:00
Baptiste Coudurier
52b6bad219 dnxhd decoder
Originally committed as revision 8445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:25:00 +00:00
Bill O'Shaughnessy
4140a5234e AC-3 encoded volume is too high. Revert revision 7160:
bring AC3 encoder output up to input volume level
patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com %
+ reg tests update gruntwork by me
Original thread:
date: Nov 21, 2006 11:36PM
subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level

Originally committed as revision 8444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:18:05 +00:00
Måns Rullgård
d7645fb9db fix init_vlc() with nonzero flags
Originally committed as revision 8443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 22:32:39 +00:00
Justin Ruggles
575bf46f16 split ac3_parametric_bit_allocation into 3 separate functions
Originally committed as revision 8442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 21:43:20 +00:00
Kostya Shishkov
9a44385e1a Zero MV vectors for P frame intra blocks
Originally committed as revision 8440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 18:07:27 +00:00
Loren Merritt
d2bfaf8aae huffyuv rgb encoder
Originally committed as revision 8439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 12:03:29 +00:00
Kostya Shishkov
7c9712335b indentation
Originally committed as revision 8437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 07:53:16 +00:00
Kostya Shishkov
ab47579565 Proper handling of motion vectors for adv. profile
Originally committed as revision 8436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 07:51:40 +00:00
Justin Ruggles
495529f7df hardcode ff_ac3_frame_sizes table
Originally committed as revision 8435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 04:53:21 +00:00
Bobby Bingham
92964be895 Add RLE encoding support, patch by Bobby Bingham, uhmmmm gmail com.
Originally committed as revision 8434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:59:58 +00:00
Bobby Bingham
e8952fa571 Move the encoding of the image data to its own function.
patch by Bobby Bingham, uhmmmm gmail com

Originally committed as revision 8430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 13:16:18 +00:00
Bobby Bingham
552cf71281 Add 15 bit support, patch by Bobby Bingham, uhmmmm gmail com.
Originally committed as revision 8429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 12:56:34 +00:00