]>
rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
jbr [Wed, 6 May 2009 01:48:14 +0000 (01:48 +0000)]
cosmetics: line wrap and vertical alignment
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18752
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Wed, 6 May 2009 01:47:34 +0000 (01:47 +0000)]
ac3dec: Remove unneeded context variable, num_cpl_subbands. It is also
not needed for spectral extension or enhanced coupling since it is
redundant information, so I am removing it from decode_band_structure()
as well.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18751
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Tue, 5 May 2009 23:39:10 +0000 (23:39 +0000)]
cosmetics: indentation after last commit
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18750
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Tue, 5 May 2009 23:38:12 +0000 (23:38 +0000)]
ac3dec: move channel remapping to outside of block loop
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18749
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Tue, 5 May 2009 22:10:06 +0000 (22:10 +0000)]
Implement av_parse_color().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18748
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Tue, 5 May 2009 19:53:49 +0000 (19:53 +0000)]
Extract colorspace fields from MPEG1/2.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18747
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Tue, 5 May 2009 18:44:13 +0000 (18:44 +0000)]
mpegaudio: enclose SUM8() macro args in parens when used
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18746
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Tue, 5 May 2009 18:44:10 +0000 (18:44 +0000)]
mpegaudio: avoid unnecessary copy in high-precision mode
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18745
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Tue, 5 May 2009 18:44:07 +0000 (18:44 +0000)]
mpegaudio: use av_clip()
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18744
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Tue, 5 May 2009 18:25:20 +0000 (18:25 +0000)]
Add colorspace fields to AVCodecContext.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18743
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Tue, 5 May 2009 15:48:04 +0000 (15:48 +0000)]
Cosmetics: Fix indentation after r18741.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18742
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Tue, 5 May 2009 13:46:50 +0000 (13:46 +0000)]
Do not discard mp3 frames in the parser after a broken frame.
Fixes issue1044.
This may cause regressions with broken streams, if you find any, please report!
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18741
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Tue, 5 May 2009 06:10:59 +0000 (06:10 +0000)]
Factorize out integer sample value decoding for WavPack.
This is slightly modified patch by Laurent Aimar.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18740
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 5 May 2009 04:30:08 +0000 (04:30 +0000)]
dvh1 avi fourcc, dvh1_sample_truncated.avi, issue #1034
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18739
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 5 May 2009 04:27:24 +0000 (04:27 +0000)]
more dvcprohd .mov fourcc, see #1034
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18738
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Mon, 4 May 2009 17:31:15 +0000 (17:31 +0000)]
PPC: implement MULH() in assembler
Left to its own devices, gcc calculates the full 64-bit product only to
discard the low 32 bits. This forces it to do the right thing.
20% faster MP3 decoding on G4.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18737
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Mon, 4 May 2009 14:23:48 +0000 (14:23 +0000)]
Do not scan for MP3 header after the given buffer and return skipped
bytes along with consumed bytes on successful decoding.
patch by Zdenek Kabelac, zdenek.kabelac gmail com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18736
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Mon, 4 May 2009 11:37:25 +0000 (11:37 +0000)]
Add note about nonfree license of libfaac.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18735
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reynaldo [Mon, 4 May 2009 03:25:57 +0000 (03:25 +0000)]
Properly handle SILENCE frame. Patch by Kenan Gillet.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18734
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sun, 3 May 2009 09:32:40 +0000 (09:32 +0000)]
Remove dead assignments found by CSA
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18733
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Sun, 3 May 2009 05:42:51 +0000 (05:42 +0000)]
Check whether extra bits block has enough data.
Patch by Laurent Aimar "f\145nr\151r >at< vide\157lan <dot> o\162g"
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18732
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 2 May 2009 09:12:03 +0000 (09:12 +0000)]
Remove dead assignments found by CSA
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18731
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 2 May 2009 09:08:40 +0000 (09:08 +0000)]
Remove dead assignments found by CSA
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18730
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Sat, 2 May 2009 05:17:20 +0000 (05:17 +0000)]
Decode extended bitstream for high-precision WavPack files.
Patch by Laurent Aimar [(wolf, son of Loki) <at> (videolan) <dot> (org)]
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18729
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Fri, 1 May 2009 21:39:53 +0000 (21:39 +0000)]
Use new packet reading API, fixes a memory leak.
patch by Zdenek Kabelac, zdenek.kabelac gmail com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18728
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 1 May 2009 21:35:01 +0000 (21:35 +0000)]
Prefer (void) over (), for consisteny reason.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18727
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 1 May 2009 18:17:59 +0000 (18:17 +0000)]
Make graphparser.c use av_get_token().
This also avoids the need for '\=' escaping.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18726
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 1 May 2009 14:38:07 +0000 (14:38 +0000)]
av_get_token()
based on a patch by Stefano Sabatini
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18725
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 1 May 2009 12:31:19 +0000 (12:31 +0000)]
Ignore first entry of intra matrixes if its invalid.
Fixes pink.mpg / issue1046.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18724
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 1 May 2009 12:17:25 +0000 (12:17 +0000)]
Factorize quantization matrix loading code out.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18723
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Thu, 30 Apr 2009 21:34:56 +0000 (21:34 +0000)]
Don't #if a function declaration and properly indent it.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18722
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Thu, 30 Apr 2009 12:30:05 +0000 (12:30 +0000)]
mlpdec: Move MLP's filter_channel() to dsputils.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18721
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Thu, 30 Apr 2009 12:08:35 +0000 (12:08 +0000)]
Document change in r18719.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18720
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Thu, 30 Apr 2009 12:06:34 +0000 (12:06 +0000)]
Export av_free_packet().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18719
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Thu, 30 Apr 2009 10:21:22 +0000 (10:21 +0000)]
Add missing return statement to out-of-memory condition. Fixes the warning:
libavcodec/motionpixels.c:302: warning: statement with no effect
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18718
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Wed, 29 Apr 2009 16:14:33 +0000 (16:14 +0000)]
configure: fix licence check function
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18717
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 29 Apr 2009 15:43:57 +0000 (15:43 +0000)]
Drop unused libamr-nb fixed-point glue code.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18716
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 29 Apr 2009 15:40:25 +0000 (15:40 +0000)]
Require --enable-nonfree for turning on libfaac support.
libfaac lies about being LGPL, when it really is not.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18715
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 29 Apr 2009 15:32:40 +0000 (15:32 +0000)]
Factorize GPL and nonfree license checks into a common function.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18714
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 29 Apr 2009 11:38:09 +0000 (11:38 +0000)]
ARM: Use fewer register in NEON put_pixels _y2 and _xy2
Approved by Mans on IRC
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18713
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 29 Apr 2009 11:31:43 +0000 (11:31 +0000)]
ARM: NEON put_pixels_clamped
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18712
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Tue, 28 Apr 2009 19:51:50 +0000 (19:51 +0000)]
Convert names to the FFmpeg style.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18711
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Tue, 28 Apr 2009 18:02:21 +0000 (18:02 +0000)]
Reset eof state on seeking.
Fixes issue1005.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18710
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Mon, 27 Apr 2009 23:20:30 +0000 (23:20 +0000)]
Implement av_get_bits_per_pixel().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18709
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
vitor [Mon, 27 Apr 2009 18:35:54 +0000 (18:35 +0000)]
Revert r18700, documentation of deprecated functions might be useful for
people trying to update to the new API.
Log of r18700:
Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18708
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
vitor [Mon, 27 Apr 2009 16:06:01 +0000 (16:06 +0000)]
Check if there is enough bytes before reading the buffer in the EA ADPCM
decoder. Fix issue 990.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18707
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
vitor [Mon, 27 Apr 2009 16:04:43 +0000 (16:04 +0000)]
Skip 0x0000 frame footer in EA ADPCM decoder.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18706
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 27 Apr 2009 12:41:41 +0000 (12:41 +0000)]
Remove useless and outright wrong chatter from avcodec_encode_video().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18705
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 27 Apr 2009 12:39:30 +0000 (12:39 +0000)]
Remove redundant chatter from avcodec_encode_audio()
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18704
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 27 Apr 2009 12:38:14 +0000 (12:38 +0000)]
Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18703
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 27 Apr 2009 12:36:23 +0000 (12:36 +0000)]
Add multiframe note to avcodec_decode_video() too.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18702
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 27 Apr 2009 12:34:25 +0000 (12:34 +0000)]
Cleanup first paragraph of doxy of avcodec_decode_audio3().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18701
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 27 Apr 2009 12:28:56 +0000 (12:28 +0000)]
Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18700
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 27 Apr 2009 12:25:36 +0000 (12:25 +0000)]
Remove confusing and redundant engrish chatter from avcodec_decode_video2().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18699
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
benoit [Mon, 27 Apr 2009 07:27:39 +0000 (07:27 +0000)]
Add avlanguage helpers in libavformat.
Patch by Cyril Comparon: standard_gmail_full_name_address
Original thread: Suggestion for a centralized language-tag facility in libavformat
Date: 04/10/2009 07:33 PM
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18698
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
benoit [Mon, 27 Apr 2009 07:13:50 +0000 (07:13 +0000)]
Make function pointer assignments consistent in option handling.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18697
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Mon, 27 Apr 2009 05:30:22 +0000 (05:30 +0000)]
Revert changing VLC initialization type for RV3/4 decoder.
While using large static table is not good (especially for embedded devices and
CPUs with small cache), other alternatives are not very good either.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18696
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Sun, 26 Apr 2009 20:37:40 +0000 (20:37 +0000)]
mlpdec: Simplify filtering code by using only one counter variable.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18695
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Sun, 26 Apr 2009 04:23:29 +0000 (04:23 +0000)]
Correctly update output sample format in wavpack decoder.
Patch by Laurent Aimar (at 'fenrir (cons 'videolan 'org))
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18694
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 20:09:34 +0000 (20:09 +0000)]
Proper subpacket size check for cook multichannel files.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18693
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 19:47:18 +0000 (19:47 +0000)]
Remove parentheses
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18692
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 18:43:30 +0000 (18:43 +0000)]
Set the type of size in COOKSubpacket to unsigned
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18691
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 25 Apr 2009 18:29:31 +0000 (18:29 +0000)]
Add pixdescs definitions for planar YUV pixfmts with 16 bits per
component.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18690
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 17:46:27 +0000 (17:46 +0000)]
Make sure we only parse max amount of subpackets (5) in the cook decoder.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18689
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 17:35:21 +0000 (17:35 +0000)]
Indent
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18688
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 17:33:36 +0000 (17:33 +0000)]
Remove redundant code
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18687
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 10:47:24 +0000 (10:47 +0000)]
Add Changelog for Cook multi channel support
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18686
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 10:46:07 +0000 (10:46 +0000)]
Support cook multichannel files.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18685
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 10:25:14 +0000 (10:25 +0000)]
Fix the COOKDEBUG code
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18684
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Sat, 25 Apr 2009 10:20:48 +0000 (10:20 +0000)]
Factor out COOKSubpacket, in preparation for multichannel support.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18683
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 25 Apr 2009 07:53:55 +0000 (07:53 +0000)]
Add missing pixel format descriptor definitions.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18682
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Sat, 25 Apr 2009 05:47:38 +0000 (05:47 +0000)]
Get rid of monstrous static table and initialize VLCs for RV3/4 dynamically.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18681
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Fri, 24 Apr 2009 14:09:24 +0000 (14:09 +0000)]
Remove useless assignment during initialization for some decoders
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18680
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 24 Apr 2009 13:38:28 +0000 (13:38 +0000)]
indent
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18679
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
benoit [Fri, 24 Apr 2009 11:56:23 +0000 (11:56 +0000)]
Change return type of opt_loglevel() from void to int.
Patch by Wolfram Gloger: wmglo (your at here) dent med uni (minus) muenchen de
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18678
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Fri, 24 Apr 2009 06:44:16 +0000 (06:44 +0000)]
TrueMotion 2 uses its own YUV-like colourspace, so convert output to proper RGB.
Patch by Reimar Döffinger <latinize($name) at (MN's favourite mail provider).de>
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18677
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Fri, 24 Apr 2009 05:52:53 +0000 (05:52 +0000)]
cosmetics: remove extra space indentation
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18676
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Fri, 24 Apr 2009 05:50:19 +0000 (05:50 +0000)]
Merge decoding functions for all bitdepths in WavPack decoder
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18675
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 24 Apr 2009 04:10:32 +0000 (04:10 +0000)]
Support >8bit per component YUV in FFV1.
decoding becomes slower, encoding becomes faster, with gcc on duron.
some inlining overrides like av_flatten are added to keep inlining similar
to before.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18674
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 24 Apr 2009 01:50:09 +0000 (01:50 +0000)]
Force speed irrelevant calls to get/put_symbol() to be noinline.
We need to change decode_line to always_inline because gcc decided not to inline
it anymore once we force some calls to get/put_symbol() to be non inlined and
this decission of gcc would lead to a 10% overall speed loss.
100k smaller object file, no speed change
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18673
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 24 Apr 2009 00:26:49 +0000 (00:26 +0000)]
Optimize sign handling in get_symbol().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18672
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 23 Apr 2009 23:30:16 +0000 (23:30 +0000)]
Don't loose bits_per_raw_sample when transcoding.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18671
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Thu, 23 Apr 2009 23:14:26 +0000 (23:14 +0000)]
Make avcodec_thread_init() set the thread count, even in the case when
threads support is not enabled. This should avoid the need for
thread_count explicit setting in applications.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18670
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ivo [Thu, 23 Apr 2009 18:44:03 +0000 (18:44 +0000)]
avoid possibly uninitialized return value
(found by clang static analyzer)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18669
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 23 Apr 2009 18:21:16 +0000 (18:21 +0000)]
Handle WavPack INT32INFO chunks with nonzero post shift
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18668
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 23 Apr 2009 17:27:04 +0000 (17:27 +0000)]
Add functions for decoding >16 bits WavPack files.
Based on patches by Laurent Aimar (fenrir >whirlpool< videolan >dit< org)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18667
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 23 Apr 2009 07:44:04 +0000 (07:44 +0000)]
Shift 9-15 bit samples to use full 16-bit range.
Patch by Laurent Aimar <fenrir at VLCsite>
Thread: [PATCH] Fixed wavpack 9-15 bits support
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18666
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 23 Apr 2009 07:14:02 +0000 (07:14 +0000)]
Display dimensions should not affect the real size of coded frame, thus set
only avctx->{width,height} and don't touch coded_{width,height} when parsing
them. This fixes the case when coded and display dimensions differ by more
than one macroblock.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18665
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 22 Apr 2009 22:05:34 +0000 (22:05 +0000)]
Remove 2 useless FFMIN().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18664
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 22 Apr 2009 21:44:41 +0000 (21:44 +0000)]
Remove apparently redundant code.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18663
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jai_menon [Wed, 22 Apr 2009 19:37:57 +0000 (19:37 +0000)]
NSV : Add TOC2 parsing and seeking support.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18662
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
banan [Wed, 22 Apr 2009 13:52:33 +0000 (13:52 +0000)]
Remove redundant code, found by CSA
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18661
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Wed, 22 Apr 2009 09:27:36 +0000 (09:27 +0000)]
configure: support Blackfin CPU names with --cpu
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18660
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
andoma [Wed, 22 Apr 2009 08:39:46 +0000 (08:39 +0000)]
It should be #if, not #ifdef
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18659
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Wed, 22 Apr 2009 05:20:31 +0000 (05:20 +0000)]
Switch VLC tables in WMV3/VC-1 decoder to new static init method
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18658
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 22 Apr 2009 02:58:20 +0000 (02:58 +0000)]
Require 4 instead of 3 frames for detecting mp3,
fixes misdetection of mpegps_mp3_unrecognized_format.mpg (issue997)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18657
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 22 Apr 2009 02:29:11 +0000 (02:29 +0000)]
Fix 10l typo (usage of PIX_FMT_NE()).
Should fix FATE, i forgot to commit this.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18656
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 22 Apr 2009 01:54:05 +0000 (01:54 +0000)]
Update safety check as the maximum pixel size is no longer 4.
New max size is 16bit * 4 samples (RGBA).
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18655
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 22 Apr 2009 01:50:15 +0000 (01:50 +0000)]
Support reading packed YUV 422 10bit samples from jvt (NewMobCal_YUV10_720p5994_).
Ive called the format v210x due to its similarity to v210, note though ive not
confirmed that v210x is different from actual v210 samples it just is different
from the description of v210 iam aware of.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18654
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Wed, 22 Apr 2009 00:04:17 +0000 (00:04 +0000)]
Make read_line() do not depend on put_bits.h and speed up it.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18653
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b