Kostya Shishkov
0638c2ae3c
Add functions for decoding >16 bits WavPack files.
...
Based on patches by Laurent Aimar (fenrir >whirlpool< videolan >dit< org)
Originally committed as revision 18667 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
760db32a0c
Shift 9-15 bit samples to use full 16-bit range.
...
Patch by Laurent Aimar <fenrir at VLCsite>
Thread: [PATCH] Fixed wavpack 9-15 bits support
Originally committed as revision 18666 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b750fb6945
Display dimensions should not affect the real size of coded frame, thus set
...
only avctx->{width,height} and don't touch coded_{width,height} when parsing
them. This fixes the case when coded and display dimensions differ by more
than one macroblock.
Originally committed as revision 18665 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e1b3d27272
Remove 2 useless FFMIN().
...
Originally committed as revision 18664 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
7bdf2eb8c4
Remove apparently redundant code.
...
Originally committed as revision 18663 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
4fabb60ddb
NSV : Add TOC2 parsing and seeking support.
...
Originally committed as revision 18662 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
6c73a7d06c
Remove redundant code, found by CSA
...
Originally committed as revision 18661 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
e4ddc8edfa
configure: support Blackfin CPU names with --cpu
...
Originally committed as revision 18660 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Andreas Öman
0e1ccdeb11
It should be #if, not #ifdef
...
Originally committed as revision 18659 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
21fce71fd1
Switch VLC tables in WMV3/VC-1 decoder to new static init method
...
Originally committed as revision 18658 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f9f2ab8229
Require 4 instead of 3 frames for detecting mp3,
...
fixes misdetection of mpegps_mp3_unrecognized_format.mpg (issue997)
Originally committed as revision 18657 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0ee51c556e
Fix 10l typo (usage of PIX_FMT_NE()).
...
Should fix FATE, i forgot to commit this.
Originally committed as revision 18656 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
445f0a8b66
Update safety check as the maximum pixel size is no longer 4.
...
New max size is 16bit * 4 samples (RGBA).
Originally committed as revision 18655 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
97f9214342
Support reading packed YUV422 10bit samples from Sveriges Television AB (SVT)
...
which have AFAIK been created for the jvt:
ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_exports/SVT_YUV10_Exports_/NewMobCal_YUV10_720p5994_/
I have called the format v210x due to its similarity to v210, note though I have
not confirmed that v210x is different from actual v210 samples it just is
different from the description of v210 I am aware of.
Originally committed as revision 18654 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
297b5a3f99
Make read_line() do not depend on put_bits.h and speed up it.
...
Originally committed as revision 18653 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
9145021d68
Add raw MLP muxer.
...
Originally committed as revision 18652 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
420df93037
mlpdec: Don't overallocate buffers.
...
Now that max channels and primitive matrices are properly validated, there is
no need to be paranoid that random data will be overwritten.
As a bonus this makes matrix_coeff 16-byte aligned between matrices.
Originally committed as revision 18651 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
309616b249
mlpdec: Validate num_primitive_matrices.
...
Originally committed as revision 18650 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
868170c4da
mlpdec: Validate max_channel and max_matrix_channel.
...
Originally committed as revision 18649 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
46958efe97
mlpdec: Restart header sync must be 0x31ea for MLP.
...
Originally committed as revision 18648 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
5499a31322
Add missing header inclusion guard.
...
Originally committed as revision 18647 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9401d18fa5
Implement a write_line() function.
...
Originally committed as revision 18646 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fd548e5bd6
Remove consume_whitespace() and replace it with direct calls to
...
strspn().
Originally committed as revision 18645 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
3d10a8904d
Read extended channel configuration when extended AOT is BSAC.
...
Originally committed as revision 18644 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
0cfa85dd9f
Make VLC tables in DCA decoder use INIT_VLC_USE_NEW_STATIC
...
Originally committed as revision 18643 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
a456df258e
100l: VLC table array should not be const
...
Originally committed as revision 18642 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
7bbd2fb126
Remove redundant assignment. err is assigned in every switch case anyway. Issue
...
found by CSA.
Originally committed as revision 18641 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
223d996aaf
Fix a possibly exploitable buffer overflow.
...
Originally committed as revision 18640 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
f7cf12b209
Set flag after VC-1 VLCs are initialized to avoid race condition
...
Originally committed as revision 18639 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
346802aa99
Remove some useless assignments and variables found by Clang
...
Originally committed as revision 18638 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
547b6a4cc7
Make RV3/4 VLC tables use new static initialization method
...
Originally committed as revision 18637 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
de1275d5e8
Planar 16bit 420 422 444 YUV support (output is only supported in some
...
unscaled convertions).
This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome,
we should preserve more bits.
Originally committed as revision 29217 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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