Jason Garrett-Glaser
010f98f96a
VC-1/WMV3 decoding: don't clear blocks unless they're actually used.
...
~8% faster VC-1 decoding.
Possible future optimization: clear blocks after use instead of before, and for
DC-only blocks, only clear the DC coefficient.
Originally committed as revision 19205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-16 09:09:03 +00:00
Jason Garrett-Glaser
4f717c69ed
idct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.
...
Includes mmx2 asm for the various functions.
Note that the actual idct still does not have an x86 SIMD implemtation.
For wmv3 files using regular idct, the decoder just falls back to simple_idct,
since simple_idct_dc doesn't exist (yet).
Originally committed as revision 19204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-16 09:00:55 +00:00
Jason Garrett-Glaser
41faa87886
Fix typo in vc1.c, make capitalization in warning/error messages more consistent.
...
Originally committed as revision 19203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-16 00:48:07 +00:00
Måns Rullgård
0c3b2d6586
Add "config" make target to rerun configure with old options
...
Originally committed as revision 19202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 22:12:23 +00:00
Måns Rullgård
b04251c5d0
configure: properly quote configure options stored in config.*
...
Originally committed as revision 19201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 22:12:21 +00:00
Ramiro Polla
7cc8d616aa
Fix unaligned accesses by doing bytewise access until aligned, then
...
continuing in 32-bit quantities.
Fixes crash observed on sparc during FATE mlp test.
Patch by Ramiro.
Originally committed as revision 19200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 14:38:30 +00:00
Patrick Dehne
d9982edfed
The AAC demuxer now depends on id3v1.o.
...
patch by Patrick Dehne, patrick mysonicweb com
Originally committed as revision 19199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 08:38:11 +00:00
Baptiste Coudurier
53e099de8b
check atom size against edit_count to avoid very long loop
...
Originally committed as revision 19198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 02:07:41 +00:00
Baptiste Coudurier
7060667580
fix probing and demuxing of pond.dv, issue #887
...
Originally committed as revision 19197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 01:41:59 +00:00
Baptiste Coudurier
d310d56a36
do not use av_parser_change for h264 which uses bitstream filter, fix #1027
...
Originally committed as revision 19196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 23:55:25 +00:00
Måns Rullgård
a4ddf509fe
regtest: print commands also for image format tests
...
Originally committed as revision 19195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 23:14:56 +00:00
Måns Rullgård
50f3fabc48
Print error message when output buffer allocation fails
...
Originally committed as revision 19194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 23:14:54 +00:00
Baptiste Coudurier
2c608fed3a
print error when dv frame profile cannot be found
...
Originally committed as revision 19193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 22:41:30 +00:00
Baptiste Coudurier
d509c743b7
check if frame size matches old sys and assumes corrupted input, fixes #1192
...
Originally committed as revision 19192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 22:34:28 +00:00
Diego Biurrun
90b4f09177
Merge FreeBSD and DragonFlyBSD OS detection sections.
...
Apparently DragonFlyBSD does not need memalign either.
Originally committed as revision 19191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 14:49:46 +00:00
Adam Hoka
d6dcfc7f5b
Add DragonFlyBSD to the list of supported OSes.
...
patch by Adam Hoka, ahoka NetBSD org
Originally committed as revision 19190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 13:18:10 +00:00
Peter Ross
7d58228055
Initialise MAD decode_block_intra() loop iterator to zero.
...
Originally committed as revision 19189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 09:55:28 +00:00
Vladimir Voroshilov
94994d8d9a
G.729 decoder initialization routine (skeleton)
...
Originally committed as revision 19188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 02:31:06 +00:00
Vladimir Voroshilov
730c1e4a06
Replace MAX_SUBFRAME_SIZE and ctx->subframe_size with SUBFRAME_SIZE,
...
since subframe length is the same in all G.729 modes.
Originally committed as revision 19187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 02:29:39 +00:00
Justin Ruggles
d7bb185f99
Add a VorbisComment metadata conversion table and use it in the FLAC and
...
Ogg demuxers.
Originally committed as revision 19186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 22:45:58 +00:00
Justin Ruggles
7ca1295985
Do not guess the channel layout when getting its string value.
...
Originally committed as revision 19185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 22:33:13 +00:00
Aurelien Jacobs
4f909c7675
matroskadec: prepend TargetType to metadata key name
...
Originally committed as revision 19184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 22:29:38 +00:00
Justin Ruggles
0fb6a8b339
Remove the 3-front-channel layout from the list of channel layout
...
aliases. Calling this "surround" is confusing and questionable.
Originally committed as revision 19183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 18:57:54 +00:00
Kostya Shishkov
0d5390b062
Correct reading bits in MPC SV8 base codes (when we have to read 0 or >16 bits).
...
Originally committed as revision 19182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 06:41:51 +00:00
Kostya Shishkov
8c1ff0abae
Allocate a bit more memory for MPC SV8 seek table, so bitreader won't read
...
beyond allocated block.
Originally committed as revision 19181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 06:39:01 +00:00
Jason Garrett-Glaser
67fe508916
Analysis of logs show that there are in fact some files with m1v1 too (not just m2v2),
...
which is documented to be MPEG-1 video. Adding fourcc to isom.c.
Originally committed as revision 19180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 03:02:16 +00:00
Peter Ross
eacfe8581d
Electronic Arts demuxer: support Madcow video tag
...
Originally committed as revision 19179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 02:20:54 +00:00
Peter Ross
c63ea92bf2
Electronic Arts Madcow decoder
...
Originally committed as revision 19178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 02:19:41 +00:00
David Conrad
86b61d4241
Also accept TS as a prefix for wav twoccs (used by Flip4Mac) instead of
...
adding entries to codec_movaudio_tags.
This ensures ADPCM_IMA_WAV uses the standard ms prefix when muxing to mov
rather than TS.
Originally committed as revision 19177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 00:50:57 +00:00
Jason Garrett-Glaser
761cb87173
Add "0x11005354" as a fourcc for MOV audio; fixes audio detection in a problematic MOV file.
...
The audio is actually adpcm_ima_wav.
Originally committed as revision 19176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 00:16:39 +00:00
Alex Converse
d4eeef0c19
Cosmetics: Re-indent after last commit
...
Originally committed as revision 19175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 21:16:33 +00:00
Alex Converse
85e9296f41
Move TNS and swb_offset tables from aacdectab.h to aactab.c so that they can be
...
shared with the AAC encoder.
Originally committed as revision 19174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 21:14:45 +00:00
Alex Converse
70f99f8dd2
Do not include libavcodec/internal.h in the ADTS muxer.
...
Originally committed as revision 19173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 19:49:46 +00:00
Jason Garrett-Glaser
fc3fc0293d
Add new FOURCC (0x0003) for raw DIB video, set flip flag accordingly.
...
Fixes a few AVI files from what is probably a mobile phone video camera.
Originally committed as revision 19172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 17:39:56 +00:00
Sascha Sommer
c0e9b2e84f
Move run level decode functionality to ff_wma_run_level_decode
...
so that it can be reused for wmapro
Originally committed as revision 19171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 16:00:26 +00:00
Sascha Sommer
e8c7f81cf2
cosmetics: Add brackets between if/else
...
Originally committed as revision 19170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 15:48:41 +00:00
Sascha Sommer
523c09ca44
Add additional sample rates to the frame len bits calculation code
...
Originally committed as revision 19169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 15:38:11 +00:00
Sascha Sommer
eff9011d17
Fix placment of the DPCM Xan comment
...
Originally committed as revision 19168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 15:27:10 +00:00
Sascha Sommer
cee4bb894d
Move frame len bits calculation to ff_wma_get_frame_len_bits
...
so that it can be reused for wmapro
Originally committed as revision 19167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 15:21:43 +00:00
Jai Menon
8e6e9bacc4
Associate the 0x6c75 TwoCC used in certain Kodak cameras
...
to the PCM Mu-law decoder.
Fixes Issue 1178.
Originally committed as revision 19166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 13:21:01 +00:00
Diego Biurrun
ae1374ce10
cosmetics: Prettyprint and reformat wma.c closer to K&R style.
...
Originally committed as revision 19165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 13:12:13 +00:00
Baptiste Coudurier
761c8c923e
Fail and print correct error message when video stream pixel format
...
is unknown.
Originally committed as revision 19164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 08:15:37 +00:00
Jimmy Christensen
94d3d6a468
DPX (Digital Picture Exchange) image decoder
...
patch by Jimmy Christensen, jimmy ghost dk
Originally committed as revision 19163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 05:29:29 +00:00
David Conrad
34edd9948d
Add sac3 to mp4 fourccs for mov+h264+aac-sac3+mp4s+ETERNAL_cut.mp4
...
Originally committed as revision 19162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 05:26:40 +00:00
Jason Garrett-Glaser
14ed2d9983
Add "m2v1" to fourccs for MPEG-2 video; fixes some MOV files.
...
Originally committed as revision 19161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 02:20:26 +00:00
Jeff Downs
d468ff0fdf
Fix cast of byte buffer to uint32 that was disregarding alignment
...
requirements.
Now calculates crc byte at a time until aligned, then continues with uint32
optimized calculation.
This fixes crashes during mlp decoding on sparc (at least, maybe others).
Originally committed as revision 19160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 02:13:12 +00:00
Jason Garrett-Glaser
be43ae6651
Add alternate fourcc for QCELP audio (qclq). Fixes a problematic MOV file.
...
Originally committed as revision 19159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-12 01:09:49 +00:00
Diego Biurrun
1d4b1bf2f6
cosmetics: Prettyprint one more line to have columns line up.
...
Originally committed as revision 19158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-11 20:45:35 +00:00
Diego Biurrun
477ffff218
The internal header libavutil/internal.h should not be used outside libavutil.
...
Originally committed as revision 19157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-11 20:18:29 +00:00
Ramiro Polla
fdf70cc5c9
Kill warnings of possibly unused variables by using av_unused.
...
Originally committed as revision 29355 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-06-11 17:10:54 +00:00