Michael Niedermayer
6c2a860875
Add 420,422 and 444 planar 16bit per component pix formats.
...
Originally committed as revision 18636 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
61a3f379e0
Merge gray->gray converters into planarCopy(), this should also make planarCopy()
...
useable for other 16bit formats once we support them.
Originally committed as revision 29216 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
714f32bf15
Add macro to check for 16bit per sample.
...
Originally committed as revision 29215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
b87fae9f56
Make sure src/dst are NULL when they arent used, some code uses this to
...
simpify checks.
Originally committed as revision 29214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
081aa41db9
Use generic BE check instead of checking for gray16LE.
...
Originally committed as revision 29213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
c3dc6c5a6b
add isBE()
...
Originally committed as revision 29212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Luca Abeni
46ff7a5f4a
Fix crash when receiving from SDP
...
Originally committed as revision 18635 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
0a044f0f06
Make rv40 decoder use new static VLC initialization method
...
Originally committed as revision 18634 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
4003971717
Compact and make constant two tables used by Musepack decoders
...
Originally committed as revision 18633 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9292bd7725
Remove example programs with a wildcard expression.
...
Originally committed as revision 18632 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
be1efe5993
ac3enc: log a warning message if the channel layout is not specified at
...
the time of codec initialization.
Originally committed as revision 18631 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
26534fe847
indent
...
Originally committed as revision 18630 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
9dc4176702
Only insert null packets into the video que if there is a video stream.
...
Fixes memleak and should fix issue791.
Originally committed as revision 18629 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
5aef84623a
Add zygo fourcc.
...
Originally committed as revision 18628 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
34365443fd
Indent
...
Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
012e4f5a18
Do not discard truncated packets.
...
Based on a patch by Maksym Veremeyenko verem DOT m1stereo AT tv
Originally committed as revision 18626 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b40831715a
Avoid 100% CPU useage at EOF.
...
Originally committed as revision 18625 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
75bb7b0add
Make sure that video frames are flushed at EOF.
...
This should fix a regression.
Originally committed as revision 18624 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
120b4557f3
Add channel layout support to the AC-3 encoder.
...
Originally committed as revision 18623 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
bfeca7beb6
Add channel layout support to the AC-3 decoder and AC-3 parser.
...
Originally committed as revision 18622 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
be233a5691
Check that channel layout is compatible with number of channels for
...
output audio stream.
Originally committed as revision 18621 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
dc1ed61432
Mark gsize variable as av_unused, fixes the warning:
...
libavformat/asfdec.c:995: warning: unused variable ‘gsize’
Originally committed as revision 18620 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e0a6d2c365
Revert previous removal of gsize variable. It breaks seeking.
...
Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
5967e1413e
Remove unnecessary assignment, found by CSA.
...
Originally committed as revision 18617 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
d1bf60771c
Add LP zero synthesis filter. Patch by Kenan Gillet.
...
Originally committed as revision 18616 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b36da2c215
Remove 2 useless += at the end of rgb16to15(), found by CSA.
...
Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
a256445ec3
mlpdec: Read context variable to local variable to make code cleaner.
...
Originally committed as revision 18615 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
f95f6ab91e
mlpdec: {}- and whitespace-related cosmetics.
...
Originally committed as revision 18614 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
63ad832dd6
mlpdec: Use some context arrays with local variables in rematrix_channels().
...
Originally committed as revision 18613 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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