Commit Graph

5283 Commits

Author SHA1 Message Date
Alan Curry
d33d485e83 Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in just
once when the scaler is initialized, instead of building them and freeing
them over and over. This gives massive performance improvements.
patch by Alan Curry, pacman*at*TheWorld*dot*com

Originally committed as revision 17589 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-11 14:16:10 +00:00
Diego Biurrun
c9fa86df9d cosmetics: indentation fixes
Originally committed as revision 17588 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-11 13:42:54 +00:00
Alan Curry
f688668c3c Fix big-endian color permutation problems.
patch by Alan Curry, pacman_at_TheWorld_dot_com

Originally committed as revision 17587 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-11 13:35:46 +00:00
Michael Niedermayer
0b2bb3543f mpeg-ps probe 2nd try
Originally committed as revision 4974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 09:27:00 +00:00
Alexander Strasser
5c4b1b2538 Don't use pow/powf functions where we just need integer arithmetic.
approved by Benjamin

Originally committed as revision 4973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 11:59:38 +00:00
Måns Rullgård
0a925109ec add adtsenc.c with myself as maintainer
Originally committed as revision 4972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 08:21:13 +00:00
Loren Merritt
ef9d1d1575 h264: special case dc-only idct. ~1% faster overall
Originally committed as revision 4971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 06:55:25 +00:00
Måns Rullgård
a283db3962 generate adts frame headers if required
Originally committed as revision 4970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 01:24:32 +00:00
Måns Rullgård
100a74222b use get_bits1/skip_bits[1] in ac3 and aac parsers
Originally committed as revision 4969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 01:19:54 +00:00
Aurelien Jacobs
b96532e970 voc: set bits_per_sample correctly (fix mplayer playback)
Originally committed as revision 4968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 23:53:07 +00:00
Aurelien Jacobs
ea395e8c6c add a Creative VOC (de)muxer
Originally committed as revision 4967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 22:52:23 +00:00
Stefan Huehner
9b2283cc33 Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård

Originally committed as revision 17567 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-09 14:08:03 +00:00
Michael Niedermayer
ee7388c934 fix segfault on broken streams
Originally committed as revision 4966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 09:38:03 +00:00
Loren Merritt
4e295993ba 10l in 1.12
Originally committed as revision 4965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 02:43:23 +00:00
Alan Curry
7d20ebffdf Correct RGB vs. BGR confusion, the macros vec_mstrgb24 and vec_mstbgr24 each
do the opposite of what they say.
The vec_mstrgb24 and vec_mstbgr24 macros should be opposites and not perform
the same things.
patch by Alan Curry, pacman_at_world_dot_std_dot_com

Originally committed as revision 17564 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-09 00:29:35 +00:00
Michael Niedermayer
9870a7bdb8 replace probe() by one similar to MPEG-ES
Originally committed as revision 4964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 17:35:44 +00:00
Luca Abeni
47f388503b Add video4linux2 detection to configure.
patch by Luca Abeni, lucabe72*at*email*dot*it

Originally committed as revision 4963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 15:55:41 +00:00
Colin Ward
72fbc5092a Move CONIG_MUXERS below struct frame_attributes, it's not muxer-specific.
patch by Colin Ward, hitman*at*codehq*dot*org

Originally committed as revision 4962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 15:39:12 +00:00
Alan Curry
3845b56dd1 altivec_yuv2packedX() ignores the requested output format and unconditionally
outputs RGBA. This patch supports 6 output formats and prints an error message
if it is asked to provide an output format it is not capable of.
patch by Alan Curry, pacman_at_world_dot_std_dot_com

Originally committed as revision 17561 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-08 13:14:19 +00:00
Luca Abeni
ad97e414e2 Correctly set the interlaced_frame and top_field_first fields.
patch by Luca Abeni, lucabe72 =at= email =dot= it

Originally committed as revision 4961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 11:54:05 +00:00
Diego Biurrun
064cf25155 typo
Originally committed as revision 4960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 11:43:47 +00:00
Diego Biurrun
7f2a97537c List of people maintaining different parts of FFmpeg.
featuring some help from Alexander Strasser

Originally committed as revision 4959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 11:32:03 +00:00
Alan Curry
5edb653bca AltiVec operations need to have memory aligned on 16-byte boundaries.
patch by Alan Curry, pacman at world dot std dot com

Originally committed as revision 17559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-08 08:20:40 +00:00
Alan Curry
be9d060d0c vYCoeffsBank and vCCoeffsBank are allocated and initialized using incorrect
sizes based on the image width instead of height.
patch by Alan Curry, pacman at world dot std dot com

Originally committed as revision 17558 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-08 08:16:53 +00:00
Loren Merritt
c0234aa44c slightly faster loopfilter
Originally committed as revision 4958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 07:04:32 +00:00
Måns Rullgård
4accd1fd18 bump version numbers and update docs for adts aac support
Originally committed as revision 4957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 01:11:48 +00:00
Måns Rullgård
86db37df52 create adts stream if CODEC_FLAG_GLOBAL_HEADER not set
Originally committed as revision 4956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 01:10:07 +00:00
Måns Rullgård
fda885c703 read/write adts aac
Originally committed as revision 4955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:51:55 +00:00
Måns Rullgård
da46276ff8 adts aac parser
Originally committed as revision 4954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:50:22 +00:00
Måns Rullgård
79b0b66ba0 decode adts aac streams
Originally committed as revision 4953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:30:58 +00:00
Loren Merritt
6ee669732d 10l (x86_64)
Originally committed as revision 4952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 16:10:48 +00:00
Loren Merritt
e545f37527 18% faster put_h264_qpel16_mc[13]2_mmx2
Originally committed as revision 4951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 10:52:25 +00:00
Loren Merritt
c03ce51dfb 11% faster put_h264_qpel16_v_lowpass_mmx2
Originally committed as revision 4950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 07:35:03 +00:00
Loren Merritt
0331f09237 15% faster put_h264_qpel16_hv_lowpass_mmx2
Originally committed as revision 4949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 06:25:14 +00:00
Alexander Strasser
1a44a8b654 Some Make variants complain if the LIB variable does not exist.
patch by Alexander Strasser

Originally committed as revision 4948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 21:52:23 +00:00
Michael Niedermayer
8720de5b76 fix memleak, based upon a patch by Wolfram Gloger
Originally committed as revision 4947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 12:45:52 +00:00
Michael Niedermayer
8cb90572a2 1 goto 1 fix
Originally committed as revision 4946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:21:26 +00:00
Benjamin Larsson
2e9c78d354 Fix broken cosmetics commit and add a check for valid headers.
Originally committed as revision 4945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:21:10 +00:00
Benjamin Larsson
7f129a33b1 Small cosmetics and better variable names.
Originally committed as revision 4944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:03:37 +00:00
Dan Villiom Podlaski Christiansen
12fe88b460 Fix detection of IPv6 support on Darwin by ensuring that
IN6_IS_ADDR_MULTICAST gets an argument of type (const struct in6_addr *).
patch by Dan Villiom Podlaski Christiansen, danchr.at.daimi.dot.au.dot.dk

Originally committed as revision 4943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 15:19:04 +00:00
Steve L'Homme
68b51e58ce MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr

Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 13:35:17 +00:00
Alexander Strasser
04c669ba98 Correct the relation between floors of type 0 and block sizes.
Originally committed as revision 4941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 10:16:20 +00:00
Michael Niedermayer
809b2a30b2 simplify
Originally committed as revision 4940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 22:18:45 +00:00
Michael Niedermayer
82fcbc145d faster find_startcode()
Originally committed as revision 4939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 20:32:02 +00:00
Michael Niedermayer
8f0df75438 3rd try for mpeg-es probe ...
Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 16:57:58 +00:00
Diego Biurrun
21d1cb12f8 GNU Make is necessary on *BSD.
Originally committed as revision 4937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 11:43:22 +00:00
Dieter
b7d690f89d Use gmake instead of make on *BSD.
patch by Dieter, freebsd ^^at^^ sopwith ^^dot^^ solgatos ^^dot^^ com

Originally committed as revision 4936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 11:37:41 +00:00
Alexander Strasser
f9c5c13af5 Cosmetic: Fix indentation.
Originally committed as revision 4935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 10:04:13 +00:00
Alexander Strasser
536b48b258 10l (malloc check with the wrong pointer)
Simplification: I have to reconsider this trees and forest thing...

Also readded and documented the check i had in the beginning and removed
before applying. It avoids a possible div by zero.

Originally committed as revision 4934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 09:59:48 +00:00
Alexander Strasser
43eb59087b Added support for vorbis files containing floor type 0.
Originally committed as revision 4933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 08:55:34 +00:00