OSDN Git Service
Justin Ruggles [Thu, 14 Jul 2011 17:02:45 +0000 (13:02 -0400)]
eac3enc: use different numbers of blocks per frame to allow higher bitrates
Mans Rullgard [Wed, 20 Jul 2011 23:55:24 +0000 (00:55 +0100)]
dnxhd: add regression test for 10-bit
Signed-off-by: Mans Rullgard <mans@mansr.com>
Joseph Artsimovich [Wed, 20 Jul 2011 17:58:27 +0000 (18:58 +0100)]
dnxhd: 10-bit support
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Thu, 21 Jul 2011 09:05:15 +0000 (10:05 +0100)]
dsputil: update per-arch init funcs for non-h264 high bit depth
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Thu, 21 Jul 2011 01:31:57 +0000 (02:31 +0100)]
dsputil: template get_pixels() for different bit depths
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Thu, 21 Jul 2011 11:39:41 +0000 (12:39 +0100)]
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>
Mans Rullgard [Wed, 20 Jul 2011 19:01:56 +0000 (20:01 +0100)]
jfdctint: add 10-bit version
Signed-off-by: Mans Rullgard <mans@mansr.com>
Thierry Foucu [Thu, 21 Jul 2011 03:33:25 +0000 (20:33 -0700)]
mov: add clcp type track as Subtitle stream.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Thierry Foucu [Thu, 21 Jul 2011 03:33:24 +0000 (20:33 -0700)]
mpeg4: add Mpeg4 Profiles names.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Thierry Foucu [Thu, 21 Jul 2011 03:33:23 +0000 (20:33 -0700)]
mpeg4: decode Level Profile for MPEG4 Part 2.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Thierry Foucu [Thu, 21 Jul 2011 03:33:22 +0000 (20:33 -0700)]
ffprobe: display bitstream level.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Stefano Sabatini [Tue, 19 Jul 2011 12:23:47 +0000 (14:23 +0200)]
imgconvert: remove unused glue and xglue macros
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Thu, 21 Jul 2011 12:25:01 +0000 (14:25 +0200)]
rv30: return AVERROR(EINVAL) instead of EINVAL
On some platforms EINVAL could be positive, ensure we return negative values.
Mans Rullgard [Wed, 13 Jul 2011 17:17:54 +0000 (18:17 +0100)]
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>
Mans Rullgard [Thu, 21 Jul 2011 08:49:17 +0000 (09:49 +0100)]
simple_idct: whitespace cosmetics
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Thu, 21 Jul 2011 08:48:29 +0000 (09:48 +0100)]
simple_idct: make repeated code a macro
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Thu, 21 Jul 2011 09:58:56 +0000 (10:58 +0100)]
dsputil: remove huge #if 0 block
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Thu, 21 Jul 2011 02:56:44 +0000 (03:56 +0100)]
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>
Mans Rullgard [Thu, 21 Jul 2011 01:21:14 +0000 (02:21 +0100)]
dsputil: allow 9/10-bit functions for non-h264 codecs
Signed-off-by: Mans Rullgard <mans@mansr.com>
Joseph Artsimovich [Mon, 18 Jul 2011 10:21:33 +0000 (11:21 +0100)]
dnxhd: rename some data tables
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Wed, 20 Jul 2011 17:41:37 +0000 (18:41 +0100)]
dnxhdenc: remove inline from function only called through pointer
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Wed, 20 Jul 2011 17:38:37 +0000 (18:38 +0100)]
dnxhdenc: whitespace cosmetics
Signed-off-by: Mans Rullgard <mans@mansr.com>
Joseph Artsimovich [Mon, 18 Jul 2011 10:22:15 +0000 (11:22 +0100)]
swscale: mark YUV422P10(LE,BE) as supported for output
Signed-off-by: Mans Rullgard <mans@mansr.com>
Sean McGovern [Wed, 20 Jul 2011 21:25:41 +0000 (17:25 -0400)]
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>
Diego Biurrun [Fri, 15 Jul 2011 00:37:33 +0000 (02:37 +0200)]
Remove unused and non-compiling vestigial g729 decoder
Diego Biurrun [Wed, 20 Jul 2011 16:37:15 +0000 (18:37 +0200)]
Remove unused code under G729_BITEXACT #ifdef.
G729_BITEXACT is never set, so the code is all dead code.
Ronald S. Bultje [Wed, 20 Jul 2011 16:24:07 +0000 (09:24 -0700)]
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.
Alex Converse [Tue, 19 Jul 2011 00:49:23 +0000 (17:49 -0700)]
dsputil: Remove extra blank line at end.
Alex Converse [Tue, 19 Jul 2011 00:48:45 +0000 (17:48 -0700)]
dsputil: Replace a LONG_MAX check with HAVE_FAST_64BIT.
Mans Rullgard [Wed, 20 Jul 2011 15:05:05 +0000 (16:05 +0100)]
simple_idct: add 10-bit version
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Wed, 20 Jul 2011 08:46:18 +0000 (09:46 +0100)]
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>
Mans Rullgard [Sun, 17 Jul 2011 19:43:15 +0000 (20:43 +0100)]
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>
Diego Biurrun [Sun, 17 Jul 2011 11:09:04 +0000 (13:09 +0200)]
h264: remove some disabled code
Mans Rullgard [Wed, 20 Jul 2011 08:55:48 +0000 (09:55 +0100)]
Fix incorrect max_lowres values
Signed-off-by: Mans Rullgard <mans@mansr.com>
Chris Evans [Wed, 20 Jul 2011 00:51:48 +0000 (17:51 -0700)]
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>
Justin Ruggles [Wed, 13 Jul 2011 16:49:15 +0000 (12:49 -0400)]
cosmetics: indentation
Justin Ruggles [Wed, 13 Jul 2011 16:20:29 +0000 (12:20 -0400)]
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.
Justin Ruggles [Tue, 12 Jul 2011 20:44:22 +0000 (16:44 -0400)]
cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will also
be used in the E-AC-3 encoder.
Mans Rullgard [Tue, 19 Jul 2011 09:20:56 +0000 (10:20 +0100)]
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>
Mans Rullgard [Mon, 18 Jul 2011 15:04:25 +0000 (16:04 +0100)]
simple_idct: simplify some ifdeffery
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 18 Jul 2011 14:23:22 +0000 (15:23 +0100)]
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>
Mans Rullgard [Sun, 17 Jul 2011 10:24:34 +0000 (11:24 +0100)]
Remove VLAs in ff_amrwb_lsp2lpc()
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 17 Jul 2011 18:47:58 +0000 (19:47 +0100)]
fate: make vsynth tests depend on only the relevant vref
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Sun, 17 Jul 2011 11:27:27 +0000 (13:27 +0200)]
rtsp: remove disabled code
Diego Biurrun [Mon, 18 Jul 2011 16:03:28 +0000 (18:03 +0200)]
dsputil: restore mistakenly removed hunk of disabled code
This particular part serves to document the optimized code variant.
Stefano Sabatini [Fri, 15 Jul 2011 13:40:31 +0000 (15:40 +0200)]
vf_libopencv: replace opencv/cxtypes.h #include by opencv/cxcore.h
cxtypes.h works with version 2.1 and older, cxcore.h works with 2.2 and older.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Sun, 17 Jul 2011 11:29:13 +0000 (13:29 +0200)]
dsputil: remove disabled code
Diego Biurrun [Sun, 17 Jul 2011 11:26:53 +0000 (13:26 +0200)]
tta: remove disabled code
Diego Biurrun [Sun, 17 Jul 2011 21:51:10 +0000 (23:51 +0200)]
gxfenc: place variable declarations before statements
libavformat/gxfenc.c:409: warning: ISO C90 forbids mixed declarations and code
Martin Storsjö [Sun, 17 Jul 2011 15:43:11 +0000 (18:43 +0300)]
x86: Use LOCAL_ALIGNED in mpegvideo_mmx_template
Signed-off-by: Martin Storsjö <martin@martin.st>
Mans Rullgard [Sun, 17 Jul 2011 13:17:10 +0000 (14:17 +0100)]
random_seed: use proper #includes
Use <> for system headers, add needed math.h, drop unnecessary avutil.h.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 17 Jul 2011 14:27:41 +0000 (15:27 +0100)]
ffmpeg: fix some indentation
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 17 Jul 2011 14:27:14 +0000 (15:27 +0100)]
ffmpeg: fix operation with --disable-avfilter
The width and height must be copied from the input before
being used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Sun, 17 Jul 2011 11:30:00 +0000 (13:30 +0200)]
simple_idct: remove disabled code
Diego Biurrun [Sun, 17 Jul 2011 11:28:11 +0000 (13:28 +0200)]
motion_est: remove disabled code
Diego Biurrun [Sun, 17 Jul 2011 11:35:21 +0000 (13:35 +0200)]
vc1: remove disabled code
Mans Rullgard [Sun, 17 Jul 2011 14:40:05 +0000 (15:40 +0100)]
fate: separate lavf-mxf_d10 test from lavf-mxf
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Thu, 7 Jul 2011 21:16:56 +0000 (23:16 +0200)]
cabac: Move code only used in the cabac test program to cabac.c.
Stefano Sabatini [Sat, 16 Jul 2011 20:43:11 +0000 (22:43 +0200)]
ffplay: warn that -pix_fmt is no longer working, suggest alternative
Also remove now unused variable.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Sat, 16 Jul 2011 21:08:06 +0000 (23:08 +0200)]
ffplay: warn that -s is no longer working, suggest alternative
Also remove now unused variables.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Sat, 16 Jul 2011 21:08:29 +0000 (23:08 +0200)]
lavf: rename enc variable in utils.c:has_codec_parameters()
Rename it to "avctx", the old name was confusing as the function is
used also with decoder contexts.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Sat, 16 Jul 2011 20:18:12 +0000 (22:18 +0200)]
lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
Anton Khirnov [Sat, 16 Jul 2011 07:53:40 +0000 (09:53 +0200)]
wav: remove a use of deprecated AV_METADATA_ macro
Anton Khirnov [Sat, 16 Jul 2011 07:43:33 +0000 (09:43 +0200)]
rmdec: remove useless ap parameter from rm_read_header_old()
Mans Rullgard [Sat, 16 Jul 2011 18:23:07 +0000 (19:23 +0100)]
dct-test: remove write-only variable
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 16 Jul 2011 18:10:43 +0000 (19:10 +0100)]
des: fix #if conditional around P_shuffle
CONFIG_SMALL is always defined as 0 or 1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 16 Jul 2011 14:37:05 +0000 (15:37 +0100)]
Use LOCAL_ALIGNED in ff_check_alignment()
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Sat, 16 Jul 2011 17:15:01 +0000 (19:15 +0200)]
arm: remove disabled function dct_unquantize_h263_inter_iwmmxt()
Diego Biurrun [Tue, 26 Apr 2011 14:57:55 +0000 (16:57 +0200)]
Remove commented-out call to non-existing function print_pow1().
Rafaël Carré [Sat, 16 Jul 2011 15:41:08 +0000 (11:41 -0400)]
Do not decode RV30 files if the extradata is too small
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Wed, 6 Jul 2011 21:53:32 +0000 (23:53 +0200)]
flashsv: split flashsv_decode_block() off from flashsv_decode_frame().
Diego Biurrun [Fri, 15 Jul 2011 23:35:01 +0000 (01:35 +0200)]
ppc: remove disabled code
Diego Biurrun [Wed, 6 Jul 2011 23:31:03 +0000 (01:31 +0200)]
libspeexdec: Drop const qualifier to silence compiler warning.
libavcodec/libspeexdec.c:108: warning: passing argument 2 of ‘speex_bits_read_from’ discards qualifiers from pointer target type
/usr/include/speex/speex_bits.h:80: note: expected ‘char *’ but argument is of type ‘const uint8_t *’
Diego Biurrun [Wed, 6 Jul 2011 23:31:02 +0000 (01:31 +0200)]
libopenjpeg: Drop const qualifier to silence compiler warning.
libavcodec/libopenjpeg.c:100: warning: passing argument 2 of ‘opj_cio_open’ discards qualifiers from pointer target type
/usr/include/openjpeg.h:770: note: expected ‘unsigned char *’ but argument is of type ‘const uint8_t *’
Diego Biurrun [Fri, 29 Apr 2011 17:49:45 +0000 (19:49 +0200)]
alac: Remove unused dummy code.
Diego Biurrun [Fri, 29 Apr 2011 17:40:16 +0000 (19:40 +0200)]
Remove unused structs and tables.
Diego Biurrun [Thu, 14 Jul 2011 23:06:16 +0000 (01:06 +0200)]
vaapi: do not assert on value read from input bitstream
User-provided data should never trigger an assert; return error instead.
Also fix an instance of get_bits where get_bits_long should have been used.
This eliminates the following warning:
libavcodec/vaapi_mpeg2.c:112:14: warning: variable 'start_code' set but not used
Diego Biurrun [Fri, 15 Jul 2011 17:45:17 +0000 (19:45 +0200)]
flashsvenc: replace bitstream description by a link to the specification
An official specification now exists and it is both more detailed and
easier to understand than the incomplete notes available here.
Diego Biurrun [Fri, 15 Jul 2011 14:21:20 +0000 (16:21 +0200)]
flashsvenc: drop unnecessary cast
Diego Biurrun [Fri, 15 Jul 2011 13:55:19 +0000 (15:55 +0200)]
flashsvenc: improve some variable names and fix corresponding comments
Diego Biurrun [Fri, 15 Jul 2011 13:28:43 +0000 (15:28 +0200)]
flashsvenc: merge two consecutive if-conditions
Diego Biurrun [Fri, 15 Jul 2011 13:28:18 +0000 (15:28 +0200)]
flashsvenc: merge variable declarations and initializations
Diego Biurrun [Fri, 15 Jul 2011 13:26:49 +0000 (15:26 +0200)]
flashsvenc: convert some debug av_log() to av_dlog()
Diego Biurrun [Fri, 15 Jul 2011 13:26:18 +0000 (15:26 +0200)]
flashsvenc: whitespace cosmetics
Diego Biurrun [Fri, 15 Jul 2011 13:09:39 +0000 (15:09 +0200)]
flashsvenc: drop some unnecessary parentheses
Diego Biurrun [Fri, 15 Jul 2011 13:05:51 +0000 (15:05 +0200)]
flashsvenc: fix some comment typos
Mans Rullgard [Fri, 15 Jul 2011 21:38:10 +0000 (22:38 +0100)]
aacps: skip some memcpy() if src and dst would be equal
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Fri, 15 Jul 2011 18:27:43 +0000 (20:27 +0200)]
lavf/utils: drop av_ prefixes from static functions.
Anton Khirnov [Sat, 21 May 2011 17:13:22 +0000 (19:13 +0200)]
avio: don't replicate avio_alloc_context functionality.
Martin Storsjö [Fri, 15 Jul 2011 07:53:12 +0000 (10:53 +0300)]
configure: Automatically add more flags required on symbian
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Thu, 14 Jul 2011 22:45:59 +0000 (00:45 +0200)]
mem.h: switch doxygen parameter order to match function prototype
Diego Biurrun [Thu, 14 Jul 2011 22:45:23 +0000 (00:45 +0200)]
doxygen: replace @sa tag by the more readable but equivalent @see
Diego Biurrun [Thu, 14 Jul 2011 01:56:07 +0000 (03:56 +0200)]
doxygen: use Doxygen markup for authors and web links where appropriate
Diego Biurrun [Thu, 14 Jul 2011 01:11:19 +0000 (03:11 +0200)]
doxygen: do not include license boilerplate in Doxygen documentation
Martin Storsjö [Thu, 14 Jul 2011 21:21:15 +0000 (00:21 +0300)]
ac3enc: Mark AVClasses const
Signed-off-by: Martin Storsjö <martin@martin.st>
Mike Williams [Wed, 13 Jul 2011 18:24:47 +0000 (14:24 -0400)]
ffserver: Replace two loops with one loop.
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Martin Storsjö [Thu, 14 Jul 2011 20:01:29 +0000 (23:01 +0300)]
ffmpeg: Fix the check for experimental codecs
The variable 'codec' was used uninitialized here.
Signed-off-by: Martin Storsjö <martin@martin.st>
Ronald S. Bultje [Thu, 14 Jul 2011 17:31:27 +0000 (10:31 -0700)]
swscale: extend mmx padding.
Fixes a crash when forcing libc to strictly adhere to malloc sizes.
Ronald S. Bultje [Thu, 14 Jul 2011 17:24:40 +0000 (10:24 -0700)]
swscale: clip unscaled colorspace conversion path.
Prevents overflows on very bright scenes when adding dither,
which may lead to black dots.
Diego Biurrun [Thu, 14 Jul 2011 02:05:17 +0000 (04:05 +0200)]
doxygen: misc consistency cosmetics