Jason Garrett-Glaser
351653a51e
VC-1/WMV: Remove redundant ff_init_block_index() calls.
...
These are only supposed to be called once per row, not once per macroblock.
~1.5% faster according to oprofile.
Originally committed as revision 19213 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alexander Strange
d2d5e06735
H.264: Fix memory leaks with multithreading.
...
The threads' contexts and rbsp_buffers were not freed at the end
of decoding.
Fixes issue 1581
Originally committed as revision 19207 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
73b02e2460
SSE version of clear_blocks
...
Originally committed as revision 19206 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Baptiste Coudurier
2c608fed3a
print error when dv frame profile cannot be found
...
Originally committed as revision 19193 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Peter Ross
7d58228055
Initialise MAD decode_block_intra() loop iterator to zero.
...
Originally committed as revision 19189 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
94994d8d9a
G.729 decoder initialization routine (skeleton)
...
Originally committed as revision 19188 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Peter Ross
c63ea92bf2
Electronic Arts Madcow decoder
...
Originally committed as revision 19178 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
d4eeef0c19
Cosmetics: Re-indent after last commit
...
Originally committed as revision 19175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Sascha Sommer
e8c7f81cf2
cosmetics: Add brackets between if/else
...
Originally committed as revision 19170 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
233816820d
10l: Add vc1dec.o to the list of WMV3 objects, same as for VC-1.
...
Even after the split into shared and decoder-specific code, WMV3
continues to have the same dependencies as VC-1.
Originally committed as revision 19153 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b761659bef
Split decoder-specific code off from vc1.c into vc1dec.c and keep code
...
shared between decoder and parser in vc1.c.
Originally committed as revision 19152 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
844d17fb14
Add const in cast. Removes warning:
...
libavcodec/resample.c:215: warning: assignment discards qualifiers from pointer target type
Originally committed as revision 19151 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
89bc05d1ea
give s->resample_context to avoid segfault, avclass was moved
...
Originally committed as revision 19150 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
77fc598d98
Disable native Vorbis encoder; quality is much worse than libvorbis and
...
there really isn't a reason to use it on purpose unless you're improving it.
Originally committed as revision 19149 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
17492d5e40
Add code to enable and disable all VAAPI and VDPAU parts.
...
As a positive sideeffect, VAAPI/VDPAU objects need no longer be listed
for all VAAPI/VDPAU-related decoders.
Originally committed as revision 19145 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Haruhiko Yamagata
b19d493f2b
Add field prev_interlaced_frame to H264Context to be able to flag soft telecine
...
progressive.
Patch by Haruhiko Yamagata, h D yamagata A nifty D com
Originally committed as revision 19141 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
28b80940ff
Express the H.264 parser dependency on the golomb code in configure instead of
...
in the Makefile as it is done for all other parts that depend on golomb.
Originally committed as revision 19139 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ef434a4b24
Add missing dependencies for H.264 and VC-1 parsers.
...
Originally committed as revision 19138 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
747069e254
Properly initialize AVFrames to default values in the MPEG decoder (fixes
...
the AVFrame pts when decoding MPEG 1 and 2 video)
Originally committed as revision 19136 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f1b99cc63b
Clarify (re)get_buffer() and CODEC_CAP_DR1 relation.
...
Originally committed as revision 19132 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
1e15e5366f
Remove comments that refer to fixed-point AMR implementations.
...
Originally committed as revision 19130 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ae8d21fb45
clarify avcodec_decode_audio3 and avcodec_decode_video2 doxygen
...
Originally committed as revision 19128 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
d4a9255699
K&R formatting of already submitted G.729 code
...
Originally committed as revision 19127 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
3bbc46102b
Convert structure names to FFmpeg style
...
Originally committed as revision 19123 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
bf7e799c9e
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
...
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
10ae4bb477
Get new buffer during frame decoding in VB video decoder, not only once
...
during decoder initialization.
Originally committed as revision 19121 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
e72c65f583
Internal routine should not use name of standard function.
...
Use g729_prng instead.
Originally committed as revision 19120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
8dbd0a95ee
Remove ff_g729_ and g729_ prefixes from static routines.
...
Originally committed as revision 19118 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0b175caac8
Add support for external OpenCORE libraries for AMR-NB/WB support.
...
Originally committed as revision 19117 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f3908a82bc
vmware video decoder uses reget_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19113 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6d3530ce2b
zmbv decoder uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19112 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
35b2c65756
vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19111 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
c0bd35c70c
renderware txd image decoder uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19110 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago