platform/upstream/libav.git
16 years agoDirac encapsulation in MPEG-TS
Anuradha Suraparaju [Wed, 13 Aug 2008 19:29:35 +0000 (19:29 +0000)]
Dirac encapsulation in MPEG-TS
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 14734 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomlp: Split common code from parser and decoder to be used by encoder.
Ramiro Polla [Wed, 13 Aug 2008 18:47:03 +0000 (18:47 +0000)]
mlp: Split common code from parser and decoder to be used by encoder.

Originally committed as revision 14733 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unused variable.
Diego Biurrun [Wed, 13 Aug 2008 18:33:25 +0000 (18:33 +0000)]
Remove unused variable.

Originally committed as revision 14732 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unused variable.
Diego Biurrun [Wed, 13 Aug 2008 18:32:16 +0000 (18:32 +0000)]
Remove unused variable.

Originally committed as revision 14731 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago10000l, revert mistakely commited and unrelated hunk.
Michael Niedermayer [Wed, 13 Aug 2008 18:20:54 +0000 (18:20 +0000)]
10000l, revert mistakely commited and unrelated hunk.

Originally committed as revision 14730 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMove -D_ISOC9X_SOURCE to configure so its available to all tests.
Michael Niedermayer [Wed, 13 Aug 2008 18:17:26 +0000 (18:17 +0000)]
Move -D_ISOC9X_SOURCE to configure so its available to all tests.

Originally committed as revision 14729 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agostrcasecmp() requires #include <strings.h>
Aurelien Jacobs [Wed, 13 Aug 2008 17:22:53 +0000 (17:22 +0000)]
strcasecmp() requires #include <strings.h>

Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomove M_PI definition along with other math definitions
Aurelien Jacobs [Wed, 13 Aug 2008 16:01:21 +0000 (16:01 +0000)]
move M_PI definition along with other math definitions

Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoShow result of yasm test.
Carl Eugen Hoyos [Wed, 13 Aug 2008 15:03:57 +0000 (15:03 +0000)]
Show result of yasm test.

Originally committed as revision 14726 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agodefine some math constants so as not to depend on _XOPEN_SOURCE
Aurelien Jacobs [Wed, 13 Aug 2008 10:04:59 +0000 (10:04 +0000)]
define some math constants so as not to depend on _XOPEN_SOURCE

Originally committed as revision 14725 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE
Aurelien Jacobs [Wed, 13 Aug 2008 10:03:20 +0000 (10:03 +0000)]
ffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE

Originally committed as revision 14724 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: parse available blocks even when cluster parsing failed
Aurelien Jacobs [Wed, 13 Aug 2008 09:36:45 +0000 (09:36 +0000)]
matroskadec: parse available blocks even when cluster parsing failed
This way, we still read the few complete blocks out of a truncated
cluster at the end of a truncated file.

Originally committed as revision 14723 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomlp_parser: Initialize crc data in its own function.
Ramiro Polla [Wed, 13 Aug 2008 02:44:38 +0000 (02:44 +0000)]
mlp_parser: Initialize crc data in its own function.

Originally committed as revision 14722 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomlpdec: Put some doxy comments to the right of vars instead of interleaved.
Ramiro Polla [Wed, 13 Aug 2008 01:41:06 +0000 (01:41 +0000)]
mlpdec: Put some doxy comments to the right of vars instead of interleaved.

Originally committed as revision 14721 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomlpdec: Split channel parameters from context into their own struct.
Ramiro Polla [Wed, 13 Aug 2008 01:36:01 +0000 (01:36 +0000)]
mlpdec: Split channel parameters from context into their own struct.

Originally committed as revision 14720 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agooptimize ac3_downmix.
Loren Merritt [Tue, 12 Aug 2008 23:45:46 +0000 (23:45 +0000)]
optimize ac3_downmix.
1.3x faster 5.1->stereo, 1.9x faster 5.1->mono.

Originally committed as revision 14719 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd needed include, make it compile without -D_BSD_SOURCE.
Michael Niedermayer [Tue, 12 Aug 2008 21:02:37 +0000 (21:02 +0000)]
Add needed include, make it compile without -D_BSD_SOURCE.

Originally committed as revision 14718 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomlpdec: whitespace and line-breaking cosmetics.
Ramiro Polla [Tue, 12 Aug 2008 18:05:58 +0000 (18:05 +0000)]
mlpdec: whitespace and line-breaking cosmetics.

Originally committed as revision 14717 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomlpdec: Split filter parameters from context into their own struct.
Ramiro Polla [Tue, 12 Aug 2008 17:53:59 +0000 (17:53 +0000)]
mlpdec: Split filter parameters from context into their own struct.

Originally committed as revision 14716 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoincrease MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm
Baptiste Coudurier [Tue, 12 Aug 2008 17:28:00 +0000 (17:28 +0000)]
increase MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm

Originally committed as revision 14715 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPrevent dts generation code to be executed when delay is > MAX_REORDER_DELAY,
Baptiste Coudurier [Tue, 12 Aug 2008 17:26:36 +0000 (17:26 +0000)]
Prevent dts generation code to be executed when delay is > MAX_REORDER_DELAY,
this fixes overflow in AVStream->pts_buffer.

Originally committed as revision 14714 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoElectronic Arts demuxer: support SxEN audio tags found in 'Need for Speed: Pro Street...
Peter Ross [Tue, 12 Aug 2008 12:36:00 +0000 (12:36 +0000)]
Electronic Arts demuxer: support SxEN audio tags found in 'Need for Speed: Pro Street' computer game.

Originally committed as revision 14713 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix CODEC_ID_PCM_U8 decoder output size calculation to support odd-number of samples.
Peter Ross [Tue, 12 Aug 2008 12:32:40 +0000 (12:32 +0000)]
Fix CODEC_ID_PCM_U8 decoder output size calculation to support odd-number of samples.

Originally committed as revision 14712 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd to the ffmpeg docs an usage example showing how to extract images
Stefano Sabatini [Tue, 12 Aug 2008 10:07:28 +0000 (10:07 +0000)]
Add to the ffmpeg docs an usage example showing how to extract images
from a video.

Originally committed as revision 14711 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoElectronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2...
Peter Ross [Tue, 12 Aug 2008 08:35:09 +0000 (08:35 +0000)]
Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.

Originally committed as revision 14710 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoElectronic Arts demuxer: ignore PTxx platform ID values.
Peter Ross [Tue, 12 Aug 2008 08:33:32 +0000 (08:33 +0000)]
Electronic Arts demuxer: ignore PTxx platform ID values.

Originally committed as revision 14709 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSupport Electronic Arts files containing MPEG2VIDEO.
Peter Ross [Tue, 12 Aug 2008 08:32:59 +0000 (08:32 +0000)]
Support Electronic Arts files containing MPEG2VIDEO.

Originally committed as revision 14708 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoalign the audio decoding buffer, since some codecs write to it with simd
Loren Merritt [Tue, 12 Aug 2008 05:59:12 +0000 (05:59 +0000)]
align the audio decoding buffer, since some codecs write to it with simd

Originally committed as revision 14707 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agouse float_to_int16_interleave in ac3
Loren Merritt [Tue, 12 Aug 2008 03:01:17 +0000 (03:01 +0000)]
use float_to_int16_interleave in ac3

Originally committed as revision 14706 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agouse imdct_half in ac3
Loren Merritt [Tue, 12 Aug 2008 01:30:24 +0000 (01:30 +0000)]
use imdct_half in ac3

Originally committed as revision 14705 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics in dsp init
Loren Merritt [Tue, 12 Aug 2008 00:51:45 +0000 (00:51 +0000)]
cosmetics in dsp init

Originally committed as revision 14704 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomdct wrapper function to match fft
Loren Merritt [Tue, 12 Aug 2008 00:38:30 +0000 (00:38 +0000)]
mdct wrapper function to match fft

Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove mdct tmp buffer
Loren Merritt [Tue, 12 Aug 2008 00:36:36 +0000 (00:36 +0000)]
remove mdct tmp buffer

Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove a float->double->float conversion.
Loren Merritt [Tue, 12 Aug 2008 00:34:08 +0000 (00:34 +0000)]
remove a float->double->float conversion.
1.8x faster imdct_c with fpmath=sse, no change with x87

Originally committed as revision 14701 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agooptimize imdct_half:
Loren Merritt [Tue, 12 Aug 2008 00:33:34 +0000 (00:33 +0000)]
optimize imdct_half:
remove tmp buffer.
skip fft reinterleave pass, leaving data in a format more convenient for simd.
merge post-rotate with post-reorder.

Originally committed as revision 14700 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindent
Loren Merritt [Tue, 12 Aug 2008 00:27:21 +0000 (00:27 +0000)]
indent

Originally committed as revision 14699 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosplit-radix FFT
Loren Merritt [Tue, 12 Aug 2008 00:26:58 +0000 (00:26 +0000)]
split-radix FFT
c is 1.9x faster than previous c (on various x86 cpus), sse is 1.6x faster than previous sse.

Originally committed as revision 14698 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoimport yasm macros from x264
Loren Merritt [Mon, 11 Aug 2008 23:54:09 +0000 (23:54 +0000)]
import yasm macros from x264

Originally committed as revision 14697 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoyasm buildsystem
Loren Merritt [Mon, 11 Aug 2008 23:53:31 +0000 (23:53 +0000)]
yasm buildsystem

Originally committed as revision 14696 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSynchronise code with AAC decoder in SoC
Robert Swain [Mon, 11 Aug 2008 11:22:48 +0000 (11:22 +0000)]
Synchronise code with AAC decoder in SoC

Originally committed as revision 14695 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMore OKed hunks of the AAC decoder from SoC
Robert Swain [Mon, 11 Aug 2008 11:16:06 +0000 (11:16 +0000)]
More OKed hunks of the AAC decoder from SoC

Originally committed as revision 14694 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFixing the units in DV50 tables (both coordinates are
Roman Shaposhnik [Mon, 11 Aug 2008 10:14:46 +0000 (10:14 +0000)]
Fixing the units in DV50 tables (both coordinates are
supposed to be in units of 8 pixels) and simplifying
the calculations of y_ptr and c_offset.

Originally committed as revision 14693 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoApply PCM ENCODE/DECODE() macros to the S/U,8/24/32,LE/BE PCM codecs.
Peter Ross [Mon, 11 Aug 2008 09:52:17 +0000 (09:52 +0000)]
Apply PCM ENCODE/DECODE() macros to the S/U,8/24/32,LE/BE PCM codecs.

Originally committed as revision 14692 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCoalescing the un-weighting and de-quantization steps for faster
Roman Shaposhnik [Mon, 11 Aug 2008 09:35:58 +0000 (09:35 +0000)]
Coalescing the un-weighting and de-quantization steps for faster
processing

Originally committed as revision 14691 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify colour conversion in Fraps as suggested by Michael
Kostya Shishkov [Mon, 11 Aug 2008 05:11:05 +0000 (05:11 +0000)]
Simplify colour conversion in Fraps as suggested by Michael

Originally committed as revision 14690 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoThe deblock filter does not need all the intra availability stuff so do
Michael Niedermayer [Mon, 11 Aug 2008 03:08:02 +0000 (03:08 +0000)]
The deblock filter does not need all the intra availability stuff so do
not recalculate it.

Originally committed as revision 14689 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify constrained_intra_pred code in fill_caches().
Michael Niedermayer [Mon, 11 Aug 2008 02:52:14 +0000 (02:52 +0000)]
Simplify constrained_intra_pred code in fill_caches().

Originally committed as revision 14688 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSupport MBAFF + constrained intra prediction.
Michael Niedermayer [Mon, 11 Aug 2008 02:21:33 +0000 (02:21 +0000)]
Support MBAFF + constrained intra prediction.
(no i would not have tried to implement this had i known what mess it is)
fixes at least:
CAMACI3_Sony_C

Originally committed as revision 14687 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoBump minor version as av_log_missing_feature() was added to public API in
Robert Swain [Sun, 10 Aug 2008 22:18:46 +0000 (22:18 +0000)]
Bump minor version as av_log_missing_feature() was added to public API in
r14685

Originally committed as revision 14686 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd a generic function to lavc to log messages about missing features.
Justin Ruggles [Sun, 10 Aug 2008 20:29:43 +0000 (20:29 +0000)]
Add a generic function to lavc to log messages about missing features.

Patch by Justin Ruggles (justin ruggles gmail com)

Originally committed as revision 14685 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoR and B components are stored as a differences to G component in Fraps v5.
Kostya Shishkov [Sun, 10 Aug 2008 18:15:38 +0000 (18:15 +0000)]
R and B components are stored as a differences to G component in Fraps v5.

This fixes roundup issue 574.

Originally committed as revision 14684 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMask bits of reference indexes properly to avoid negative numbers entangling
Michael Niedermayer [Sun, 10 Aug 2008 16:10:39 +0000 (16:10 +0000)]
Mask bits of reference indexes properly to avoid negative numbers entangling
each other.
Fixes at least:
CAMA1_TOSHIBA_B
cama1_vtc_c
CAMA3_Sand_E
cama3_vtc_b
CAMASL3_Sony_B
CVMA1_TOSHIBA_B
CVMAQP3_Sony_D
cvmp_mot_mbaff0_full_B
FRExt/HCAMFF1_HHI
FRExt/HCHP3_HHI_A
FRExt/HVLCMFF0_Sony_B

Originally committed as revision 14683 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove a few more lines of unneeded code in fill_caches() for MBAFF.
Michael Niedermayer [Sun, 10 Aug 2008 15:39:46 +0000 (15:39 +0000)]
Remove a few more lines of unneeded code in fill_caches() for MBAFF.
Also document why the remaining related part is apparently needed.

Originally committed as revision 14682 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFOURCC addition: added 3IV2, another mpeg4 id. incoming/video_3iv2/video_3iv2.avi
Benjamin Larsson [Sun, 10 Aug 2008 15:34:29 +0000 (15:34 +0000)]
FOURCC addition: added 3IV2, another mpeg4 id. incoming/video_3iv2/video_3iv2.avi

Originally committed as revision 14681 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse the correct reference tables for interlaced MBAFF MBs in the loop filter.
Michael Niedermayer [Sun, 10 Aug 2008 02:38:51 +0000 (02:38 +0000)]
Use the correct reference tables for interlaced MBAFF MBs in the loop filter.
Fixes at least
CAMP_MOT_MBAFF_L30
CAMP_MOT_MBAFF_L31
FRExt/FREXT01_JVC_D

Originally committed as revision 14680 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd MDEC tags to Electronic Arts demuxer.
Peter Ross [Sun, 10 Aug 2008 01:58:46 +0000 (01:58 +0000)]
Add MDEC tags to Electronic Arts demuxer.

Originally committed as revision 14679 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDo not execute the part of fill_caches() for the loopfilter that overwrites
Michael Niedermayer [Sun, 10 Aug 2008 00:38:41 +0000 (00:38 +0000)]
Do not execute the part of fill_caches() for the loopfilter that overwrites
reference indexes and motion vectors.
Fixes at least:
CVMAQP2_Sony_G

Originally committed as revision 14678 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: move at the beginning of the file the av_frac_* functions, avoid
Stefano Sabatini [Sun, 10 Aug 2008 00:28:56 +0000 (00:28 +0000)]
Cosmetics: move at the beginning of the file the av_frac_* functions, avoid
the forward declarations.

Originally committed as revision 14677 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove more code that has become useless after the pairless MBAFF loop
Michael Niedermayer [Sat, 9 Aug 2008 18:11:25 +0000 (18:11 +0000)]
Remove more code that has become useless after the pairless MBAFF loop
filter cleanup.

Originally committed as revision 14676 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove reference to the unsupported master format from ffserver.conf.
Stefano Sabatini [Sat, 9 Aug 2008 12:52:23 +0000 (12:52 +0000)]
Remove reference to the unsupported master format from ffserver.conf.

Originally committed as revision 14675 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSync already committed code with that in SoC and commit more OKed hunks of code
Robert Swain [Sat, 9 Aug 2008 10:46:27 +0000 (10:46 +0000)]
Sync already committed code with that in SoC and commit more OKed hunks of code

Originally committed as revision 14674 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove odd pairwise deblock filtering applied to MBAFF MBs.
Michael Niedermayer [Sat, 9 Aug 2008 01:17:34 +0000 (01:17 +0000)]
Remove odd pairwise deblock filtering applied to MBAFF MBs.

Originally committed as revision 14673 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: add basic tags support (metadata)
Aurelien Jacobs [Fri, 8 Aug 2008 23:50:38 +0000 (23:50 +0000)]
matroskadec: add basic tags support (metadata)

Originally committed as revision 14672 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPCM regression tests.
Peter Ross [Fri, 8 Aug 2008 23:31:43 +0000 (23:31 +0000)]
PCM regression tests.

Originally committed as revision 14671 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: fix weird indent.
Stefano Sabatini [Fri, 8 Aug 2008 19:50:35 +0000 (19:50 +0000)]
Cosmetics: fix weird indent.

Originally committed as revision 14670 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement avfilter_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:43:38 +0000 (18:43 +0000)]
Implement avfilter_version().

Originally committed as revision 14669 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement avdevice_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:42:31 +0000 (18:42 +0000)]
Implement avdevice_version().

Originally committed as revision 14668 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement avformat_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:40:50 +0000 (18:40 +0000)]
Implement avformat_version().

Originally committed as revision 14667 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDoxygenate avcodec_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:34:27 +0000 (18:34 +0000)]
Doxygenate avcodec_version().

Originally committed as revision 14666 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement avutil_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:32:20 +0000 (18:32 +0000)]
Implement avutil_version().

Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: make a v4l2 error message consistent with r14647.
Stefano Sabatini [Fri, 8 Aug 2008 18:14:21 +0000 (18:14 +0000)]
Cosmetics: make a v4l2 error message consistent with r14647.

Originally committed as revision 14664 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoChange OSS long names.
Benoit Fouet [Fri, 8 Aug 2008 12:52:12 +0000 (12:52 +0000)]
Change OSS long names.

Originally committed as revision 14663 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofix 4:2:2 psnr
Baptiste Coudurier [Fri, 8 Aug 2008 02:56:44 +0000 (02:56 +0000)]
fix 4:2:2 psnr

Originally committed as revision 14662 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove mxf.c, previously copied to mxfdec.c
Baptiste Coudurier [Thu, 7 Aug 2008 17:33:53 +0000 (17:33 +0000)]
remove mxf.c, previously copied to mxfdec.c

Originally committed as revision 14661 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd simpler/cleaner/faster F32BE encoding/decoding.
Peter Ross [Thu, 7 Aug 2008 09:32:10 +0000 (09:32 +0000)]
Add simpler/cleaner/faster F32BE encoding/decoding.

Originally committed as revision 14660 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number of samples".
Peter Ross [Thu, 7 Aug 2008 09:23:56 +0000 (09:23 +0000)]
Simplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number of samples".

Originally committed as revision 14659 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPrevent DAUD PCM encoder from fetching values outside of ff_reverse[] array bounds...
Peter Ross [Thu, 7 Aug 2008 08:16:42 +0000 (08:16 +0000)]
Prevent DAUD PCM encoder from fetching values outside of ff_reverse[] array bounds when input sample values are < 0.

Originally committed as revision 14658 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unused redefinition of av_log for test.
Benoit Fouet [Thu, 7 Aug 2008 07:01:54 +0000 (07:01 +0000)]
Remove unused redefinition of av_log for test.

Originally committed as revision 14657 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove useless 'channels' assignment.
Benoit Fouet [Thu, 7 Aug 2008 06:56:37 +0000 (06:56 +0000)]
Remove useless 'channels' assignment.

Originally committed as revision 14656 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agorename mxf.c to mxfdec.c
Baptiste Coudurier [Thu, 7 Aug 2008 02:12:14 +0000 (02:12 +0000)]
rename mxf.c to mxfdec.c

Originally committed as revision 14655 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMaintain pointer to end of AVFormatContext.packet_buffer list
Måns Rullgård [Wed, 6 Aug 2008 22:17:38 +0000 (22:17 +0000)]
Maintain pointer to end of AVFormatContext.packet_buffer list

This changes add_to_pktbuf() to maintain a pointer to the last entry
in the list, avoiding a linear walk-through on each call.  Before this
change, add_to_pktbuf() could take a significant amount of time (10%
of total decoding time), even with input files of several minutes.
After the change, the time spent in this function is barely measurable
with oprofile.

Originally committed as revision 14654 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: rename loop counters in eval_refl()
Vitor Sessak [Wed, 6 Aug 2008 21:19:30 +0000 (21:19 +0000)]
Cosmetics: rename loop counters in eval_refl()

Originally committed as revision 14653 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify eval_refl(): do not store a buffer value in a var when the buffer could...
Vitor Sessak [Wed, 6 Aug 2008 21:16:24 +0000 (21:16 +0000)]
Simplify eval_refl(): do not store a buffer value in a var when the buffer could be used directly

Originally committed as revision 14652 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify eval_refl(): s/b == 0/!b/
Vitor Sessak [Wed, 6 Aug 2008 21:04:40 +0000 (21:04 +0000)]
Simplify eval_refl(): s/b == 0/!b/

Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify range checking in eval_refl(). Before the
Vitor Sessak [Wed, 6 Aug 2008 21:02:56 +0000 (21:02 +0000)]
Simplify range checking in eval_refl(). Before the
condition b == 0 could never be true, because it would
have already been caught in the previous ifs. Also the
condition b == 0x1000 could never be true (it would
triggered the return).

Originally committed as revision 14650 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: reindent
Vitor Sessak [Wed, 6 Aug 2008 20:39:28 +0000 (20:39 +0000)]
Cosmetics: reindent

Originally committed as revision 14649 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify do_output_subblock(): Remove a unneeded memcpy
Vitor Sessak [Wed, 6 Aug 2008 20:38:23 +0000 (20:38 +0000)]
Simplify do_output_subblock(): Remove a unneeded memcpy

Originally committed as revision 14648 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDistinguish the error reporting for the cases of wrong size and wrong
Stefano Sabatini [Wed, 6 Aug 2008 18:21:35 +0000 (18:21 +0000)]
Distinguish the error reporting for the cases of wrong size and wrong
timebase in the video4linux2 v4l2_read_header() function.

Originally committed as revision 14647 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDistinguish the error reporting for the cases of wrong size and wrong
Stefano Sabatini [Wed, 6 Aug 2008 18:20:04 +0000 (18:20 +0000)]
Distinguish the error reporting for the cases of wrong size and wrong
timebase in the video4linux grab_read_header() function.

Originally committed as revision 14646 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove a useless directive.
Benoit Fouet [Wed, 6 Aug 2008 12:04:35 +0000 (12:04 +0000)]
Remove a useless directive.

Originally committed as revision 14645 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: indentation
Benoit Fouet [Wed, 6 Aug 2008 12:03:51 +0000 (12:03 +0000)]
Cosmetics: indentation

Originally committed as revision 14644 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd Electronic Arts TGV chunk tags to EA demuxer.
Peter Ross [Wed, 6 Aug 2008 08:34:35 +0000 (08:34 +0000)]
Add Electronic Arts TGV chunk tags to EA demuxer.

Originally committed as revision 14643 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoElectronic Arts TGV decoder
Peter Ross [Wed, 6 Aug 2008 08:33:25 +0000 (08:33 +0000)]
Electronic Arts TGV decoder

Originally committed as revision 14642 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd av_memcpy_backptr(): deliberately overlapping memcpy variant.
Peter Ross [Wed, 6 Aug 2008 08:17:03 +0000 (08:17 +0000)]
Add av_memcpy_backptr(): deliberately overlapping memcpy variant.

Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify eval_refl(): return directly when needed instead of storing the return value...
Vitor Sessak [Wed, 6 Aug 2008 05:24:21 +0000 (05:24 +0000)]
Simplify eval_refl(): return directly when needed instead of storing the return value in a variable

Originally committed as revision 14640 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify rms(): merge a few operations in the same statement
Vitor Sessak [Wed, 6 Aug 2008 05:11:46 +0000 (05:11 +0000)]
Simplify rms(): merge a few operations in the same statement

Originally committed as revision 14639 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetical simplification in t_sqrt()
Vitor Sessak [Wed, 6 Aug 2008 05:08:48 +0000 (05:08 +0000)]
Cosmetical simplification in t_sqrt()

Originally committed as revision 14638 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCheck available size before writing in decode_frame()
Vitor Sessak [Wed, 6 Aug 2008 05:06:10 +0000 (05:06 +0000)]
Check available size before writing in decode_frame()

Originally committed as revision 14637 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCheck *data_size in decode_frame()
Vitor Sessak [Wed, 6 Aug 2008 03:00:15 +0000 (03:00 +0000)]
Check *data_size in decode_frame()

Originally committed as revision 14636 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: alignment
Vitor Sessak [Wed, 6 Aug 2008 02:49:22 +0000 (02:49 +0000)]
Cosmetics: alignment

Originally committed as revision 14635 to svn://svn.ffmpeg.org/ffmpeg/trunk