Daniel Kang
eb40d7ffa7
Check symbol validity to avoid a crash, fixes issue 2523.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26360 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
0db5d2b09e
cosmetics: spacing, line wrap, and remove unneeded braces
...
Originally committed as revision 26359 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
964f2cf2a0
Process all EXP_REUSE blocks at once in exponent_min().
...
43% faster in function encode_exponents().
Originally committed as revision 26358 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
7d87d56ff8
Take advantage of per-channel exponent and exponent strategy layout to
...
simplify and speed up encode_exponents().
8% faster in function.
Originally committed as revision 26357 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
5bff8590f3
Simplify compute_exp_strategy() by passing a pointer to all exponents and
...
exponent strategies for a single channel to compute_exp_strategy_ch().
This allows for removal of the temporary pointer arrays.
Originally committed as revision 26356 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
4b90c35d74
Use a local variable in the inner loop of group_exponents() to simplify the
...
code.
Originally committed as revision 26355 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
a281c6509f
cosmetics: remove unneeded braces
...
Originally committed as revision 26354 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
5fc2e0075d
cosmetics: rename block_num to blk for variable name consistency
...
Originally committed as revision 26353 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
0429e4a6ca
Move exp_strategy from AC3Block to AC3EncodeContext in order to arrange by
...
channel first, then by block.
Originally committed as revision 26352 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
7cc4be58b4
Rearrange exponent buffer to group all blocks for a single channel together.
...
This will allow for faster and simpler processing of all blocks at once.
Originally committed as revision 26351 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
2a1f431d38
H.264/SVQ3: make chroma DC work the same way as luma DC
...
No speed improvement, but necessary for some future stuff.
Also opens up the possibility of asm chroma dc idct/dequant.
Originally committed as revision 26349 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
290fabc684
Port SVQ3 to use the new mb_luma_dc method of storing luma DC coefficients.
...
Doesn't help speed as there isn't an asm implementation yet, but consistency
is a good thing.
Originally committed as revision 26348 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
3cdf69eefa
also support decoding of AVPackets with multiple wma packets
...
fixes issue 2539
Originally committed as revision 26346 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
65344775b8
H.264: Remove useless arg to chroma_dc_dequant_idct_c
...
Originally committed as revision 26345 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
ec3233a855
Fix ff_pw_3 alignment.
...
Originally committed as revision 26344 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
2e18660115
Fix SVQ3
...
Regression in r26336-7.
Originally committed as revision 26341 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
bd11c7a1a8
Remove outdated comment in h264dsp.h
...
Since we no longer have non-transposed scantables, the problem it warns about
no longer exists.
Originally committed as revision 26339 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
0d1d01cf70
Reindent after r26337.
...
Originally committed as revision 26338 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
5657d14094
H.264: switch to x264-style tracking of luma/chroma DC NNZ
...
Useful so that we don't have to run the hierarchical DC iDCT if there aren't
any coefficients. Opens up some future opportunities for optimization as well.
Originally committed as revision 26337 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
19fb234e4a
H.264: split luma dc idct out and implement MMX/SSE2 versions
...
About 2.5x the speed.
NOTE: the way that the asm code handles large qmuls is a bit suboptimal.
If x264-style dequant was used (separate shift and qmul values), it might
be possible to get some extra speed.
Originally committed as revision 26336 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
ca32f7f208
H.264: eliminate non-transposed scantable support.
...
It was an ugly hack to begin with and didn't give any performance.
NOTE: this patch opens up some future simplifications to be made (such as
removing some of the scantables from H264Context) but doesn't take advantage
of them yet.
Originally committed as revision 26329 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
75e4efd2a7
add support for blocksize 64
...
fixes issue 2537 and 2538
Originally committed as revision 26328 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
e83c716e16
don't complain about codec type/id mismatche for attachment streams
...
Originally committed as revision 26316 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
e048a9cab1
Do not crash for illegal sample size, fixes issue 2502.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26309 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
09fffe9bd4
H.264: fix grayscale decoding with explicit wpred
...
Originally committed as revision 26306 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
8219782a6d
Do not stop decoding on pnm files with negative maxval.
...
Originally committed as revision 26304 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Clément Bœsch
c56e71309e
In gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at gmail dot com
...
Originally committed as revision 26303 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
94e58e5770
perform height sanity check in mmvideo decoder
...
Fixes issue2495
Original patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26300 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
091bc6ca8c
mmvideo: remove some conditional statements by limiting range of half_horiz and half_vert parameters to [0,1]
...
Originally committed as revision 26299 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Clément Bœsch
c19a216af3
Handle ID3v1 tag while decoding mp[123] frames
...
patch by Clément Bœsch (ubitux at gmail)
Originally committed as revision 26297 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
2843502ea4
Check for invalid decode op-codes, fixes issue 2522.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26295 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
8e37a1deb3
Check for vectable ID > 0, fixes issue 2508.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26294 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
43c34675af
Check for invalid motion vector, fixes issue 2521.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26293 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
ebc3488300
Check for invalid maxval in pgm decoder, fixes issue 2518.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26292 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anssi Hannula
39f4d32908
Fix reading over the end of the allocated buffer.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26291 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
b89f4fb190
Check for several overreads, fixes issue 2512.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26289 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
a4db272a92
Return on negative soff sizes, fixes issue 2515.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26288 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
31561a98ae
Fix arm asm offsets for arm/mach-o
...
Originally committed as revision 26287 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Luca Barbato
183cdf7163
Update asm offsets for arm
...
This unbreak ffmpeg build on arm/elf, arm/mach-o still need an update
Originally committed as revision 26286 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
cd426563f4
fix indentation
...
Originally committed as revision 26280 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
062421e30d
eacmv: ensure second-last frame is allocated before referencing it
...
Fixes issue2513
Original patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26279 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
14207fd23e
Remove unneeded #include
...
Originally committed as revision 26272 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
dc7e07ac1f
Add stereo rematrixing support to the AC-3 encoders.
...
This improves the audio quality significantly for stereo source with both the
fixed-point and floating-point AC-3 encoders.
Update acodec-ac3_fixed and seek-ac3_rm test references.
Originally committed as revision 26271 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
d267b339e4
Lagarith decoder by Nathan Caldwell, saintdev at gmail
...
Originally committed as revision 26270 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Kostya Shishkov
c392cc0a64
Limit number of samples decoded for WavPack mono mode, so decoded samples will
...
fit into output buffer.
Originally committed as revision 26269 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
15a8bef0b6
skip unsupported postproc information
...
Originally committed as revision 26268 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
b86dd1bf6d
add support for files that do not allow more than 4 subframes
...
Originally committed as revision 26267 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
d7fa58c049
fix indentation
...
Originally committed as revision 26266 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Sascha Sommer
8b5a780e73
add support for files where the frames do not have a length prefix
...
Originally committed as revision 26265 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anssi Hannula
2a81f4bde5
Show profile in avcodec_string().
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26264 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago