710b8df949
dsputil: remove ff_emulated_edge_mc macro used in one place
...
This macro can cause problems in conjunction with the bitdepth
template expansion. It was presumably added to keep source
compatibility when high bitdepth support was added. However,
emulated_edge_mc is a dsputil pointer and should not be called
directly, so there is little reason to keep such a macro.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-10 17:55:58 +01:00
0f6fc8660e
9/10-bit: simplify clipping macros
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-10 17:54:41 +01:00
f47ac3c6ca
matroskadec: reindent
2011-07-10 18:51:30 +02:00
31ad14c21e
matroskadec: defer parsing of cues element until we seek.
...
This decreases startup latency.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-10 18:51:30 +02:00
84626b364b
lavc: add support for codec-specific defaults.
2011-07-10 17:10:49 +02:00
71a861cf40
lavc: make avcodec_alloc_context3 officially public.
...
Deprecate avcodec_alloc_context/2.
2011-07-10 17:09:28 +02:00
18c007ba37
lavc: remove a half-working attempt at different defaults for audio/video codecs.
...
It should be replaced with proper per-codec defaults.
2011-07-10 17:08:58 +02:00
9b83919f44
ac3dec: add a drc_scale private option
...
Deprecate corresponding AVCodecContext option.
This is the first test of decoder private options.
2011-07-10 17:07:12 +02:00
a67c061e0f
lavf: add avformat_find_stream_info()
...
It supports passing options to codecs.
2011-07-10 17:07:05 +02:00
0b950fe240
lavc: introduce avcodec_open2() as a replacement for avcodec_open().
...
Adds support for decoder-private options and makes setting other options
simpler.
2011-07-10 17:06:22 +02:00
7f7dc4fb55
H.264: fix filter_mb_fast with 4:4:4 + 8x8dct
2011-07-09 13:32:55 -07:00
e35c674d13
alsa: limit buffer_size to 32768 frames.
...
In testing, the file output plugin gave a max buffer size of about 20 million
frames, which is way more than what is really needed and causes a memory
allocation error on my system.
2011-07-09 16:01:06 -04:00
8bfd7f6a47
alsa: fallback to buffer_size/4 for period_size.
...
buffer_size/4 is the value used by aplay. This fixes output to null
devices, e.g. writing ALSA output to a file.
2011-07-09 16:00:56 -04:00
4c98976124
doc: replace @pxref by @ref where appropriate
2011-07-09 21:53:59 +02:00
f98c9fb27d
mpeg1video: don't abort if thread_count is too high.
...
Instead, just decrease it to a valid value and use that.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-09 10:13:57 -07:00
84d098d943
segafilm: add support for videos with cri adx adpcm
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-09 07:57:14 -07:00
99fecc64b0
gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps
...
Set DV packet durations using fields_per_frame.
This requires turning gxf_stream_info into the demuxer's context for access to the value in gxf_packet().
Since MPEG-2 seems to work fine this done only for DV.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-09 12:32:22 +02:00
d8dbe20241
libxvid: Add const qualifier to silence compiler warning.
...
libavcodec/libxvidff.c:752: warning: initialization discards qualifiers from pointer target type
2011-07-09 12:20:44 +02:00
6a2176aac0
H.264: improve qp_thresh check
...
Eliminate redundant check in filter_mb_fast, consider bit depth in calculating qp_thresh.
2011-07-08 16:12:42 -07:00
99b6d2c065
H.264: use fill_rectangle in CABAC decoding
2011-07-08 16:12:39 -07:00
298e52c99c
H.264: Remove redundant hl_motion_16/8 code
2011-07-08 16:12:36 -07:00
ef0c594801
H.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIP
2011-07-08 16:12:12 -07:00
5136ba7c69
H.264: faster P-SKIP decoding
...
Inline the relevant parts of fill_decode_caches into P-SKIP mv prediction to
avoid calling the whole thing.
2011-07-08 16:11:15 -07:00
bbdd52ed34
H.264: av_always_inline some more functions
...
These weren't getting inlined all the time in all gcc versions.
2011-07-08 16:09:35 -07:00
c0483d0c7a
H.264: Add x86 assembly for 10-bit H.264 predict functions
...
Mainly ported from 8-bit H.264 predict.
Some code ported from x264. LGPL ok by author.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-08 15:59:29 -07:00
5c391a161a
swscale: rename uv_off/uv_off2 to uv_off_px/byte.
2011-07-08 15:15:31 -07:00
1ce724ee39
swscale: implement error dithering in planarCopyWrapper.
...
Based on a somewhat similar idea in FFmpeg's swscale.
2011-07-08 15:15:31 -07:00
4e3e333a79
swscale: error dithering for 16/9/10-bit to 8-bit.
...
Based on a somewhat similar idea in FFmpeg's swscale copy.
2011-07-08 15:15:30 -07:00
7d7bacf0f1
swscale: fix overflow in 16-bit vertical scaling.
...
We operated on 31-bits, but with e.g. lanczos scaling, values can
add up to beyond 0x80000000, thus leading to output of zeroes. Drop
one bit of precision fixes this.
2011-07-08 15:15:30 -07:00
bf2cba4532
swscale: fix crash in 8-bpc bilinear output without alpha.
...
We accessed the alpha array even it wasn't used and didn't
exist, hence leading to a NULL pointer segfault.
2011-07-08 15:15:30 -07:00
f44d50a94c
swscale: fix 16-bit horizontal scaling underflow.
...
When using e.g. lanczos scaling, values can drop below 0, so they
should never be unsigned.
2011-07-08 15:15:30 -07:00
42d622fab3
swscale: fix 16-bit scaling when output is 8-bits.
...
We would use the second half of the U plane buffer, rather than the
V plane buffer, to output the V plane pixels.
2011-07-08 15:15:30 -07:00
bda168d2b0
mp3enc: write a xing frame containing number of frames in the file
2011-07-08 22:47:24 +02:00
1c6d2b7df0
lavf: update AVStream.nb_frames when muxing.
2011-07-08 22:13:52 +02:00
e98bc78ca1
ffmpeg: remove unused variables from InputStream.
2011-07-08 19:58:23 +02:00
a58db9d283
doc: update ffmpeg -ar and -ac documentation to reflect reality.
2011-07-08 19:58:23 +02:00
20f9f21fd4
ffmpeg: remove pointless if (nb_input_files)
...
It's required to be non-zero since
cc58300e30e7aea6acfecd72a04a3886b285cfd8
2011-07-08 19:58:23 +02:00
27e91f37f5
ffmpeg: merge input_files_ts_offset into input_files.
2011-07-08 19:58:23 +02:00
9e253c13d0
ffmpeg: merge input_codecs into input_streams.
...
There's no point in keeping them separate.
2011-07-08 19:58:23 +02:00
17c8cc550d
ffmpeg: drop AV prefixes from struct names.
...
Those are reserved for the libs.
2011-07-08 19:58:22 +02:00
f5302e5dcf
ffmpeg: deprecate loop_input and loop_output options
...
They were replaced by (de)muxer private options.
2011-07-08 19:58:19 +02:00
d31e3f7ccc
gif: add loop private option.
...
Deprecate AVFormatContext.loop_output.
2011-07-08 18:39:56 +02:00
6002fdef5e
img2: add loop private option.
...
Deprecate AVFormatContext.loop_input.
2011-07-08 18:39:28 +02:00
a726d7fd4e
AVOptions: in av_opt_find() don't return named constants unless unit is specified.
...
That is, unless the caller explicitly asks for them.
Prevents conflict between e.g. the 'loop' option in img2 demuxer and
'loop' flag in AVCodecContext.
2011-07-08 18:34:18 +02:00
ce558c8f59
x11grab: replace undocumented nomouse hackery with a private option.
2011-07-08 18:30:21 +02:00
8c28e01d31
dict: extend documentation.
2011-07-08 18:29:27 +02:00
fdaf1d0640
lls: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-08 15:03:40 +01:00
a3a94e1498
docs: Use proper markup for a literal command line option
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-07-08 16:28:06 +03:00
a0db0b302c
docs: Remove a remark that isn't relevant any longer
...
Now the bin directory only contains those DLLs that are actually used.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-07-08 16:17:59 +03:00
37e6e6d313
docs: Explain how to regenerate import libraries with MSVC tools
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-07-08 16:17:58 +03:00