Commit Graph

5404 Commits

Author SHA1 Message Date
Diego Biurrun
ef4d08ac6d Add standard licensing header to files that lack it.
Originally committed as revision 9573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 10:02:01 +00:00
Diego Biurrun
f082badc21 cosmetics: typo
Originally committed as revision 9572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 09:58:38 +00:00
Aurelien Jacobs
196b8b4ecc don't compile some mpeg4 encoder code when encoders are disabled
Originally committed as revision 9571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 08:40:00 +00:00
Vitor Sessak
5b154bd5cd Port some useful comments from newest version of David Hammerton's decoder (from which alac.c is based)
Originally committed as revision 9570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 03:40:37 +00:00
Måns Rullgård
4f13e73392 avoid deprecation warnings for ImgReSampleContext from avcodec.h
Originally committed as revision 9568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 22:15:07 +00:00
Aurelien Jacobs
b776e3d11b move ff_set_qscale from h263.c to mpegvideo.c
Originally committed as revision 9567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 21:07:24 +00:00
Aurelien Jacobs
3a763f0f0b split rawvideo encoder and decoder in their own files
Originally committed as revision 9560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 16:26:11 +00:00
Aurelien Jacobs
0d336e44db compile rangecoder.o only when needed
Originally committed as revision 9559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 15:57:13 +00:00
Benoit Fouet
93f4823935 bring back h264 build
Originally committed as revision 9555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 07:51:54 +00:00
Måns Rullgård
640b73e17d use correct type for palette
Originally committed as revision 9554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 00:08:47 +00:00
Måns Rullgård
d8e76049d6 indent
Originally committed as revision 9553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:12 +00:00
Måns Rullgård
5ffcb1be1f set sample rate in more logical place, kill warning
Originally committed as revision 9552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:10 +00:00
Måns Rullgård
6785cae35c trivial warning fixes
Originally committed as revision 9551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:08 +00:00
Måns Rullgård
4a64abdc63 kill warnings
Originally committed as revision 9550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:04 +00:00
Måns Rullgård
8d15910aff fix warning
Originally committed as revision 9549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:02 +00:00
Måns Rullgård
a00177a952 make arguments to ssd_int8_vs_int16() const
Originally committed as revision 9548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:00 +00:00
Måns Rullgård
bad700e346 trivial warning fixes
Originally committed as revision 9547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:14:54 +00:00
Christophe Gisquet
ccef714035 Pass modes as parameters instead of calculating them inplace.
Patch by by Christophe GISQUET ( echo $name| awk '//{sub(" ",".");print tolower($0) "@free.fr";}')
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:34:02 +00:00
Christophe Gisquet
803b090449 Replace function declarations with macro
Patch by by Christophe GISQUET ( echo $name| tr "[A-Z ]" "[a-z.]"|sed s/.*/&@free.fr/ )
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:26:13 +00:00
Christophe Gisquet
e95c953b55 Drop ff_ prefix for static functions
Patch by by Christophe GISQUET ( echo $name| tr "[A-Z ]" "[a-z.]"|sed s/$/@free.fr/ )
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:23:44 +00:00
Stefan Gehrer
844d9012a6 split decoder-specific parts into their own file
Originally committed as revision 9533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 07:37:30 +00:00
Stefan Gehrer
1503063f83 prepare splitting decoder-only parts into own file:
make commonly used tables global

Originally committed as revision 9532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 07:13:25 +00:00
Roman Shaposhnik
c21f308e77 * Getting rid of the use of GCC language extensions
Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 03:16:59 +00:00
Aurelien Jacobs
58e28fd5c4 simplify ff_copy_bits() when compiled with config-small
Originally committed as revision 9526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 23:03:14 +00:00
Måns Rullgård
3c3f7ce15a whitespace cosmetics
Originally committed as revision 9524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:29 +00:00
Måns Rullgård
a7b67850f4 add 64-bit bytestream read/write functions
Originally committed as revision 9523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:27 +00:00
Stefan Gehrer
ceb48b46f8 prepare splitting decoder-only parts into own file:
make commonly used functions global

Originally committed as revision 9519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 07:35:18 +00:00
Stefan Gehrer
218b3ae970 move dequantization into its own inline function
Originally committed as revision 9518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 07:14:58 +00:00
Stefan Gehrer
ce7088b9a8 cosmetic: rename VLC tables to make clear they
are for decoding

Originally committed as revision 9517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:49:20 +00:00
Stefan Gehrer
07caa46e99 setting special motion vectors in intra macroblocks
is now in its own inline function

Originally committed as revision 9516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:34:30 +00:00
Stefan Gehrer
8a35c8e71a setting intra prediction modes to default values
in inter macroblocks is now in its own inline
function

Originally committed as revision 9515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:27:44 +00:00
Stefan Gehrer
25c899471d move modification of intra prediction modes into
its own inline function

Originally committed as revision 9514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:15:05 +00:00
Stefan Gehrer
e183b6d17c move preparation of chroma intra prediction into its
own inline function

Originally committed as revision 9513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 05:27:59 +00:00
Stefan Gehrer
b8524fd13f move existing inline functions from cavs.c to cavs.h
Originally committed as revision 9512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 05:03:22 +00:00
Stefan Gehrer
2a3cc9730f move context structure definition from cavs.c to cavs.h
Originally committed as revision 9511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 04:58:54 +00:00
Stefan Gehrer
ac83e7b235 make vector constants global
Originally committed as revision 9510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 04:54:05 +00:00
Janne Grunau
ab2cfc59a6 free thread context
patch by Janne Grunau: [janne-ffmpeg grunau be]

Originally committed as revision 9508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:24:08 +00:00
Aurelien Jacobs
5416616588 split SVQ1 decoder and encoder in their own files
Originally committed as revision 9507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:19:35 +00:00
Benoit Fouet
b54bb84c36 set thread_opaque to NULL when freeing it
Originally committed as revision 9506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:17:52 +00:00
Andreas Öman
4691a77db4 Add support for streams with different chroma_qp_index_offset
for Cr and Cb
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:21:37 +00:00
Aurelien Jacobs
5084ed3a9f simplify ff_copy_bits: merge 2 test branches
Originally committed as revision 9504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:14:41 +00:00
Aurelien Jacobs
98f7b56bb6 move ff_copy_bits to bitstream.c
Originally committed as revision 9503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:13:25 +00:00
Kostya Shishkov
3662aa766f Drop redundant assignment and variable
Originally committed as revision 9502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:11:29 +00:00
Stefano Sabatini
c0de00dac5 me option implemented as an AVOption
patch by Stefano Sabatini: [stefano sabatini-lala poste it]
original thread:
[FFmpeg-devel] [PATCH] ffmpeg.c -me option implemented as an AVOption
date: 07/05/2007 03:12 PM

Originally committed as revision 9501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 11:47:02 +00:00
Andreas Öman
042ef4b720 Precompute a chroma_qp table with index offset for each pps,
this saves speed for the upcoming secondqp fix.
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:58:08 +00:00
Andreas Öman
4bbdf13f9e Compute the dequant coefficient table ptr outside the loop,
this saves speed for the upcoming secondqp fix.
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:55:37 +00:00
Aurelien Jacobs
32a4d995ea include snow encoder only if it is not disabled
Originally committed as revision 9494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 22:57:52 +00:00
Diego Biurrun
ab4e14be4c spelling/grammar
Originally committed as revision 9493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 22:29:55 +00:00
Oliver Pfister
3caffb7d80 fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:47:58 +00:00
Oliver Pfister
7b62bb2b8d fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:46:48 +00:00
Måns Rullgård
f225016296 update my email address
Originally committed as revision 9489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:08:51 +00:00
Vitor Sessak
3a66812fc8 Add my last name to copyright headers
Originally committed as revision 9488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 19:53:34 +00:00
Aurelien Jacobs
b66af278ac forgot to svn add mpeg12.h in r9477
Originally committed as revision 9487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 12:59:38 +00:00
Diego Biurrun
09a6682648 typos
Originally committed as revision 9486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 12:06:02 +00:00
Diego Biurrun
bd9fb0a6e1 UTF-8 conversion
Originally committed as revision 9485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:41:37 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Diego Biurrun
7b94177e37 Group all copyright and author notices together.
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Aurelien Jacobs
cacfe026a8 make DCT_common_init() static
Originally committed as revision 9482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:55:48 +00:00
Diego Biurrun
a22caa6a3e Add missing license header.
Originally committed as revision 9481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:50:00 +00:00
Aurelien Jacobs
53727262cb move mpeg encoder specific initialization in the encoder specific file
Originally committed as revision 9480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:48:29 +00:00
Aurelien Jacobs
eaa7557c73 add proper ff_ prefix to new extern symbols
Originally committed as revision 9479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:21:55 +00:00
Aurelien Jacobs
56be950afa cosmetics: indentation
Originally committed as revision 9478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:09:53 +00:00
Aurelien Jacobs
a6bc573158 split mpeg12 encoder out of mpeg12.c
Originally committed as revision 9477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:08:28 +00:00
Måns Rullgård
85d366fd02 use av_freep() in free_vlc() and failed init_vlc()
Originally committed as revision 9474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 06:47:00 +00:00
Vitor Sessak
8448946e37 Remove more useless parentheses.
Originally committed as revision 9471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 03:01:53 +00:00
Benoit Fouet
3ada94ba28 Description: split mpegvideo.c
Originally committed as revision 9467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 09:55:56 +00:00
Diego Biurrun
82634feeb5 CONFIG_XVID --> CONFIG_LIBXVID
Originally committed as revision 9466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 09:12:55 +00:00
Vitor Sessak
737b7fb93e Remove useless parentheses.
Originally committed as revision 9465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 02:52:40 +00:00
Vitor Sessak
1926bd92d5 Remove variables made unused by the last two patches and test svn access.
Originally committed as revision 9464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 02:50:36 +00:00
Diego Biurrun
224906414b Remove leading underscores from specifiers, they are reserved.
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Vitor Sessak
35c621e753 use properly AVFrame.linesize
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:21:41 +00:00
Vitor Sessak
fb44e0706f use properly AVFrame.linesize
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:20:12 +00:00
Diego Biurrun
313bacddc0 Add missing comment markers to #endif directive.
Originally committed as revision 9454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:08:47 +00:00
Alexis Ballier
d3b7406c6f QT RLE encoder
patch by Alexis Ballier: [alexis ballier gmail com]
original thread: [FFmpeg-devel] [Patch] QT RLE encoder, bis
date: 06/24/2007 03:56 PM

Originally committed as revision 9452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:06:28 +00:00
Kostya Shishkov
26bdc6bc6e this prediction direction adjustment is wrong
Originally committed as revision 9450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-28 15:53:36 +00:00
Ivan Kalvachev
a8ff69ce2b Identify the loop_filter flag as such and remove the unused variables in the context.
Originally committed as revision 9447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 14:27:47 +00:00
Vitor Sessak
a7ae617fbd use the right stride
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 10:40:29 +00:00
Vitor Sessak
670e47e196 use the right stride
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 06:57:31 +00:00
Vitor Sessak
bc9f081d53 indentation
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:13:59 +00:00
Vitor Sessak
7299663a50 right copyrights
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:13:09 +00:00
Vitor Sessak
9489d2ef3f add width and height in context and use them
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:10:26 +00:00
Benoit Fouet
dad66beeff Indentation
Originally committed as revision 9437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 18:01:15 +00:00
Benoit Fouet
5b43487d23 test context before accessing it
Originally committed as revision 9436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 18:00:50 +00:00
Benoit Fouet
57ae779d41 add an AVClass pointer in SwsContext context
Originally committed as revision 9434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 16:09:55 +00:00
Vitor Sessak
03e3e76544 RoQ video encoder
patch by Vitor: \vitor1001 gmail com/
original thread: [FFmpeg-devel] RoQ video encoder (take 3)
date: 06/08/2007 10:34 PM

Originally committed as revision 9420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 12:09:23 +00:00
Vitor Sessak
606975ab01 Fix typo
patch by Vitor: {vitor1001 gmail com}

Originally committed as revision 9419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 07:29:45 +00:00
Michael Niedermayer
28bf121a22 get rid of one unneeded #ifdef HAVE_XVMC
Originally committed as revision 9389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 17:18:58 +00:00
Marc Hoffman
aa6bfe8324 removing dependency on bfin_sram.h, which is not used right now
Originally committed as revision 9388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 13:44:58 +00:00
Marc Hoffman
bd92f4f39b renaming L1CODE to attribute_l1_text, which is defined in dsputil_bfin.h
Originally committed as revision 9387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 13:43:47 +00:00
Fortin Denis
b05b193172 modify msmpeg4 functions to generate VC1 compatible block layer bitstream
patch by Fortin Denis: \fortin nerim net/
original thread: [FFmpeg-devel] [PATCH] wmv3 encoder : msmpeg4.c changes
date: 06/19/2007 09:54 PM

Originally committed as revision 9386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 08:35:21 +00:00
Denis Fortin
c68a173ef3 static (inline) X => ff_X
patch by Denis Fortin: \fortin nerim net/
original thread: [FFmpeg-devel] [PATCH] wmv3 encoder : msmpeg4.c changes
date: 06/19/2007 09:54 PM

Originally committed as revision 9381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 07:53:48 +00:00
Andreas Öman
b69378e295 Don't swap back un-deblocked lines for intra prediction when
at slice boundaries for deblocking-type 2 content.

This is needed for slice based threading only and doesn't do much
good or bad otherwise.
Patch by Andreas Oman %andreas A olebyn P nu%
Original thread:
date: Jun 18, 2007 1:21 PM
subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized,

Originally committed as revision 9380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 07:52:06 +00:00
Stefano Sabatini
c0ad72a787 split frame rate and frame size abbreviation into two structures
patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 9379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 07:46:48 +00:00
Benoit Fouet
255eccab6e move dct_quantize and denoise_dct function pointers initialization to C
functions after arch dependant initializations

Originally committed as revision 9375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 11:01:50 +00:00
Andreas Öman
24456882f3 Do not reuse the rbsp de-escape buffer if both
the intra and inter -nal units are escaped
patch by Andreas Öman: \andreas olebyn nu/
original thread:
[FFmpeg-devel] [PATCH] h264: rbsp de-escape and data partitioning..
date: 06/20/2007 09:32 AM

Originally committed as revision 9374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 08:53:53 +00:00
Benoit Fouet
64e26e8c27 remove unused constant definition
Originally committed as revision 9372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 07:08:00 +00:00
Andreas Öman
995a30c06b Decouple bit context from h264 context in decode_ref_pic_marking()
(done in order to implement slice-level parallel decoding)
Patch by Andreas Öman % andreas olebyn nu %
Original thread:
Date: Jun 15, 2007 10:10 PM
Subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)

Originally committed as revision 9371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-19 21:34:04 +00:00
Benoit Fouet
8c71c5e454 aanscales is used only with CONFIG_ENCODERS
Originally committed as revision 9370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-19 21:14:19 +00:00
Andreas Öman
1c48415bb9 indentation
patch by Andreas Öman: [andreas olebyn nu]

Originally committed as revision 9360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-18 08:48:26 +00:00
Guillaume Poirier
efb775777f add a comment to indicate which #endif belong to which #define
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård
9cafbd6c49 simplify ppc64 handling
Originally committed as revision 9355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 15:47:03 +00:00
Guillaume Poirier
e970d98c47 restore GCC3 support
Originally committed as revision 9353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 12:38:51 +00:00
Guillaume Poirier
7d2bf29c88 re-enable use of h264_v_loop_filter_luma_altivec and h264_h_loop_filter_luma_altivec,
they work fine now

Originally committed as revision 9350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:38:35 +00:00
Graham Booker
22fa38f0c8 part 2/2 of fixing Altivec-accelerated H264 luma inloop filter
In h264_deblock_q1, the result of the deblock needs to be kept to
be used in future deblocks, so return this value now.

Also change the sign of tc0 vector: It is really a signed value, so
treat it as such until after the >=0 check;
then, at that point, after being masked, it can be treated as unsigned.

Patch by Graham Booker % gbooker A tamu P edu%

Originally committed as revision 9349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:37:13 +00:00
Guillaume Poirier
963eca226e convert h264_deblock_q1 to an inline function.
part 1/2 of fixing Altivec-accelerated H264 luma inloop filter

Originally committed as revision 9348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:14:02 +00:00
Måns Rullgård
699b3f99d0 add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Måns Rullgård
99545457bf include all prerequisites in header files
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:59:13 +00:00
Måns Rullgård
c2d08dc0d7 move a couple of macros and structs to mpegaudio.h
Originally committed as revision 9343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:58:43 +00:00
Andreas Öman
b41c1db38d Factor out init_scan_tables(), patch by Andreas Öman %andreas A olebyn.nu%
original thread:
Date: Jun 15, 2007 10:10 PM
Subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)

Originally committed as revision 9341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 19:54:04 +00:00
Graham Booker
f4a02f6e9b Use a faster way to compute 255-val: Instead of creating a vector of
all 255s, and then doing the subtraction, nor of the vector with itself: saves
one instruction and a register.
Patch by Graham Booker % gbooker A tamu P edu%

Originally committed as revision 9340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 18:59:10 +00:00
Måns Rullgård
b3e83c965d move definition of MB_TYPE_H261_FIL to h261.h so h261.c doesn't
need to #include "h261data.h"

Originally committed as revision 9339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 15:15:19 +00:00
Måns Rullgård
859cfdc0e6 correct type of qsort() comparison callback
Originally committed as revision 9338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 15:15:17 +00:00
Måns Rullgård
e336139f0c correct type for h263_parse()
Originally committed as revision 9337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 15:15:16 +00:00
Måns Rullgård
e1659f0cc7 fix indentation
Originally committed as revision 9336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:12 +00:00
Måns Rullgård
dfdf9e78f3 replace endian detection hack with #ifdef WORDS_BIGENDIAN
Originally committed as revision 9335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:10 +00:00
Måns Rullgård
706da4af32 fix some printf format specifiers
Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:05 +00:00
Måns Rullgård
8657d5e549 correct type for {put,avg}_h264_chroma_mc2_mmx2
Originally committed as revision 9333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:51:57 +00:00
Måns Rullgård
bb5705b988 kill some "defined but not used" warnings
Originally committed as revision 9332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 11:44:57 +00:00
Måns Rullgård
119e2c0056 kill a warning on 64-bit machines
Originally committed as revision 9331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 11:44:54 +00:00
Måns Rullgård
a1bee08046 move dsputil_init_foo() out from #ifdef
Originally committed as revision 9330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 10:44:46 +00:00
Måns Rullgård
3f5b56e58b replace TARGET_* with HAVE_* simplifying lists in configure script
Originally committed as revision 9324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 20:35:44 +00:00
Måns Rullgård
18ca9a4a99 replace TARGET_ARCH_* to ARCH_* for consistency
Originally committed as revision 9322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 20:35:37 +00:00
Aurelien Jacobs
4f74c5855b use if() instead of #ifdef and ensure all possible optimisations are enabled
Originally committed as revision 9320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 18:18:31 +00:00
Guillaume Poirier
fbb578e90d some samples aren't decoded correctly such as
( http://www.pennfans.net/files/videos/Penn&Teller.on.The.View.mp4 )
with current Altivec implementation of loopfilter, while others are fine.
Let's disable it until we iron this bug out.

Originally committed as revision 9317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 08:22:06 +00:00
Panagiotis Issaris
91a2974ee9 Remove unneeded semicolon.
Originally committed as revision 9316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 08:16:24 +00:00
Panagiotis Issaris
d111e41fd3 Correct signature of just_return().
Originally committed as revision 9315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 08:15:45 +00:00
Panagiotis Issaris
233ed44543 Remove an unreferenced variable from qpeg_decode_inter().
Originally committed as revision 9309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 16:16:37 +00:00
Benoit Fouet
71fd12253d add and remove some parentheses
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 09:32:04 +00:00
Albert Lee
ad0f6c1fcd Simplify init preprocessor statements.
patch by Albert Lee, trisk+xine acm.jhu edu

Originally committed as revision 9307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 08:44:41 +00:00
Nicolas George
6b0cdb6e04 More detailed documentation
patch by Nicolas George: [nicolas george normalesup org]

Originally committed as revision 9305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 07:28:16 +00:00
Marc Hoffman
57870214ab removing underscores from block profiling renaming to xx_
Originally committed as revision 9303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 12:46:27 +00:00
Carl Eugen Hoyos
c9823f0577 Improve understanding ofavcodec_find_decoder()
patch by Carl Eugen Hoyos: ! cehoyos ag or at !

Originally committed as revision 9301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:28:00 +00:00
Lord
58d1dc0e9b Workaround adjustments for DivX 6.1 and later
patch by Lord: [ Lord_veryrandomD8 yahoo com ]

Originally committed as revision 9300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:25:48 +00:00
Guillaume Poirier
da1fce3921 cosmetics
Originally committed as revision 9298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:44:38 +00:00
Sigbjorn Skjaeret
0aec30c58d kill one vector constant value load by the right combination of vec_splatX/vec_sl
patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%

Originally committed as revision 9296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:24:25 +00:00
Sigbjorn Skjaeret
525751c053 restore GCC2/3 support, patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%
Originally committed as revision 9295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:17:22 +00:00
Marc Hoffman
1a822d303f integrating MPV_common_init_bfin into the build system and mpegvideo.c
Originally committed as revision 9294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:34:06 +00:00
Marc Hoffman
50ee61dda2 Blackfin dct_quantize_bfin routine
2x performance boost in performing quantization for mpeg encoding

Originally committed as revision 9293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:13:50 +00:00
Marc Hoffman
ea6ad30ce9 Blackfin IDCT has no special permutation it uses normal order
Originally committed as revision 9292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:06:39 +00:00
Diego Biurrun
90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Kostya Shishkov
c294d7c6ba Typo
Originally committed as revision 9290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 15:03:28 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Stefano Sabatini
26ef3220cf Move the video size and rate abbreviations system from libavformat to libavcodec
patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it]
original thread:
[FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system
date: 06/02/2007 05:30 PM

Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:06:54 +00:00
Michael Donaghy
3cce801a0b fix 8- and 24-bit FLAC decoding
Patch by Michael Donaghy %md401 A cam P ac P uk%
Original thread:
date: Jun 10, 2007 4:48 PM
subject: [FFmpeg-devel] [PATCH] Bugfix: decoding 8- and 24-bit FLAC files

Originally committed as revision 9286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 07:59:43 +00:00
Aurelien Jacobs
0c33dac236 move codecs declarations from avcodec.h to allcodecs.h
Originally committed as revision 9283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 16:05:32 +00:00
Guillaume Poirier
c01d444b3e one step closer to restoring GCC-3.3 support: kills 12 errors, just 2 to go
Originally committed as revision 9280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 08:00:31 +00:00
Eric Lasota
7c68b47b78 Cygwin compatibility workaround
patch by Eric Lasota: [ riot icculus org ]
original thread: [FFmpeg-devel] [PATCH] elbg.c Cygwin compatibility workaround
date: 06/09/2007 09:26 AM

Originally committed as revision 9279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 07:57:15 +00:00
Ronald S. Bultje
097e1da470 Adapt to API changes, fix compilation.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 13:54:11 +00:00
Guillaume Poirier
5ce27e8c92 minor GCC3 compile fix
(there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down)

Originally committed as revision 9265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 22:20:24 +00:00
Graham Booker
f057cc0399 Altivec version of h264_(h|v)_loop_filter_luma
patch by Graham Booker % perian A cod3r P com% with some minor fixes by me.
historic of the patch: http://trac.perian.org/ticket/113
Original thread:
Date: May 11, 2007 9:45 PM
Subject: [FFmpeg-devel] [PATCH] Altivec version of-altivec h264_h-v_loop_filter_luma

Originally committed as revision 9264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 19:13:34 +00:00
Ronald S. Bultje
12807c8d87 Add some #includes to allow compilation without HAVE_AV_CONFIG_H.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 17:52:16 +00:00
Graham Booker
ee387b57fd work around issues with the old version of Gnu Assembler shipped on
Intel / OSX 10.4.9
patch by Graham Booker % gbooker A cod3r P com %
Original thread:
Date: May 25, 2007 11:51 PM
Subject: [FFmpeg-devel] r9017 breaks WMA decoding on Intel Macs
The patch:
Date: Jun 3, 2007 4:37 PM
Subject: Re: [FFmpeg-devel] r9017 breaks WMA decoding on Intel Macs

Originally committed as revision 9260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 20:35:30 +00:00
Ronald S. Bultje
bcbd6603dd emms --> emms_c, taken from a patch by Ronald Bultje
Originally committed as revision 9253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 21:31:26 +00:00
Diego Biurrun
2458c5c1c4 Use consistent names for all test programs.
Originally committed as revision 9252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:21:34 +00:00
Diego Biurrun
34933442ac Preprocessor #defines starting with __ are reserved for the system.
Originally committed as revision 9251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:19:37 +00:00
Ronald S. Bultje
3d4e3e560f Use FFmpeg-specific CPU feature definitions.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:18:01 +00:00
Ronald S. Bultje
ac237a2f5d Add CPU feature definitions for SSE3 and SSSE3.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 16:58:08 +00:00
Ronald S. Bultje
d07026cd16 CPU feature definitions should always be available, not just when the
CPU feature is enabled.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 16:15:20 +00:00
Diego Biurrun
94254fc00e Only run MMX2 tests when MMX2 is available.
Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:59:15 +00:00
Diego Biurrun
b9702de506 Fix linking when GPL code has been disabled.
Originally committed as revision 9244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:54:49 +00:00
Ronald S. Bultje
ee3035f31e Fix compilation when MMX is disabled.
inspired by a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:30:54 +00:00
Diego Biurrun
b0b0d7e78c FAAN is not x86-specific.
Originally committed as revision 9242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:27:53 +00:00
Andreas Öman
93cc10fa9c h264: use 'simple' in border backup / xchg
patch by Andreas Öman: [andreas olebyn nu]
original thread:
subject: [FFmpeg-devel] [patch] h264: use 'simple' in border backup / xchg
date: 06/07/2007 03:24 PM

Originally committed as revision 9237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 13:51:06 +00:00
Diego Biurrun
9097a8e48d Add some forgotten lib prefixes to Makefile variables.
Originally committed as revision 9235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 18:56:14 +00:00
Eric Lasota
160228f894 Rename cb field
patch by Eric Lasota: [riot at icculus org]
original thread: [FFmpeg-devel]   [PATCH] RoQ decoder 4:4:4 update
date: 06/05/2007 09:22 PM

Originally committed as revision 9231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 10:40:05 +00:00
Diego Biurrun
1cc60c47c5 Consistent naming and lib prefixes for x264, xvid and mp3lame within the code.
Originally committed as revision 9230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 08:51:41 +00:00
Diego Biurrun
b04f49c74c Give names of external library decoders/encoders a lib prefix
in the ffmpeg/ffplay output.

Originally committed as revision 9227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 08:41:45 +00:00
Diego Biurrun
6f1af73557 Give all wrappers for external libraries names starting with lib.
Originally committed as revision 9226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 00:14:18 +00:00
Diego Biurrun
83bc90dcfd Remove unused variables.
Originally committed as revision 9224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 14:18:13 +00:00
Eric Lasota
3ccda4ca91 Convert RoQ decoder to use YUV 4:4:4 unpacked macroblocks
instead of packed 4:2:0 clusters
patch by Eric Lasota: \ riot icculus org /
original threads: [FFmpeg-devel]   [PATCH] RoQ decoder 4:4:4 update
date: 06/04/2007 03:52 AM and 06/05/2007 01:10 AM

Originally committed as revision 9223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 08:05:16 +00:00
Denis Fortin
f0edfda578 Rename code012() to ff_code012(), and remove static qualifier: paves the way
to vc1 encoder, as this function would be useful there.
patch by Denis Fortin % fortin A nerim P net %
Original thread:
date: Jun 4, 2007 9:23 PM
subject: Re: [FFmpeg-devel] [RFC] move wmv2.c to its own file

Originally committed as revision 9222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 07:18:29 +00:00
Diego Biurrun
ac3967c1ce spelling
Originally committed as revision 9221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 23:07:27 +00:00
Christian Lohmaier
c11aac6cda fix error: indeo2.c:202:1: directives may not be used inside a macro argument,
introduced when init_vlc was turned into a macro
Patch by Christian Lohmaier %cloph A openoffice P org%

Originally committed as revision 9198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:03:24 +00:00
Vitor Sessak
ddcf4b5d6d Codebook generator using the ELBG algorithm
patch by Vitor: printf(vitor%d gmail com, 1001)
original thread: Re: [FFmpeg-devel] [PATCH] Add a codebook generator
                 (was: [PATCH] RoQ video encoder, take 2)
date: 05/28/2007 01:21 PM

Originally committed as revision 9196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 07:28:34 +00:00
Luca Barbato
5dda253943 h264_idct_add_altivec, based on an old patch from Mauricio Alvarez <alvarezATac.upc.edu>, polished by David Conrad <umovimusATgmail.com>
Originally committed as revision 9182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 13:27:44 +00:00
Andreas Öman
83b3401731 filter_mb_fast() doesn't handle h->deblocking_filter==2 (skip slice edges), so delegate that case to filter_mb().
Patch by Andreas Öman [andreas at olebyn dot nu].

Originally committed as revision 9180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 11:44:43 +00:00
Diego Biurrun
69ddbd1dad Rename aac_decoder to libfaad_decoder for consistency and to be able to
more easily add a possible future native decoder.

Originally committed as revision 9172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 11:44:44 +00:00
Diego Biurrun
c9171a830b Rename faac_encoder to libfaac_encoder for consistency and to be able to
more easily add a possible future native encoder.

Originally committed as revision 9171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 11:20:24 +00:00
Ramiro Polla
e5e587afbe Remove get_byte wrapper
Originally committed as revision 9170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:42:47 +00:00
Ramiro Polla
2c124cb65c Use AV_xx throughout libavcodec
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:41:07 +00:00
Michael Niedermayer
29b29011e5 fix skipped blocks
fixes decoding of (http://samples.mplayerhq.hu/game-formats/idroq/bf2introseg.roq)

Originally committed as revision 9168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-01 21:17:05 +00:00
Michael Niedermayer
0fa9a5ddc7 check qblur > 1 (prevent assert failure / segfault)
fixes sf bug #797610

Originally committed as revision 9166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-31 21:40:22 +00:00
Michael Niedermayer
47b777ceed sanity checks (should prevent hypothetical div by zero issue)
should fix sf bug #1547313

Originally committed as revision 9164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 23:06:37 +00:00
Michael Niedermayer
61d49d122c fix assert() 2nd try
Originally committed as revision 9163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 21:38:57 +00:00
Stefano Sabatini
c3b95b1d3d Add support for listing the supported pixel formats using the option
-pix_fmt list
patch by Stefano Sabatini stefano sabatini minus lala chez poste it
original thread: [FFmpeg-devel] [PATCH] List supported pixel formats
date: 05/25/2007 05:46 PM

Originally committed as revision 9162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 14:20:55 +00:00
Carl Eugen Hoyos
154e30f6c2 rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:32:25 +00:00
Michael Niedermayer
1e6b570087 fix assertion failure
Originally committed as revision 9152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 16:51:55 +00:00
Kostya Shishkov
3dba31aa0d Do proper frame swapping so VMD video decoder works again
Originally committed as revision 9151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 16:43:25 +00:00
Vitor Sessak
55c970e349 Split RoQ decoder to accommodate future encoder patch
patch by Vitor vitor1001 gmail moc
original thread: [FFmpeg-devel] [PATCH] RoQ video encoder, take 2
date: 05/27/2007 12:21 PM

Originally committed as revision 9149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 15:01:33 +00:00
Andreas Öman
7978debdc2 allocate PPS and SPS dynamically
patch by Andreas Öman andreas ta olebyn tod nu
reference thread:
subject: [FFmpeg-devel] [PATCH] h264: allocate PPS and SPS dynamically
date: 05/28/2007 03:00 PM

Originally committed as revision 9148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 14:35:29 +00:00
Vitor Sessak
750cbd34c9 cosmetics and function rename
patch by Vitor ken1001 gmail com | sed -e s/ken/vitor/
reference thread:
subject: [FFmpeg-devel] [PATCH] RoQ video encoder, take 2
date: 05/27/2007 12:21 PM

Originally committed as revision 9147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 12:20:40 +00:00
Diego Biurrun
42610c4983 Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
Originally committed as revision 9145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-28 09:30:41 +00:00
Michael Niedermayer
d5aa01cd30 make decoder decode the first frame properly if theres more than just one
frame input

Originally committed as revision 9144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 22:34:49 +00:00
Harald Karnet
f1edd8ef90 Correct the parameter order for the call to "av_clip".
Patch by Harald Karnet, harald karner % gmx net.
Thread [FFmpeg-devel] [PATCH] Bugfix H.263+ encoder frame header corruption

Originally committed as revision 9131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 14:42:11 +00:00
Loren Merritt
8be6dac8dc merge huffman tables for rgb too
Originally committed as revision 9124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 00:16:14 +00:00
Loren Merritt
f45fcba303 cosmetics (reduce nesting)
Originally committed as revision 9119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 19:04:19 +00:00
Loren Merritt
acc0e0c8b6 use sparse huffman tables. 1.5% faster huffyuv decoding.
Originally committed as revision 9118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 17:40:02 +00:00
Loren Merritt
b613bacca9 add init_vlc_sparse(). faster than init_vlc() if there are lots of holes in the tables.
Originally committed as revision 9117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 17:38:56 +00:00
Sergey Vlasov
32dd6a9c78 fix dca_bitalloc_index decoder init
Patch by Sergey Vlasov (printf("%csu at altlinux%s",'v',".ru");)
Thread [FFmpeg-devel] [PATCH] dca: fix dca_bitalloc_index decoder init

Originally committed as revision 9115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 04:08:48 +00:00
Sergey Vlasov
56e4603e67 Fix dca.c compilation with #define TRACE
Patch by Sergey Vlasov (v\0163u at \0141ltlinux.ru)
Thread [FFmpeg-devel] [PATCH] dca: fix compilation with #define TRACE

Originally committed as revision 9114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 04:02:47 +00:00
Oded Shimon
8d641aedb9 fix mjpeg decoding with broken huffman table headers
Originally committed as revision 9111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 18:41:34 +00:00
Ramiro Polla
67a5daf07f Remove duplicate bytestream functions
Originally committed as revision 9108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 14:55:13 +00:00
Panagiotis Issaris
cb1a74cf8c Export the four remaining H.264 decoder intra prediction functions for reuse in
the H.264 encoder. These functions are: pred8x8_left_dc_c, pred8x8_top_dc_c,
pred16x16_left_dc_c and pred16x16_top_dc_c.

Originally committed as revision 9107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 13:46:11 +00:00
Panagiotis Issaris
9aee21c8f7 Reindent
Originally committed as revision 9106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:07:57 +00:00
Panagiotis Issaris
4edda03480 Make the compilation of h264idct.c optional.
Originally committed as revision 9105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:07:23 +00:00
Loren Merritt
19716d6478 merge huffman tables so that we read 2 symbols at a time. 30% faster huffyuv decoding.
Originally committed as revision 9104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:02:07 +00:00
Diego Biurrun
f353fbd205 Remove mdct.o and fft.o from fft-test prerequisites list.
Both objects were added to the link command, resulting in multiple definitions
of symbols. Now linking works in the general case when mdct.o and fft.o are
compiled into libavcodec.a.

Originally committed as revision 9097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:08:38 +00:00
Panagiotis Issaris
6f9a35bb35 Only compile golomb.c when needed.
Originally committed as revision 9094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:28:37 +00:00
Panagiotis Issaris
d72ecaf5af Fix compilation when the Sonic encoder and decoder were disabled and only the Sonic
LS encoder enabled.

Originally committed as revision 9093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:24:31 +00:00
Panagiotis Issaris
8fae7b6f60 Only compile cabac.c when needed.
Originally committed as revision 9092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:55:02 +00:00
Aurelien Jacobs
d0d866e09f vorbis encoder missed rename to libvorbis
Originally committed as revision 9091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:54:12 +00:00
Panagiotis Issaris
d632239c9c Split the h261.c file into separate files for the encoder, decoder and common stuff.
Originally committed as revision 9090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:51:29 +00:00
Diego Biurrun
86c33b29d2 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
other test programs. As a positive sideeffect, this makes the build system try
to actually create the executable file.

Originally committed as revision 9086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:11:27 +00:00
Diego Biurrun
14eb0a2ed1 Fix imgresample-test linking.
Originally committed as revision 9085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:05:23 +00:00
Diego Biurrun
fca6a0dd34 Add explanatory comments to some #endifs.
Originally committed as revision 9084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:01:42 +00:00
Aurelien Jacobs
9f77cab2a0 make compilation of mpegaudiodec conditional
Originally committed as revision 9083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 22:59:32 +00:00
Aurelien Jacobs
08aa2c9bd2 remove dependency of mpeg audio encoder over mpeg audio decoder
Originally committed as revision 9082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 22:50:29 +00:00
Aurelien Jacobs
ca6e50afc1 add a ff_ prefix to some mpegaudio funcs
Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 15:11:55 +00:00
Aurelien Jacobs
4bd8e17c8d loosen dependencies over mpegaudiodec
Originally committed as revision 9080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 13:40:07 +00:00
Zuxy Meng
663deb54af Remove incorrect comment; MMX2 is preferred over 3DNow! on Athlon
Originally committed as revision 9079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 05:07:44 +00:00
Michael Niedermayer
db7f647e10 use AV_LOG_ERROR instead of INFO for errors
Originally committed as revision 9078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:41:36 +00:00
Michael Niedermayer
64be2e60ef sanity checks for bitrate tolerance and buffer size (= fail if a single frame at the
requested bitrate would be bigger than the buffer size)

Originally committed as revision 9077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:35:15 +00:00
Michael Niedermayer
cb590b4842 slightly more correct spliting of frames
Originally committed as revision 9076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:05:34 +00:00
Aurelien Jacobs
bf406d90e4 move MJpegDecodeContext declaration from mjpeg.h to mjpegdec.h
Originally committed as revision 9074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 15:06:34 +00:00
Aurelien Jacobs
0a59a18b4e move mjpeg-b decoder in its own file
Originally committed as revision 9073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:58:31 +00:00
Aurelien Jacobs
82ec791834 10l: forgot to svn add mjpegdec.h
Originally committed as revision 9072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:53:55 +00:00
Aurelien Jacobs
40cce9ff91 move sp5x decoder in its own file
Originally committed as revision 9071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:40:02 +00:00
Aurelien Jacobs
5acd8d9e77 allows to disable jpegls decoder
Originally committed as revision 9070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:31:57 +00:00
Loren Merritt
98ef8c324c change brute force search to min-heap. 3.6x faster generate_len_table, 8% faster ffvhuff encoding.
Originally committed as revision 9069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 02:32:59 +00:00
Aurelien Jacobs
d2f43ca998 move mjpega_dump_header bitstream filter in its own file
Originally committed as revision 9068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:53:41 +00:00
Aurelien Jacobs
ab8072a6a2 move imx_dump_header bitstream filter in its own file
Originally committed as revision 9067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:44:41 +00:00
Aurelien Jacobs
8bf63e1c80 move dump_extradata bitstream filter in its own file
Originally committed as revision 9066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:35:27 +00:00
Aurelien Jacobs
5209c83607 move remove_extradata bitstream filter in its own file
Originally committed as revision 9065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:32:11 +00:00
Aurelien Jacobs
cd7105e6a0 move noise bitstream filter in its own file
Originally committed as revision 9064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:30:15 +00:00
Aurelien Jacobs
a975d9e288 move mp3_header_compress bitstream filter in its own file
Originally committed as revision 9063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:27:43 +00:00
Aurelien Jacobs
b57eed12da move mp3_header_decompress bitstream filter in its own file
Originally committed as revision 9062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:24:34 +00:00
Aurelien Jacobs
677fe2e226 add proper prefix to extern mpeg audio data tables
Originally committed as revision 9061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:13:35 +00:00
Aurelien Jacobs
4991c0516d move some common mpeg audio tables from mpegaudiodectab.h to mpegaudiodata.c
Originally committed as revision 9060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:06:02 +00:00
Aurelien Jacobs
63ab52b7ec move the mjpeg_encoder struct from mpegvideo.c to mjpegenc.c
Originally committed as revision 9059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:58:01 +00:00
Aurelien Jacobs
44301eaa55 add a proper prefix to all mjpeg encoder exported functions
Originally committed as revision 9058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:54:54 +00:00
Aurelien Jacobs
d9c9259f89 split ljpeg encoder out of mjpeg.c
Originally committed as revision 9057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:42:49 +00:00
Benjamin Larsson
56fd7cc584 Better error reporting.
Originally committed as revision 9056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 10:06:07 +00:00
Loren Merritt
bf1a5a46d6 cosmetics: macrofy duplicate code in huffyuv
Originally committed as revision 9055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:58:30 +00:00
Loren Merritt
390f9f3127 r3938 broke 2pass huffyuv (not that anyone uses it)
Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:56:46 +00:00
Zuxy Meng
038bfcf9d6 3DNow! and SSSE3 optimization to QNS DSP functions; use pmulhrw/pmulhrsw instead of pmulhw
Originally committed as revision 9053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:18:56 +00:00
Reimar Döffinger
2c32b173d9 Move attribute_unused to variable declarations in macros instead of
introducing a useless extra variable.

Originally committed as revision 9052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 20:18:46 +00:00
Aurelien Jacobs
670a6b133b remove libdts decoder, we have a native dts decoder
Originally committed as revision 9051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 17:04:00 +00:00
Aurelien Jacobs
944721c160 add proper prefix to new mjpeg extern func/var
Originally committed as revision 9049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 16:45:55 +00:00
Aurelien Jacobs
4922a5b0ee split mjpeg.c into an encoder and a decoder file
Originally committed as revision 9048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 16:29:11 +00:00
Guillaume Poirier
88bcb6c23f use macro Use DECLARE_ALIGNED_16 to align stack-allocated variables
instead of compiler-dependent  __attribute__((aligned(16)))
Origiginal thread:
Date: May 17, 2007 12:30 AM
Subject: [PATCH] Use DECLARE_ALIGNED_16 in libavcodec/ppc/

Originally committed as revision 9047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 14:14:53 +00:00
Benjamin Larsson
78a010fb00 Only compile fft and mdct when needed.
Initial patch by Benjamin Larsson.

Originally committed as revision 9046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 12:26:04 +00:00
Benjamin Larsson
c17a53b71f Use FFABS instead of abs.
Originally committed as revision 9045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 11:03:43 +00:00
Benjamin Larsson
54353abef2 Remove lots of unused commented code. (Cleanup)
Originally committed as revision 9041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 07:50:08 +00:00
Benjamin Larsson
3bcb658c36 Change default 1 pass blocksize to 64x64.
Originally committed as revision 9040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 07:47:02 +00:00
Aurelien Jacobs
5b0b7054b4 better separation of vp3dsp functions from dsputil_mmx.c
Originally committed as revision 9039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 23:23:45 +00:00
Denis Fortin
b8a9974544 printf --> av_log, patch by Denis Fortin, fortin nerim net
Originally committed as revision 9038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:57:27 +00:00
Diego Biurrun
605315248c Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Sergey Vlasov
31d89e1158 DTS decoding was broken for every speaker configuration except 5.1.
patch by Sergey Vlasov, vsu altlinux org

Originally committed as revision 9036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 10:50:18 +00:00
Ronald S. Bultje
b550bfaa61 Add libavcodec to compiler include flags in order to simplify header
include paths in the source files.
mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 09:51:45 +00:00
Reimar Döffinger
c6bcbb2cd3 Use DECLARE_ALIGNED to ease porting
Originally committed as revision 9031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-15 20:47:55 +00:00
Michael Niedermayer
a1f6643d62 dont write over the end of ref_cache
Originally committed as revision 9026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 23:22:02 +00:00
Panagiotis Issaris
9b5dc86746 Make vp3dsp*.c compilation optional.
Originally committed as revision 9025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 14:28:13 +00:00
Reimar Döffinger
e36d79c837 Change some leftover __attribute__((unused)) and __attribute__((used)) to
attribute_unused and attribute_used respectively to ease compiling on non-gcc.

Originally committed as revision 9024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 14:07:50 +00:00
Aurelien Jacobs
37c26ae9ff remove some unused mjpeg encoding variables
(they were always set to a constant value)

Originally committed as revision 9023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 11:53:27 +00:00
Aurelien Jacobs
7fcf41091e jpegls encoder does not call this function, so remove useless tests
Originally committed as revision 9022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 23:22:05 +00:00
Aurelien Jacobs
6ba04c2b03 split jpeg_ls into jpeglsdec, jpeglsenc and jpegls
Originally committed as revision 9021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 23:16:56 +00:00
Diego Biurrun
1adf2e564a Use TARGET_ARMV6 variable instead of HAVE_ARMV6 for consistency.
Originally committed as revision 9020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 22:15:52 +00:00
Marc Hoffman
27885fad3e Blackfin DSP utilities: add DEFUN_END
DEFUN_END macro adds the size information to the symbol
table. This is introduces no functionnal change, it's only meant to simplify
e.g. debugging
Patch by Marc Hoffman %mmh A pleasantst P com%
Original thread:
Date: May 5, 2007 12:26 PM
Subject: [FFmpeg-devel] PATCH Blackfin DSP utilities, DEFUN_END added

Originally committed as revision 9019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 20:19:22 +00:00
Zuxy Meng
25e4f8aaee Faster SSE FFT/MDCT, patch by Zuxy Meng %zuxy P meng A gmail P com%
unrolls some loops, utilizing all 8 xmm registers. fft-test
shows ~10% speed up in (I)FFT and ~8% speed up in (I)MDCT on Dothan

Originally committed as revision 9017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 16:32:32 +00:00
Alex Beregszaszi
43c7c7c7cf use DECLARE_ALIGNED from mem.h (which is included through common.h)
Originally committed as revision 9015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 14:01:15 +00:00
Aurelien Jacobs
f8b2417eba cosmetics: indent
Originally committed as revision 9014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:26:21 +00:00
Aurelien Jacobs
70724cba75 replace some #ifdef CONFIG_* by if(ENABLE_*)
Originally committed as revision 9013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:24:37 +00:00
Aurelien Jacobs
6d8bfb52f0 cosmetics: indentation
Originally committed as revision 9012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:43:23 +00:00
Aurelien Jacobs
f6993c9fa1 make compilation of mjpeg.c optional
Originally committed as revision 9011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:42:07 +00:00
Jason Millard
cd61e40781 allow to enable or disable every bitstream filters individually
Original patch by Jason Millard   jsm174 _at_ gmail
Date: On Fri, 11 May 2007 11:14:01 -0400
Subject: [FFmpeg-devel] enable/disable bitstream filters?

Originally committed as revision 9010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:33:53 +00:00
Aurelien Jacobs
cf32975222 jpegls never call this code, so those tests are useless
Originally committed as revision 9009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:50:12 +00:00
Benjamin Larsson
d2bc04738b Added support for instances where linesize[0] is negative.
Based on patch by Jason Askew, jason dot askew at gmail dot com.

Originally committed as revision 9006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 19:37:26 +00:00
Diego Biurrun
7f58baa8ca Remove redundant extern declaration of j_rev_dct that is already
present in the #included header file dsputil.h.

Originally committed as revision 9005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 10:53:33 +00:00
Diego Biurrun
7f4f3e169f cosmetics: Group all test targets together.
Originally committed as revision 9004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 10:43:45 +00:00
Loren Merritt
ff506a906e sse2 & ssse3 versions of dct_quantize.
core2: mmx2=154 sse2=73 ssse3=66 (cycles)
k8: mmx2=179 sse2=149
p4: mmx2=284 sse2=194

Originally committed as revision 9003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 05:55:09 +00:00
Loren Merritt
1edbfe1994 factor sum_abs_dctelem out of dct_sad, and simd it.
sum_abs_dctelem_* alone:
core2: c=186 mmx2=39 sse2=21 ssse3=13 (cycles)
k8: c=163 mmx2=33 sse2=31
p4: c=370 mmx2=60 sse2=60
 dct_sad including sum_abs_dctelem_*:
core2: c=405 mmx2=258 sse2=240 ssse3=232
k8: c=624 mmx2=394 sse2=392
p4: c=849 mmx2=556 sse2=556

Originally committed as revision 9001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 02:41:25 +00:00
Loren Merritt
561f940c03 sse2 & ssse3 versions of hadamard. unroll and inline diff_pixels.
core2: before mmx2=193 cycles. after mmx2=174 sse2=122 ssse3=115 (cycles).
k8: before mmx2=205. after mmx2=184 sse2=180.
p4: before mmx2=342. after mmx2=314 sse2=309.

Originally committed as revision 9000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 01:16:06 +00:00
Loren Merritt
5b67307a68 fix a crash with svq1 + sse2.
EMU_EDGE broke memory alignment when the desired alignment is >32 bytes.

Originally committed as revision 8999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 00:31:48 +00:00
Aurelien Jacobs
9ac2e7971b rename pnm.c to pnmenc.c and pnm_common.c to pnm.c
Originally committed as revision 8996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 09:28:07 +00:00
Diego Biurrun
a2e4c0ddae Remove duplicate #includes, avcodec.h #includes common.h.
Originally committed as revision 8995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 07:21:14 +00:00
Diego Biurrun
9636c4de32 Remove unused variable.
Originally committed as revision 8994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 07:07:00 +00:00
Loren Merritt
ba53071acb 10l, r8991 broke mmx1 sad
Originally committed as revision 8993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 03:29:06 +00:00
Loren Merritt
72946825fa sse2 version of fullpel sad.
16% faster on core2, 5% faster on p4. 10% slower (and thus disabled) on k8.

Originally committed as revision 8992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 01:11:45 +00:00
Loren Merritt
164d75ebf3 tweak mmx2 sad.
40% faster on core2, 18% faster on k8, 5% faster on p4.

Originally committed as revision 8991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 00:45:07 +00:00
Aurelien Jacobs
1b52bec7f7 make compilation of pnm.c optional
Originally committed as revision 8989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:16:56 +00:00
Aurelien Jacobs
426a189b77 move pnm parser in its own file
Originally committed as revision 8988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:03:14 +00:00
Aurelien Jacobs
b16560a389 move mjpeg parser in its own file
Originally committed as revision 8987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:37:36 +00:00
Aurelien Jacobs
87acdd5391 cosmetics: reindent
Originally committed as revision 8986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:28:23 +00:00
Aurelien Jacobs
26b4fe821c split h264.c to move parser in its own file
Originally committed as revision 8985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:26:44 +00:00
Loren Merritt
eca3810e31 tweak mmx2 sad.
6% faster on core2 and k8, no change on p4.

Originally committed as revision 8984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:24:19 +00:00
Ramiro Polla
b3a257af27 Revert r8979 (Ugly fix for r8963)
Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 18:44:58 +00:00
Aurelien Jacobs
07c55d8ea3 rename vorbis.c to vorbis_dec.c and vorbis_common.c to vorbis.c
Originally committed as revision 8981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:24:01 +00:00
Aurelien Jacobs
f6bd6eeffd loosen vorbis_enc.c dependencies by spliting vorbis.c
Originally committed as revision 8980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:17:17 +00:00
Ramiro Polla
dccabd4c68 Fix r8963
Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:00:09 +00:00
Panagiotis Issaris
7a0daaf18a Fix Vorbis encoder Xiph dependency by making sure the references to
ff_split_xiph_headers() are there.

Originally committed as revision 8978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 14:36:36 +00:00