OSDN Git Service
David Conrad [Fri, 23 Jul 2010 21:46:20 +0000 (21:46 +0000)]
VP8: Use vp56_rac_get_prob_branchy when the bit is only used by an if()
Originally committed as revision 24469 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 23 Jul 2010 21:46:17 +0000 (21:46 +0000)]
Decode DCT tokens by branching to a different code path for each branch
on the huffman tree, instead of traversing the tree in a while loop.
Based on the similar optimization in libvpx's detokenize.c
10% faster at normal bitrates, and 30% faster for high-bitrate intra-only
Originally committed as revision 24468 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 23 Jul 2010 21:46:14 +0000 (21:46 +0000)]
Move renormalization of the VP56 arith decoder to before decoding a bit
No difference at the moment, but allows a future branchy variant
of vp56_rac_get_prob to be significantly faster
Originally committed as revision 24467 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 23 Jul 2010 21:46:08 +0000 (21:46 +0000)]
Split renorm of vp56 arith decoder to its own function
Originally committed as revision 24466 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 23 Jul 2010 21:46:01 +0000 (21:46 +0000)]
vp56's arith decoder's code_word is only 16 bits, no need for unsigned long
Originally committed as revision 24465 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 21:42:35 +0000 (21:42 +0000)]
Add myself to VP8 copyright and maintainers.
Also add Ronald to maintainers.
Originally committed as revision 24464 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 21:36:21 +0000 (21:36 +0000)]
VP8: always_inline some things to force gcc to do the right thing
Mostly seems to help in the MC code, which gets a hundred cycles faster.
Originally committed as revision 24463 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 21:17:18 +0000 (21:17 +0000)]
VP8: use AV_RL24 instead of defining a new RL24.
Originally committed as revision 24462 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Fri, 23 Jul 2010 20:27:54 +0000 (20:27 +0000)]
swscale-test: scale from reference to source only once for each algorithm
Originally committed as revision 31777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ramiro Polla [Fri, 23 Jul 2010 20:26:54 +0000 (20:26 +0000)]
indent
Originally committed as revision 31776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ramiro Polla [Fri, 23 Jul 2010 20:26:32 +0000 (20:26 +0000)]
swscale-test: change order tests are run, maintaining the same algorithm for
sequential geometries instead of running all algorithms sequentially for each
geometry.
Originally committed as revision 31775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Jason Garrett-Glaser [Fri, 23 Jul 2010 19:06:22 +0000 (19:06 +0000)]
VP8: Slightly faster MV selection
Don't clamp best mv unless it's actually used.
Originally committed as revision 24461 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 10:42:19 +0000 (10:42 +0000)]
VP8: use AV_ZERO32 instead of AV_WN32A where relevant
Originally committed as revision 24460 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 10:34:21 +0000 (10:34 +0000)]
VP8: eliminate redundant code in r24458
Originally committed as revision 24459 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 10:24:38 +0000 (10:24 +0000)]
VP8: shave a few clocks off check_intra_pred_mode
Originally committed as revision 24458 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Fri, 23 Jul 2010 10:09:46 +0000 (10:09 +0000)]
Add VP8 sign bias code regtest. Not tested by the official conformance suite.
Originally committed as revision 24457 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 06:41:35 +0000 (06:41 +0000)]
VP8: fix broken sign bias code in MV pred
Apparently the official conformance test vectors don't test this feature,
even though libvpx uses it.
Originally committed as revision 24456 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 06:02:52 +0000 (06:02 +0000)]
VP8: optimize DC-only chroma case in the same way as luma.
Add MMX idct_dc_add4uv function for this case.
~40% faster chroma idct.
Originally committed as revision 24455 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 03:44:37 +0000 (03:44 +0000)]
VP8: Clean up some variable shadowing.
Originally committed as revision 24454 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 03:02:56 +0000 (03:02 +0000)]
VP8 asm: cosmetics (spacing)
Originally committed as revision 24453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 02:58:27 +0000 (02:58 +0000)]
VP8: 30% faster idct_mb
Take shortcuts based on statistically common situations.
Add 4-at-a-time idct_dc function (mmx and sse2) since rows of 4 DC-only DCT
blocks are common.
TODO: tie this more directly into the MB mode, since the DC-level transform is
only used for non-splitmv blocks?
Originally committed as revision 24452 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 01:59:56 +0000 (01:59 +0000)]
VP8: smarter prefetching
Don't prefetch reference frames that were used less than 1/32th of the time so
far in the frame.
This helps speed up to ~2% on videos that, in many frames, make near-zero
(but not entirely zero) use of golden and/or alt-refs.
This is a very common property of videos encoded by libvpx.
Originally committed as revision 24451 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 23 Jul 2010 00:34:09 +0000 (00:34 +0000)]
In h264 parser, return immediately if buf_size is 0, avoid printing
erroneous message for last frame.
Originally committed as revision 24450 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 23 Jul 2010 00:27:17 +0000 (00:27 +0000)]
In mpegts muxer, fix rbsp trailing bits in AUD nal, fixes issue #2122
Originally committed as revision 24449 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 00:07:16 +0000 (00:07 +0000)]
VP8: clear DCT blocks in iDCT instead of using clear_blocks.
~0.3% faster overall.
Originally committed as revision 24448 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 23 Jul 2010 00:05:44 +0000 (00:05 +0000)]
VP8: avoid a memset for non-i4x4 blocks with no coefficients
Originally committed as revision 24447 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 23:11:40 +0000 (23:11 +0000)]
Get rid of more unnecessary dereferences in VP8 deblocking
Originally committed as revision 24446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 23:04:51 +0000 (23:04 +0000)]
Shut up an uninitialized variable GCC warning in VP8.
Originally committed as revision 24445 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 23:03:08 +0000 (23:03 +0000)]
Smarter VP8 prefetching
Prefetch all refs (including altref), but only if they've been used so far this
frame.
~2.5% faster overall.
TODO: Do something even smarter, like using how often each ref has been used
so far, so that a couple blocks of a rarely-used ref don't force us to prefetch
it.
Originally committed as revision 24444 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 23:01:31 +0000 (23:01 +0000)]
Prefer impersonal form over third person, for consistency with the
rest of FFmpeg.
Originally committed as revision 31772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Jason Garrett-Glaser [Thu, 22 Jul 2010 22:15:43 +0000 (22:15 +0000)]
Fix stupid bug in VP8 prefetching code
Originally committed as revision 24443 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 22:11:45 +0000 (22:11 +0000)]
Add an APIchanges entry after the M_PHI addition.
Originally committed as revision 24442 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 22:08:09 +0000 (22:08 +0000)]
Eliminate a LUT in escape decoding in VP8 decode_block_coeffs
Originally committed as revision 24441 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 22:06:46 +0000 (22:06 +0000)]
Remove dependency on avcodec_get_chroma_sub_sample() and libavcodec,
use the pixdesc API instead.
Originally committed as revision 24440 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 22:05:21 +0000 (22:05 +0000)]
Add the M_PHI constant, contains an approximation of the golden ratio
irrational number.
Originally committed as revision 24439 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 21:05:30 +0000 (21:05 +0000)]
Eliminate some repeated dereferences in VP8 inter_predict
Originally committed as revision 24438 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Thu, 22 Jul 2010 19:59:34 +0000 (19:59 +0000)]
Use pextrw for SSE4 mbedge filter result writing, speedup 5-10cycles on
CPUs supporting it.
Originally committed as revision 24437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Thu, 22 Jul 2010 19:05:10 +0000 (19:05 +0000)]
swscale-test: use only 3 characters to print width/height since they're always
smaller than 1000
Originally committed as revision 31771 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ramiro Polla [Thu, 22 Jul 2010 19:02:49 +0000 (19:02 +0000)]
swscale-test: print test name before running test, so that it's available in
the output even if the test crashes.
Originally committed as revision 31770 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Måns Rullgård [Thu, 22 Jul 2010 17:47:56 +0000 (17:47 +0000)]
Do not automatically run configure
Making automatic reconfigure work properly in all cases proved more
difficult than it seemed, and people complained about it. Instead,
print a warning when the configuration appears to be out of date.
Originally committed as revision 24436 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Thu, 22 Jul 2010 15:30:22 +0000 (15:30 +0000)]
swscale-test: allocate more memory to prevent scalers from writing out of bounds
Some converters (ie. unscaled rgb24 -> argb) may write some bytes out of
bounds. Ideally the converters should be fixed, but in the meantime we allocate
more memory to prevent heap corruption.
Originally committed as revision 31768 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Stefano Sabatini [Thu, 22 Jul 2010 13:05:10 +0000 (13:05 +0000)]
Factorize indent definition in PRINT_LIB_INFO().
Originally committed as revision 24435 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 13:05:07 +0000 (13:05 +0000)]
Merge maybe_print_config() and PRINT_LIB_CONFIG() in PRINT_LIB_INFO().
Originally committed as revision 24434 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 13:05:04 +0000 (13:05 +0000)]
Rename:
PRINT_LIB_VERSION() -> PRINT_LIB_INFO()
print_all_lib_versions() -> print_all_libs_info()
Originally committed as revision 24433 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 13:05:01 +0000 (13:05 +0000)]
Reindent.
Originally committed as revision 24432 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 13:04:58 +0000 (13:04 +0000)]
Increase flexibility of PRINT_LIB_VERSION(), make it accept a flags
parameter. Allow a pending factorization.
Originally committed as revision 24431 to svn://svn.ffmpeg.org/ffmpeg/trunk
James Zern [Thu, 22 Jul 2010 12:35:32 +0000 (12:35 +0000)]
Map settings for 2-pass libvpx encoding.
Patch by James Zern, jzern at google
Originally committed as revision 24430 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 12:15:29 +0000 (12:15 +0000)]
Eliminate a pointless memset for intra blocks in P-frames in VP8
Originally committed as revision 24429 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 11:55:55 +0000 (11:55 +0000)]
VP8: Don't store segment in macroblock struct anymore.
Not necessary with the previous patch.
Originally committed as revision 24427 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 11:45:18 +0000 (11:45 +0000)]
Convert VP8 macroblock structures to a ring buffer.
Uses a slightly nonintuitive ring buffer size of (width+height*2) to simplify
addressing logic.
Also split out the segmentation map to a separate structure, necessary to
implement the ring buffer.
Originally committed as revision 24426 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 11:24:31 +0000 (11:24 +0000)]
Add APIchanges entry for the libavfilter media format generalization
change of r24424.
Originally committed as revision 24425 to svn://svn.ffmpeg.org/ffmpeg/trunk
S.N. Hemanth Meenakshisundaram [Thu, 22 Jul 2010 11:12:47 +0000 (11:12 +0000)]
Generalize pixel format enum fields to int formats.
This is needed to make the libavfilter framework work with audio
filters.
In particular add a type field to AVFilterLink, change the field types:
enum PixelFormat format -> int format in AVFilterBuffer
enum PixelFormat *formats -> int *formats in AVFilterFormats
enum PixelFormat *format -> int format in AVFilterLink
and change the function signatures:
AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); ->
AVFilterFormats *avfilter_make_format_list(const int *fmts);
int avfilter_add_colorspace(AVFilterFormats **avff, enum PixelFormat pix_fmt); ->
int avfilter_add_format(AVFilterFormats **avff, int fmt);
AVFilterFormats *avfilter_all_colorspaces(void); ->
AVFilterFormats *avfilter_all_formats(enum AVMediaType type);
This change breaks libavfilter API/ABI.
Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.
Originally committed as revision 24424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 09:56:09 +0000 (09:56 +0000)]
Document create_filter().
Originally committed as revision 24423 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 09:56:06 +0000 (09:56 +0000)]
Add simple doxy to link_filter().
Originally committed as revision 24422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 09:56:03 +0000 (09:56 +0000)]
Fix documentation for parse_link_name().
Originally committed as revision 24421 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 09:56:00 +0000 (09:56 +0000)]
Consistently use Uppercase for the first character of the log
messages.
Originally committed as revision 24420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 09:55:57 +0000 (09:55 +0000)]
Make link_filter() propagate the generated error code.
Originally committed as revision 24419 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 Jul 2010 09:49:15 +0000 (09:49 +0000)]
Fix style: "if(" -> "if (".
Originally committed as revision 24418 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 07:24:22 +0000 (07:24 +0000)]
Calculate deblock strength per-MB instead of per-row
Gives better cache locality, since the VP8Macroblock structs are still in cache.
Inspired by the way x264 does it.
Originally committed as revision 24417 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 07:04:45 +0000 (07:04 +0000)]
Avoid tracking i4x4 modes in P-frames in VP8
As in the previous commit, they aren't used for context selection, so it saves
memory this way.
Originally committed as revision 24416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 06:39:54 +0000 (06:39 +0000)]
Avoid useless fill_rectangle in P-frames in VP8
In VP8, i4x4 only uses contexts based on neighbors in I-frames.
Originally committed as revision 24415 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 06:29:26 +0000 (06:29 +0000)]
Optimize partition mv decoding in VP8
Originally committed as revision 24414 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 05:49:09 +0000 (05:49 +0000)]
Take shortcuts for mv0 case in VP8 MC
Avoid edge emulation -- it isn't needed if there isn't any subpel.
Originally committed as revision 24413 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 04:26:41 +0000 (04:26 +0000)]
Much faster VP8 mv and mode prediction
Originally committed as revision 24412 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 03:33:29 +0000 (03:33 +0000)]
Convert vp56_mv to 16-bit.
Saves nothing except a bit of memory/cache now, but will allow future
optimizations.
Originally committed as revision 24411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Thu, 22 Jul 2010 03:09:10 +0000 (03:09 +0000)]
Add prefetching to VP8 decoder
~5% faster overall, probably depends on CPU and resolution.
Originally committed as revision 24410 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Thu, 22 Jul 2010 01:35:26 +0000 (01:35 +0000)]
Fix and enable horizontal >=SSE2 mbedge loopfilter.
Originally committed as revision 24409 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Thu, 22 Jul 2010 00:39:49 +0000 (00:39 +0000)]
relicense h264 deblock sse2 to lgpl
Originally committed as revision 24408 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Jul 2010 22:59:28 +0000 (22:59 +0000)]
Add APIchanges entry after libavcore addition.
Originally committed as revision 24407 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Wed, 21 Jul 2010 22:45:16 +0000 (22:45 +0000)]
sync yasm macros from x264
Originally committed as revision 24406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Wed, 21 Jul 2010 22:41:37 +0000 (22:41 +0000)]
Eliminate one instruction in VP8 dc_add_sse4
Originally committed as revision 24405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 Jul 2010 22:33:06 +0000 (22:33 +0000)]
Add WMAPro regtests
Originally committed as revision 24404 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Wed, 21 Jul 2010 22:11:03 +0000 (22:11 +0000)]
Various VP8 x86 deblocking speedups
SSSE3 versions, improve SSE2 versions a bit.
SSE2/SSSE3 mbedge h functions are currently broken, so explicitly disable them.
Originally committed as revision 24403 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Wed, 21 Jul 2010 21:41:46 +0000 (21:41 +0000)]
use return value of ff_get_line()
Originally committed as revision 24402 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Wed, 21 Jul 2010 21:40:50 +0000 (21:40 +0000)]
document ff_get_line()
Originally committed as revision 24401 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Wed, 21 Jul 2010 21:40:10 +0000 (21:40 +0000)]
improve ff_get_line to return line length
Originally committed as revision 24400 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Wed, 21 Jul 2010 21:39:01 +0000 (21:39 +0000)]
move ff_get_line to aviobuf.c
Originally committed as revision 24399 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Wed, 21 Jul 2010 21:35:44 +0000 (21:35 +0000)]
rename get_line to ff_get_line
Originally committed as revision 24398 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Wed, 21 Jul 2010 20:51:01 +0000 (20:51 +0000)]
Make mmx VP8 WHT faster
Avoid pextrw, since it's slow on many older CPUs.
Now it doesn't require mmxext either.
Originally committed as revision 24397 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 21 Jul 2010 20:49:41 +0000 (20:49 +0000)]
regtest: simplify cleanup after each test
Originally committed as revision 24396 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 21 Jul 2010 20:49:36 +0000 (20:49 +0000)]
fate: delete useless artifacts after running each test
Originally committed as revision 24395 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 21 Jul 2010 20:49:34 +0000 (20:49 +0000)]
fate: keep stderr from failing tests
Originally committed as revision 24394 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Jul 2010 18:28:42 +0000 (18:28 +0000)]
Add libavcore.
The new library is meant to contain the core multimedia utilities for
FFmpeg, to make them shareable between more libav* libraries.
See thread:
Subject: [FFmpeg-devel] [RFC] New library for shared non-generic libav* utils
Date: Fri, 9 Jul 2010 01:07:40 +0200
Originally committed as revision 24393 to svn://svn.ffmpeg.org/ffmpeg/trunk
Víctor Paesa [Wed, 21 Jul 2010 17:31:37 +0000 (17:31 +0000)]
Typo.
Originally committed as revision 24392 to svn://svn.ffmpeg.org/ffmpeg/trunk
Axel Holzinger [Wed, 21 Jul 2010 17:27:28 +0000 (17:27 +0000)]
Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99
Patch by Axel Holzinger, aholzinger at gmx dot de
Originally committed as revision 24391 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Wed, 21 Jul 2010 17:25:09 +0000 (17:25 +0000)]
Reindent, rewrap long comment lines to keep line length below 80 chars
Originally committed as revision 24390 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Wed, 21 Jul 2010 17:17:35 +0000 (17:17 +0000)]
rtpdec_asf: Handle RTSP-MS packet splitting
Originally committed as revision 24389 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Jul 2010 17:14:22 +0000 (17:14 +0000)]
Document the buffer source.
Originally committed as revision 24388 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Jul 2010 17:14:19 +0000 (17:14 +0000)]
Extend buffer source syntax.
Make the buffer source accept a string for specifying the input pixel
format.
Originally committed as revision 24387 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Jul 2010 17:14:15 +0000 (17:14 +0000)]
Add an informational trace in init().
Originally committed as revision 24386 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Jul 2010 17:14:13 +0000 (17:14 +0000)]
Clarify logic and feedback of the init() function.
Originally committed as revision 24385 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Jul 2010 17:14:08 +0000 (17:14 +0000)]
Add description to the buffer source.
Originally committed as revision 24384 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Wed, 21 Jul 2010 13:29:55 +0000 (13:29 +0000)]
darwin: allow 64-bit darwin to allocate executable memory
darwin requires _DARWIN_C_SOURCE to be defined for MAP_ANON, which is used by
swscale to determine whether to use malloc() or mmap(). 64-bit darwin does not
have an executable heap, so mmap() must be used instead of malloc(), and
therefore _DARWIN_C_SOURCE must be defined.
Originally committed as revision 31760 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diego Pettenò [Wed, 21 Jul 2010 12:37:37 +0000 (12:37 +0000)]
Make ff_inverse stay with libavutil, and optional copy it to libavcodec.
The ff_inverse table is used by FASTDIV macro, defined in libavutil, but up
to now the table was defined only in libavcodec.
After this change, the main copy of ff_inverse is part of libavutil (just
like FASTDIV), but if CONFIG_SMALL is unset, then a different copy is made
available to libavcodec, to avoid the performance penalty of using an
external look up table.
Dynamic linking works, because the libraries are linked with -Bsymbolic, so
the local copy of the symbol has priority over the external; static linking
works because the table is on a standalone object file in both libraries,
so the linker is able to discard one of the two.
Tested on Linux/x86-64 and Mac OS X/x86-64.
Originally committed as revision 24383 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 21 Jul 2010 10:06:24 +0000 (10:06 +0000)]
Enable lavfi test in "make test"
Originally committed as revision 24382 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 21 Jul 2010 10:02:07 +0000 (10:02 +0000)]
Add header declarations for mmx/sse constants missing them
Originally committed as revision 24381 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 21 Jul 2010 10:02:03 +0000 (10:02 +0000)]
Move ff_pw_* from vc1dsp_mmx.c to dsputil_mmx.c
Should fix compilation with icc and should help prevent any future duplicates
Originally committed as revision 24380 to svn://svn.ffmpeg.org/ffmpeg/trunk
Thierry Foucu [Wed, 21 Jul 2010 07:46:02 +0000 (07:46 +0000)]
gxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof
Patch by Thierry Foucu, tfoucu at gmail
Originally committed as revision 24379 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Tue, 20 Jul 2010 22:58:56 +0000 (22:58 +0000)]
VP8 MBedge loopfilter MMX/MMX2/SSE2 functions for both luma (width=16)
and chroma (width=8).
Originally committed as revision 24378 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Tue, 20 Jul 2010 22:20:23 +0000 (22:20 +0000)]
swscale-test: use av_pix_fmt_descriptors[].name directly
Originally committed as revision 31759 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale