Diego Biurrun
ab3d241be1
ape: adjust some printf format strings to correctly match argument types
14 years ago
Michael Niedermayer
8c0fa61a97
jpegdec: actually search for and parse RSTn
...
Fixes decoding of MJPEG files produced by some UVC Logitec web cameras,
such as "Notebook Pro" and "HD C910".
References:
http://trac.videolan.org/vlc/ticket/4215
http://ffmpeg.org/trac/ffmpeg/ticket/267
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Kostya <kostya.shishkov@gmail.com>
(cherry picked from commit 7b8ed831eb
)
14 years ago
Mans Rullgard
b4cfb8254e
dnxhddec: avoid a branch in 10-bit decode_dct_block()
...
The minimum weight value is 32 so this test can be skipped for the
10-bit case. Overall speedup 3-4%.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Daniel Kang
406fbd24dc
H.264: Add optimizations to predict x86 assembly.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Alex Converse
505345ed5d
riff: Add mpgv MPEG-2 fourcc
...
Supported by mplayer and seen in the wild.
14 years ago
Kostya Shishkov
c2d23309ef
add Flash Screen Video 2 decoder
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
bb32fded36
dnxhddec: optimise dnxhd_decode_dct_block()
...
Template the function for 8/10-bit and use lowlevel bitstream
macros.
6% faster overall on i7 gcc 4.5.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
4cc843facd
rtp: remove disabled code
14 years ago
Justin Ruggles
be7bd626c4
eac3enc: use different numbers of blocks per frame to allow higher bitrates
14 years ago
Mans Rullgard
4555874af1
dnxhd: add regression test for 10-bit
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Joseph Artsimovich
5ab21439fd
dnxhd: 10-bit support
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
a617c6aaa3
dsputil: update per-arch init funcs for non-h264 high bit depth
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
874f1a901d
dsputil: template get_pixels() for different bit depths
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
5cc2600964
dsputil: create 16/32-bit dctcoef versions of some functions
...
High bitdepth H.264 needs 32-bit transform coefficients, whereas
dnxhd does not. This creates a conflict with the templated
functions operating on DCTELEM data. This patch adds a field
allowing the caller to choose the element size in dsputil_init()
and adds the required functions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0a72533e98
jfdctint: add 10-bit version
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Thierry Foucu
73c0dd939d
mov: add clcp type track as Subtitle stream.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Thierry Foucu
c4ab43ff3c
mpeg4: add Mpeg4 Profiles names.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Thierry Foucu
0637e50579
mpeg4: decode Level Profile for MPEG4 Part 2.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Thierry Foucu
364d64275c
ffprobe: display bitstream level.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
09e8163625
imgconvert: remove unused glue and xglue macros
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
e5985185d2
rv30: return AVERROR(EINVAL) instead of EINVAL
...
On some platforms EINVAL could be positive, ensure we return negative values.
14 years ago
Mans Rullgard
371584c42b
build: add -L flags before existing LDFLAGS
...
This ensures the linker picks the just built libraries even
if LDFLAGS for some reason contains -L flags pointing at
other directories containing libav libraries.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2cc4f3b21f
simple_idct: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
a402f10959
simple_idct: make repeated code a macro
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
7df701a192
dsputil: remove huge #if 0 block
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e7bcc5baf7
simple_idct: change 10-bit add/put stride from pixels to bytes
...
This matches other dsputil functions and simplifies calls.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
a82beafd64
dsputil: allow 9/10-bit functions for non-h264 codecs
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Joseph Artsimovich
42c27f2eca
dnxhd: rename some data tables
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
b049978397
dnxhdenc: remove inline from function only called through pointer
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
1073823984
dnxhdenc: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Joseph Artsimovich
eedb1f2034
swscale: mark YUV422P10(LE,BE) as supported for output
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Sean McGovern
558c268318
configure: add -xc99 to LDFLAGS for Sun CC
...
Using Sun's compiler on Solaris, -xc99 is as much a linker flag as a
compiler flag, so add it to LDFLAGS.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
79a9aab56f
Remove unused and non-compiling vestigial g729 decoder
14 years ago
Diego Biurrun
a005174b25
Remove unused code under G729_BITEXACT #ifdef.
...
G729_BITEXACT is never set, so the code is all dead code.
14 years ago
Ronald S. Bultje
80469eafb7
mpegvideo: fix invalid picture unreferencing.
...
Mpegvideo would free frames as soon as they're not the next or prev
picture. This is fine for a single-threading model, but fails miserably
in a system where pictures can be referenced (as e.g. last/prev pic)
in other threads. Keeping track of ownership of pictures keeps image
references (e.g. motion vectors, or the reference of a motion vector)
alive as long as the picture data itself is alive.
This also happens to fix make THREADS=[3-16] fate-vsynth[12]-error.
14 years ago
Alex Converse
e4b50572b7
dsputil: Remove extra blank line at end.
14 years ago
Alex Converse
d9a9f50a36
dsputil: Replace a LONG_MAX check with HAVE_FAST_64BIT.
14 years ago
Mans Rullgard
e7a972e113
simple_idct: add 10-bit version
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
7b4ee3a21d
Remove h264_lowres_idct_put/add functions
...
Use of these has been broken ever since the h264 idct was changed
to always use transposed inputs. Furthermore, they were only
ever used if some *other* non-default idct was requested.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
89cc8a316d
Remove snow/dwt test program
...
This test program so full of programming errors it is impossible
to make sense of it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
1b4a17094e
h264: remove some disabled code
14 years ago
Mans Rullgard
e23a05ab06
Fix incorrect max_lowres values
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Chris Evans
69619a13c3
matroskadec: fix integer underflow if header length < probe length.
...
This fixes a crash with specifically crafted files.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Justin Ruggles
953302656a
cosmetics: indentation
14 years ago
Justin Ruggles
08a747afb9
eac3enc: use frame exponent strategy when applicable.
...
This checks if the set of selected exponent strategies for all blocks in a
channel are in the frame exponent strategy table, and if so, writes the
table index instead of each strategy. This saves up to 7 bits per channel per
frame, so the overall effect on quality is small.
14 years ago
Justin Ruggles
31b69928e5
cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will also
...
be used in the E-AC-3 encoder.
14 years ago
Mans Rullgard
29b42c66f7
dsputil: fix ff_check_alignment()
...
The change to LOCAL_ALIGNED means the declared object must be an
array and the subsequent test should not use the & operator.
Noticed by Uoti Urpala.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
3e9409b1d0
simple_idct: simplify some ifdeffery
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
dbb5ee8ea7
simple_idct: remove code for DCTELEM != int16
...
DCTELEM can never be changed to anything else, too much code
depends on it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
3f5dcde7e6
Remove VLAs in ff_amrwb_lsp2lpc()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago