Commit Graph

6236 Commits

Author SHA1 Message Date
Michael Niedermayer
2b57b46313 const
Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:10:56 +00:00
Michael Niedermayer
3d37b11f92 some const
Originally committed as revision 11742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:09:52 +00:00
Michael Niedermayer
16db358520 const
Originally committed as revision 11741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:08:35 +00:00
Michael Niedermayer
92ddaf2622 const
Originally committed as revision 11740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:07:02 +00:00
Michael Niedermayer
f61bf0526b const
Originally committed as revision 11739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:06:54 +00:00
Michael Niedermayer
da2036c54e const
Originally committed as revision 11738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:03:56 +00:00
Michael Niedermayer
3cd7c7fb1b const
Originally committed as revision 11737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:03:47 +00:00
Michael Niedermayer
1dc5527934 const
Originally committed as revision 11736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:00:31 +00:00
Michael Niedermayer
3c71bc55dc const
Originally committed as revision 11735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:58:41 +00:00
Michael Niedermayer
07311324a3 const
Originally committed as revision 11734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:55:15 +00:00
Michael Niedermayer
0ff4670a21 Casts to silcence "incompatible pointer type" warnings.
Originally committed as revision 11733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:51:06 +00:00
Michael Niedermayer
96711ecff9 const src for bswap
Originally committed as revision 11732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:49:15 +00:00
Michael Niedermayer
2ec3861238 const
Originally committed as revision 11731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:42:08 +00:00
Michael Niedermayer
972c99c112 Use bytestream.
Originally committed as revision 11730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:38:55 +00:00
Michael Niedermayer
9bb5e9e945 const
Originally committed as revision 11729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:32:41 +00:00
Michael Niedermayer
c27fc644d4 const
Originally committed as revision 11727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:17:56 +00:00
Michael Niedermayer
c82fbf7fba const
Originally committed as revision 11726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:16:26 +00:00
Michael Niedermayer
1545c5e535 const
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:46 +00:00
Michael Niedermayer
fb2cf1bcf0 const
Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:04 +00:00
Michael Niedermayer
bd0e945f8e const
Originally committed as revision 11723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:11:06 +00:00
Michael Niedermayer
21cc343d85 const
Originally committed as revision 11722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:07:48 +00:00
Michael Niedermayer
75739ba290 const
Originally committed as revision 11721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:04:44 +00:00
Michael Niedermayer
d31522b8f1 const
Originally committed as revision 11720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:02:28 +00:00
Michael Niedermayer
1a2c94cb69 const
Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:59:06 +00:00
Michael Niedermayer
8687f7679d const
Originally committed as revision 11718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:54:08 +00:00
Michael Niedermayer
ea494db398 const
Originally committed as revision 11717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:51:51 +00:00
Michael Niedermayer
ebc0790441 const
Originally committed as revision 11716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:55 +00:00
Michael Niedermayer
f64bbca55d const
Originally committed as revision 11715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:32 +00:00
Michael Niedermayer
5d9375da77 const
Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:47:32 +00:00
Michael Niedermayer
f84a02c0d1 const
Originally committed as revision 11713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:46:11 +00:00
Michael Niedermayer
2b3c8f8a6a const
Originally committed as revision 11712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:40:46 +00:00
Michael Niedermayer
b5777b942d const
Originally committed as revision 11711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:39:15 +00:00
Michael Niedermayer
e68c7a4abe const
Originally committed as revision 11710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:34:43 +00:00
Michael Niedermayer
0431d3b121 one "cast discards qualifiers from pointer target type" less
Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:29:43 +00:00
Michael Niedermayer
7993df6527 consts
I have underestimated this a little, and these are just some ...

Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:26:31 +00:00
Michael Niedermayer
b1f5712e3c consts
Originally committed as revision 11706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:36:09 +00:00
Michael Niedermayer
30317501a0 consts
Originally committed as revision 11705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:35:11 +00:00
Michael Niedermayer
6ddaa63cf4 The buffer passed into the decoder should be const.
Originally committed as revision 11704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:26:19 +00:00
Michael Niedermayer
a9f8715854 Fix const qualifer issues found by -Wcast-qual.
Originally committed as revision 11703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:40:46 +00:00
Michael Niedermayer
7526ade238 Indention, it seems i have forgotton to commit this.
Originally committed as revision 11702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:35:31 +00:00
Baptiste Coudurier
bb41f2e774 fix field order export
Originally committed as revision 11695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 14:23:48 +00:00
Michael Niedermayer
3485b9cdda Revert r11689 and r11690 (uninitalized warning fix) as its theoretically
undefined in C.

Originally committed as revision 11694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 14:01:33 +00:00
Reimar Döffinger
9c9519fd39 Two tables that should be const
Originally committed as revision 11692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 12:25:52 +00:00
Michael Niedermayer
b2aba2e6e7 Comment about weird warning prevention.
Originally committed as revision 11690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 02:13:53 +00:00
Michael Niedermayer
b34130ae61 fix "uninitalized" warning, the alternative way.
I hope this is valid C, flame me if not.
md5sum of h263.o doesnt change, so this doesnt cause a slowdown.

Originally committed as revision 11689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:38:00 +00:00
Baptiste Coudurier
961c25b588 revert r11677, it is considered speed critical
Originally committed as revision 11688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:25:29 +00:00
Baptiste Coudurier
8943802849 add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within ||
Originally committed as revision 11687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:57:48 +00:00
Baptiste Coudurier
f0a7084088 Add const qualifier, fix warnings:
snow.c:2292: warning: assignment discards qualifiers from pointer target type
snow.c:2294: warning: assignment discards qualifiers from pointer target type
snow.c:2300: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 11686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:56:29 +00:00
Baptiste Coudurier
4a9dfdc1c9 add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||
Originally committed as revision 11685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:50:21 +00:00
Andreas Öman
1710856cb1 Fix the following warnings:
h264.c:2093: warning: unused variable 's'
h264.c:2406: warning: suggest parentheses around arithmetic in operand of ^
h264.c:2412: warning: suggest parentheses around arithmetic in operand of ^

Originally committed as revision 11680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:15:24 +00:00
Baptiste Coudurier
774c84770f cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 of 's->dsp.bswap_buf' from incompatible pointer type
Originally committed as revision 11679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:10:56 +00:00
Baptiste Coudurier
d83085cd5a fix indentation
Originally committed as revision 11678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:06:54 +00:00
Baptiste Coudurier
3fbe36d4d0 init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function
Originally committed as revision 11677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:05:44 +00:00
Baptiste Coudurier
7f4d2d8308 cast to dest type, fix warning: 4xm.c:304: warning: initialization from incompatible pointer type
Originally committed as revision 11676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:01:16 +00:00
Baptiste Coudurier
e151e272a0 cast to dest type, fix warning imgconvert.c:1958: warning: assignment from incompatible pointer type
Originally committed as revision 11675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:00:08 +00:00
Baptiste Coudurier
29e15adc34 add const, fix warning: cook.c:276: warning: passing argument 2 of 'maybe_reformat_buffer32' discards qualifiers from pointer target type
Originally committed as revision 11674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:58:44 +00:00
Baptiste Coudurier
066e0cc50d add parenthesis, fix warning: i386/dsputil_mmx.c:2618: warning: suggest parentheses around arithmetic in operand of |
Originally committed as revision 11673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:54:59 +00:00
Baptiste Coudurier
afa4778989 fix prototypes, remove warning: i386/dsputil_mmx.c:3594: warning: assignment from incompatible pointer type
Originally committed as revision 11672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:52:42 +00:00
Reimar Döffinger
234c6ed76d Add bitstream filter to convert between mov and plain text subtitles
Originally committed as revision 11659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:24:09 +00:00
Jeff Downs
79db7ac6ef Fix memory leak in h264 decoder. allocated_edge_emu_buffer was being allocated
in both mpegvideo and h264 decoder. Fixed by allowing all (master and duplicate)
contexts to fully initialize in MPV_frame_start and copying these into
H264Contexts.

Mailing list discussion:
[FFmpeg-devel] Memory leak in h264
Tue, 22 Jan 2008 15:22:55

Originally committed as revision 11657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:12:38 +00:00
Diego Biurrun
bca9e0bcf1 Move common test program infrastructure to common.mak.
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:28:56 +00:00
Diego Biurrun
fe34942e92 Move some lines in preparation for an upcoming commit.
Originally committed as revision 11644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:27:13 +00:00
Reimar Döffinger
766324fc49 Add and use DECLARE_ASM_CONST for constants used in assembler code.
Should make it easier to work around compilation problems with e.g. ICC.

Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:50:16 +00:00
Reimar Döffinger
038f0f9b34 Use DECLARE_ALIGNED in yet another place
Originally committed as revision 11640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:45:49 +00:00
Reimar Döffinger
6a1a2fa0fe Use DECLARE_ALIGNED and remove unneeded attribute_used
Originally committed as revision 11639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 19:59:11 +00:00
Reimar Döffinger
cc8c2c6ab3 Add CODEC_ID_MOV_TEXT and use it instead of modifying the stream in the mov demuxer.
Originally committed as revision 11638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 19:57:04 +00:00
Diego Biurrun
cf6cb7c562 typo
Originally committed as revision 11637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 18:02:27 +00:00
Diego Biurrun
eba6ba4a74 Add $(EXESUF) where necessary.
Originally committed as revision 11636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 17:50:59 +00:00
Evgeniy Stepanov
f8d7c9d373 Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself

Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 15:43:17 +00:00
Diego Biurrun
1260eb4a68 whitespace and sorting cosmetics
Originally committed as revision 11632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:52:58 +00:00
Diego Biurrun
f98869bcec Add generic rule for all tests.
Originally committed as revision 11631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:50:29 +00:00
Reimar Döffinger
27215c6bf4 Use DECLARE_ALIGNED
Originally committed as revision 11630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:46:56 +00:00
Guillaume Poirier
d761f08987 fix indentation that was messed up by r11628
Originally committed as revision 11629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 08:37:28 +00:00
Siarhei Siamashka
13686bc2cd fix lowres decoding support on ARM CPUs
Original thread:
date: Jan 27, 2008 12:03 AM
subject: [FFmpeg-devel] [PATCH] Fix for lowres decoding support on ARM
Patch by Siarhei Siamashka $ siarhei P siamashka A gmail P com $

Originally committed as revision 11628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 08:36:50 +00:00
Diego Biurrun
64e13d6914 Do not group libamr_nb and libamr_wb together as libamr.
Also fixes --enable-libamr being recognized as configure parameter.

Originally committed as revision 11616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 12:46:46 +00:00
Måns Rullgård
7b0dee28d2 clean up dynamic loading of libfaad
Originally committed as revision 11609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-25 21:14:17 +00:00
Zdenek Kabelac
e2fdba650d Correctly clean up IntraX8Context upon codec close.
patch by Zdenek Kabelac, zdenek d kabelac a gmail d com

Originally committed as revision 11608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-25 07:37:46 +00:00
Måns Rullgård
0f44edaa1c cosmetic: libfaad.c indentation
Originally committed as revision 11607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:51:31 +00:00
Måns Rullgård
dbbc573253 fix dynamic loading of libfaad 2.6
Originally committed as revision 11606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:51:29 +00:00
Michael Niedermayer
cb077b7aa3 Fix crash for CAVLC->CABAC switch caused by writing into NULL tables.
(iam not sure if this might have been exploitable)
fixes issue332 / CVCANLMA2_Sony_C.jsv
Other solutions which waste a few bytes less are welcome ...

Originally committed as revision 11605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:31:59 +00:00
Diego Biurrun
6bf398a030 Add #undef printf and disable non-functional code to make test program compile.
Originally committed as revision 11604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 21:27:07 +00:00
Diego Biurrun
07ad12ecdd Fix test program compilation: Add missing #include and update the call
of ff_init_cabac_states() to account for API changes.

Originally committed as revision 11602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:23:24 +00:00
Diego Biurrun
c46e28746c Put some disabled functions that are only used in the test program in cabac.c
under TEST as preprocessor conditional, same as the test program.

Originally committed as revision 11601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:19:39 +00:00
Diego Biurrun
79bfd0ef76 Add #undef random and call the right function to fix test program compilation.
Originally committed as revision 11600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:18:08 +00:00
Diego Biurrun
6a339972af Remove unused variables in test code.
Originally committed as revision 11599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 23:47:59 +00:00
Diego Biurrun
e5b10e3174 Fix warnings in test code:
eval.c:454: warning: return type defaults to 'int'
eval.c:464: warning: control reaches end of non-void function

Originally committed as revision 11594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 09:20:25 +00:00
Diego Biurrun
3f5d7bb331 Remove two unused variables.
Originally committed as revision 11584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 00:29:22 +00:00
Diego Biurrun
a4b375c614 Remove unnecessary forward declaration.
Originally committed as revision 11583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 00:28:29 +00:00
Diego Biurrun
07e4e3ea8b Consistently use TEST as the preprocessor condition to enable test code.
Originally committed as revision 11581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 23:53:51 +00:00
Aurelien Jacobs
1ace441909 add proper matroskaenc dependency over xiph.o
Originally committed as revision 11580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 21:38:21 +00:00
Aurelien Jacobs
22cf0018d4 add missing Makefile rules for zork pcm encoder/decoder
Originally committed as revision 11578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:55:28 +00:00
Aurelien Jacobs
8dcbcef68e and thus, nellymoser obviously also depens on fft.o
Originally committed as revision 11577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:51:19 +00:00
Aurelien Jacobs
d1c266bed1 nellymoser uses mdct functions
Originally committed as revision 11576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:45:43 +00:00
Reimar Döffinger
b8659d94b7 Add mfspr-based AltiVec detection code.
Currently not enabled in FFmpeg, because it crashes if the OS does not
emulate mfspr.

Originally committed as revision 11569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 19:27:39 +00:00
Kostya Shishkov
d1cc6e46f2 simplify 4-point transform part a bit
Originally committed as revision 11559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 11:04:02 +00:00
Kostya Shishkov
f3647f59f1 Factor out constant addition
Originally committed as revision 11558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 06:52:29 +00:00
Kostya Shishkov
34093ab58e Save quantizer values as well
Originally committed as revision 11555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-18 07:04:58 +00:00
Kostya Shishkov
b008e6b869 Save coded block patterns for future loop filtering.
Originally committed as revision 11554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-18 07:04:11 +00:00
Diego Biurrun
61dbf4e557 Simplify preprocessor expression as suggested by Mans.
Originally committed as revision 11549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:34:53 +00:00
Diego Biurrun
f9cac0a778 Replace puts() by dprintf where appropriate.
Originally committed as revision 11547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:30:06 +00:00
Michael Niedermayer
76d7c327eb Replace idiotic (what moron wrote that code?) "buffer overflow" message by
abort()

Originally committed as revision 11546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 00:12:04 +00:00
Diego Biurrun
426d18b85b Rename illegal identifiers, _ followed by capital is reserved for the system.
Originally committed as revision 11541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 21:21:30 +00:00
Kostya Shishkov
95e3fdb846 pqindex=0 is forbidden
Originally committed as revision 11540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 17:07:34 +00:00
Michael Niedermayer
9ccbc672aa qscale==0 is invalid
Originally committed as revision 11539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 12:42:52 +00:00
Diego Biurrun
7f390307db Add const qualifiers to unmodified function parameters, fixes the warning:
svq1dec.c:584: warning: passing argument 1 of 'svq1_packet_checksum' discards qualifiers from pointer target type

Originally committed as revision 11536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 09:02:22 +00:00
Diego Biurrun
744496e3e3 Remove bogus cast.
Originally committed as revision 11535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 08:59:12 +00:00
Sigbjørn Skjæret
9ad5675f25 Add a couple of missing consts.
patch by Sigbjørn Skjæret, cisc broadpark no

Originally committed as revision 11528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 22:10:19 +00:00
Christophe Gisquet
750e37eb83 Select scan tables for 8x4 and 4x8 blocks only once.
Patch by Christophe GISQUET ([christophe][gisquet] <whirlpool sign> free <spot> fr)
Thread [PATCH] Determine once and for all zz scan tables to use in VC-1 VLD

Originally committed as revision 11525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 06:10:02 +00:00
Michael Niedermayer
526e037b95 Remove green clouds.
fixes issue263

Originally committed as revision 11524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 04:27:03 +00:00
Luca Barbato
3174c77a3e gcc2 doesn't have bogus mergel, patch from Sigbjørn Skjæret cisc...broadpark___no
Originally committed as revision 11523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 23:58:12 +00:00
Robert Swain
3ed546fe52 Add variable alpha and size of half window for Kaiser-Bessel Derived window
generation. Hard code Bessel I0 approximation iterations to 50.

See thread for discussion:
[FFmpeg-devel] [PATCH] Move Kaiser-Bessel Derived window to mdct.c
Started on the 2008/01/10

Originally committed as revision 11520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 11:02:08 +00:00
Reimar Döffinger
99fac0806b Get rid of fft_rev table, use ff_reverse and a shift.
Reduces maximum allowed value for MDCT_NBITS to 10 (current value is 9)

Originally committed as revision 11519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 08:33:00 +00:00
Reimar Döffinger
f952b30cd1 Use FFSWAP instead of "manual" swap
Originally committed as revision 11518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 17:37:36 +00:00
Robert Swain
4eb7a735cb Make the Kaiser-Bessel window generator a common function
Patch by Robert Swain, robert d swain a gmail d com

Originally committed as revision 11514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 11:11:19 +00:00
Michael Niedermayer
9f7458b285 Factorize some code into functions, had this in my tree and will be
needed for mp3 encoding.

Originally committed as revision 11509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 21:34:05 +00:00
Brian Brice
812f29ffb8 Clear synth_buf on flush(). Part of a patch by Brian Brice bbrice gmail com.
Originally committed as revision 11507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 18:20:42 +00:00
Brian Brice
4a69055bad Flush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.
Originally committed as revision 11506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 18:18:45 +00:00
Christophe Gisquet
28748a9128 Factorize some duplicated code from CAVS and H.264 into a common file.
patch by Christophe Gisquet, christophe.gisquet free fr

Originally committed as revision 11504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 08:29:58 +00:00
Andreas Öman
48aecf5a7d Fix a bug causing the generated stream to be corrupt if the buffer
contains NAL units previous to the IDR where the SPS/PPS was inserted.

Ok:ed by Benoit on irc.

Originally committed as revision 11482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-09 08:38:28 +00:00
Justin Ruggles
f34b221bd2 used defined name for testing error resilience level
Originally committed as revision 11478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 23:44:48 +00:00
Diego Biurrun
aa6b38c29d Fix random typos.
Originally committed as revision 11477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 23:08:51 +00:00
Michael Niedermayer
787e135391 Randomly change the amount of noise if nothing is explicitly set.
Originally committed as revision 11458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 00:25:25 +00:00
Diego Pettenò
81fe0cfc0b Mark the ff_svq1_frame_size_table as constant.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:48:42 +00:00
Diego Pettenò
a1f89639a8 Move wmv1_scantable to .rodata section by making it an array of arrays.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:47:14 +00:00
Diego Pettenò
9307db13f6 Mark the tables in g726.c as constant.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:43:04 +00:00
Diego Pettenò
b2a9177017 Remove unused symbol.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:40:39 +00:00
Justin Ruggles
f0b3a7ba12 split out init of downmix coeffs into a separate function that can be called
only when needed

Originally committed as revision 11441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 00:18:02 +00:00
Justin Ruggles
82a6c4811a remove unneeded variable from AC3DecodeContext
Originally committed as revision 11439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 23:56:19 +00:00
Justin Ruggles
4bc829bb8f make sure that the last coupling band stops at the end of the coupling range
Originally committed as revision 11438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 23:33:30 +00:00
Justin Ruggles
b02fbf7536 fix phase flag processing for the case when coupling coordinates are reused
for the right channel, but new for the left channel

Originally committed as revision 11436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 20:15:24 +00:00
Diego Biurrun
621d7fe936 Rename two structures, identifiers starting with _[A-Z] are reserved.
Originally committed as revision 11435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 16:02:55 +00:00
Kostya Shishkov
81df386929 Fractional parts of motion vectors should be accounted separately too
Originally committed as revision 11433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 11:47:53 +00:00
Justin Ruggles
cfec09e914 check for request_channels in dca init function
Originally committed as revision 11423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 21:23:57 +00:00
Justin Ruggles
ef7f2bb782 add downmixing support to libfaad decoder
Originally committed as revision 11422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 21:08:20 +00:00
Justin Ruggles
1d8cfa3168 cosmetics: indentation after last commit
Originally committed as revision 11421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 18:40:49 +00:00
Justin Ruggles
646800f79c move E-AC3 header parsing to ff_ac3_parse_header()
Originally committed as revision 11420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 18:39:55 +00:00
Justin Ruggles
86ad4c7e1b remove unneeded variables from AC3HeaderInfo
Originally committed as revision 11419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 17:04:57 +00:00
Justin Ruggles
3eca1e6fad do not set channels before checking request_channels
Originally committed as revision 11418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 16:47:40 +00:00
Justin Ruggles
dc7009ea1b use request_channels in liba52 decoder
Originally committed as revision 11417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 16:45:25 +00:00
Justin Ruggles
2816d32310 cosmetics: indentation
Originally committed as revision 11416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 15:23:39 +00:00
Justin Ruggles
95283c1701 check for request_channels at codec init
Originally committed as revision 11415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 15:22:53 +00:00
Justin Ruggles
6cd325c106 do not set channels before checking request_channels
Originally committed as revision 11414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 15:18:15 +00:00
Justin Ruggles
f228eb737b adjust output channels based on AVCodecContext.request_channels in AC3 parser
Originally committed as revision 11412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 05:36:00 +00:00
Michael Niedermayer
9bd005bdbc Drop non key frames before the first key frame.
Originally committed as revision 11411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 01:14:09 +00:00
Aurelien Jacobs
3abe5fbdc4 improve CRC API
- don't export any global var
 - provide either generated or hardcoded tables

Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Benjamin Larsson
9389e63c83 Enable proper output from the LFE channel, based on patch from Mathias Rauen dear dot madshi at net
Originally committed as revision 11407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 20:02:10 +00:00
Kostya Shishkov
f1917274cc RV30 thirdpel motion compensation support
Originally committed as revision 11398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 17:50:45 +00:00
Diego Biurrun
0c89322463 Change some files to only include the necessary headers.
Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 13:38:25 +00:00
Benoit Fouet
1234585fac Initialize "saved" buffer to zero.
Patch by Vincent Penné vpenne wyplay com and Denes Balatoni

Originally committed as revision 11393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 13:18:28 +00:00
Justin Ruggles
7564658bbc cosmetics: indentation and add a TODO comment
Originally committed as revision 11389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 00:39:03 +00:00