Ramiro Polla
15e6748b72
truehd: Simplify rematrix_channels() as per Michael's original review.
...
Originally committed as revision 18612 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
95c14b1eea
mlpdec: Make read_matrix_params() take unsigned int substr for consistency.
...
Originally committed as revision 18611 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
5d9e4eaa6d
mlpdec: Check for {matrix,filter}_changed as soon as they are incremented.
...
Originally committed as revision 18610 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1b7bc4a245
Add 3 channel layout convenience macros.
...
Originally committed as revision 18609 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
f63f689e10
Avoid code duplication in xan_unpack for the final memcpy.
...
Originally committed as revision 18608 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7b7b19b620
Remove unused variable gsize, fixes the warning:
...
libavformat/asfdec.c:995: warning: unused variable 'gsize'
Originally committed as revision 18607 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
cc078b5d8f
PPC: check for x-form asm constraint support
...
Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a208350c3c
Rename swscale_avoption.c to options.c.
...
Consistent with lavc and lavf.
Originally committed as revision 29188 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Stefano Sabatini
0c067dc34b
Make sws_setColorspaceDetails() return -1 if the destination format is
...
not supported.
Originally committed as revision 29187 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Stefano Sabatini
2d26fa2822
Move sws_[gs]etColorspaceDetails() documentation from swscale.c to
...
swscale.h.
Originally committed as revision 29186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Jai Menon
a00f440f37
Cosmetics : reindent after last commit and remove redundant comment.
...
Originally committed as revision 18605 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
d6ce84b8f9
Add speex tag to nsv_codec_audio_tags.
...
Originally committed as revision 18604 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
67d04927f7
Change nsvf_index_data to nsvs_file_offset for increased clarity.
...
Originally committed as revision 18603 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
9f5ff83f2a
PPC asm for AV_RL*()
...
PPC is normally big endian but has special little endian load/store
instructions. Using these avoids a separate byteswap. This makes the
vorbis decoder about 5% faster. Not much else uses little-endian
read/write extensively.
GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.
Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
3c55ce039d
ARM asm for AV_RN*()
...
ARMv6 and later support unaligned loads and stores for single
word/halfword but not double/multiple. GCC is ignorant of this and
will always use bytewise accesses for unaligned data. Casting to an
int32_t pointer is dangerous since a load/store double or multiple
instruction might be used (this happens with some code in FFmpeg).
Implementing the AV_[RW]* macros with inline asm using only supported
instructions gives fast and safe unaligned accesses. ARM RVCT does
the right thing with generic code.
This gives an overall speedup of up to 10%.
Originally committed as revision 18601 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
a6783b8961
Reorganise intreadwrite.h
...
This changes intreadwrite.h to support per-arch implementations of the
various macros allowing us to take advantage of special instructions
or other properties the compiler does not know about.
Originally committed as revision 18600 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
d7670f2827
Use sign_extend function instead of reimplementing it.
...
Originally committed as revision 18599 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
e62f622193
Remove a useless "& 0xF"
...
Originally committed as revision 18598 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
977d813447
Use / and % operators instead of reimplementing them with a loop.
...
Originally committed as revision 18597 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b1e309865f
Change buffer check to avoid an unlikely pointer arithmetic overflow.
...
Originally committed as revision 18596 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
be50938073
Simplify xan_huffman_decode by using get_bits
...
Originally committed as revision 18595 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Lars Täuber
a4873f7d9d
Fix indention, patch by Lars Täuber.
...
Originally committed as revision 18594 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
6000439ca4
Simplify ipvideo_decode_opcodes by using get_bits, this might be slower
...
but is not performance-critical anyway.
Originally committed as revision 18593 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
28ab90edde
Remove unused code_counts array from interplavideo.c.
...
Originally committed as revision 18592 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
b24bbbb4da
Introduce codec id for MPEG-4 ALS and associate it with corresponding
...
AudioObjectType. Also bump libavcodec minor version.
Originally committed as revision 18591 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
e5986d0427
Cosmetics to improve xan_unpack readability
...
Originally committed as revision 18590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
16cc5a738c
Fix buffer size check for xan_unpack which was broken by r18586
...
Originally committed as revision 18589 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c644665f42
Some more simplifications of xan_unpack
...
Originally committed as revision 18588 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
455fdd2f8c
Reindent xan_unpack code
...
Originally committed as revision 18587 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
948f60fa24
Avoid some code duplication in xan_unpack
...
Originally committed as revision 18586 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f371abe4a8
Remove useless assignments, at least one found by CSA.
...
Originally committed as revision 18585 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
59bd7f23e8
Increase buffer padding to avoid most space checks in xan_unpack
...
Originally committed as revision 18584 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
339cdf9681
Remove useless init from ff_mpeg4_set_direct_mv() found by CSA.
...
Originally committed as revision 18583 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
16a5f4caa9
Remove a useless assignment in img_get_alpha_info() found by CSA.
...
Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f8112810cf
Remove redundant assignment in av_picture_copy() found by CSA.
...
Originally committed as revision 18581 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
551b41d4bf
Remove useless init from aiff_read_header() found by CSA.
...
Originally committed as revision 18580 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
feda8550a9
Remove several useless writes to variables, found by CSA.
...
Originally committed as revision 18579 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b278a1ed1c
Remove useless += from ff_imdct_half_c() found by CSA.
...
Originally committed as revision 18578 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e8c9383914
Remove 2 ++ from check_pes() that are useless, found by CSA.
...
Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4b96f43fe1
Change buffer size checks to avoid the very unlikely overflow case.
...
Originally committed as revision 18576 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
38a7695f67
Remove unused variable from h261_encode_block() found by CSA.
...
Originally committed as revision 18575 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5e12701c5c
Remove a pointless right-shift in xan decoder.
...
Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
25ef00720b
Remove 2 useless assignments from ff_rate_control_init() found by CSA.
...
Originally committed as revision 18573 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9126aea528
Replace bytecopy with the equivalent but faster av_memcpy_backptr.
...
Ca. 10% faster xan_unpack on x86_64 decoding of SC_32-part.MVE
Originally committed as revision 18572 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
4eec260642
Remove unused variable from flv_read_metabody() found by CSA.
...
Originally committed as revision 18571 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
29322398fc
Remove unused variable from slice_buffer_release() found by CSA.
...
Originally committed as revision 18570 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
44c9efcb57
Use memcpy instead of the very inefficient bytecopy where both are correct
...
(i.e. no overlap of src and dst is possible).
Originally committed as revision 18569 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
110baa2e99
Remove unused variable from wma_decode_block() found by CSA.
...
Originally committed as revision 18568 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b716c6c6a6
Remove unneeded assignment from av_encode() found by CSA.
...
Originally committed as revision 18567 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b5ee9c2334
Remove unused variable from print_report() found by CSA.
...
Originally committed as revision 18566 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago