Commit Graph

9034 Commits

Author SHA1 Message Date
Stefan Gehrer
e685e8eada rename vector_t to cavs_vector
Originally committed as revision 16641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 17:20:17 +00:00
Carl Eugen Hoyos
2b3242253d Add mpeg1_vdpau decoder.
Originally committed as revision 16640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:50:32 +00:00
Kenan Gillet
0ba39dd1a9 Split ff_log_missing_feature into ff_log_missing_feature
and ff_log_ask_for_sample.
Patch by Kenan Gillet: gmail_adress(author)

Originally committed as revision 16637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:20:42 +00:00
Carl Eugen Hoyos
e7edb2ea93 12l: Fix compilation with --disable-vdpau.
Originally committed as revision 16630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:50:20 +00:00
NVIDIA Corporation
d37edddc09 Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:14:07 +00:00
Aurelien Jacobs
8b192330d5 explicitly disable CONFIG_AUDIO_NONSHORT
Originally committed as revision 16620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 00:03:51 +00:00
Aurelien Jacobs
469f5f251d WORDS_BIGENDIAN must be checked with #ifdef
Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 23:20:43 +00:00
Aurelien Jacobs
49cdad8d78 simplify: group all the AUDIO_NONSHORT parameters in the same place
Originally committed as revision 16602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 21:41:05 +00:00
Aurelien Jacobs
e29a95b1b8 libavutil/lzo.h is a local header
Originally committed as revision 16601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 21:34:48 +00:00
Aurelien Jacobs
49fb20cb8a replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Måns Rullgård
7356aaa786 Fix mpeg audio regression test failure
Originally committed as revision 16599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 09:26:07 +00:00
Diego Biurrun
0f6a659ddf Replace #ifdef CONFIG_ preprocessor check by #if CONFIG_.
CONFIG_ changed semantics and is always defined now.

Originally committed as revision 16598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 07:57:12 +00:00
Diego Biurrun
576286ba81 Remove one more forgotten instance of USE_HIGHPRECISION indirection.
Originally committed as revision 16597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 07:55:43 +00:00
Diego Biurrun
ad1eebe360 Use CONFIG_MPEGAUDIO_HP directly instead of USE_HIGHPRECISION indirection.
Originally committed as revision 16594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 00:48:17 +00:00
Baptiste Coudurier
6d32ec6ce9 cleanup gif, use BISTREAM_WRITER_LE
Originally committed as revision 16591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 00:27:43 +00:00
Aurelien Jacobs
b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Michael Niedermayer
062e7c3ca8 Avoid using sub_id in mpeg1/2video.
Originally committed as revision 16587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 21:13:45 +00:00
Michael Niedermayer
c9b3c0c740 Remove hack to print mp2/mp1 with codec_id of CODEC_ID_MP3.
Originally committed as revision 16583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:38:54 +00:00
Michael Niedermayer
a14d138cb8 Let the mpeg audio parser correct the codec_id.
Originally committed as revision 16582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:35:34 +00:00
Michael Niedermayer
cb595b7f02 Add dummy mp1_decoder to complement the existing dummy mp2/mp3 decoders.
Originally committed as revision 16581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:32:08 +00:00
Michael Niedermayer
7f507b2d9e Add CODEC_ID_MP1.
Originally committed as revision 16580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:13:08 +00:00
Kostya Shishkov
7a96cd3123 VC-1 display dimensions should affect coded dimensions only (I think)
Originally committed as revision 16578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:05:40 +00:00
Kostya Shishkov
e9ca5f0892 Print VC-1 aspect ratio in debug
Originally committed as revision 16577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:03:45 +00:00
Kostya Shishkov
820089cb06 421l: fix loop filter for P-frames in VC-1
Originally committed as revision 16576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:02:31 +00:00
Kostya Shishkov
34f3f6d129 Cinepak strip ID is a single byte
Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:00:37 +00:00
Kostya Shishkov
d94b1f12c5 Cinepak strip and chunk sizes are 24-bit, not 16-bit as it was thought earlier.
This fixes issue 744

Originally committed as revision 16574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 06:43:46 +00:00
Aurelien Jacobs
af5f434f8c add the necessary include for LIBAV*_VERSION_*
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 00:14:43 +00:00
Måns Rullgård
9a0cf9f8f8 ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
Originally committed as revision 16570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:49 +00:00
Måns Rullgård
e9497946bb ARM: simple_idct_armv6.S whitespace cosmetics
Originally committed as revision 16569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:39 +00:00
Måns Rullgård
7f727ace2a ARM: clean up pc-relative references in simple_idct_armv6.S
Originally committed as revision 16568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:33 +00:00
Måns Rullgård
3b16c71984 ARM: use rX register names in simple_idct_armv6.S
Originally committed as revision 16567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:29 +00:00
Stefano Sabatini
d9513de67c Add missing inclusion of libavutil/intreadwrite.h, fix compilation when
libtheora is enabled.

Originally committed as revision 16562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 23:26:52 +00:00
Diego Biurrun
6a5d31ac25 Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:19:48 +00:00
Diego Biurrun
84f8d1f604 Add missing #include to fix 'make checkheaders'.
Originally committed as revision 16545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 20:12:14 +00:00
Michael Niedermayer
c8af74a99b Increase BUFFER_SIZE.
Fixes issue719.

Originally committed as revision 16541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 16:35:04 +00:00
Michael Niedermayer
203fa6b4d1 fix indention
Originally committed as revision 16540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 16:17:36 +00:00
Michael Niedermayer
2083648383 All negative values are errors not just -1.
Originally committed as revision 16539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 16:16:33 +00:00
Kostya Shishkov
42b7678d65 30l: when reading mb_offset in RV30 slice header its size
should be calculated from current frame dimensions

Originally committed as revision 16536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:50:00 +00:00
Benjamin Larsson
336c2ca585 Add size that is needed for the wmapro codec
Originally committed as revision 16533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:40:05 +00:00
Kostya Shishkov
6751a00a3f RV30 decoder passes possible frame sizes in extradata and selects
an appropriate frame size from them in slice, make my decoder do
that as well.

This fixes issue 779

Originally committed as revision 16529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 08:03:45 +00:00
Carl Eugen Hoyos
1717031362 Remove H264Context from vdpau_internal.h.
Originally committed as revision 16524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 00:48:20 +00:00
Carl Eugen Hoyos
10652dd54f Fix OBJS-$(CONFIG_H264_VDPAU_DECODER).
Originally committed as revision 16522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 23:17:07 +00:00
Carl Eugen Hoyos
c639fc7213 Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk.
Originally committed as revision 16521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 23:00:48 +00:00
Carl Eugen Hoyos
1968e438d0 Use only MpegEncContext in ff_vdpau_h264_add_data_chunk.
Originally committed as revision 16520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 22:57:51 +00:00
Carl Eugen Hoyos
6f0b5d6fae Cosmetics: Break long line.
Originally committed as revision 16519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 22:55:26 +00:00
Carl Eugen Hoyos
63bfcb6997 Fill range_map* in VC1Context.
Originally committed as revision 16515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 09:55:55 +00:00
Stefano Sabatini
78acb9e74b Move the AVCodecContext options definition to a dedicated file, reduce
the utils.c clutter.

Originally committed as revision 16514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 09:53:21 +00:00
Carl Eugen Hoyos
7fd3c09e0f Move vdpau_h264_set_reference_frames() call from vdpauvideo.c into h264.c.
Originally committed as revision 16513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 02:45:07 +00:00
Carl Eugen Hoyos
7eb6ed78ea Move VDPAU check, make future VDPAU patches smaller.
Originally committed as revision 16508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 22:22:40 +00:00
Carl Eugen Hoyos
49186206eb Add refdist_flag to VC1Context.
Originally committed as revision 16504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 16:51:21 +00:00
Måns Rullgård
6dde9f8c20 SH4: fix typo in asm constraint
Originally committed as revision 16503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 03:05:11 +00:00
Carl Eugen Hoyos
090846f3b9 Rename ff_VDPAU as ff_vdpau.
Originally committed as revision 16492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:48:32 +00:00
Carl Eugen Hoyos
6cc01c245f Rename bitstreamBuffers* as bitstream_buffers*
Originally committed as revision 16491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:42:07 +00:00
Ramiro Polla
1bb04d5a44 configure: allow to disable sse code.
Based on patch by Michael Kostylev <mik at it-1 dot ru>

Originally committed as revision 16490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:38:54 +00:00
Diego Biurrun
218a6022e7 Only #include svq3.c if the SVQ3 decoder is enabled.
Originally committed as revision 16487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:03:04 +00:00
Diego Biurrun
ed09249c71 The SVQ3 decoder uses ff_svq1_packet_checksum from svq1dec.c.
Originally committed as revision 16486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 22:54:59 +00:00
Robert Swain
158b39126d Support ADTS AAC files in the ffaac decoder (limited to streams containing one
raw_data_block() per ADTS frame)

Patch by Alex Converse ( alex converse gmail com) based on a patch by Robert
Swain ( robert swain gmail com )

Originally committed as revision 16485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 22:09:21 +00:00
Michael Niedermayer
1b9bbf8674 Document the need of buf=NULL buf_size=0 at the end to obtain all frames.
Originally committed as revision 16482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 19:55:08 +00:00
Diego Biurrun
0d9efa287a Add missing headers to allow 'make checkheaders' to pass.
Originally committed as revision 16481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 18:42:24 +00:00
Diego Biurrun
25bd48bdb4 Use <> instead of "" for system headers.
Originally committed as revision 16480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 18:24:16 +00:00
Alex Converse
11d6f38cc9 Factorise enum of AC3 error types to be usable by AAC in the ADTS patch that
will follow

Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 18:10:10 +00:00
David Conrad
b06688ffed Add AltiVec versions of h264_idct_add(8|16|16intra),
allowing to re-enable ff_h264_idct_add_altivec's usage.

Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 13:54:26 +00:00
Diego Biurrun
8b6871ed4d Disable SVQ3 checks if SVQ3 support is not compiled in.
Originally committed as revision 16462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 01:58:04 +00:00
David Conrad
4929c63679 Add Altivec version of vector_fmul_window.
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 23:03:33 +00:00
David Conrad
8b2bc85f29 add AltiVec implementation of weight_h264_pixels(16|8)x(16|8|4)
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 22:29:26 +00:00
Aurelien Jacobs
16cda1535e ensure that no GPL code is linked to LGPL only libavcodec
Originally committed as revision 16456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 22:01:57 +00:00
Carl Eugen Hoyos
448ecb68e3 Rename mpeg_set_pixelformat() as mpeg_get_pixelformat().
Originally committed as revision 16455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 18:58:18 +00:00
Carl Eugen Hoyos
93c69a94ea Factorise setting of avctx->pix_fmt.
Originally committed as revision 16453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 15:16:33 +00:00
David Conrad
aa9a9b7af7 Fix float_to_int16_altivec prototype to match float_to_int16's in dsputil.h
(parameter 'len' is a long not an int).
Patch by David Conrad % lessen42 A gmail P com %

Originally committed as revision 16451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 12:51:35 +00:00
David Conrad
628653449c fix compilation with GCC-4.3+
patch by David Conrad + fix by myself

Originally committed as revision 16450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 10:44:45 +00:00
David Conrad
54b9095833 offset and weights are signed, fixes some non-bitexact issues.
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 10:35:06 +00:00
Carl Eugen Hoyos
373745ae62 1l: Forgot to rename header guard.
Originally committed as revision 16448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 10:13:25 +00:00
Carl Eugen Hoyos
272081b0f8 Export VDPAU support by installing vdpau.h.
Originally committed as revision 16445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 23:25:58 +00:00
Carl Eugen Hoyos
8423186e65 Rename vdpau_render.h as vdpau.h.
Originally committed as revision 16444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 23:23:32 +00:00
David Conrad
df7fb43569 add AltiVec implementation of biweight_h264_pixels(16|8)x(16|8|4)
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 23:15:14 +00:00
David Conrad
c663cb0d4f AltiVec version of h264_idct(8)_dc_add
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 22:13:42 +00:00
Carl Eugen Hoyos
5d9c0615be Ministry of English Composition treatment: s/Alloced/Allocated
Originally committed as revision 16439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 18:44:32 +00:00
Carl Eugen Hoyos
91d553c386 Remove leading underscore from union declaration.
Originally committed as revision 16437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 14:46:04 +00:00
Diego Biurrun
c47d146be8 Add missing 'void' keyword to parameterless function declarations.
Originally committed as revision 16436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 13:57:43 +00:00
Diego Biurrun
5fd9c8b94a spelling/grammar and whitespace cosmetics
Originally committed as revision 16435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 11:49:15 +00:00
Jason Garrett-Glaser
26ef65daf3 50l: Reenable error resilience for H264 (Patch by Dark Shikari).
Originally committed as revision 16434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 08:46:59 +00:00
Carl Eugen Hoyos
f2c214a1ec Cosmetics: Fix indentation.
Originally committed as revision 16433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 00:48:44 +00:00
Carl Eugen Hoyos
e731b5c3d8 100l: Add a deleted '{'.
Originally committed as revision 16432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 00:31:39 +00:00
NVIDIA Corporation
369122dd77 Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Michael Niedermayer
a6d18a0e6a Move metadata API from avcodec to avformat.
Originally committed as revision 16425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 18:58:49 +00:00
Michael Niedermayer
47146dfbf6 Generic metadata API.
avi is updated as example.
No version bump, the API still might change slightly ...
No update to ffmpeg.c as requested by aurel.

Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 18:48:37 +00:00
Mathieu Velten
21ff7689da Use H264 MMX chroma functions to accelerate RV40 decoding.
Patch by Mathieu Velten (matmaul A gmail)

Originally committed as revision 16419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 01:36:11 +00:00
Michael Niedermayer
1104a26a42 Bump LIBAVCODEC_VERSION_MINOR due to AVSubtitle changes.
Originally committed as revision 16418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:21:48 +00:00
Michael Niedermayer
f656106f76 Add type, text and ass to AVSubtitleRect.
Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:20:50 +00:00
Michael Niedermayer
25b4c651a3 Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:17:18 +00:00
Michael Niedermayer
ebc466bb5f Replace some fixed width variable from AVSubtitle* by normal int.
Originally committed as revision 16415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 18:41:35 +00:00
Michael Niedermayer
052571e75a Forgot to update (I likely missed it due to its similar name to dvb...)
Originally committed as revision 16414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 18:26:07 +00:00
Michael Niedermayer
2e94fb5d46 Future doxy for a few fields of AVSubtitleRect.
Originally committed as revision 16413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:58:25 +00:00
Michael Niedermayer
db4fac64db Change AVSubtitle.rects to an array of pointers so ABI does not break
when the size of AVSubtitleRect changes.

Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:54:48 +00:00
Michael Niedermayer
c66216ed5d Add enum AVSubtitleType
Originally committed as revision 16410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 15:15:03 +00:00
Jason Garrett-Glaser
37fed10087 Add x264 SSE2 iDCT functions to H.264 decoder.
Originally committed as revision 16409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 00:46:17 +00:00
Diego Biurrun
c96da3edc3 Avoid POSIX-reserved _t namespace.
Originally committed as revision 16408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-02 16:21:22 +00:00
Diego Biurrun
0f0b707fa3 Avoid POSIX-reserved _t namespace.
Originally committed as revision 16407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-02 16:19:27 +00:00
Måns Rullgård
172a39d13c ARM: work around linker bug with movw/movt relocations in shared libs
Originally committed as revision 16395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-30 03:13:52 +00:00
Måns Rullgård
77e2249e2f ARM: rename coefficient table in NEON IDCT
Originally committed as revision 16392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-30 03:13:40 +00:00
Aurelien Jacobs
275131628d Remove duplicated dot product code. Use dsputil's
scalarproduct instead. Patch by Aurelien Jacobs.

Originally committed as revision 16391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 17:14:30 +00:00
Kostya Shishkov
592beefe99 It turned out that RV30 uses motion vectors for forward motion B-frame
macroblocks to predict motion vectors for backward motion B-frame macroblocks
and vice versa.

Originally committed as revision 16381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 10:20:03 +00:00
Michael Niedermayer
e4f1ec3a4c Explain the lack of +3/7
Originally committed as revision 16380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 23:26:12 +00:00
Carl Eugen Hoyos
6735e2c810 Revert r16375: It broke aac decoding.
Originally committed as revision 16376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 20:08:39 +00:00
Carl Eugen Hoyos
69b38d4dc3 Reduce number of warnings when compiling with icc by two.
Originally committed as revision 16375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 19:48:43 +00:00
Carl Eugen Hoyos
3a095bee2b Silence one warning when compiling with icc:
warning #188: enumerated type mixed with another type
      if((q->bitrate = determine_bitrate(avctx, buf_size, &buf)) == I_F_Q)
                     ^

Originally committed as revision 16374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 19:44:47 +00:00
Carl Eugen Hoyos
2c67c65963 Fix h264 decoding on SSE2 cores with icc compilation.
Originally committed as revision 16373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 19:40:13 +00:00
Måns Rullgård
23ae2b68b0 Replace UNALIGNED_STORES_ARE_BAD with !HAVE_FAST_UNALIGNED
Originally committed as revision 16364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 23:12:00 +00:00
Måns Rullgård
edf7c2b26f simple_idct: use MUL16 and MAC16 from mathops.h
Originally committed as revision 16362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 16:25:36 +00:00
Diego Biurrun
79cb09b2f7 consistency cosmetics: Rename POWERPC identifiers to PPC.
Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:33:26 +00:00
Luca Barbato
d89eae6f1a Remove stray code
Originally committed as revision 16358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:30:30 +00:00
Luca Barbato
a6b4448cdf Cleanup _t types in libavcodec/ppc
Originally committed as revision 16357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:21:28 +00:00
Reimar Döffinger
b870027a19 Bump minor number for many small improvements, tiff fax decoding,
AVCodecContext refs is set during decoding.

Originally committed as revision 16355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 09:22:21 +00:00
Måns Rullgård
f23740d96f ARM: NEON optimised float_to_int16
Originally committed as revision 16352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 19:52:52 +00:00
Michael Niedermayer
92799d3213 Enable faxcompr.
Originally committed as revision 16349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:42:26 +00:00
Michael Niedermayer
a56f82eaf8 indent
Originally committed as revision 16348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:39:24 +00:00
Michael Niedermayer
537bf4266f Simplify vertical mode
Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:39:07 +00:00
Michael Niedermayer
eb0094b224 And another sechole ...
Originally committed as revision 16346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:14:59 +00:00
Michael Niedermayer
268309750b Fix yet another sechole.
Originally committed as revision 16345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:06:29 +00:00
Michael Niedermayer
11c5999e20 Fix another sechole.
Originally committed as revision 16344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:51:10 +00:00
Michael Niedermayer
2a522579aa Minor simplification.
Originally committed as revision 16343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:32:11 +00:00
Michael Niedermayer
f78a679177 Remove unused run_start variable.
Originally committed as revision 16342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:11:19 +00:00
Michael Niedermayer
6f5c00eb9f Move sync line pointers code to the end of the loop, it is simpler that way.
Originally committed as revision 16341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:04:31 +00:00
Michael Niedermayer
e3a54b6694 Get rid of check for condition that is always true (run_off < avctx->width).
Originally committed as revision 16340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:59:10 +00:00
Michael Niedermayer
43ba8f3545 Get rid of pix_left in the 2d code, it is simpler that way.
Originally committed as revision 16339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:57:35 +00:00
Reynaldo H. Verdejo Pinochet
a3636fa033 COSMETICS Part 3 and final of Kenan Gillet's QCELP silence handling patch.
Originally committed as revision 16338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:50:21 +00:00
Reynaldo H. Verdejo Pinochet
4f54fb54e3 Part 2 of Kenan Gillet's QCELP silence handling patch.
Originally committed as revision 16337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:49:06 +00:00
Michael Niedermayer
6fe68c7b97 Factorize "avctx->width + 2" out to avoid someone mistakenly changing
some but not all.

Originally committed as revision 16336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:38:55 +00:00
Michael Niedermayer
621e6525a6 cosmetic (moving pix_left update)
Originally committed as revision 16335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:30:50 +00:00
Michael Niedermayer
1d7985072c Close gaping sechole. That is, a series of run=0 allows arbitrary data to
be written over the end of the runs array.

Originally committed as revision 16334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:29:01 +00:00
Michael Niedermayer
d02ab57a5f minor simplification
Originally committed as revision 16333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 15:21:48 +00:00
Michael Niedermayer
66909bc4f1 Merge ff_ccitt_unpack_1d and 2d.
Originally committed as revision 16332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 15:05:12 +00:00
Michael Niedermayer
d68542f019 Ensure that an invalid run terminates the line.
Originally committed as revision 16331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 14:57:42 +00:00
Michael Niedermayer
ec5bdf4989 10l != vs. == (yes, my fault not kostya's).
Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 14:39:21 +00:00
Michael Niedermayer
679f3fa901 indent
Originally committed as revision 16329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:52:07 +00:00
Michael Niedermayer
68d48cc592 Simplify zero run handling in put_line().
Originally committed as revision 16328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:51:52 +00:00
Michael Niedermayer
bc0f7a9c75 Avoid negation in put_line().
Originally committed as revision 16327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:50:00 +00:00
Michael Niedermayer
4e60b64324 Factorize mode switching in put_line().
Originally committed as revision 16326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:48:09 +00:00
Michael Niedermayer
eb12536a31 Fix (rewrite) find_group3_syncmarker().
Originally committed as revision 16325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:46:11 +00:00
Michael Niedermayer
8d48db314e CCITT Fax Group 3 and 4 decompression by kostya.
Will be activated after a little more reviewing and fixing by me.
Commited now, so as to not lose history of that.

Originally committed as revision 16323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:39:19 +00:00
Diego Biurrun
b8d62672f6 ASAO Nelly Moser implementation moved to a better place on mphq.
Originally committed as revision 16321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 11:00:30 +00:00
Benoit Fouet
5163c0d9a2 s/FFmpeg-devel/ffmpeg-devel/
Originally committed as revision 16314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 08:03:26 +00:00
Jason Garrett-Glaser
c1fc70362f Fix compilation without optimization under 64-bit with x264 deblock asm enabled.
Originally committed as revision 16313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 00:19:08 +00:00
Måns Rullgård
760badc1df ARM: add new h264 idct functions
Originally committed as revision 16312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 23:13:43 +00:00
Guillaume Poirier
337e3fd990 Disable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
h264_idct_add16intra, h264_idct_add8 need to be implemented.

Add C version of ff_h264_idct8_dc_add in AltiVec so that ff_h264_idct8_add_altivec
can be used.

Originally committed as revision 16311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 18:27:49 +00:00
Diego Biurrun
0fa5f24c3b Change mplayerhq.hu references to ffmpeg.org where appropriate.
Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:50 +00:00
Diego Biurrun
ddaf298cee Fix sample URL.
Originally committed as revision 16309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:02 +00:00
avcoder
bb0bfcd5ac The VC-1/WMV3 decoders depend on ENABLE_MSMPEG4_DECODER.
patch by avcoder, ffmpeg gmail com

Originally committed as revision 16308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 13:26:18 +00:00
Loren Merritt
1cca8d2423 flatten an array, since gcc fails at optimizing multidimensional arrays
h264_idct8_add_c: 780 -> 735 cycles on conroe

Originally committed as revision 16307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 01:20:37 +00:00
Michael Niedermayer
802e91466d export refs
Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 18:39:23 +00:00
Michael Niedermayer
53d55e9ea3 Allow decoders to set AVCodecContext.refs.
Originally committed as revision 16305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 17:38:27 +00:00
Michael Niedermayer
62ea19c061 Optimize pred_pskip_motion()
7 cpu cycles faster on pentium dual.

Originally committed as revision 16304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 03:23:38 +00:00
Michael Niedermayer
ebfb0449d3 Indent
Originally committed as revision 16302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 22:06:16 +00:00
Michael Niedermayer
05d3fd44d7 Integrate get_te0_golomb() calls into the code, this allows some checks
to be avoided and the function is pretty small.
3% speedup, though this is probably due to changed inlining and not directly
this change.

Originally committed as revision 16301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 22:04:34 +00:00
Michael Niedermayer
9963b332d1 Use get_ue_golomb_31() where possible, almost all are just in headers
though.

Originally committed as revision 16300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 21:12:19 +00:00
Michael Niedermayer
0be514625a Update golomb decoding tables so that get_*_golomb_31() return some
larger values for too large values.

Originally committed as revision 16299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 21:07:36 +00:00
Michael Niedermayer
0e921e97c1 Add get_ue_golomb_31()
Originally committed as revision 16298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 21:05:47 +00:00
Michael Niedermayer
2f2893ce9b indent
Originally committed as revision 16296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 19:12:50 +00:00
Michael Niedermayer
d42fc4a8ca Use the new VLC table for the first non trailing coeff too.
Sadly only 5 cycles faster here on pentium dual. So maybe the
complexity is not worth it and this should be reverted ...

Originally committed as revision 16295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 19:10:46 +00:00
Michael Niedermayer
593af7cdda Optimize esc removal code.
Originally committed as revision 16294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 18:31:44 +00:00
Kostya Shishkov
ffedb5c19a 352l: correct calculating number of bits for storing macroblock offset in RV3/4
Originally committed as revision 16293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 18:27:06 +00:00
Michael Niedermayer
2d76bf391a Indent
Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 17:50:36 +00:00
Michael Niedermayer
8140955d39 unified CAVLC level decoding LUT.
Quite a bit faster (HPCVMOLQ_BRCM_B.264 was 3% faster here)

Originally committed as revision 16291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 17:49:38 +00:00
Michael Niedermayer
5cb5023c78 Make h264 parser 50% faster.
Originally committed as revision 16286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 02:34:58 +00:00
Michael Niedermayer
abb27cfb24 100l, I broke H.264 again, forgot one hunk.
Thanks to FATE for finding it.

Originally committed as revision 16285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 01:11:56 +00:00
Michael Niedermayer
e08715d391 Optimize 0 0 0-3 search, 45% faster on pentium dual.
Originally committed as revision 16284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 00:38:45 +00:00
Andreas Öman
11c23b64ac Revert r16257:
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.

Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 22:39:55 +00:00
Michael Niedermayer
ec3686e889 Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
pentium dual.

Originally committed as revision 16279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 17:14:13 +00:00
Michael Niedermayer
26695973c7 Indent
Originally committed as revision 16278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:56:05 +00:00
Michael Niedermayer
b68a455313 inline decode_cabac_mb_type for I & P frames, 9 cycles faster on pentium dual.
Originally committed as revision 16277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:46:17 +00:00
Michael Niedermayer
1952ac3713 Negate 2 more variables, 1 cpu cycle faster on pentium dual.
Originally committed as revision 16276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:20:13 +00:00
Michael Niedermayer
03a035e059 Simplify if/else, no speed change
Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:14:06 +00:00
Michael Niedermayer
6f3c50f2f9 Negate a few variables, this simplifies the code and makes it 5 cycles faster
on pentium dual.

Originally committed as revision 16274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:10:35 +00:00
Michael Niedermayer
60c6ba7aea Simplify ifs(), 8 cpu cycles faster on pentium dual
Originally committed as revision 16273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 15:54:27 +00:00
Michael Niedermayer
127a20e3b8 Simplify if(), 3 cpu cycles faster in pentium dual.
Originally committed as revision 16272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 15:53:00 +00:00
Diego Biurrun
a6493a8fbd Rename libavcodec/i386/ --> libavcodec/x86/.
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.

Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 09:12:42 +00:00
Kostya Shishkov
108c96d5e7 Decode TIFF image only after all tags have been decoded
Originally committed as revision 16268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:50:18 +00:00
Kostya Shishkov
8eedffde31 Some TIFFs declare -1 for the single strip height
Originally committed as revision 16267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:47:51 +00:00
Kostya Shishkov
89b4ec5c33 Add monochrome TIFF support
Originally committed as revision 16266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:43:14 +00:00
Kostya Shishkov
4386ed6922 Calculate line size variable correctly for lower bitdepths and use it for raw data copying
Originally committed as revision 16265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:39:31 +00:00
Kostya Shishkov
4a2f51de34 Register TIFF tags for CCITT Group 3 and 4 compression options
Originally committed as revision 16264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:36:10 +00:00
Diego Biurrun
bef05f05e4 Remove a bunch of unused variables.
Originally committed as revision 16263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:10:36 +00:00
Diego Biurrun
ebb160a0b0 Use ARCH_X86_32 instead of !ARCH_X86_64, it is more straightforward.
Originally committed as revision 16262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:03:30 +00:00
Anuradha Suraparaju
64bfc5845b Fix incorrectly constructed Dirac parse units that caused A/V sync loss.
Fixes issue 694.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 16261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:01:39 +00:00
Diego Biurrun
c4ff7c53e0 Do not use full include path for headers in the same directory.
Originally committed as revision 16260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 23:56:55 +00:00
Michael Niedermayer
c96bd21227 Change mpeg audio parser so it only sets frame_size, channels and bit_rate
after it has a few valid frames.
Fixes issue762

Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 23:50:16 +00:00
Andreas Öman
1af34f094e Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.

Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:53:42 +00:00
Michael Niedermayer
ed4c638a07 Fix PTS returned by the demuxers for mpeg4 without a decoder.
More precissely fix has_b_frames.
Fixes issue757

Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:47:29 +00:00
Michael Niedermayer
c62da7972b Move CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().
Originally committed as revision 16255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:30:36 +00:00
Michael Niedermayer
befc8fe086 Remove useless code.
Originally committed as revision 16253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 17:49:40 +00:00
Michael Niedermayer
c212fb0cb1 Only execute clear_blocks() when needed.
+0.3% speedup for both aladin & cathedral.

Originally committed as revision 16252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 15:58:42 +00:00
Robert Swain
897c1703d0 AAC: Reindent after last commit
Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:32:55 +00:00
Alex Converse
aab5413323 AAC: Fix AAC prediction when used in conjunction with the CPE
Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:28:14 +00:00
Alex Converse
99665a21f4 AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig
member

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:08:32 +00:00
Michael Niedermayer
66c07ca96f Optimize get_dct8x8_allowed().
30 cpu cycles faster on pentium dual.

Originally committed as revision 16248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 23:11:30 +00:00
Kostya Shishkov
6beb8b2612 RV30 decoder
Originally committed as revision 16247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 18:06:01 +00:00
Kostya Shishkov
541e8f3bec RV30 loop filter
Originally committed as revision 16245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 06:09:54 +00:00
Reynaldo H. Verdejo Pinochet
3f16ed15df Cosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'
changeset.

Originally committed as revision 16244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 02:38:34 +00:00
Stefano Sabatini
64e74b68a4 Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.

Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:37:56 +00:00
Stefano Sabatini
f16dd7e65a Remove calls to deprecated av_set_string2() with calls to
av_set_string3().

Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:29:30 +00:00
Jason Garrett-Glaser
aac8b76983 H.264 loopfilter speed tweaks
Originally committed as revision 16240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 14:49:17 +00:00
Jason Garrett-Glaser
a22eff36f9 Port x264 deblocking code to libavcodec.
This includes SSE2 luma deblocking code and both MMXEXT and SSE2 luma
intra deblocking code for H.264 decoding. This assembly is available
under --enable-gpl and speeds decoding of Cathedral by 7%.

Originally committed as revision 16239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 13:45:13 +00:00
Michael Niedermayer
6a1846eb4a Document new idct requirements.
Originally committed as revision 16237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:34:18 +00:00
Michael Niedermayer
a5805aa9d1 Fix decoding with the plain C idcts of
FRExt/HPCAMOLQ_BRCM_B
FRExt/HPCAQ2LQ_BRCM_B
FRExt/HPCVMOLQ_BRCM_B

Originally committed as revision 16236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:21:54 +00:00
Kostya Shishkov
bbc888d0c5 a table for upcoming RV30 loop filtering
Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 06:29:35 +00:00
Jason Garrett-Glaser
40c7d0ae3c Add automatic prefix handling to yasm functions. Does nothing now, but will
be useful for porting x264 asm in the future.

Originally committed as revision 16234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 03:01:08 +00:00
Michael Niedermayer
a5b807a6c1 Replace /2 by >>1 in decode_cabac_mb_dqp()
3 cpu cycles speed up on pentium dual.

Originally committed as revision 16233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 02:28:51 +00:00
Michael Niedermayer
1aea5d35e5 Simplify ctx update in decode_cabac_mb_dqp().
no speed change

Originally committed as revision 16232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 02:00:33 +00:00
Michael Niedermayer
7cfca0dfd8 Simplify ctx calculation in decode_cabac_mb_dqp()
no speed change

Originally committed as revision 16231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:50:20 +00:00
Alexander Strange
d43696309a Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of NALs in rbsp_buffer.
Fixes valgrind uninitialized value warnings at the end of decoding H.264
frames.

Originally committed as revision 16230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:11:52 +00:00
Jason Garrett-Glaser
712ca84c21 Move filter_luma_intra into dsputil for later addition of asm.
Originally committed as revision 16228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:44:51 +00:00
Jason Garrett-Glaser
b9fe706305 Simplify chroma AC in CABAC residual decoding.
Originally committed as revision 16227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:43:30 +00:00
Michael Niedermayer
8955b66950 Optimize ctx calculation in decode_cabac_mb_mvd(), code by dark shikari.
The case for 16x16 blocks becomes 10 cpu cycles faster on pentium dual,
i could not find a speed difference in the case of subblocks though.

Originally committed as revision 16226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:05:39 +00:00
Michael Niedermayer
17779f39b6 Remove unacceptable NULL pointer hack from mc code.
Originally committed as revision 16225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:52:32 +00:00
Michael Niedermayer
04618b98e3 Check ref values in CABAC H.264 for validity.
Originally committed as revision 16224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:31:10 +00:00
Michael Niedermayer
c25ac15a07 Move idct_(dc)add closer to where it is needed.
Originally committed as revision 16223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:25:11 +00:00
Michael Niedermayer
aebb5d6d96 indent
Originally committed as revision 16222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:14:38 +00:00
Michael Niedermayer
96465b90a1 Reorder ifs in chroma hl_decode_mb to avoid a duplicate transform_bypass
check.
14 cpu cycles speedup on Pentium Dual

Originally committed as revision 16221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:12:59 +00:00
Michael Niedermayer
6456d6d87c s/h->cbp_table[mb_xy]/h->cbp/
Originally committed as revision 16220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 17:42:44 +00:00
Michael Niedermayer
04824298a9 Faster CAVLC decoding of trailing_ones. Based on a patch by dark shikari.
decode_residual is about 3.3% faster.

Originally committed as revision 16219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 16:11:19 +00:00
Jason Garrett-Glaser
93445d1617 Replace i by trailing_ones, part of a patch by dark shikari.
No speed change meassureable with START/STOP_TIMER, but this is needed
for future optimizations.

Originally committed as revision 16218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:51:32 +00:00
Michael Niedermayer
c375d87f6f Remove if() surrounding decode_cabac_mb_type() that can never be true.
Originally committed as revision 16217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:32:07 +00:00
Michael Niedermayer
c325b5054f Remove unreachable else clause, found by dark shikari.
Originally committed as revision 16216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:21:15 +00:00
Michael Niedermayer
dae006d7d7 Remove useless IS_8x8DCT check i forgot, spotted by dark shikari.
Originally committed as revision 16215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 11:17:12 +00:00
Michael Niedermayer
2a5a9c2815 10l, svq3 didnt set h->cbp, this broke decoding a little.
Originally committed as revision 16214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 11:01:38 +00:00
Kostya Shishkov
efeb298ea0 cosmetics: remove one unneeded space
Originally committed as revision 16211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 06:00:12 +00:00
Michael Niedermayer
1eb960352b Do not calculate idct_dc_add/idct_add when the variables are unused.
Originally committed as revision 16210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 04:13:02 +00:00
Michael Niedermayer
62bc966f8f Remove redundant nnz variable.
Originally committed as revision 16209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 03:04:53 +00:00
Michael Niedermayer
0a8ca22f4e indent
Originally committed as revision 16208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:56:44 +00:00
Michael Niedermayer
2fd1f0e026 Use the new idct functions (except chroma as it was slower in benchmarks)
cathedral +0.5% speed
aladin +0.6% speed [note aladin has been cat-ed 10 times to reduce the influence
of init time]
Speedup also verified via START/STOP_TIMER (difference was very significant
for the changed parts)

Originally committed as revision 16207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:53:18 +00:00
Michael Niedermayer
ac22385931 H.264 idct functions that include the chroma, inter luma and intra16 luma loops
thus avoiding the calling overhead.
New functions are not yet used.

Originally committed as revision 16206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:36:48 +00:00
Michael Niedermayer
49c084a745 Skip non intra luma code when there is no coded luma.
0.7% speedup for the cathedral sample.

Originally committed as revision 16203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 01:10:51 +00:00
Loren Merritt
00794ed0d9 1.6x faster pred*_vertical_add_c
Originally committed as revision 16202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 01:05:06 +00:00
Michael Niedermayer
621561cdf3 Skip chroma handling when there is no coded chroma.
0.5% overall speedup for the cathedral sample.

Originally committed as revision 16201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 00:46:54 +00:00
Kostya Shishkov
17b17c53f4 add const qualifier to some pointers for input data
Originally committed as revision 16195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:17:07 +00:00
Kostya Shishkov
bb39171beb use precalculated mb_pos where available
Originally committed as revision 16194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:10:15 +00:00
Kostya Shishkov
6c3fca6479 Merge deblocking pattern with CBP for RV30/40 loop filtering
Originally committed as revision 16192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:00:48 +00:00
Kostya Shishkov
26bc319c1d Generate correct deblock pattern for RV30
Originally committed as revision 16191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 19:39:56 +00:00
Kostya Shishkov
f610fc81c1 Unfortunately RV30 luma thirdpel MC functions cannot be substituted with
applying two separate filtering passes, so implement them explicitly.

Originally committed as revision 16190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 19:37:45 +00:00
Kostya Shishkov
6a4583e925 4l: TIFF stores short strings inside tag, do not interpret it is as an offset
Fixes issue 753

Originally committed as revision 16189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 17:39:35 +00:00
Guillaume Poirier
5f51afd602 add AltiVec implementation of int32_to_float_fmul_scalar
Originally committed as revision 16186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 09:47:06 +00:00
Michael Niedermayer
54dab66174 Fix svq3 decoding, is_complex was not initialized.
Originally committed as revision 16184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 03:41:48 +00:00
Michael Niedermayer
4080e67c8e Replace != 0 || check by |
3 cpu cycles faster

Originally committed as revision 16183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:53:03 +00:00
Michael Niedermayer
ad9ca7e720 Split filter_mb_dir() out of filter_mb().
1% overall decoding speed up for cathedral-beta2-400extra-crop-avc.mp4
no speed change for Aladin.mpg
Benchmarks done on Pentium dual

Originally committed as revision 16182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:35:14 +00:00
Måns Rullgård
6c414bb6d4 AC3: fix strict aliasing violation in parser
Originally committed as revision 16181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:30:26 +00:00
Måns Rullgård
cb56b44086 AAC: fix strict aliasing violation in parser
Originally committed as revision 16180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:30:22 +00:00
Måns Rullgård
a2fc0f6a6d ARM: replace "armv4l" with "arm"
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun
2600f8c86d Remove obsolete and misleading comments.
Originally committed as revision 16178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:39:45 +00:00
Michael Niedermayer
ac0623b23c Fix indention, also do a little vertical alignment of changed lines.
Originally committed as revision 16176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 22:16:11 +00:00
Stefano Sabatini
7b1454c439 Implement av_set_string3().
Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 21:35:35 +00:00
Michael Niedermayer
6120a343aa Factorize 3 multiplications out, code becomes 3 cpu cycles faster.
(not significant as thats just per MB)

Originally committed as revision 16174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 21:08:16 +00:00
Michael Niedermayer
1dd488e955 Move ENABLE_SMALL back to the per MB check, as otherwise gcc wont remove
the code.

Originally committed as revision 16173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:43:39 +00:00
Michael Niedermayer
89db0bae26 Do not recalculate constant part of is_complex for every MB.
Originally committed as revision 16172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:26:22 +00:00
Michael Niedermayer
41e4055b63 Support the new lossless mode.
Originally committed as revision 16171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:09:09 +00:00
Måns Rullgård
479044cea5 dct-test: add ARM IDCTs
Originally committed as revision 16170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:00:07 +00:00
Måns Rullgård
875f31259b dct-test: add PARTTRANS permutation
Originally committed as revision 16169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 19:59:50 +00:00
Michael Niedermayer
d358caed7e Horizontal and vertical prediction functions needed for new lossless mode
of H.264.

Originally committed as revision 16168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 19:39:01 +00:00
Benoit Fouet
f683ea1cab Add const qualifiers to decode functions.
Originally committed as revision 16165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 08:02:05 +00:00
Benoit Fouet
7d2cc552ed Fix warning "format not a string literal and no format arguments".
Originally committed as revision 16164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 07:56:33 +00:00
David Conrad
2169b79c2a Workaround for shared libs on OS X with Apple gcc 4.0.1
Originally committed as revision 16158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 00:47:59 +00:00
Laurent Aimar
ac52613c16 Check extradata is large enough.
Patch by Laurent Aimar fenrir \:/ via ecp fr

Originally committed as revision 16157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 23:01:54 +00:00
Stefano Sabatini
301cc4f370 Implement the av_set_number2() internal function, which makes possible
to distinguish between a not found option failure and a not valid
value failure.

Originally committed as revision 16156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:48:10 +00:00
Stefano Sabatini
a59d44fdf4 Remove ending period in a log message, which was inconsistent with
most other messages.

Originally committed as revision 16155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:40:28 +00:00
Diego Biurrun
b24298badc Switch xvmc over to a CONFIG_ option.
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:22:51 +00:00
Diego Biurrun
6915cf3854 whitespace cosmetics
Originally committed as revision 16152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:14:58 +00:00
Måns Rullgård
1bf98d19d5 ARM: NEON optimised h264_idct_dc_add
Originally committed as revision 16151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:54 +00:00
Måns Rullgård
c598cf25f4 ARM: NEON optimised h264_idct_add
Originally committed as revision 16150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:51 +00:00
Måns Rullgård
5813e05d08 ARM: NEON optimised H.264 8x8 and 16x16 qpel MC
Originally committed as revision 16149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:47 +00:00
Måns Rullgård
ad74a0f8b3 ARM: NEON optimised H.264 loop filter
Originally committed as revision 16148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:44 +00:00
Måns Rullgård
1cce897aad ARM: NEON optimised {put,avg}_h264_chroma_mc[48]
Originally committed as revision 16147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:41 +00:00
Måns Rullgård
7eec43289a ARM: NEON optimised simple_idct
Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:37 +00:00
Måns Rullgård
569f5a756a ARM: NEON optimised put_pixels functions
Originally committed as revision 16145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:32 +00:00
Diego Biurrun
c4687bf607 Avoid invasion of POSIX-reserved _t namespace.
Originally committed as revision 16144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 21:02:17 +00:00
Daniel Verkamp
40a19c4434 Fix one peculiar case in Smacker decoding.
Patch by Daniel Verkamp ($firstname <at> drv <dot> nu)
Thread [PATCH] Smacker video decoder bug fix

Originally committed as revision 16143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 17:51:10 +00:00
Diego Biurrun
9506090df9 Avoid POSIX-reserved _t in identifier names.
Originally committed as revision 16142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 10:08:31 +00:00
Michael Niedermayer
40f0624121 Enable filter_mb_fast if CODEC_FLAG2_FAST is set.
Originally committed as revision 16141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 01:24:04 +00:00
Aurelien Jacobs
bf73801bec vp56: don't reset dimensions to 0 in codec init
Originally committed as revision 16140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 00:00:16 +00:00
Stefano Sabatini
d0a01fe84b Move documentation of avcodec_register_all() from allcodecs.c to
avcodec.h.

Originally committed as revision 16135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:38:03 +00:00
Stefano Sabatini
54c441c860 Remove set_all_opt() and its use in av_set_string2(). Make
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.

This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.

See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".

Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:34:12 +00:00
Stefano Sabatini
d1ca187fb6 Document register_avcodec().
Originally committed as revision 16132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:41 +00:00
Stefano Sabatini
7a961a46ba Make register_avcodec() call avcodec_init().
This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.

Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:00 +00:00
Stefano Sabatini
335a761a90 Use a more explicit "codec" rather than "format" as the parameter of
register_avcodec().

Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 19:36:38 +00:00
Aurelien Jacobs
1238fa9fb8 indeo3: replace sizeof(struct ...) by sizeof(*var)
Originally committed as revision 16128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 16:41:51 +00:00
Diego Biurrun
39caffeb9a cosmetics: typo/grammar/wording/whitespace fixes
Originally committed as revision 16126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 15:48:01 +00:00
Anders Grönberg
31c3a4dc7e Prevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.
Originally committed as revision 16121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 12:30:34 +00:00
Anders Grönberg
cac55c9196 Add a few const qualifiers in appropriate places.
patch by Anders Grönberg, galileo.m2 gmail com

Originally committed as revision 16120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 12:24:50 +00:00
Mike Melanson
70bbd0cee3 undoing revision 16118 for truemotion1.c; commit was premature
Originally committed as revision 16119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 03:41:11 +00:00
Mike Melanson
02fb2546e8 The POSIX namespace shall be held sacrosanct. To that end,
continue eliminating _t from structure names in FFmpeg.

Originally committed as revision 16118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 03:29:33 +00:00
Aurelien Jacobs
5e6604490a avoid POSIX reserved _t suffix
Originally committed as revision 16117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 00:48:16 +00:00
Aurelien Jacobs
d08ea32c23 Get rid of mmx_t.
Originally committed as revision 16116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 00:46:27 +00:00
Diego Biurrun
616deed28f Do not invade _t POSIX namespace.
Originally committed as revision 16109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 18:16:06 +00:00
Diego Biurrun
bda4e3940a Replace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.
Originally committed as revision 16099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 13:34:59 +00:00
Diego Biurrun
db95d3bf50 Add img_convert() to imgconvert.h and #include it from imgresample.c.
This fixes an implicit declaration of img_convert() warning.
taken from a patchset from Anders Grönberg, galileo.m2 gmail com

Originally committed as revision 16097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 12:56:29 +00:00
Luca Barbato
537db58b6c Let imgresample altivec code build
Originally committed as revision 16093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:53:30 +00:00
Luca Barbato
7a8f36cccc Cleanup types
Originally committed as revision 16092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:52:34 +00:00
Luca Barbato
006c8e9e9c Unbreak imgresample altivec
Originally committed as revision 16091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:49:38 +00:00
Stefano Sabatini
8f993c6725 s/#AVClass/AVClass/, consistent with the rest of the doxy.
Originally committed as revision 16085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 23:02:21 +00:00
Michael Niedermayer
fe5c7e588d More POSIX _t namespace cleanup.
Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 16:21:23 +00:00
Guillaume Poirier
64adf4f28d add Altivec implementation of clear_block
Originally committed as revision 16078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 09:59:00 +00:00
Oded Shimon
05dee1b7df Rename all vorbis encoder related typedefs to not use _t for POSIX compatibility
Originally committed as revision 16076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 05:12:51 +00:00
Jay Freeman
65c127e3d5 fix mjpega bitfilter when dht, dqt, sof0 are not ordered as expected, patch by Jay Freeman, saurik at saurik com
Originally committed as revision 16074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 01:40:00 +00:00
Aurelien Jacobs
d887151d8c rename Vp56Model to VP56Model for consistency
Originally committed as revision 16073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 00:51:53 +00:00
Baptiste Coudurier
193ce3ab78 dnxhd get_pixels_8x4_sym sse2
Originally committed as revision 16072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 00:19:14 +00:00
Baptiste Coudurier
e1b24cfddb Move get_pixels_8x4 before init func to avoid useless forward declaration.
Originally committed as revision 16071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 00:12:59 +00:00
Baptiste Coudurier
8c9c0ea427 rename 4x8 to 8x4 to match widthxheight consistently
Originally committed as revision 16070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 00:11:19 +00:00
Aurelien Jacobs
76025d91da cosmetics: vertical alignment
Originally committed as revision 16069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 23:00:58 +00:00
Aurelien Jacobs
3d52bca6bf avoid POSIX reserved _t suffix
Originally committed as revision 16068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 22:56:19 +00:00
Aurelien Jacobs
e998ba4fbc avoid POSIX reserved _t suffix
Originally committed as revision 16067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 22:34:14 +00:00
Michael Niedermayer
aaf0e267ff s/qp_t/qp_tt/ to avoid bad examples that could lead to issues with reserved
namespaces of POSIX.

Originally committed as revision 16065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 21:45:41 +00:00
Vitor Sessak
c9bea488fe Avoid POSIX reserved _t suffix.
Originally committed as revision 16060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 19:36:25 +00:00
Vitor Sessak
259037d099 Rename ROQDPCMContext_t to ROQDPCMContext to avoid _t reserved prefix.
Originally committed as revision 16059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 19:27:53 +00:00
Baptiste Coudurier
09f6fc6b74 move structure definitions in their own header
Originally committed as revision 16051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 01:32:24 +00:00
Baptiste Coudurier
00d9d0f5e2 cosmetics
Originally committed as revision 16050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 01:16:01 +00:00
Baptiste Coudurier
049a6c8b32 use dsp clear_block
Originally committed as revision 16049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 01:15:00 +00:00
Baptiste Coudurier
af5e7fc9b9 use dsp clear_block
Originally committed as revision 16048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 01:14:32 +00:00
David Conrad
a1546009ac Fix compilation with only Theora decoder enabled
Originally committed as revision 16047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 00:33:02 +00:00
Kenan Gillet
5a3e9f2c80 Avoid the 'Claimed bitrate and buffer size mismatch' warning storm.
- Patch by Kenan Gillet

Originally committed as revision 16046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-11 00:11:02 +00:00
Loren Merritt
5fecfb7d58 clear_block mmx
Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-10 21:35:17 +00:00
Loren Merritt
5fac277602 fix progressive jpeg:
support refinement passes
remove intermediate clipping
remove redundant idct

Originally committed as revision 16044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-10 21:26:00 +00:00
Måns Rullgård
8153f14444 AAC: move scratch array to context to ensure 16-byte alignment
Originally committed as revision 16043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-10 00:50:59 +00:00
Alexis Ballier
7b5e49fe2e Remove useless inline qualifier, fixes linking with gcc 4.3.
patch by Alexis Ballier, alexis.ballier gmail com

Originally committed as revision 16042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-09 20:11:37 +00:00
Alex Converse
4a904903dc AAC: Use a sign LUT rather than 1-2*get_bits1()
Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-09 17:14:42 +00:00
Alex Converse
c0893c3abb AAC: Unroll code within decode_spectrum_and_dequant(). Gives 12% net speed gain.
Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-09 17:08:40 +00:00
Alex Converse
8821210575 AAC: Remove unnecessary fabsf()
Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-09 11:35:08 +00:00
Stefano Sabatini
dbbec0c2f2 Make av_log_missing_feature an internal function, and change its name
to ff_log_missing_feature.

Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-08 21:21:38 +00:00
Justin Ruggles
20e047262f cosmetics: alignment after last commit
Originally committed as revision 16035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-08 03:15:10 +00:00
Justin Ruggles
72a6244b5d ac3: detect dba errors and prevent writing past end of array
Originally committed as revision 16034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-08 03:13:20 +00:00
Kostya Shishkov
0dfcc36818 Do not attempt to decode RV30/40 B-frames without anchors.
This fixes issue 747.

Originally committed as revision 16031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-07 16:30:08 +00:00
Ramiro Polla
c687643c68 mlp: cosmetics: remove {}s over one-lined if.
Originally committed as revision 16027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-07 00:58:41 +00:00
Ramiro Polla
ee1a8f6290 mlp: support bit-depths greater than 16 by default.
Originally committed as revision 16026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-07 00:57:26 +00:00
Justin Ruggles
2ceccf045c ac3dec: simplify exponent bounds checking
Originally committed as revision 16022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:33:16 +00:00
Mathieu Velten
97679e6e38 mlp: Fix compilation under CONFIG_AUDIO_NONSHORT.
Patch by Mathieu Velten < matmaul at gmail dot com >

Originally committed as revision 16021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:28:48 +00:00
Justin Ruggles
d98d70d697 ac3dec: add missing feature log message for block start info
Originally committed as revision 16020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:19:44 +00:00
Justin Ruggles
3e7aa8fa4c ac3dec: use skip_bits_long() for block start bits
Originally committed as revision 16019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:18:10 +00:00
Justin Ruggles
96f229d6c0 ac3dec: unroll inner loop in exponent decoding. 46% faster decode_exponents().
Originally committed as revision 16018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:46:23 +00:00
Justin Ruggles
806703243e cosmetics: vertical alignment
Originally committed as revision 16017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:38:21 +00:00
Justin Ruggles
1cdd567f31 cosmetics: reindent after last commit
Originally committed as revision 16016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:37:04 +00:00
Justin Ruggles
ce7d842fa6 ac3dec: detect out-of-range exponents
Originally committed as revision 16015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:36:23 +00:00
Måns Rullgård
d8b66635e0 ARM: remove some useless comments
Originally committed as revision 16014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 13:42:00 +00:00
Kostya Shishkov
6149cdbe9d Make decoding run of pixels in MS RLE saner.
This is based on patches by Alex Converse and Mans Rullgard
Thread "[PATCH] Fix MSRLE type punning"

Originally committed as revision 16013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 09:05:30 +00:00
Kostya Shishkov
ce60c2d133 Print out some errors found during MS RLE decoding
Originally committed as revision 16012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 09:01:11 +00:00
Kostya Shishkov
56da1fd7d1 AASC can contain raw data in addition to MS-RLE
Originally committed as revision 16011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 08:57:31 +00:00
Michael Niedermayer
d23b28c78b Check that cpb_count is within the allowed range.
Originally committed as revision 16010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-05 21:44:18 +00:00
Michael Niedermayer
36d5b17514 Fix FF_OPT_TYPE_INT64 support of defaults.
Originally committed as revision 16008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-05 14:55:43 +00:00
Jai Menon
3d5e1bfb20 Fix an overflow in the predictor.
fixes issue 636
Patch by Jai.

Originally committed as revision 16007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-05 07:58:31 +00:00
Vitor Sessak
6e74619e5e Silence some ICC warnings. Patch by Vitor Sessak.
Originally committed as revision 16006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 20:24:22 +00:00
Reynaldo H. Verdejo Pinochet
87a9173679 Add expected const qualifier on 'buf' to match AVCodec.decode's declaration.
This change gets rid of another compiler warning.

Originally committed as revision 16005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 15:08:44 +00:00
Reynaldo H. Verdejo Pinochet
9e00c20e00 COSMETICS, add missing remarks crediting Ben and Kenan
Originally committed as revision 16003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 14:54:55 +00:00
Kostya Shishkov
675f71144b Fraps version 3 seems to be the same as Fraps v5
Originally committed as revision 16002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 14:43:42 +00:00
Baptiste Coudurier
02a5ef5329 partial WRAW fourcc support, might need image flipping
Originally committed as revision 16000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 02:59:11 +00:00
Justin Ruggles
f23dc1e1f9 silence gcc warning: ‘n_bands’ may be used uninitialized
Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 02:56:25 +00:00
Justin Ruggles
75b53b2123 ac3dec: use uint8_t for band sizes
Originally committed as revision 15998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 02:51:39 +00:00
Reynaldo H. Verdejo Pinochet
b12c76277b Removes misleading const qualifier, gets rid of two compiler warnings
Originally committed as revision 15997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 01:38:12 +00:00
Måns Rullgård
b0e8ce55ae ARM: convert VFP code to UAL syntax
Originally committed as revision 15994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 20:16:01 +00:00
Michael Niedermayer
289e8fd001 Implement complexity estimation parsing and try to detect an incorrectly set
complexity estimation flag.

Originally committed as revision 15993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 17:43:39 +00:00
Diego Biurrun
9686df2be5 Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Justin Ruggles
af2272b209 ac3dec: skip decoding and use error concealment for remaining blocks in
the frame after an error occurs.

Originally committed as revision 15987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 03:34:31 +00:00
Laurent Aimar
7a2efd2e44 mlp: initialize all CRC tables in a common function.
This way the decoder does not have to depend on the parser being initialized
before.
Patch by Laurent Aimar <fenrir at via dot ecp dot fr>.

Originally committed as revision 15986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 01:14:06 +00:00
Reynaldo H. Verdejo Pinochet
751ccc4852 Trivial rephrasing, avoids too long line
Originally committed as revision 15985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:26:55 +00:00
Reynaldo H. Verdejo Pinochet
cf13954134 Trivial, Cosmetics, mostly brace placement changes
Originally committed as revision 15984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:25:17 +00:00
Kostya Shishkov
3e16cde430 Fix reading out of buffer during RV30/40 deblock mask calculation
Originally committed as revision 15983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:14:53 +00:00
Kostya Shishkov
958a2b5d6b 34l: forgot to change one case of chroma MC for RV40
Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:12:48 +00:00
Kostya Shishkov
1799d5223e Check RV30/40 slice offsets to be inside buffer.
This fixes issue 738

Originally committed as revision 15981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 17:39:20 +00:00
Kostya Shishkov
a1c1c78019 Update ff_rv34_decode_frame() arguments definition
Originally committed as revision 15980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 17:35:38 +00:00
Kostya Shishkov
207625ee61 Remove unused RV40 spatial intra prediction function
Originally committed as revision 15979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 17:34:26 +00:00
Kenan Gillet
73b458e354 Commit last ok'ed parts of QCELP decoder and enable it.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 16:48:05 +00:00
Michael Niedermayer
a6f2c0d6e5 Fix regression test failure with pthreads on multiprocessor systems.
Fixes issue517

Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 10:43:08 +00:00
Kenan Gillet
061f407e53 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 22:07:00 +00:00
Vitor Sessak
b8438f5f48 Remove hack added to make "make checkheaders" pass, it is unneeded now
Originally committed as revision 15974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 20:45:29 +00:00
Kenan Gillet
f28b3eb21c More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 20:43:22 +00:00
Michael Niedermayer
c9c16cacb5 Get rid of now unneeded pps/sps correctness code as pps/sps will not
be used at all when anything fails sanity checks.

Originally committed as revision 15972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 16:24:19 +00:00
Michael Niedermayer
255d4e717f Allocate parameter sets sanely instead of using alloc_parameter_set().
Avoids ending up with half initialized parameter sets.
Fixes issue282.

Originally committed as revision 15971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 16:04:03 +00:00
Kostya Shishkov
11c0f9eca1 enable RV40 decoder
Originally committed as revision 15968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 06:40:36 +00:00
Kostya Shishkov
2d8a081511 RV40 MC functions
Originally committed as revision 15967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 06:36:22 +00:00
Michael Niedermayer
ff7f75e185 Fix segfault due to deallocated entries in delayed_pic after size change.
Fixes issue714.

Originally committed as revision 15965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 23:51:02 +00:00
Kenan Gillet
640760da3e More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 17:18:17 +00:00
Diego Biurrun
6dbdf2f26e Handle AltiVec objects in a more elegant fashion, similar to MMX.
Originally committed as revision 15960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 17:00:08 +00:00
Diego Biurrun
52ad2f390e Remove ineffectual hack that attempts to build ppc/check_altivec.o without
AltiVec flags. The flags are set by configure and used to compile all files
anyway. Setting extra AltiVec options here just duplicates them for the files
for which they are set.

Originally committed as revision 15959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 16:57:28 +00:00
Baptiste Coudurier
3bff4d8b7a Implement the fields rc_max_available_vbv_use and
rc_min_vbv_overflow_use in AVCodecContext, and use their values in the
ratecontrol code rather than hardcoded ones.

See the thread: "[RFC] ratecontrol buffer size magic".
Patch by Baptiste Coudurier.

Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 14:08:48 +00:00
Kostya Shishkov
d041a59897 Add support for parsing and decoding DCA-HD streams.
Originally committed as revision 15951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 10:06:37 +00:00
Kostya Shishkov
d33ee3f2b1 RV40 loop filter
Originally committed as revision 15950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 06:24:47 +00:00
Kostya Shishkov
de8cac167d Invoke future RV30/40 loop filter for already decoded rows instead of
the whole frame at once.

Originally committed as revision 15949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 06:22:31 +00:00
Diego Biurrun
10ac361827 Do not duplicate AAN DCT tables in dct-test.c.
Originally committed as revision 15948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-28 00:32:24 +00:00
Diego Biurrun
2d70cc38c5 Add missing '-test' in name of imgresample test.
Originally committed as revision 15947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-28 00:00:11 +00:00
Kostya Shishkov
f653095bdd Fix RV40 chroma MC
Originally committed as revision 15943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-27 07:26:26 +00:00
Diego Biurrun
2a023c36ea Only build the imgresample test if the old scaler was enabled.
Originally committed as revision 15941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 15:09:05 +00:00
Diego Biurrun
e8ed9b7a73 Automatically check the dependencies for the AAN DCT tables.
This also makes the AAN DCT tables individually selectable.

Originally committed as revision 15940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 15:07:03 +00:00
Diego Biurrun
8b22017f38 Move aanscales tables to their own file; fixes compilation without encoders.
based on a patch by David Geldreich, david.geldreich free fr

Originally committed as revision 15939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 13:38:13 +00:00
Diego Biurrun
5bdf124c42 cosmetics: Rename aanscales to ff_aanscales, it will soon be externally visible.
Originally committed as revision 15938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 13:28:30 +00:00
Diego Biurrun
f107a02d4e Move encoder-specific quantize_c and related tables to the H.264 encoder.
Originally committed as revision 15937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 10:22:55 +00:00
Reimar Döffinger
35d0c2173c Replace pushf/popf by explicit pushfl/popfl (32 bit) or pushfq/popfq (x86_64),
to fix generated code on ICC 11.0.

Originally committed as revision 15935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-25 07:34:20 +00:00
Måns Rullgård
bd2b6b33bf snow: move scratch buffer from stack to malloced buffer in context
This is required to ensure 16-byte alignment.

Originally committed as revision 15934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-25 00:20:49 +00:00
Diego Biurrun
ab56b321a9 Disable unused code for now to allow 'make checkheaders' to pass.
Originally committed as revision 15933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 21:31:01 +00:00
Diego Biurrun
4b5f19074e Add missing headers to get 'make checkheaders' closer to passing.
Originally committed as revision 15932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 21:29:07 +00:00
Måns Rullgård
819e4dd9e6 svq1enc: move scratch buffer from stack to context to ensure alignment
Originally committed as revision 15931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 19:08:02 +00:00
Måns Rullgård
6b8810d0ca flashsv: use skip_bits_long() where required
skip_bits(gb, n) with n > 17 doesn't work with all bitstream readers.
Switch to skip_bits_long() instead.

Originally committed as revision 15930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 19:00:55 +00:00
Baptiste Coudurier
f4cca718cf move decoder initialization in separate function, earlier failure detection
Originally committed as revision 15929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 18:49:50 +00:00
Diego Biurrun
f2e92ad105 Make non-void replacement functions actually return a value.
Originally committed as revision 15928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 16:33:11 +00:00
Diego Biurrun
ce9ff9cc52 Move #defines that are mostly used in h264.c out of h264data.h and into h264.h.
Originally committed as revision 15927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 16:08:21 +00:00
Diego Biurrun
ee2a957fbd Use golomb_to_pict_type instead of its duplicate, slice_type_map.
Originally committed as revision 15926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 15:53:16 +00:00
Diego Biurrun
7f8f4b40aa cosmetics: Align table for better readability.
Originally committed as revision 15925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 12:39:02 +00:00
Kostya Shishkov
c5b2fe165a Some BMP files have file size declared in the header equal to headers size
without image data, so try to correct that value before conducting checks on
declared file size.

Originally committed as revision 15924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 11:24:02 +00:00
Kostya Shishkov
e282307b21 Give more meaningful message on BMP header parsing error
Originally committed as revision 15923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 10:58:32 +00:00
Kostya Shishkov
4a14e66605 Add known BMP header sizes.
Now 11B*.bmp from samples repository can be decoded.

Originally committed as revision 15922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 10:53:13 +00:00
Måns Rullgård
4deaa94639 Add shift argument to MULL() macro
This replaces use of FRAC_BITS in the MULL() definition with a third
argument specifying the shift amount.  All uses of this macro are
updated to pass FRAC_BITS as third argument.

Originally committed as revision 15921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 09:28:55 +00:00
Robert Swain
8f5aaa6d2f AAC: Cosmetics after last commit
Originally committed as revision 15920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 00:14:33 +00:00
Alex Converse
7633a0415d AAC: Frequency domain prediction and hence Main profile support
Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 15919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 00:13:50 +00:00
Kostya Shishkov
e9d0fdef53 Strong filtering function for future RV40 loop filter
Originally committed as revision 15918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 19:36:44 +00:00
Måns Rullgård
d270cb4ae4 ARM: move dct_unquantize_h263_*_armv5te asm to separate file
Originally committed as revision 15917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 19:11:44 +00:00
Diego Biurrun
76de302dd8 cosmetics: indentation, prettyprinting
Originally committed as revision 15908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 16:36:50 +00:00
Diego Biurrun
7f8205da4c cosmetics: consistent function declarations
Originally committed as revision 15907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 16:03:20 +00:00
Diego Biurrun
7d1b158284 cosmetics: Put statements after 'if' on their own line.
Originally committed as revision 15906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 15:57:59 +00:00
Reynaldo H. Verdejo Pinochet
8372e3d263 Trivial, Cosmetics
Originally committed as revision 15905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 00:29:49 +00:00
Reynaldo H. Verdejo Pinochet
1b321c5c96 Trivial, Cosmetics
Originally committed as revision 15904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 00:27:26 +00:00
Kenan Gillet
148c31b9c2 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-21 18:39:16 +00:00
Vitor Sessak
31fb59ec98 Cosmetic: Fix typo
Spotted by Jethro Walters

Originally committed as revision 15900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-21 17:38:14 +00:00
Diego Biurrun
3c54686885 Move H.264 tables that are only useful for encoding to h264enc.c.
Originally committed as revision 15899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-21 10:00:03 +00:00
Diego Biurrun
d1eb20e878 Get rid of last ifdef HAVE_MMX. Instead, all MMX-specific objects are gathered
into a separate variable which is added to OBJS if MMX is enabled.

Originally committed as revision 15898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 23:04:04 +00:00
Måns Rullgård
516566a8ec SH4: fix IDCT
Originally committed as revision 15897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:57:57 +00:00
Diego Biurrun
f0e602351e cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:53:18 +00:00
Diego Biurrun
0d2d0f97a5 Move FFT-specific MMX optimizations out of the 'ifdef HAVE_MMX' block.
The MMX dependency is already handled by configure.

Originally committed as revision 15895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:50:13 +00:00
Diego Biurrun
d785a67066 cosmetics: indentation
Originally committed as revision 15894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:48:51 +00:00
Diego Biurrun
39fdda2bf1 Use standard OBJS-$(HAVE_MMX) trick for MMX objects instead
of surrounding them by an ifdef.

Originally committed as revision 15893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:47:18 +00:00
Kenan Gillet
469105aadb Fix typo in table value.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 19:04:35 +00:00
Kostya Shishkov
cd98279126 33l Fix applying residue condition in RV30/40 decoder
Originally committed as revision 15891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 14:07:37 +00:00
Kostya Shishkov
78a0fa8c8f Eliminate direct use of s->current_picture in RV30/40 decoder
Originally committed as revision 15890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 14:05:29 +00:00
Kostya Shishkov
7690351cf3 Use wider margins for edge emulation in RV30/40
Originally committed as revision 15889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 14:03:35 +00:00
Måns Rullgård
c260b59603 SH4: fix memzero_align8()
Originally committed as revision 15888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 09:21:52 +00:00
Måns Rullgård
1a9e9a2fbd SH4: add macros for setting and restoring FPSCR.PR bit
Originally committed as revision 15887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 09:21:50 +00:00
Måns Rullgård
6f14b19e48 SH4: remove some commented out blocks of code
Originally committed as revision 15886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 09:21:46 +00:00
Roman Shaposhnik
a21fd75f56 Making idct factor tables dynamically allocated
Originally committed as revision 15885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 01:40:40 +00:00
Kostya Shishkov
eeee48b26b Add channel layout to several audio decoders I maintain
Originally committed as revision 15884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 14:57:48 +00:00
Roman Shaposhnik
ff16d6e495 Change of indentation
Originally committed as revision 15883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 01:40:09 +00:00
Måns Rullgård
df69be0c13 SH4: fix IDCT
Originally committed as revision 15882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:30 +00:00
Måns Rullgård
6f15dd8d14 SH4: do not mix code and declarations
Originally committed as revision 15881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:28 +00:00
Måns Rullgård
c136ece9b3 SH4: fix compilation of memzero_align8()
Originally committed as revision 15880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:24 +00:00
Måns Rullgård
b42019c130 SH4: remove unused functions
Originally committed as revision 15879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:21 +00:00
Måns Rullgård
d7e0f8dda6 SH4: replace missed rnd_avg2 -> rnd_avg32
Originally committed as revision 15878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:17 +00:00
Måns Rullgård
23e05e69a8 SH4: rename functions with conflicting names
Originally committed as revision 15877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:14 +00:00
Diego Biurrun
45e730c5e5 cosmetics: Add a few more explanatory comments to the object sections.
Originally committed as revision 15876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 22:48:43 +00:00
Diego Biurrun
a261890432 cosmetics: Sort processor-specific object lines into alphabetical order.
Originally committed as revision 15875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 22:37:22 +00:00
Roman Shaposhnik
195b349041 Getting rid of huge static DV tables
Originally committed as revision 15874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 20:48:26 +00:00
Roman Shaposhnik
1ac1217bd6 Getting rid of unneeded extra wrapper functions
Originally committed as revision 15873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 20:33:08 +00:00
Diego Biurrun
40b509b36b Add a Makefile variable for the old scaler that gets enabled when the new
scaler is disabled to get rid of a Makefile ifdef.

Originally committed as revision 15867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 22:51:59 +00:00
Diego Biurrun
767d3e7bf7 Revert previous commit: the libavcodec/i386/fft_*.o objects depend on
libavcodec/i386/fft_mmx.o, which depends on yasm.

Originally committed as revision 15866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 21:56:34 +00:00
Diego Biurrun
ba01d867f5 Only the yasm-dependent objects should be enabled by a yasm conditional.
Originally committed as revision 15865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 19:01:25 +00:00
Diego Biurrun
c6786edb3c cosmetics: Group ppc-specific objects together.
Originally committed as revision 15863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 16:38:50 +00:00
Diego Biurrun
607ffa34ba cosmetics: Group ARM objects sections together.
Originally committed as revision 15856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 15:36:28 +00:00
Diego Biurrun
e9e74e0ad5 cosmetics: Reorder processor-specific entries alphabetically.
Originally committed as revision 15855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 15:09:45 +00:00
Benoit Fouet
074bfa7de7 Change email address to a valid one.
Originally committed as revision 15848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 14:04:56 +00:00
Carl Eugen Hoyos
7e8efe18ba One const is enough.
Originally committed as revision 15847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 12:48:31 +00:00
Benjamin Larsson
b836fb0060 Silence warning in imc decoder
Originally committed as revision 15844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 10:16:07 +00:00
Benjamin Larsson
31d5113a15 Set channel_layout
Originally committed as revision 15843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 09:54:09 +00:00
Kostya Shishkov
55374d57e8 421l: postproc flag may be present in any VC-1 AP frame type
Originally committed as revision 15842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 06:47:44 +00:00
Reynaldo H. Verdejo Pinochet
8e36385a63 Credit Kenan Gillet for his contributions towards merging the SoC QCELP decoder.
Originally committed as revision 15839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 01:00:25 +00:00
Reynaldo H. Verdejo Pinochet
1c3ae1abf2 Cosmetics
Originally committed as revision 15838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 00:57:06 +00:00
Reynaldo H. Verdejo Pinochet
f29289eec7 Change to file description suggested by Michael
Originally committed as revision 15837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 00:05:20 +00:00
Benjamin Larsson
92765276fb Proper channel output reordering for the dca decoder.
Originally committed as revision 15832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 20:31:03 +00:00
Reynaldo H. Verdejo Pinochet
8257d2ad51 Please keep original copyright heading and attribution lines...
Originally committed as revision 15831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 20:19:20 +00:00
Kostya Shishkov
70f42303e7 Weak deblock filter function for future RV40 loop filter
Originally committed as revision 15827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 14:15:24 +00:00
Kenan Gillet
39ded68013 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 17:36:47 +00:00
Baptiste Coudurier
70a61f8cf7 remove useless mmx.h include
Originally committed as revision 15820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 02:49:23 +00:00
Baptiste Coudurier
d45be17855 convert fdct_mmx to plain asm
Originally committed as revision 15819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 02:44:15 +00:00
Justin Ruggles
e202cc2580 revert r15812 (E-AC-3 Spectral Extension) pending further review
Originally committed as revision 15818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 22:38:38 +00:00
Baptiste Coudurier
83534418f0 add sse2 fdct
Originally committed as revision 15817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 19:54:02 +00:00
Carl Eugen Hoyos
74e8b78b20 Fix H.264 decoding.
(Problem analyzed by Uoti Urpala)

Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 11:33:26 +00:00
Justin Ruggles
3f3ca7ac07 cosmetics: vertical alignment
Originally committed as revision 15815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:28 +00:00
Justin Ruggles
c763f86728 silence a gcc warning about using an uninitialized variable
Originally committed as revision 15814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:24 +00:00
Justin Ruggles
66561189a1 cosmetics: indentation
Originally committed as revision 15813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:18 +00:00
Justin Ruggles
0cc51734b2 add support for spectral extension
Originally committed as revision 15812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:13 +00:00
Justin Ruggles
0c5d750df9 add a generic function to decode banding structure for coupling, spectral
extension, or enhanced coupling

Originally committed as revision 15811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:07 +00:00
Justin Ruggles
6c6f927289 add a line break in error message text
Originally committed as revision 15810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:01 +00:00
Justin Ruggles
6ee6d068f7 simplify decoding of coupling frequency range
Originally committed as revision 15809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:17:56 +00:00
Justin Ruggles
24834c1928 cosmetics: rename two variables
Originally committed as revision 15808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:17:50 +00:00
Roman Shaposhnik
2ae7e12430 Taking advantage of the new ->execute API
Originally committed as revision 15806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 21:13:28 +00:00
Måns Rullgård
77753f874a ARM: fix j_rev_dct_ARM
This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct'
function.

The problem was in the incorrect partially empty row detection. Even
if the first two coefficients in the row were nonzero, it handled this
just like the case with only the first nonzero coefficient.

Now this function produces exactly the same output as the stripped
down reference C version of 'j_rev_dct' (with the nested checks like
'if (d6) { if (d2) { ...' always evaluated as true, avoiding shortcut
branches).

Originally committed as revision 15805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 20:23:36 +00:00
Roman Shaposhnik
3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
Diego Biurrun
52ece41057 Remove unused variable.
Originally committed as revision 15803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:29:02 +00:00
Kenan Gillet
200de8c6bb More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 18:50:38 +00:00
Benjamin Larsson
e22192ecc3 Comment typo
Originally committed as revision 15801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:46:29 +00:00
Benjamin Larsson
cd027b511e Remove channel layout table that only should be used by encoders.
Originally committed as revision 15800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:30:32 +00:00
Martin Storsjö
916ff02261 Fix memory leak in libgsm wrapper.
Patch by Martin Storsjö, martin at martin dot st

Originally committed as revision 15798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-10 20:02:00 +00:00
Kenan Gillet
2ae1a9b264 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-09 12:00:47 +00:00
Kostya Shishkov
502ecc97af Split RV3/4 deblock pattern into horizontal and vertical parts
during calculating.

Originally committed as revision 15794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 18:15:13 +00:00
Kostya Shishkov
ede0a5f973 Drop redundant check in RV3/4 deblock coefficients calculation
Originally committed as revision 15792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 07:24:56 +00:00
Peter Ross
28245435d9 Electronic Arts TGQ/TQI/MAD IDCT algorithm
Originally committed as revision 15790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:38:10 +00:00
Peter Ross
42b30357be Electronic Arts TGQ video decoder
Originally committed as revision 15789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:29:22 +00:00
Roman Shaposhnik
c3d470b4a9 implementing more efficient (and direct) allocation of work for DV codec workers
Originally committed as revision 15788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:18:00 +00:00
Peter Ross
939e4e3a72 Promote inv_aanscales array to global scope (ff_inv_aanscales)
Originally committed as revision 15787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:15:08 +00:00
Kostya Shishkov
e122311261 Calculating an additional MV-based deblocking pattern is the same
for both RV3 and RV4, so move it into common code.

Originally committed as revision 15786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-07 07:18:22 +00:00
Måns Rullgård
d00e8b83f1 ARM: change MUL16() macro to inline function
Originally committed as revision 15783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:28 +00:00
Måns Rullgård
b911711571 ARM: prettify MAC16() macro
Originally committed as revision 15782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:26 +00:00
Måns Rullgård
73c1c96b83 ARM: change MULH() macro to inline function
Originally committed as revision 15781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:23 +00:00
Måns Rullgård
8f4d0d48b9 ARM: change MULL() macro to inline function
Originally committed as revision 15780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:20 +00:00
Måns Rullgård
96dea17a1d ARM: mathops.h whitespace cosmetics
Originally committed as revision 15779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:17 +00:00
Diego Biurrun
7fb9440674 Add missing #include "libavutil/avstring.h", fixes
libavcodec/utils.c:1139: warning: implicit declaration of function 'av_strlcat'

Originally committed as revision 15777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 23:28:41 +00:00
Alex Converse
d0ee50216d Fix perceptual noise shaping scaling including an oversight of the offset for
the EIGHT_SHORT window type. Fixes issue 664.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 13:59:42 +00:00
Diego Biurrun
c2dec19420 Fix test program build: ff_eval was replaced by ff_eval2.
Originally committed as revision 15775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 13:32:06 +00:00
Andreas Öman
b09a7c05f6 h264: Implement decoding of picture timing SEI message.
Now correct values are propagated to interlaced_frame, top_field_first
and repeat_pict in AVFrame structure.

patch by ffdshow tryouts

Originally committed as revision 15773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-04 18:31:48 +00:00
Andrew Savchenko
9f0a705d46 Only warn about "Invalid and inefficient vfw-avi packed B frames" once.
Patch by Andrew Savchenko, Bircoph at list dot ru

Originally committed as revision 15772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-04 06:54:42 +00:00
Diego Biurrun
9f879620be Fix illegal identifier, __ are reserved for the system.
Originally committed as revision 15771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-03 21:59:35 +00:00
Dominik Mierzejewski
82d1605fe7 Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
Add missing one for FF_MM_ALTIVEC to avcodec.h.
Rename all the occurences of MM_* to the corresponding FF_MM_*.

Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-03 18:08:00 +00:00
Benjamin Larsson
c6eaba62e8 Change the dca channel layout, S -> SIDE not BACK.
Originally committed as revision 15769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 21:51:27 +00:00
Andreas Öman
9d9b9d32e6 Change multichannel API define prefix from "CHANNEL_" to "CH_".
Originally committed as revision 15768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 21:04:28 +00:00
Benjamin Larsson
48dc2fb800 Guess channel layout based on the number of channels if a custom layout is specified in amode.
Originally committed as revision 15766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 20:49:37 +00:00
Benjamin Larsson
87c3b9bce3 Add channel layouts for dca.
Originally committed as revision 15765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 20:27:05 +00:00
Kostya Shishkov
b215365817 Introduce RV3-specific motion vector prediction.
Now B-frames in RV3 look almost correct.

Originally committed as revision 15764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 17:57:44 +00:00
Peter Ross
0d72e7d0ae Add audio channel layout API to libavcodec.
Originally committed as revision 15762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 05:03:42 +00:00
François Revol
3a57547e33 Fix build.
Originally committed as revision 15761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-31 19:31:36 +00:00
Kenan Gillet
cb377ec55e OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:37:18 +00:00
Kenan Gillet
6cd911f11a Fix numbers in Doxygen comments, patch by Kenan Gillet, kenan.gillet gmail com.
Originally committed as revision 15758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:32:43 +00:00
Vitor Sessak
08c433972e Use ff_dot_productf() in ra288.c
Originally committed as revision 15757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:24:40 +00:00
Diego Biurrun
3ef08e321a Remove nonsense @return Doxygen comment for void function.
Originally committed as revision 15756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:12:43 +00:00
Diego Biurrun
88df35d3e8 cosmetics: small spelling fixes
Originally committed as revision 15755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:11:30 +00:00
Kenan Gillet
1fb0d4b8a6 Add a LPC filter
Part of the QCELP patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 21:05:37 +00:00
Kenan Gillet
0bc484ad51 Add ff_dot_productf() to celp_math.{c,h}
Part of the QCELP patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 21:04:17 +00:00
Kenan Gillet
8c31f18bf9 More OKed parts of QCELP data tables
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 21:00:01 +00:00
Roman Shaposhnik
0e60e19019 renaming macro in order to conform with the rest of libavcodec
Originally committed as revision 15751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 15:43:00 +00:00
Art Clarke
bc48bb0822 Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 09:13:48 +00:00
Kostya Shishkov
5f621dd28a Correct motion vector scaling in B-frames for RV3/4
Originally committed as revision 15747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 06:08:47 +00:00
Diego Biurrun
1fcb9be39a asm() --> __asm__() in #warning comment
Originally committed as revision 15746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 23:44:40 +00:00
Diego Biurrun
01f54021dc Add missing headers to pass 'make checkheaders'.
Originally committed as revision 15745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 23:43:55 +00:00
Art Clarke
a9a8c830cf Fix av_picture_copy missing pixels on packed planar AVPictures with odd size.
patch by Art Clarke, aclarke vlideshow com

Originally committed as revision 15744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 23:07:49 +00:00
Michael Niedermayer
bf2cdefc6a Reset state after some frame header is found.
Fixes issue704

Originally committed as revision 15742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 21:08:14 +00:00
Kenan Gillet
ba26cfab47 OKed parts of QCELP data tables
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 06:26:56 +00:00
Diego Biurrun
2be3fe39bf Add the function declaration of ff_svq1_packet_checksum to svq1.h and include
svq1.h where this function is used. Fixes the warning:
libavcodec/svq3.c:862: warning: implicit declaration of function ‘ff_svq1_packet_checksum’

Originally committed as revision 15737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 23:11:59 +00:00
Michael Niedermayer
b735aeead8 Replace literally hardcoded max slice number by named constant.
Originally committed as revision 15736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 22:50:16 +00:00
Benjamin Larsson
d5b3a86393 Fix compilation, remove stray ;
Originally committed as revision 15735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 15:20:52 +00:00
Benjamin Larsson
9ed73b4870 Fix selection of quant step table
Originally committed as revision 15734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 14:50:46 +00:00
Benjamin Larsson
6f02853d14 Fix huffman coded dca samples.
Originally committed as revision 15733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 14:43:06 +00:00
Kostya Shishkov
42d6c3ba36 Detect split RV30 slices
Originally committed as revision 15732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 05:37:02 +00:00
Kostya Shishkov
2ee054c215 Fix chroma motion compensation for RV30
Originally committed as revision 15731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 19:07:39 +00:00
Diego Pettenò
782fc0c36f Rename template included sources from .h to _template.c.
There are multiple source files that are #include'd rather than
compiled, as they are used as template for generation of similar code,
like asm-optimised code. Some of these files are right now named with
a .h extension, although they are not header in any reasonable sense.

Rename them so that instead of being named with .h extension they are
named with _template.c as final part.

Originally committed as revision 15730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 14:35:58 +00:00
Måns Rullgård
d2d398590d ARM: move add_pixels_clamped_ARM() to dsputil_arm_s.S
Originally committed as revision 15728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:19 +00:00
Måns Rullgård
83ad74e708 ARM: move VFP DSP functions to dsputils_vfp.S
Originally committed as revision 15727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:16 +00:00
Måns Rullgård
a648516b95 ARM: move prefetch_arm to dsputil_arm_s.S
Originally committed as revision 15726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:12 +00:00
Måns Rullgård
c130bedc99 ARM: use new macros for assembler function labels
Originally committed as revision 15725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:09 +00:00
Måns Rullgård
c72ab30188 ARM: add some assembler convenience macros
Originally committed as revision 15724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:06 +00:00
Baptiste Coudurier
c48649242d svq3 watermark code now needs zlib
Originally committed as revision 15719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 23:41:00 +00:00
Baptiste Coudurier
1e002b602f svq3 watermark decoding support, based on reverse engineering work by chrono
Originally committed as revision 15718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 23:34:44 +00:00
Måns Rullgård
ede725104b cosmetic: align backslashes in makefiles
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 15:21:45 +00:00
Måns Rullgård
864ac5d648 Merge OBJS-$(FOO) lists with same FOO
Originally committed as revision 15716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 14:26:28 +00:00
Benjamin Larsson
ba5fc967f6 Disable codec downmix when not using simd instead of silently produce silence
Originally committed as revision 15715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 10:14:16 +00:00
Benjamin Larsson
1402ee721a Fix dca decoder with non simd float2int16 conversion
Originally committed as revision 15714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 09:54:53 +00:00
Benjamin Larsson
49c91c34b3 Fix compilation with TRACE
Originally committed as revision 15713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 09:50:15 +00:00
Aurelien Jacobs
590bd200dd remove useless ifdeffery, tscc won't do anything useful without zlib
Originally committed as revision 15711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 18:37:50 +00:00
Aurelien Jacobs
bee764ec6b svq3: remove unused include
Originally committed as revision 15709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 17:17:08 +00:00
Måns Rullgård
c87348a922 Use OBJS variable for all object files
There is no longer any need to differentiate the object files
by source type.

Originally committed as revision 15708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 14:00:28 +00:00
Måns Rullgård
4f03499329 Add CONFIG_GOLOMB and auto-select when needed
Originally committed as revision 15706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:47 +00:00
Måns Rullgård
47a158cb8b Auto-enable CONFIG_MDCT when needed
Originally committed as revision 15705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:43 +00:00
Diego Biurrun
6e587953b9 cosmetics: Change the order of mlp parser objects to be consistent.
Originally committed as revision 15697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 01:28:29 +00:00
Diego Biurrun
a79d1aed48 Move declaration of mlp decoder dependency on mlp parser to the Makefile
where all other such dependencies are declared.

Originally committed as revision 15696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 01:21:43 +00:00
Måns Rullgård
b6bb00b07d Build MMX/SSE FFT only if CONFIG_FFT is set
Originally committed as revision 15692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:21 +00:00
Måns Rullgård
1848f7d9f9 Auto-enable CONFIG_FFT for codecs that need it
Originally committed as revision 15686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:54 +00:00
Diego Biurrun
f94036f159 prettyprinting cosmetics
Originally committed as revision 15682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:41:27 +00:00
Diego Biurrun
75f2c20983 spelling cosmetics
Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:37:06 +00:00
Kenan Gillet
4599d22c0c Split off celp_filters.[ch] from acelp_filters.[ch] for the QCELP decoder.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:29:23 +00:00
Kenan Gillet
60c25a4beb Rename acelp_math.[ch] to celp_math.[ch] to prepare for QCELP decoder merge.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:20:29 +00:00
David Conrad
ae14f311f8 Speex decoding via libspeex
Originally committed as revision 15676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 06:29:05 +00:00
Kostya Shishkov
60ce2f9cae Choose RV3/4 DC quantizer correctly
Originally committed as revision 15675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 06:17:18 +00:00
Baptiste Coudurier
da396bf84e dnxhd parser
Originally committed as revision 15673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 01:38:30 +00:00
Baptiste Coudurier
98a8ce4964 add state64 field to ParseContext storing last 8 bytes, to be able to check for longer startcodes
Originally committed as revision 15671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-23 17:12:41 +00:00
Benoit Fouet
e7f3c72212 Revert r15653.
Was "Copy pts for each raw encoded frame."
It causes problems as timestamps management when video sync is zero needs
rework in ffmpeg.c.

Originally committed as revision 15669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-23 07:30:16 +00:00
Aurelien Jacobs
37d3e0667a uses FF_ARRAY_ELEMS() where appropriate
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 21:40:24 +00:00
Reimar Döffinger
31c4f07017 Use x86_reg type instead of long in float_to_int16 MMX/SSE functions.
Fixes compilation on MinGW64.

Originally committed as revision 15655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 16:05:29 +00:00
Michael Niedermayer
c8714ea1b3 Use av_freep() in ff_parse_close().
Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 09:02:55 +00:00
Andrew Wason
772581680c Copy pts for each raw encoded frame.
Patch by Andrew Wason rectalogic rectalogic com
Fixes issue 676

Originally committed as revision 15653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 07:35:17 +00:00
Kostya Shishkov
ccfe8ae310 34l: free RV3/4 context variables at the end
Originally committed as revision 15652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 05:59:50 +00:00
Kostya Shishkov
def4f63b85 RV3 and RV4 decoders set some deblocking coefs for each macroblock,
so store them in the context and register a function to calculate them.

Originally committed as revision 15651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 05:58:05 +00:00
Kostya Shishkov
c0b821befb Mark some of RV3/4 block types as having separate DC subblock
Originally committed as revision 15650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 05:54:31 +00:00
David Conrad
0dba1995bc Cosmetics: reindent
Originally committed as revision 15644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 04:44:24 +00:00
David Conrad
ca4a4ac1b3 Combine non-bitexact sections
Originally committed as revision 15643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 04:43:35 +00:00
David Conrad
daa1ea049a VP3 loop filter is mmx2 not mmx
Originally committed as revision 15642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 04:40:24 +00:00
David Conrad
357f45d9bc MMX VP3 Loop Filter
Originally committed as revision 15630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-17 03:18:08 +00:00
Diego Pettenò
be449fca79 Convert asm keyword into __asm__.
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.

Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 13:34:09 +00:00
Bartłomiej Wołowiec
757d91a6e6 Use of new bitstream in vorbis_enc.c.
Patch by Bartłomiej Wołowiec b wolowiec AT students mimuw edu pl

Originally committed as revision 15622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 08:01:54 +00:00
Benoit Fouet
a6080be7a2 Cosmetics: fix indentation after previous commit.
Originally committed as revision 15621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 07:31:06 +00:00
Nicolas George
9c8f0768e3 Add a flag to avoid calling vorbis_analysis_wrote twice with an empty buffer.
Patch by Nicolas George: name surname normalesup org

Originally committed as revision 15620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 07:29:37 +00:00
Michael Niedermayer
e46a98271e Include zlib.h as it is needed for watermark support,
patch by baptiste based on reverse engineering work by chrono.

Originally committed as revision 15618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-14 20:42:54 +00:00
Michael Niedermayer
795bb9dcb0 Export svq1_packet_checksum() that is needed for svq3 watermarks,
patch by baptiste that is based on reverse engineering work by chrono.

Originally committed as revision 15617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-14 20:34:31 +00:00
Michael Niedermayer
1fdcdf8d87 Add variable to hold the svq3 watermarking key,
patch by baptiste that is based on reverse engineering by chrono.

Originally committed as revision 15616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-14 20:30:11 +00:00
Ralf Terdic
5c4e97282f Fix mem leak.
Patch by Ralf Terdic contact >AT< jswiff com

Originally committed as revision 15612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 13:47:05 +00:00
Carl Eugen Hoyos
95240bf3e3 Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
Originally committed as revision 15611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 07:42:11 +00:00
Aurelien Jacobs
40056c32df vp6dec: ensure we don't try to use a buffer with negative size
this should never happen in valid vp6 bitstream
fix issue684

Originally committed as revision 15610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 00:10:53 +00:00
Carl Eugen Hoyos
3bd9f70835 Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.
Originally committed as revision 15604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 20:22:55 +00:00
David Conrad
c5f67c1559 Remove unused variables
Originally committed as revision 15602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 19:41:17 +00:00
Ramiro Polla
f2e5786771 nellymoserenc: flush PutBitContext after use.
Originally committed as revision 15596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-11 14:52:00 +00:00
Måns Rullgård
57bb0da679 aac_parser: fix strict aliasing violation
Originally committed as revision 15595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-11 11:21:45 +00:00
Baptiste Coudurier
f76543c9b9 get_pixels_sse2, ~+12% performance compared to mmx
Originally committed as revision 15591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-09 18:36:49 +00:00
Aurelien Jacobs
fc228c9014 allows calling avcodec_find_(en|de)coder_by_name with NULL parameter
Originally committed as revision 15586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-08 17:19:26 +00:00
Diego Biurrun
098b4169f1 Add a bunch of const qualifiers to function arguments.
Taken from the upstream libmpeg2 version of the file.

Originally committed as revision 15585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 21:41:25 +00:00
Roman Shaposhnik
4e92dabf60 replacing frame_rate and frame_rate_base with an AVRational time_base
Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:59:18 +00:00
Roman Shaposhnik
45580f8d4d cosmetic updates as per Michael's suggestion
Originally committed as revision 15582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:07:15 +00:00
Roman Shaposhnik
90d30402b4 vertically aligning as per Michael's suggestion
Originally committed as revision 15581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:06:18 +00:00
Roman Shaposhnik
6a276c46b1 unrolling the loops as per Michael's suggestion
Originally committed as revision 15580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:52:20 +00:00
Roman Shaposhnik
0843ddcb91 fixing a bug that prevented proper unweighting table to be selected
Originally committed as revision 15579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:51:29 +00:00
Roman Shaposhnik
2b6cee9f1e Doxygenizing the comments
Originally committed as revision 15578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:50:29 +00:00
Roman Shaposhnik
c9b0b38f45 simplifying the code as per Michael's suggestion
Originally committed as revision 15577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:49:45 +00:00
Diego Biurrun
8f271177b0 Sync cosmetics from upstream.
Originally committed as revision 15576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 08:37:20 +00:00
Alex Converse
fbdae895f2 Rename variables to clarify the channel coupling element and corresponding
target channel element.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 16:22:11 +00:00