Michael Niedermayer
b4552cc9b8
update for FFmpeg 2.0.3
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 03:22:00 +01:00
Michael Niedermayer
172f929767
avutil/log: skip IO calls on empty strings
...
These occur when no context is set for example, thus they are common
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a044a183a3 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
66a9edfcf6
do O(1) instead of O(n) atomic operations in register functions
...
about 1ms faster startup time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 133fbfc781 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Paul B Mahol
a9382fc15c
avcodec/libopusenc: change default frame duration to 20 ms
...
20 ms is used by libopus encoder.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit 74906d3727 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
bd9dcb411d
avcodec/jpeg2000dec: Check precno before using it in JPEG2000_PGOD_CPRL
...
Fixes out of array reads
Fixes: asan_heap-oob_f0de57_6823_mjp2.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3d5a5e86be )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
ae81a0e32d
avcodec: move end zeroing code from av_packet_split_side_data() to avcodec_decode_subtitle2()
...
This code changes the input packet, which is read only and can in
rare circumstances lead to decoder errors. (i run into one of these in
the audio decoder, which corrupted the packet during av_find_stream_info()
so that actual decoding that single packet failed later)
Until a better fix is implemented, this commit limits the problem.
A better fix might be to make the subtitle decoders not depend on
data[size] = 0 or to copy their input when this is not the case.
(cherry picked from commit 01923bab98 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
4f93400db1
avutil: reintroduce lls1 as the 52 ABI needs it
...
lls1 taken from ff130d7
This is incompatible with libavcodec version
55.18.100 to 55.43.100 except 55.39.101
This incompatibility is caused by these libavcodec versions depending on
a libavutil 52 which is ABI incompatible with the previous ABI 52
you can avoid this incompatibility by upgrading your libavcodec so it
does no longer depend on the invalid ABI
See: 502ab21af0
See: cc6714bb16
See: 41578f70cf
See: Ticket3136
Tested-by: marillat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit b382d09d29 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
0cd61c7f7d
rename new lls code to lls2 to avoid conflict with the old which has a different ABI
...
also remove failed attempt at a compatibility layer, the code simply cannot work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit c3814ab654 )
Conflicts:
libavcodec/version.h
2013-12-24 01:05:47 +01:00
Michael Niedermayer
28ac4e91dc
avutil: rename lls to lls2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit bbe66ef912 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Diego Biurrun
6b683be641
mpeg12dec: Remove incomplete and wrong UV swapping code for VCR2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3215140425 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Kostya Shishkov
3a3b5ae4c0
mpegvideo: Fix swapping of UV planes for VCR2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit bae14f38d9 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
70fcea3b77
h264: Do not treat the initial frame special in handling of frame gaps
...
The not handling of frame gaps has lead to the lack of a dummy reference
frame, which has lead to the failure of decode_slice_header() which has
lead to one SEI recovery message being skiped which had introduced a
slightly suboptimal recovery point for at least 1 h264 file compared to
JM.
Found-by: Carl & BugMaster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 9e5ef1c5c3 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
b545d11d49
avcodec/jpeg2000dec: non zero image offsets are not supported
...
Fixes out of array accesses
Fixes Ticket3080
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 780669ef7c )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
4324d7bade
avformat/thp: force moving forward
...
Fixes infinite loop
Fixes Ticket3098
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6c4b87d3d6 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
c88bdac460
avformat/thp: fix variable types to avoid overflows
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 2b1056e4e2 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
bdf6e6fff4
avcodec/jpeglsdec: check err value for ls_get_code_runterm()
...
Fixes infinite loop
Fixes Ticket3086
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit cc0e47b550 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
83e4aa3e7c
avutil/opt: initialize ret
...
Fixes CID1108610
Fixes use of uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 2d8ccf0adc )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
fce2cfbdcf
avcodec/utils: add some saftey checks to add_metadata_from_side_data()
...
This fixes potential overreads with crafted files.
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 838f461b07 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:47 +01:00
Michael Niedermayer
72f1907c96
avcodec/avpacket/av_packet_split_side_data: ensure that side data padding is initialized
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 240fd8c96f )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:46 +01:00
Michael Niedermayer
074ebfacf4
avfilter/ff_insert_pad: fix order of operations
...
Fixes out of bounds access
Fixes CID732170
Fixes CID732169
No filter is known to use this function in a way so the issue can be reproduced.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ab2bfb85d4 )
Conflicts:
libavfilter/avfilter.c
2013-12-24 01:05:46 +01:00
Michael Niedermayer
47f8497837
avcodec/jpeg2000dec: fix context consistency with too large lowres
...
Fixes out of array accesses
Fixes Ticket2898
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a1b9004b76 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:46 +01:00
Michael Niedermayer
93f26b7992
avcodec/jpeg2000dec: prevent out of array accesses in pixel addressing
...
Fixes Ticket2921
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit fe448cd28d )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:46 +01:00
Michael Niedermayer
f684bbf224
avcodec/jpeg2000dec: check transform equality in MCT
...
Fixes null pointer dereference
Fixes Ticket2843
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ac3b01a9c0 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:46 +01:00
Michael Niedermayer
edca16f1af
ffserver: strip odd chars from html error messages before sending them back
...
Fixes Ticket3034
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 885739f3b4 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-12-24 01:05:46 +01:00
Mason Carter
aeac212fda
VC1: Fix intensity compensation performance regression
...
Fix https://trac.ffmpeg.org/ticket/3204
The problem was that intensity compensation was always used once it was
encountered. This is because v->next_use_ic was never set back to zero.
To fix this, when resetting v->next_luty/uv, also reset v->next_use_ic.
This improved (restored) performance by 85% when decoding
http://bit.ly/bbbwmv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ed5bed4152 )
2013-12-22 16:09:44 +01:00
Martin Storsjö
62f05d6309
arm: Don't clobber callee saved registers in scalarproduct
...
q4-q7/d8-d15 are supposed to not be clobbered by the callee.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st >
(cherry picked from commit d307e408d4 )
2013-12-21 09:58:12 +01:00
Michael Niedermayer
bd339d4882
swscale/utils: check chroma width for fast bilinear scaler
...
Fixes artifacts where fast bilinear was used for downscaling chroma
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 037fc3b054 )
2013-12-16 02:24:13 +01:00
Michael Niedermayer
9de71b0eb2
swscale/utils: remove useless ()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 554e913fd7 )
2013-12-16 02:24:12 +01:00
Michael Niedermayer
7e73760950
avcodec/cabac: force get_cabac to be not inlined
...
works around bug in gccs inline asm register assignment
Fixes Ticket3177
gcc from 4.4 to 4.6 is affected at least, no non affected gccs known
clang seems not affected
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 0538b29ae8 )
2013-12-09 10:36:00 +01:00
Michael Niedermayer
0639e403be
avcodec/error_resilience: check that er is supported before attempting to read the status of the previous slice
...
Fixes incorrectly set error_occured and improves speed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 90539cea33 )
2013-12-07 11:34:42 +01:00
Michael Niedermayer
5c7d6be5f9
avcodec/error_resilience: factor er_supported() check out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit afb18c5578 )
2013-12-07 11:34:25 +01:00
Nicolas George
2005887707
lavfi/af_pan: support unknown layouts on input.
...
Fix trac ticket #2899 .
(cherry picked from commit 7b0a587393 )
2013-11-28 01:09:19 +01:00
Nicolas George
cf8462ce00
lavfi/af_pan: support unknown layouts on output.
...
(cherry picked from commit 4e9adc9b73 )
2013-11-28 01:09:12 +01:00
Nicolas George
02c8c064ea
lswr: fix assert failure on unknown layouts.
...
(cherry picked from commit 4a640a6ac8 )
2013-11-28 01:09:06 +01:00
Nicolas George
9a4acedf31
lavfi: parsing helper for unknown channel layouts.
...
Make ff_parse_channel_layout() accept unknown layouts too.
(cherry picked from commit 6e2473edfd )
2013-11-28 01:08:59 +01:00
Nicolas George
c2d37e7364
lavfi/avfiltergraph: do not reduce incompatible lists.
...
A list of "all channel layouts" but not "all channel counts"
can not be reduced to a single unknown channel count.
(cherry picked from commit d300f5f6f5 )
2013-11-28 01:08:52 +01:00
Nicolas George
62baf22ec0
lavfi/avfiltergraph: suggest a solution when format selection fails.
...
Format selection can fail if unknown channel layouts are used
with filters that do not support it.
(cherry picked from commit f775eb3fb4 )
2013-11-28 01:08:46 +01:00
Nicolas George
8f7d839e15
lavd/lavfi: support unknown channel layouts.
...
(cherry picked from commit 863fb11f63 )
2013-11-28 01:08:37 +01:00
Clément Bœsch
93716f7bea
avformat/image2: allow muxing gif files.
...
Fixes Ticket #2936 .
(cherry picked from commit f70db22999 )
Conflicts:
libavformat/img2enc.c
2013-11-18 14:34:59 +01:00
Clément Bœsch
ff4c53e8b3
build: avoid stdin stall with GNU AS probing.
...
a758c5e added probing for various tools, such as AS. Unfortunately, GNU
AS is reading stdin with -v, and thus configure is stalled with
configure arguments such as --as=as.
Fixes Ticket #1898 .
(cherry picked from commit dbb41f93c1 )
2013-11-18 14:33:46 +01:00
Michael Niedermayer
9a22d6dd63
avformat/utils: dont count attached pics toward the probesize
...
Such pics behave more like headers which we also dont count.
Fixes Ticket3146
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a8dec360c5 )
2013-11-18 14:33:09 +01:00
Michael Niedermayer
beb28bc55d
avcodec/bink: fix seeking to frame 0
...
Fixes Ticket3088
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit cb52d6da0a )
Conflicts:
libavcodec/bink.c
2013-10-31 00:57:11 +01:00
Michael Niedermayer
1fa7ad2e20
ffmpeg_filter: Fix non jpeg yuv in jpeg support
...
This is a regression, did not bisect so dont know what caused it but
likely some changes to the command line handling code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit d9bc251d39 )
2013-10-27 20:24:31 +01:00
Michael Niedermayer
f514834917
avformat/utils: do not override pts in h264 when they are provided from the demuxer
...
Fixes Ticket2143
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 1e5271a9fd )
2013-10-27 19:40:25 +01:00
Michael Niedermayer
1d0e583728
h264: make flush_change() set mmco_reset
...
This ensures that frames do not get mixed on context reinits
Fixes Ticket2836
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3c9dd93faa )
2013-10-26 02:41:31 +02:00
Michael Niedermayer
782331be1e
avcodec/h264: reduce noisiness of "mmco: unref short failure"
...
Do not consider it an error if we have no frames and should discard one.
This condition can easily happen when decoding is started from an I frame
Fixes Ticket2811
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 08a8976196 )
2013-10-26 00:52:34 +02:00
Michael Niedermayer
94c7ee4d9e
avformat/mp3dec: perform seek resync in the correct direction
...
Fixes seeking to the last frame in CBR files
Fixes Ticket2773
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ba8716df7f )
2013-10-26 00:51:50 +02:00
Michael Niedermayer
b7154758de
avformat/wavdec: Fix smv packet interleaving
...
This strips the relative timestamp "flag" off.
Fixes Ticket2849
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6abb9eb525 )
2013-10-26 00:50:44 +02:00
Michael Niedermayer
cd7d575e90
avcodec/h264: do not trust last_pic_droppable when marking pictures as done
...
This simplifies the code and fixes a deadlock
Fixes Ticket2927
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 29ffeef5e7 )
2013-10-26 00:50:00 +02:00
Stefano Sabatini
17d169ce0f
doc/Makefile: fix man pages uninstall path
...
Fix trac ticket #3054 .
(cherry picked from commit af1c538850 )
2013-10-26 00:49:18 +02:00
Michael Niedermayer
fb1fb462e5
avformat/mov: force parsing of headers if stts is absent
...
Fixes Ticket2991
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit e41ea866fc )
2013-10-24 10:35:34 +02:00
Michael Niedermayer
7da810e68b
avformat/gifdec: make GIF_APP_EXT_LABEL parsing more robust
...
Fixes Ticket3021
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit e1f8184a1a )
2013-10-24 10:33:43 +02:00
Michael Niedermayer
6de6d9e2d3
avformat/matroskadec: only set r_frame_rate if the value is within reasonable limits
...
Fixes Ticket2451
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6853e40106 )
2013-10-24 10:30:33 +02:00
Michael Niedermayer
736851264b
avformat/wavdec: Dont trust the fact chunk for PCM
...
Fixes Ticket3033
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 83fc6c822b )
2013-10-24 10:29:37 +02:00
Michael Niedermayer
59431fc841
avcodec/h264_refs: modify key frame detection heuristic to detect more cases
...
Fixes Ticket2968
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 5ac6b6028f )
2013-10-24 10:28:20 +02:00
mrlika
f581e25a69
lavd/v4l2: do not fail when VIDIOC_ENUMSTD returns EINVAL without a valid match
...
With some (buggy) drivers, the VIDIOC_G_STD ioctl returns a std_id that cannot
be matched with any of the enumerated v4l2_standard structures (for example
std_id = 0 or std_id = 0xffffff). Do not fail when we reach the end of the
enumeration without a valid match.
Fixes ticket #2370
Note: This commit message has been modified by Giorgio Vazzana, the original
commit message was:
"Fixed regression for mandatory VIDIOC_ENUMSTD support by v4l2"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ed72542539 )
2013-10-24 10:09:30 +02:00
Stefano Sabatini
9d0bb7fc39
doc/codecs: fix dangling reference to codec-options chapter
...
(cherry picked from commit b4bd21b7fe )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-08 20:57:07 +02:00
Michael Niedermayer
a53fd4b758
update for 2.0.2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-08 19:39:58 +02:00
Paul B Mahol
b4ccdf5e68
avcodec/ffv1dec: fix format detection
...
Fixes crash with carefuly designed files.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit a27227d401 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-08 18:13:55 +02:00
Michael Niedermayer
9b02aa2593
avcodec/parser: reset indexes on realloc failure
...
Fixes Ticket2982
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit f31011e9ab )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-10-08 18:13:55 +02:00
Michael Niedermayer
f089e67d51
avcodec/imgconvert/get_color_type: fix type for PAL8
...
Fixes Ticket3008
Fate changes as PAL8 gets used instead of BGR8
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 95666b2298 )
2013-10-02 23:47:41 +02:00
Thilo Borgmann
842d7c9b3a
configure: fix logic for threads in case of OpenCL is enabled.
...
Fixes ticket 3004.
Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit d3a03d90a3 )
2013-10-02 23:44:39 +02:00
Michael Niedermayer
187297b871
Merge remote-tracking branch 'TimothyGu/release/2.0' into release/2.0
...
* TimothyGu/release/2.0:
doc/encoders: add doc for AAC encoder
doc/formats: Add documentation for 3 parameters that have been missing
doc/encoders: improve libvo-aacenc doc
doc/encoders: reformat and add some clarification in libtwolame doc
doc/encoders: reformat libmp3lame doc
doc/encoders: add libxvid doc
doc/encoders: partially rewrite and reformat libx264 docs
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 22:31:44 +02:00
Michael Niedermayer
211ad5042a
Merge remote-tracking branch 'jamrial/release/2.0' into release/2.0
...
* jamrial/release/2.0:
avformat/matroskadec: check out_samplerate before using it in av_rescale()
matroskadec: Improve TTA duration calculation
avformat/oggparsevorbis: fix leak of tt
avformat/oggparsevorbis: fix leak of ct
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 22:30:49 +02:00
Michael Niedermayer
2b06f5f8f1
avcodec/g2meet: Fix framebuf size
...
Currently the code can in some cases draw tiles that hang outside the
allocated buffer. This patch increases the buffer size to avoid out
of array accesses. An alternative would be to fail if such tiles are
encountered.
I do not know if any valid files use such hanging tiles.
Fixes Ticket2971
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit e07ac727c1 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Michael Niedermayer
0a64b25c77
avcodec/g2meet: Fix order of align and pixel size multiplication.
...
Fixes out of array accesses
Fixes Ticket2922
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 821a5938d1 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Michael Niedermayer
40e52bbb63
avcodec/ffv1enc: update buffer check for 16bps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3728603f18 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Michael Niedermayer
aeec1a6430
avcodec/truemotion2: Fix av_freep arguments
...
Fixes null pointer dereference
Fixes Ticket2944
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit c54aa2fb0f )
Conflicts:
libavcodec/truemotion2.c
2013-09-23 21:46:15 +02:00
Michael Niedermayer
ef121a88d5
avcodec/mjpegdec: Add some sanity checks to ljpeg_decode_rgb_scan()
...
These prevent the rgb ljpeg code from being run on parameters that it doesnt
support. No testcase available but it seems possible to trigger these.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 61c68000ed )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Michael Niedermayer
db99c41567
avfilter/vf_fps: make sure the fifo is not empty before using it
...
Fixes Ticket2905
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit cdd5df8189 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Michael Niedermayer
54bdb5fc86
avcodec/dsputil: fix signedness in sizeof() comparissions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 454a11a1c9 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Michael Niedermayer
2fd824b466
ffv1dec: Check bits_per_raw_sample and colorspace for equality in ver 0/1 headers
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit b05cd1ea7e )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Michael Niedermayer
005b38f8f1
avcodec/ffv1dec: check global header version
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 20b965a1a4 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-09-23 21:46:15 +02:00
Timothy Gu
6911d9e1b0
doc/encoders: add doc for AAC encoder
...
Thanks-to: Kostya Shishkov <kostya.shishkov@gmail.com >
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
(cherry picked from commit 0e11790cf7 )
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2013-09-22 15:29:53 -07:00
Timothy Gu
cecb2b39ce
doc/formats: Add documentation for 3 parameters that have been missing
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit b7dd459863 )
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2013-09-22 15:29:22 -07:00
Timothy Gu
9ebfee7ac0
doc/encoders: improve libvo-aacenc doc
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
(cherry picked from commit 81bbe49a0e )
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2013-09-22 15:29:12 -07:00
Timothy Gu
01b39884c7
doc/encoders: reformat and add some clarification in libtwolame doc
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
(cherry picked from commit e45e72f5f8 )
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2013-09-22 15:28:56 -07:00
Timothy Gu
c08e8ab715
doc/encoders: reformat libmp3lame doc
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
(cherry picked from commit 40b8350b57 )
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2013-09-22 15:28:40 -07:00
Timothy Gu
68ae344b5e
doc/encoders: add libxvid doc
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
(cherry picked from commit 6b255e5e70 )
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2013-09-22 15:27:25 -07:00
Timothy Gu
5753d780b4
doc/encoders: partially rewrite and reformat libx264 docs
...
Format is based on the thread:
"[PATCH] doc/encoders: Add libopus encoder doc" (06-28-2013)
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/165368/
Also merge the two option sections (Mapping and Private options).
Patch partially edited by Stefano Sabatini.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
(cherry picked from commit 11cb697501 )
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2013-09-22 15:26:26 -07:00
Michael Niedermayer
dbb534cea6
avformat/matroskadec: check out_samplerate before using it in av_rescale()
...
Prevent assertion failure with damaged input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 338f8b2eaf )
2013-09-18 15:07:49 -03:00
James Almer
414d75b8bc
matroskadec: Improve TTA duration calculation
...
Calculate the duration as accurately as possible to improve decoding of samples
where the last frame is smaller than the rest.
Signed-off-by: James Almer <jamrial@gmail.com >
Approved-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit af248fa117 )
2013-09-18 15:06:31 -03:00
Michael Niedermayer
c52a25e03b
avformat/oggparsevorbis: fix leak of tt
...
Fixes CID1061059
Fixes fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit f3b7f47070 )
2013-09-18 14:53:25 -03:00
Michael Niedermayer
c7966bf795
avformat/oggparsevorbis: fix leak of ct
...
Fixes CID1061058
Fixes fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit d0a882ab1d )
2013-09-18 14:52:58 -03:00
Clément Bœsch
0f429392cf
avcodec/assenc: fix potential overread.
...
(cherry picked from commit 860a081058 )
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2013-09-15 22:21:05 +02:00
Clément Bœsch
2dc6c5d462
avcodec/srtdec: fix potential overread.
...
(cherry picked from commit 3a54c221d5 )
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2013-09-15 22:21:05 +02:00
Clément Bœsch
dc0403530e
avformat/subtitles: add a next line jumper and use it.
...
This fixes a bunch of possible overread in avformat with the idiom p +=
strcspn(p, "\n") + 1 (strcspn() can focus on the trailing '\0' if no
'\n' is found, so the +1 leads to an overread).
Note on lavf/matroskaenc: no extra subtitles.o Makefile dependency is
added because only the header is required for ff_subtitles_next_line().
Note on lavf/mpsubdec: code gets slightly complex to avoid an infinite
loop in the probing since there is no more forced increment.
NOTE:
Code of function ff_subtitles_next_line fixed by Alexander Strasser.
The original code from master did test the wrong character, but was
corrected by a subsequent commit. That commit however is not backported,
so it had to be fixed in this commit for the backport.
Conflicts:
libavformat/mpl2dec.c
(cherry picked from commit 90fc00a623 )
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2013-09-15 22:21:05 +02:00
Clément Bœsch
59147be24f
avformat/srtdec: skip initial random line breaks.
...
I found a bunch of (recent) SRT files in the wild with 3 to 10 line
breaks at the beginning.
(cherry picked from commit cfcd55db16 )
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2013-09-15 22:21:04 +02:00
Carl Eugen Hoyos
09bc4be3db
Use rc_max_rate if no video bit_rate was specified when muxing mxf_d10.
...
Fixes ticket #2945 .
Reviewed-by: Matthieu Bouron
(cherry picked from commit d73565d5dd )
2013-09-12 23:11:47 +02:00
Carl Eugen Hoyos
aaef59d535
Store the video bit_rate in the context when muxing mxf.
...
This will allow using rc_max_rate if no bit_rate is specified (on remuxing).
Reviewed-by: Matthieu Bouron
(cherry picked from commit 52cf08b4c8 )
2013-09-12 23:06:38 +02:00
Clément Bœsch
283e070877
avformat/subtitles: check lower bound for duration overlap seeking.
...
(cherry picked from commit 1ca4bf930b )
2013-09-10 21:32:56 +02:00
Clément Bœsch
4e0c29451b
avformat/vobsub: fix seeking.
...
(cherry picked from commit f8678dcef3 )
2013-09-10 21:32:52 +02:00
Paul B Mahol
f5ae34250a
avformat/matroskaenc: remove bogus prores tag
...
Fixes: ffmpeg -i input -c:v prores output.mkv
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit 14851ca5f5 )
Conflicts:
libavformat/matroskaenc.c
2013-09-08 21:44:06 +02:00
Carl Eugen Hoyos
fc4c29bc6e
Read h264 headers from v4l2 to allow stream-copying.
...
Fixes ticket #2882 .
Analyzed and tested by William C Bonner.
(cherry picked from commit e337c9d564 )
2013-09-05 22:49:52 +02:00
Paul B Mahol
6158eec53f
w64dec: fix end position of summarylist guid
...
Noticed-by: James Almer
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit 3e36dc8626 )
2013-09-05 22:49:28 +02:00
Paul B Mahol
6c0fef5762
w64dec: fix skipping of unknown guids
...
Regression since 14d50c1 .
Fixes #2932 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit 79b70e47a4 )
2013-09-05 22:49:16 +02:00
Carl Eugen Hoyos
f5a4bd23e9
Avoid a deadlock when decoding wma.
...
Fixes ticket #2925 .
(cherry picked from commit ec8a4841f7 )
2013-09-02 08:54:32 +02:00
Carl Eugen Hoyos
8e1760f37f
avcodec/ffv1dec: reorganize thread init/update
...
This moves some allocations to init, reducing possible failure modes in update.
Always copies from the previous context instead of just during init
Fixes Ticket2923
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 21dc3a3cc2 )
2013-09-02 08:49:59 +02:00
Michael Niedermayer
1da5ab751f
avcodec/ffv1dec: move initial_states init to init_thread_copy()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit c72cca5a44 )
2013-09-02 08:47:50 +02:00
Michael Niedermayer
237ef710a1
avformat/lxfdec: use a parser to parse video frame headers
...
lxf needs a parser (or would need to set a few fields explicitly).
Fixes Ticket2917
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 8349be852b )
2013-09-01 09:59:14 +02:00
Michael Niedermayer
be47e93134
avcodec/h264: set er.ref_count earlier
...
Fixes Ticket2910
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 93cf7b0195 )
2013-09-01 09:58:55 +02:00
Michael Niedermayer
1821c849da
avformat/avidec: match first index and first packet size=0 handling
...
Fixes Ticket2861
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 227a0eb5a9 )
Conflicts:
libavformat/avidec.c
2013-08-31 09:47:23 +02:00
Michael Niedermayer
a4522ae516
avcodec/pngdsp: fix (un)signed type in end comparission
...
Fixes out of array accesses
Fixes Ticket2919
Found_by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 86736f59d6 )
2013-08-30 23:35:47 +02:00
Michael Niedermayer
c7ee4bc016
ffv1dec: check that global parameters dont change in version 0/1
...
Such changes are not allowed nor supported
Fixes Ticket2906
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 547d690d67 )
2013-08-30 11:23:25 +02:00
Lukasz Marek
0cabb95811
lavf/ftp: fix possible crash
...
(cherry picked from commit f3ace37a3b )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-29 02:16:41 +02:00
Michael Niedermayer
a1b32533aa
jpeg2000: fix dereferencing invalid pointers
...
Found-by: Laurent Butti <laurentb@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 912ce9dd20 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-29 02:13:25 +02:00
Michael Niedermayer
e2eb0d2326
avcodec/jpeg2000dec: Check cdx/y values more carefully
...
Some invalid values where not handled correctly in the later pixel
format matching code.
Fixes out of array accesses
Fixes Ticket2848
Found-by: Piotr Bandurski <ami_stuff@o2.pl >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 8bb11c3ca7 )
Conflicts:
libavcodec/jpeg2000dec.c
2013-08-29 02:13:25 +02:00
Michael Niedermayer
acac6b0d69
avcodec/rpza: Perform pointer advance and checks before using the pointers
...
Fixes out of array accesses
Fixes Ticket2850
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3819db745d )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-29 02:13:25 +02:00
Michael Niedermayer
deb8d0d6a1
avcodec/flashsv: check diff_start/height
...
Fixes out of array accesses
Fixes Ticket2844
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 880c73cd76 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-29 02:13:25 +02:00
Michael Niedermayer
3e817d91ef
jpeg2000: check log2_cblk dimensions
...
Fixes out of array access
Fixes Ticket2895
Found-by: Piotr Bandurski <ami_stuff@o2.pl >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 9a271a9368 )
2013-08-25 15:57:13 +02:00
Michael Niedermayer
e231f0fade
swr/rematrix: Fix handling of AV_CH_LAYOUT_STEREO_DOWNMIX output
...
Fixes Ticket2859
Note, testcases related to the downmix channels are welcome.
(id like to make sure this is working correctly now, as obviously it didnt
work before ...)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit c56d4dab03 )
2013-08-20 18:39:23 +02:00
Michael Niedermayer
f0f55e6726
swr: clean layouts before checking sanity
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6dfffe9200 )
2013-08-20 18:39:19 +02:00
Michael Niedermayer
61dc8494d7
movenc: ilbc needs audio_vbr set.
...
Without this the block_align or bitrate value is not available to the decoder
Fixes Ticket2858
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3d64845600 )
2013-08-20 18:38:05 +02:00
Stephen Hutchinson
423b87d621
Revert "doc/RELEASE_NOTES: add a note about AVISynth"
...
This reverts commit 3aa2257d24 .
2013-08-18 23:14:04 -04:00
Stephen Hutchinson
8d9568b4a1
avisynth: Support video input from AviSynth 2.5 properly.
...
Uses the 2.5 compatibility header included with the variant of
FFMS2 that uses AviSynth's C-interface. A copy of this header is
now provided in compat/avisynth.
avs_get_row_size_p and avs_get_height_p changed between versions
2.5 and 2.6. Since the avisynth_c.h header that avformat uses
assumes AviSynth 2.6, it would cause 2.5 to crash if given any
kind of real video (the Version() function was known to work,
though).
AvxSynth was unaffected by this issue because, despite being based
on AviSynth 2.5.8 and using 2.5.8's interface version number of 3,
it actually uses 2.6's versions of these functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-18 23:13:27 -04:00
Michael Niedermayer
acf511de34
avcodec/g2meet: fix src pointer checks in kempf_decode_tile()
...
Fixes Ticket2842
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 2960576378 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-11 00:14:17 +02:00
Michael Niedermayer
fd2951bb53
update for 2.0.1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Michael Niedermayer
fa004f4854
MAINTAINERS: add Alexander Strasser for the server
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit c11c180132 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Michael Niedermayer
1155bdb754
MAINTAINERS: remove myself from movenc, 2 maintainers should be enough
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 55a88daf6f )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Matthieu Bouron
01838c5732
MAINTAINERS: add myself as maintainer for lavf/aiff* and lavf/movenc.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 88a1ff2233 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Michael Niedermayer
f09f33031b
MAINTAINERS: alphabetical sort
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 81f4d55c36 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Michael Niedermayer
b2a9f64e1b
MAINTAINERS: Add some maintainers for parts of libavutil
...
Developers added are active and in the copyright of the specified files,
If anyone wants to maintain anything else, send a patch that adds you to
MAINTAINERS.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit b45b1d7af9 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Michael Niedermayer
15ea618ef6
MAINTAINERS: order libavutil entries alphabetically
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 48188a5120 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Michael Niedermayer
ec33423273
MAINTAINERS: drop 1.1 from the releases that i maintain
...
There seems to be no need to continue maintaining it, people can easily
upgrade to 1.2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 5fe5f020b6 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Michael Niedermayer
d5dd54df69
MAINTAINERS: add myself as maintainer for the interface code to swresample & swscale in libavfilter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 5ad4e29337 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 23:58:48 +02:00
Stephen Hutchinson
e7a4c34e7c
avisynth: Exit gracefully when trying to serve video from v2.5.8.
...
'Fixes' ticket #2526 insofar as it stops 2.5.8 from crashing and
tells the user to upgrade to 2.6 if they want to make video input
work. A real solution to #2526 would be to get video input from
2.5.8 to work right.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 9db353bc47 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 21:45:11 +02:00
Stephen Hutchinson
2881bfbfd6
avisynth: Cosmetics
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit f277d6bf42 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 21:45:03 +02:00
Paul B Mahol
80fb38153e
sgidec: safer check for buffer overflow
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit 86e722ab97 )
Conflicts:
libavcodec/sgidec.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 02:03:37 +02:00
Paul B Mahol
b79f337f8a
ttaenc: fix packet size
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit bc2187cfdb )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-10 02:01:40 +02:00
Michael Niedermayer
f593ac1c21
matroskaenc: simplify mkv_check_tag()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 066111bf19 )
2013-08-09 16:28:39 -03:00
James Almer
baf92305a6
lavf/matroskaenc: Check for valid metadata before creating tags
...
Tags must have at least one SimpleTag element to be spec conformant.
Updated lavf-mkv and seek-lavf-mkv FATE references as the tests were affected by
this.
Fixes ticket #2785
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 088ed53146 )
2013-08-09 16:28:31 -03:00
Michael Niedermayer
d6d168e87b
avfilter/vf_separatefields: fix ;;
...
Found-by: llogan
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 74561680cd )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-09 13:58:45 +02:00
Michael Niedermayer
50f9c4acc3
avformat/paf: Fix integer overflow and out of array read
...
Found-by: Laurent Butti <laurentb@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit f58cd2867a )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-09 13:53:27 +02:00
Michael Niedermayer
211374e52a
avutil/mem: Fix flipped condition
...
Fixes return code and later null pointer dereference
Found-by: Laurent Butti <laurentb@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit c94f9e8542 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-09 13:53:25 +02:00
Michael Niedermayer
1bf2461765
avfilter: fix plane validity checks
...
Fixes out of array accesses
(cherry picked from commit e43a0a232d )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-08-09 13:53:14 +02:00
Michael Niedermayer
64444cd578
avcodec/kmvc: fix MV checks
...
Fixes Ticket2813
Fixes regression since 70b5583
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3cd8aaa2b2 )
2013-07-31 02:54:26 +02:00
Paul B Mahol
0047a31090
Revert "pnm: remove nonsense code"
...
Breaks decoding pgms with 255 < maxval < 65535.
Found-by: Carl Eugen Hoyos <cehoyos@ag.or.at >.
This reverts commit a0348d0966 .
(cherry picked from commit 768e40b451 )
2013-07-29 00:05:01 +02:00
Michael Niedermayer
d73ce6cb56
jpeg2000dec: Support non subsampled 9-16bit planar pixel formats
...
This applies changes similar to fc6de70c44
to the >8bit codepath
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 1434df3b93 )
2013-07-28 04:09:21 +02:00
Michael Niedermayer
9a6d3eee59
jpeg2000dec: silence unused variable warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit db33010483 )
2013-07-28 04:09:11 +02:00
Michael Niedermayer
8b221d60fa
jpeg2000dec: Support non subsampled 8bit planar pixel formats
...
Fixes file2.jp2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit fc6de70c44 )
2013-07-28 04:08:10 +02:00
Michael Niedermayer
9da9b36435
jpeg2000dec: parse CDEF
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Conflicts:
libavcodec/jpeg2000dec.c
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 99de97cabf )
2013-07-28 04:07:36 +02:00
Carl Eugen Hoyos
09b33f9a82
Fix pix_fmt detection in the native jpeg2000 decoder.
...
Based on b7a928b by Michael Bradshaw.
Fixes ticket #2683 .
Reviewed-by: Nicolas Bertrand
(cherry picked from commit b39a6bbe7f )
2013-07-28 04:07:20 +02:00
Michael Niedermayer
fa6b6dad3d
jpeg2000: fix overflow in dequantization
...
Fixes decoding of file generated with:
ffmpeg -f lavfi -i smptehdbars=hd720 -pix_fmt rgb48 /tmp/o.jp2
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit f57119b8e5 )
2013-07-28 04:07:10 +02:00
Nicolas Bertrand
e0d88cfd18
jpeg2000: Initialize only once mqc arrays
...
Increases encoding and decoding speed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit dd1382ac95 )
2013-07-28 04:07:02 +02:00
Michael Niedermayer
18043e3d22
avformat/dtsdec: Improve probe, reject things looking like analoge signals
...
Fixes Ticket2810
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6663205338 )
2013-07-26 12:18:46 +02:00
Rémi Denis-Courmont
ccf470fdb6
mpeg12: Ignore slice threading if hwaccel is active
...
Slice threading does not work with hardware acceleration, as decoding
is per-picture. This fixes Bugzilla #542 .
Signed-off-by: Diego Biurrun <diego@biurrun.de >
(cherry picked from commit 93a51984a2 )
Conflicts:
libavcodec/mpeg12dec.c
2013-07-26 11:35:36 +02:00
Michael Niedermayer
8f9bc6f2ce
swscale/input: fix 16bit gbrp input
...
Fixes Ticket2793
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a4b55bbb6f )
2013-07-19 14:50:16 +02:00
Lukasz Marek
fcab45f39b
ftp: fix interrupt callback misuse
...
FTP protocol used interrupt callback to simulate nonblock
operation which is a misuse of this callback.
This commit make FTP protocol fully blocking and removes
invalid usage of interrutp callback
Also adds support for multiline responses delimited with dashes
(cherry picked from commit 247e658784 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-18 01:54:24 +02:00
Michael Niedermayer
bc44d06c3d
avformat/matroskadec: Detect conflicting sample rate/default_duration
...
Fixes Ticket2508
Thanks-to: Moritz Bunkus
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6158a3bcdf )
2013-07-16 11:43:21 +02:00
Michael Niedermayer
7740e36a89
mjpegdec: Fix used quant index for gbr
...
Fixes Ticket1651
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 15cee5e562 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:06:57 +02:00
Michael Niedermayer
6127f792f9
mjpegdec: initialize source variables before gbr remap
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 94e86ae15a )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:06:57 +02:00
Carl Eugen Hoyos
fd2cf9c45d
Suggest recompilation with openssl or gnutls if the https protocol is not found.
...
Fixes ticket #2765 .
(cherry picked from commit 1db88c33f2 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:06:57 +02:00
Carl Eugen Hoyos
fc3dec8b62
lavf/utils.c: Avoid a null pointer dereference on oom after duration_error allocation.
...
(cherry picked from commit c9eb5c9751 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:06:56 +02:00
Luca Barbato
a7315116dd
wmavoice: conceal clearly corrupted blocks
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
(cherry picked from commit d14a26edb7 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:06:56 +02:00
Michael Niedermayer
37268dcc86
avcodec/qdm2: initialize sign_bits
...
Fixes non deterministic output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 8f09957194 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:03:30 +02:00
Michael Niedermayer
ea28e74205
avcodec/qdm2: store bits in an integer instead of float variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit fbe159e850 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:02:56 +02:00
Piotr Bandurski
c1c84f0a55
avformat/utils: avformat_find_stream_info set value for ret in case of oom
...
without it FFmpeg didn't display any error message when oom event occured
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit b050956334 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:02:33 +02:00
Paul B Mahol
56bf38859b
lavfi/aconvert: unbreak
...
Even if its deprecated, it should still work correctly.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit bc95b94289 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:02:00 +02:00
Piotr Bandurski
1cda4aa1e0
avformat/utils: avformat_find_stream_info fix a crash in case of oom
...
fixes ticket #2767
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ccf9211e29 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-11 12:00:39 +02:00
Michael Niedermayer
9711b52739
avfilter/af_earwax: Fix out of array accesses on odd packets
...
Found-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 0a3a0edd52 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 19:07:50 +02:00
Michael Niedermayer
2b8b2ba19f
Changelog: replace next by 2.0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 02:47:10 +02:00
Michael Niedermayer
1ebb95d5f1
Update for 2.0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 02:15:43 +02:00
Luca Barbato
5eaed6d336
atrac3: fix error handling
...
decode_tonal_components returns a proper AVERROR.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 02:15:43 +02:00
Eugene Dzhurinsky
09f59d6adf
avformat/gif: Do not write GIF89a header if loop is set to -1.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 01:18:59 +02:00
Michael Niedermayer
9e214900ad
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: assume 0 stream start time if start time is unset in duration check
ffplay: do not update audio clock with old audio pts if current frame is AV_NOPTS_VALUE
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 00:57:04 +02:00
Michael Niedermayer
49f441ea89
MAINTAINERS: Update which releases are supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 00:47:01 +02:00
Alexis Ballier
c3ca70204b
codec_desc: fix typo in rv20 long_name.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 00:27:34 +02:00
Michael Niedermayer
3aa2257d24
doc/RELEASE_NOTES: add a note about AVISynth
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-10 00:24:04 +02:00
Michael Niedermayer
233177a4ec
jpegdec: clear EOBRUN on restarts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 23:49:06 +02:00
Michael Niedermayer
1c032e94d0
jpegdec: give handle_rstn() a return code that indicates if restart did happen
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 23:45:31 +02:00
Michael Niedermayer
776155ca29
mjpeg_decode_scan: reset restart state
...
Fixes Ticket2082
Fixes progressive/refinement + restart jpegs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 23:43:36 +02:00
Michael Niedermayer
e9be4675b8
doc/ffmpeg: document -override_ffserver
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 22:19:10 +02:00
Michael Niedermayer
325411a687
snowenc: check minimum resolution
...
Fixes Ticket1855
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 21:10:45 +02:00
Marton Balint
f07cb53ab9
ffplay: assume 0 stream start time if start time is unset in duration check
...
Fixes ticket #2103 and #2743 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-07-09 20:19:54 +02:00
Marton Balint
3886572a83
ffplay: do not update audio clock with old audio pts if current frame is AV_NOPTS_VALUE
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-07-09 20:19:54 +02:00
Piotr Bandurski
aa74810fc6
bitstream: fix a crash in case of oom
...
fixes ticket #2766
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 19:41:22 +02:00
James Almer
193782216f
vorbiscomment: Add support for embedded cover art
...
Fixes ticket #2655
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 19:21:23 +02:00
James Almer
1e5bbbfcf3
lavf/flacdec: Share the function to parse cover art blocks
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 19:19:42 +02:00
Michael Niedermayer
f9d7431272
avformat/AVFormatContext: Move fields down to match the fork
...
avconv uses private and internal fields from libavformat, we thus must
match the layout even of the fields marked non public.
Otherwise ffmpegs libavformat could not be used as a dropin replacement
on debian/ubuntu
The current soname of libavformat was not part of any release nor are any
fields marked public moved thus in theory
no installed shared lib ABI breakage should occur. Still the need for this
change is unfortunate and chilling.
If you installed shared libs from a recent development version of libavformat
that is more recent than the last release. You probably want to check or rebuild
applications that linked to it.
minor versions of avformat & avdevice are bumped to allow detecting this
as both use the updated struct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 19:06:32 +02:00
Michael Niedermayer
d5de123195
avfilter/graphparse: Fix build with --enable-incompatible-fork-abi
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 19:06:32 +02:00
Paul B Mahol
c5a1b18f18
lavfi/drawtext: add support for printing frame metadata
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-09 15:21:01 +00:00
Luca Barbato
87fb18c3e4
imc: Catch a division by zero
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Kostya Shishkov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 16:20:50 +02:00
Michael Niedermayer
7d9cb12689
avcodec/wmaprodec: Check block_align
...
Fixes undefined behavior
Its not known if this condition can be triggered through crafted input.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 15:32:21 +02:00
Michael Niedermayer
694550f18e
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Force correct extradata for AVID AVCI50 in mov.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 13:04:51 +02:00
Michael Niedermayer
0dd99628ea
ff_lpc_calc_coefs: assert that the type is levinson or cholesky
...
Otherwise the code could misbehave (and there are no other types anyway)
Fixes CID700759
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 11:57:45 +02:00
Carl Eugen Hoyos
9a1ec1f2f2
Force correct extradata for AVID AVCI50 in mov.
...
Fixes ticket #2106 .
Reviewed-by: Kieran Kunhya
2013-07-09 11:43:33 +02:00
Paul B Mahol
3c5071db88
lavfi/psnr: rename 's' parameter to match documentation
...
Also removes some irrelevant lines in documentation.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-09 09:40:53 +00:00
Michael Niedermayer
d0a7933991
ffmpeg_opt: do not warn about unused gop_timecode
...
The option is injected by generic code and being sometimes unused is normal.
Fixes Ticket2762
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 10:54:40 +02:00
Michael Niedermayer
e914a21ada
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
movenc: Rename the timestamp parameter to dts in write_hint_packets
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 10:07:23 +02:00
Michael Niedermayer
848295c2ee
Merge commit 'a87a0acf9b5d27aad032e61eef4973e62a4a6830'
...
* commit 'a87a0acf9b5d27aad032e61eef4973e62a4a6830':
movenc: Make sure the RTP hint tracks have nondecreasing DTS
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 10:01:17 +02:00
Michael Niedermayer
00b1401df6
avcodec/h264_ps: try to support Ambarella AVC
...
Fixes Ticket2763
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 05:21:26 +02:00
Matthew Heaney
509642b4bd
WebM muxer writes WebVTT subtitle track
...
The Matroska muxer now allows WebVTT subtitle tracks to be written
while in WebM muxing mode.
WebVTT subtitle tracks have four kinds: "subtitles", "captions",
"descriptions", and "metadata". Each text track kind has a distinct
Mastroska CodecID and track type, as described in the temporal
metadata guidelines here:
http://wiki.webmproject.org/webm-metadata/temporal-metadata/webvtt-in-webm
When the stream has codec id AV_CODEC_ID_WEBVTT, the stream packet is
serialized per the temporal metadata guidelines cited above. The
WebVTT cue is written as a Matroska block group. The block frame
comprises the WebVTT cue id, followed by the cue settings, followed by
the cue text. (The block timestamp is synthesized from the cue
timestamp.)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 03:09:12 +02:00
Michael Niedermayer
a20f049c2a
avcodec/libvpxenc: make class names unique
...
This should fix an infinite loop with -h full
Found-by: <Foofie>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 03:04:31 +02:00
Michael Niedermayer
d1e8d4b055
ffmpeg: Allow overriding ffservers input
...
Fixes Ticket1970
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 01:50:32 +02:00
Michael Niedermayer
d7fbe926d3
ffmpeg: move creation_time for ffserver setting up
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-09 01:50:32 +02:00
Paul B Mahol
a03e79ed5a
lavfi: fix broken logic in metadata handling
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-08 20:13:56 +00:00
Michael Niedermayer
970c8df735
mpeg12dec: avoid reinitializtation on PS changes when possible.
...
Fixes Ticket2574
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 21:55:04 +02:00
Michael Niedermayer
7dee9c2268
tests/fate/filter-audio: update asyncts reference
...
The new reference matches the one used by qatar
Fixes: fate-filter-asyncts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 19:44:27 +02:00
Paul B Mahol
19c8f22714
lavfi/rotate: switch to new drawutils
...
Get rid of ugly hacks, also add support for more pixel formats.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-08 16:40:49 +00:00
Paul B Mahol
55c94f48ce
lavfi/drawutils: fix planar rgb
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-08 16:40:49 +00:00
Paul B Mahol
d2dd1e075c
lavfi/pad: use FFSIGN
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-08 16:40:48 +00:00
Alexandre Sicard
70b922f371
avformat/mov: read stream bitrates from isml manifest
...
This allows to read a live isml movie and segment it using the
smoothstreaming muxer, which requires the bitrates to be known for each stream.
Signed-off-by: Alexandre Sicard <alexandre.sicard@smartjog.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 17:36:45 +02:00
Michael Niedermayer
e096283ea5
mp3dec: detect CBR and use CBR axiom to seek
...
This should also work reasonable with truncated and growing mp3s.
Fixes Ticket2590
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 17:12:51 +02:00
Paul B Mahol
6150bec3f8
lavfi: add psnr filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-08 14:58:04 +00:00
Michael Niedermayer
1ba01d3d46
swscale: treat gray as a fullrage (0-255) format
...
Fixes Ticket2684
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 15:21:48 +02:00
Carl Eugen Hoyos
b86651a208
Check the return value of ff_rv34_decode_init() in rv30.c and rv40.c
...
Avoids possible null pointer dereferences on oom.
Fixes ticket #2727 .
2013-07-08 11:56:16 +02:00
Martin Storsjö
0677ddebc6
movenc: Rename the timestamp parameter to dts in write_hint_packets
...
This matches its actual intended use better.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-08 12:44:25 +03:00
Martin Storsjö
a87a0acf9b
movenc: Make sure the RTP hint tracks have nondecreasing DTS
...
The RTP timestamps can be decreasing for codecs with B-frames. For
these cases, make sure the timestamps in the MP4 file track itself
are nondecreasing, and add an offset to the RTP packet hint instead
to produce the intended RTP timestamp.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-08 12:43:42 +03:00
Michael Niedermayer
5d3c3035b7
cmdutils: replace exit() by exit_program()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 11:12:32 +02:00
Michael Niedermayer
eeddeb6579
ffmpeg_opt: replace exit() by exit_program()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 11:12:32 +02:00
Michael Niedermayer
efce76a80d
ffmpeg_filter: replace exit() by exit_program()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 11:09:22 +02:00
Michael Niedermayer
44d0e520f8
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
qdm2: check and reset dithering index per channel
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 05:26:17 +02:00
Michael Niedermayer
e1f98f2231
Merge commit '76efedeadb1f6bf79020c44a71dd0cee13d932ad'
...
* commit '76efedeadb1f6bf79020c44a71dd0cee13d932ad':
qdm2: formatting cosmetics
Conflicts:
libavcodec/qdm2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 05:10:06 +02:00
Michael Niedermayer
d28a8ad8f3
Merge commit 'f054e309c58894450a5d18cce9799ef58aab9f14'
...
* commit 'f054e309c58894450a5d18cce9799ef58aab9f14':
qdm2: use init_static_data
westwood_vqa: do not free extradata on error in read_header
Conflicts:
libavformat/westwood_vqa.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 05:02:52 +02:00
Michael Niedermayer
b5a87dc193
Merge commit 'c4abc9098cacb227dba39bac6aea16b2bceba0d0'
...
* commit 'c4abc9098cacb227dba39bac6aea16b2bceba0d0':
vqavideo: check the version
Conflicts:
libavcodec/vqavideo.c
See: b226af3910
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 04:53:52 +02:00
Michael Niedermayer
f982d006bb
Merge commit '636ced8e1dc8248a1353b416240b93d70ad03edb'
...
* commit '636ced8e1dc8248a1353b416240b93d70ad03edb':
cmdutils: wrap exit explicitly
Conflicts:
avprobe.c
cmdutils.c
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 04:34:11 +02:00
Michael Niedermayer
4cd066b69c
Merge commit '21732063a346475eb22c332b27e8216b79f9ad4a'
...
* commit '21732063a346475eb22c332b27e8216b79f9ad4a':
movenc: K&R formatting cosmetics
Conflicts:
libavformat/movenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 04:08:07 +02:00
Michael Niedermayer
7023715e88
Merge commit '38e9585de993c32899588ab037180f2c930ce74c'
...
* commit '38e9585de993c32899588ab037180f2c930ce74c':
Makefile: Remove stray tabs
vp8: Wait for prev_frame to parse segment_map before reading it
yuv4mpeg: Correctly round chroma up for odd luma sizes
rmdec: Use the AVIOContext given as parameter in rm_read_metadata()
avio: Handle AVERROR_EOF in the same way as the return value 0
Conflicts:
libavformat/rmdec.c
libavformat/yuv4mpeg.c
No change as all the commits where already in before
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 03:42:03 +02:00
Michael Niedermayer
5312c319be
avformat_find_stream_info: fallback to timestamps in analyzeduration check in more cases
...
This fixes speex in rtmp
Fixes Ticket2409
the nellymoser in flv case actually needs larger analyzeduration. The code
previously just failed to calculate the duration
If this causes any problems, like premature analyze/probe end, please report!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-08 02:37:24 +02:00
Paul B Mahol
099e57bc38
zmbvenc: remove unused AVFrame from encoder private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-07 23:50:54 +00:00
Paul B Mahol
3bec6a44ea
zmbvenc: do not set avctx->coded_frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-07 23:45:17 +00:00
Paul B Mahol
ec4e042f33
gif: remove unused AVFrame from encoder private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-07 23:06:06 +00:00
Paul B Mahol
bd03f99d05
gif: do not set avctx->coded_frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-07 22:57:17 +00:00
Luca Barbato
744a11c996
qdm2: check and reset dithering index per channel
...
Checking per subband would have the index exceed the
dithering noise table size.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-07 22:06:35 +02:00
Luca Barbato
76efedeadb
qdm2: formatting cosmetics
...
Apply the usual style plus drop few unnecessary return at the end
of void functions.
2013-07-07 22:06:28 +02:00
Luca Barbato
f054e309c5
qdm2: use init_static_data
2013-07-07 22:06:20 +02:00
Luca Barbato
76f5dfbfd9
westwood_vqa: do not free extradata on error in read_header
...
The extradata is already freed by avformat_open_input on
failure.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-07 22:04:43 +02:00
Luca Barbato
c4abc9098c
vqavideo: check the version
...
Prevent out of buffer write.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-07 22:04:05 +02:00
Luca Barbato
636ced8e1d
cmdutils: wrap exit explicitly
...
Some C runtime implementations deadlock when calling threading functions
on the atexit() handler.
Use a simpler wrapper similar to av_log to call the cleanup function
before exit.
Bug-Id: 523
2013-07-07 21:43:23 +02:00
Martin Storsjö
21732063a3
movenc: K&R formatting cosmetics
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-07 21:34:31 +03:00
Michael Niedermayer
38e9585de9
Makefile: Remove stray tabs
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-07 19:29:19 +03:00
Ronald S. Bultje
46d208e1e0
vp8: Wait for prev_frame to parse segment_map before reading it
...
This fixes occasional failures of vp8-test-vector-010 with frame-level
multithreading enabled.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-07 13:30:29 +03:00
Ronald S. Bultje
6c86a63bad
yuv4mpeg: Correctly round chroma up for odd luma sizes
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-07 13:30:22 +03:00
Michael Niedermayer
d35b6cd377
rmdec: Use the AVIOContext given as parameter in rm_read_metadata()
...
This fixes crashes when playing back certain RealRTSP streams.
When invoked from the RTP depacketizer, the full realmedia
demuxer isn't invoked, but only certain functions from it, where
a separate AVIOContext is passed in as parameter (for the buffer
containing the data to parse). The functions called from within
those entry points should only be using that parameter, not
s->pb. In the depacketizer case, s is the RTSP context, where ->pb
is null.
Cc: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-07 13:30:12 +03:00
Michael Niedermayer
5d876be87a
avio: Handle AVERROR_EOF in the same way as the return value 0
...
This makes sure the ffurl_read_complete function actually
returns the number of bytes read, as the documentation of the
function says, even if the underlying protocol uses AVERROR_EOF
instead of 0.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-07-07 13:30:01 +03:00
Luca Barbato
f5e646a00a
wtv: Mark attachment with a negative stream id
...
A sid 0 would be mismatched to the attachment.
Prevent NULL pointer dereference.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-07 04:28:51 +02:00
Luca Barbato
a4baf96abd
avprobe: rename the prettyprint structures
2013-07-07 04:28:51 +02:00
Paul B Mahol
19436308b4
dxa: make code independent of sizeof(AVFrame)
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-06 16:33:59 +00:00
Michael Niedermayer
be25614177
mmsh: reimplement seeking
...
Fixes Ticket2682
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 18:50:03 +02:00
Michael Niedermayer
c7cfd4cce9
avformat_find_stream_info: use fps_dts as last resort to determine duration
...
Fixes long delay with some hardware generated h264 in ts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 15:25:34 +02:00
Michael Niedermayer
19d4163331
avformat/mp3dec: read TOC even if not all needed information is available
...
This fixes hyothetical bugs with parsing of elements after the TOC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 12:50:41 +02:00
Michael Niedermayer
4cc32e5cad
avformat/mp3dec: read xing toc independant of usetoc, only skip filling index if requested
...
Fixes hypothetical parsing bug with -usetoc 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 12:49:37 +02:00
Michael Niedermayer
a71832f826
avformat/Makefile: remove stray tab
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 11:56:02 +02:00
Michael Niedermayer
b9d55a07f3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
wtv: Mark attachment with a negative stream id
Conflicts:
libavformat/wtv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 11:48:05 +02:00
Michael Niedermayer
b7ce510003
Merge commit 'a4baf96abd64cda68e3e4692b182bdf60745a14d'
...
* commit 'a4baf96abd64cda68e3e4692b182bdf60745a14d':
avprobe: rename the prettyprint structures
tools: Wording and formatting cosmetics
Conflicts:
avprobe.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 11:35:59 +02:00
Michael Niedermayer
7bd417c22a
Merge commit '6516632967da5e6bd7d6136e8678f826669ed26e'
...
* commit '6516632967da5e6bd7d6136e8678f826669ed26e':
tests: Only run noproxy test if networking is enabled
fifo: K&R formatting cosmetics
Conflicts:
libavformat/Makefile
libavutil/fifo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 11:26:28 +02:00
Michael Niedermayer
2adf8a9c09
Merge commit '4e7f0b082d8c4b360312216b9241bec65ff63b35'
...
* commit '4e7f0b082d8c4b360312216b9241bec65ff63b35':
kmvc: Clip pixel position to valid range
The added clip should make no difference, there are already checks for
the index.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 11:17:53 +02:00
Michael Niedermayer
1aeddc3cbf
Merge commit '8f689770548c86151071ef976cf9b6998ba21c2a'
...
* commit '8f689770548c86151071ef976cf9b6998ba21c2a':
kmvc: use fixed sized arrays in the context
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 10:54:39 +02:00
Michael Niedermayer
dc2a13aa80
avformat/mov: Fix duration of fragmented mov
...
Fixes Ticket2757
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 04:11:14 +02:00
Michael Niedermayer
104dfaadaa
dct_unquantize_h263_intra_c: fix assert condition
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 01:50:59 +02:00
Michael Niedermayer
707b2135fd
libavcodec/x86/mpegvideo: Move mmx functions under HAVE_MMX_INLINE
...
should fix ticket2755
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 01:50:59 +02:00
Michael Niedermayer
abce6dfd9e
avcodec/x86/vp3dsp_init: move mmx functions under HAVE_MMX_INLINE
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-07 01:50:59 +02:00
Michael Niedermayer
9a6e814be7
oggparseskeleton: avoid header parsing failure
...
Based on description by James Almer and the xiph wiki
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 23:53:19 +02:00
Michael Niedermayer
7f25050289
nutdec: use ff_find_last_ts()
...
Fixes finding the duration for nut files that are truncated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 22:27:35 +02:00
Michael Niedermayer
8ca5d277d8
avformat/utils: factor ff_find_last_ts() out of ff_gen_search()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 22:27:35 +02:00
Diego Biurrun
cd7b6deeaa
tools: Wording and formatting cosmetics
2013-07-06 15:36:57 +02:00
Diego Biurrun
6516632967
tests: Only run noproxy test if networking is enabled
2013-07-06 15:36:57 +02:00
Luca Barbato
73142e7533
fifo: K&R formatting cosmetics
2013-07-06 14:28:06 +02:00
Luca Barbato
4e7f0b082d
kmvc: Clip pixel position to valid range
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-06 14:12:45 +02:00
Luca Barbato
8f68977054
kmvc: use fixed sized arrays in the context
...
Avoid some boilerplate code to dynamically allocate and then free the
buffers.
2013-07-06 14:12:42 +02:00
Paul B Mahol
d64f3b72e0
replace some deprecated defines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-06 05:43:24 +00:00
Paul B Mahol
9635806265
lavfi/blend: use dual input helpers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-06 04:58:34 +00:00
Michael Niedermayer
66537c7efd
avcodec/x86/cabac: Disable get_cabac_bypass_x86() on broken llvm/clang
...
This should fix fate on these platforms
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 16:24:27 +02:00
Michael Niedermayer
32de28053d
avcodec/x86/cabac: factorize broken llvm/clang check out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 16:24:27 +02:00
James Almer
63d7684fef
oggparseskeleton: Replace avpriv_report_missing_feature() with a normal av_log() call
...
since there should not be more than one fisbone for a given stream.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 13:30:51 +02:00
James Almer
3960992f0a
oggparseskeleton: Fix fisbone header parsing
...
start_granule should be applied to the stream referenced in the fisbone packet, not to the
Skeleton stream.
This was broken in d1f05dd183 and produced bogus warnings about
multiple fisbone in the same stream on files with more than one stream.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 13:30:51 +02:00
Stefano Sabatini
2aa2b4ac65
examples/muxing: add support to audio resampling
...
Allows to encode to output in case the destination sample format is
different from AV_SAMPLE_FMT_S16.
2013-07-06 12:31:16 +02:00
Timothy Gu
561e05136f
doc/encoders: add libopus encoder doc
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-07-06 12:27:45 +02:00
Michael Niedermayer
98277fd1a0
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
bitstream_filter: K&R formatting cosmetics
Conflicts:
libavcodec/bitstream_filter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 12:08:43 +02:00
Michael Niedermayer
0844630e6b
avformat/mp3dec: Add usetoc option to allow dlsabling the use of the xing TOC
...
The toc is inexact and not using it can thus make sense.
Using it is faster though, thus the opposite can similarly makes sense
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 05:43:48 +02:00
Michael Niedermayer
68b7b534be
tcp: Use a default timeout of 5 sec for opening a connection but not for receiving packets
...
This should be closer to how tcp behaved longer ago and should
fix the issue with idle connections timing out.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 01:33:19 +02:00
Michael Niedermayer
efa9e6b423
ff_network_wait_fd_timeout: do not break with timeout < 0
...
Most code treats timeout < 0 like 0 already
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 01:31:37 +02:00
Michael Niedermayer
390aabb2a1
tcp: Fix the default timeout
...
Fixes Ticket2694
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-06 00:17:31 +02:00
Nigel Touati-Evans
ef8cc06d6e
avformat/avidec: Fix incorrect detection of badly interleaved avi
...
The method guess_ni_flag needs to divide timestamps in the index
by sample_size if it is set in order to compare different streams correctly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 22:07:48 +02:00
Paul B Mahol
6516a25f04
ADPCM IMA WAV 2, 3 and 5 bits decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-05 18:10:27 +00:00
Luca Barbato
4972e5a186
bitstream_filter: K&R formatting cosmetics
2013-07-05 19:38:24 +02:00
Paul B Mahol
48f2750de8
get_bits: add get_bits_le()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-05 16:51:08 +00:00
Jean Delvare
4e10d87f38
lavfi/delogo: band width must be at least 1
...
We need at least one pixel around the logo to use as known points to
interpolate from. So properly declare the band/t attribute has having
a minimum value of 1.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 18:02:11 +02:00
Jean Delvare
72abce3c46
lavfi/delogo: option show shouldn't affect band
...
Options "show" and "band" are unrelated and should thus be
independent. However, setting "show" to 1 currently resets "band" to
its default value of 4. While this is documented, this still
surprising and confusing IMHO.
Change this behavior and make "show" and "band" independent from each
other. Update the documentation accordingly.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 18:02:11 +02:00
Paul B Mahol
413f865a9a
lavfi/blackdetect: support 2 more pixels formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-05 15:30:37 +00:00
Paul B Mahol
9dd1447788
lavfi/cropdetect: export cropdetect info to frame metadata
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-05 15:07:33 +00:00
Jean Delvare
4e8d6b315c
lavfi/delogo: remember left and right samples when interpolating
...
The left and right samples are the same for the whole line, so store
their values and don't recompute them for every iteration of "y".
This simple optimization results in a speed improvement between 15%
and 20% in my tests (depending on the logo geometry.)
Result is obviously the same.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 13:53:37 +02:00
Jean Delvare
6fc8c4cc0e
lavfi/delogo: don't recompute the same difference again and again
...
The top left hand corner pixel coordinates are already stored in
logo_x1 and logo_y1 so don't recompute each of them 6 times for every
iteration.
This is a simple code optimization, result is obviously the same. The
performance gain is small (about 2% in my tests) but still good to
have, and the new code is clearer.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Reviewed-by; Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 13:52:59 +02:00
Peter Große
c6c2231227
libavcodec: use 64bit counter in deprecated audio encoder API to prevent problems regarding negative dts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 13:40:13 +02:00
Michael Niedermayer
47ca9f041c
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
compat: wrap math.h to avoid AIX-specific clashes
Conflicts:
configure
See: bf18abb2eb , 0915b531bc
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 13:11:06 +02:00
Michael Niedermayer
8fdec02fd1
Merge commit '0420c810ceb430003f9f2793c5cfa1fe84657f3d'
...
* commit '0420c810ceb430003f9f2793c5cfa1fe84657f3d':
log: pass the correct parameters to missing_feature_sample
Conflicts:
libavutil/log.c
See: 572e38a513
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 12:43:57 +02:00
Stefano Sabatini
d880b2bdff
doc/filters: clarify documentation for overlay repeatlast option
...
Suggested-By: Oliver Fromme <oliver@fromme.com >
2013-07-05 12:35:12 +02:00
Michael Niedermayer
9f89bebb7b
Merge commit '6a10142faa1cca8ba2bfe51b970754f62d60f320'
...
* commit '6a10142faa1cca8ba2bfe51b970754f62d60f320':
indeo: reject negative array indexes
Conflicts:
libavcodec/ivi_common.c
See: 93927eb334 , a93c7ca6ef
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 12:26:25 +02:00
Michael Niedermayer
7d3b55c6a4
Merge commit '6dfacd7ab126aea1392949d1aa10fdc3d3eeb911'
...
* commit '6dfacd7ab126aea1392949d1aa10fdc3d3eeb911':
indeo: Cosmetic formatting
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 12:08:22 +02:00
Michael Niedermayer
9b10440dcd
Merge commit '62256010e9bc8879e2bf7f3b94af8ff85e239082'
...
* commit '62256010e9bc8879e2bf7f3b94af8ff85e239082':
indeo: Refactor ff_ivi_init_tiles and ivi_decode_blocks
Conflicts:
libavcodec/ivi_common.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 12:02:53 +02:00
Michael Niedermayer
0e2056056f
Merge commit 'f6f36ca8ca1b2526d3abff7d7c627322d3bce912'
...
* commit 'f6f36ca8ca1b2526d3abff7d7c627322d3bce912':
indeo: Refactor ff_ivi_dec_huff_desc
Conflicts:
libavcodec/ivi_common.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 11:50:46 +02:00
Michael Niedermayer
cced6f4d58
Merge commit 'e6d8acf6a8fba4743eb56eabe72a741d1bbee3cb'
...
* commit 'e6d8acf6a8fba4743eb56eabe72a741d1bbee3cb':
indeo: use a typedef for the mc function pointer
cabac: x86 version of get_cabac_bypass
aic: use chroma scan tables while decoding luma component in progressive mode
Conflicts:
libavcodec/aic.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 11:41:30 +02:00
Stefano Sabatini
0f85c96091
lavc/avcodec.h: document bitstream filter API
2013-07-05 11:03:56 +02:00
Michael Niedermayer
b009267910
mpegts: only reopen pmt_cb filter if its different from the previous.
...
Fixes Ticket2632
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-05 04:02:02 +02:00
Stefano Sabatini
d06ae0d791
lavf: fix documentation for avoid_negative_ts
...
Prefer "non-negative" over "positive", the former is more accurate.
2013-07-05 00:58:03 +02:00
Stefano Sabatini
41fe750f4b
lavc/bitstream_filter: do not crash in case the argument of av_bitstream_filter_close() is NULL
2013-07-05 00:58:03 +02:00
Michael Niedermayer
46ad287a2a
avutil/rational: avoid llrint() and rint()
...
This should workaround issues with these functions on ia64 and sparc64
Fixes Ticket2713
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 23:50:58 +02:00
Michael Niedermayer
65abce67b5
avformat/movenc: allow negative TS for the ipod muxer
...
Fixes Ticket2708
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 23:14:31 +02:00
Paul B Mahol
35b02732b9
configure: fix webp decoder dependency
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-04 20:41:54 +00:00
Michael Niedermayer
cb678cc2cf
avcodec/svq1enc: fix frame rotation code
...
Fixes Ticket2747
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 22:22:04 +02:00
Paul B Mahol
d1c96b28d7
libstagefright: port to refcounted frames
...
Untested.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-04 20:17:38 +00:00
Paul B Mahol
dda8afc391
libstagefright: unbreak compilation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-04 20:07:12 +00:00
Luca Barbato
d3635f3ab0
compat: wrap math.h to avoid AIX-specific clashes
...
AIX defines a class() function in its math.h header without any
guard.
2013-07-04 21:54:32 +02:00
Luca Barbato
0420c810ce
log: pass the correct parameters to missing_feature_sample
...
CC:libav-stable@libav.org
2013-07-04 21:25:11 +02:00
Matthieu Bouron
621ab4e4ef
lavf/movenc: check ff_mov_init_hinting() return
...
Fixes a crash when the codec stream is not supported by the rtp muxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 19:51:40 +02:00
Michael Niedermayer
8a8d9a7385
mpegts: use ffio_ensure_seekback()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 19:13:39 +02:00
Michael Niedermayer
186ec17843
avformat/aviobuf: Add ffio_ensure_seekback()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 19:13:38 +02:00
Michael Niedermayer
2ca48e4666
avformat: Append data in fill_buffer() when possible
...
Data is appended in fill_buffer() when there is sufficient space left
and the data pointer only reset when needed.
Previously the data pointer was more often reset, loosing more seekback
space than otherwise needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 19:13:38 +02:00
Sean McGovern
bf18abb2eb
Rename "AVClass class" as "AVClass component_class" for external codecs.
...
The aix header math.h defines "extern int class()" for C.
This fixes compilation on aix with external libraries enabled.
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at >
2013-07-04 18:02:17 +02:00
Carl Eugen Hoyos
f32b8130f4
Fix opacity and increase colour dynamics of initial vmd palette.
2013-07-04 18:01:08 +02:00
Zhang Rui
4a4c93cb3f
avformat/http: support relative url redirection
...
see also http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-17#section-9.5
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 16:16:03 +02:00
Luca Barbato
6a10142faa
indeo: reject negative array indexes
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-04 16:06:11 +02:00
Luca Barbato
6dfacd7ab1
indeo: Cosmetic formatting
...
Trim some overly long lines.
2013-07-04 16:06:10 +02:00
Luca Barbato
62256010e9
indeo: Refactor ff_ivi_init_tiles and ivi_decode_blocks
...
Spin large and mostly self contained blocks into stand alone
functions.
2013-07-04 16:06:10 +02:00
Luca Barbato
f6f36ca8ca
indeo: Refactor ff_ivi_dec_huff_desc
...
Spare an indentation level.
2013-07-04 16:06:10 +02:00
Luca Barbato
e6d8acf6a8
indeo: use a typedef for the mc function pointer
2013-07-04 16:06:10 +02:00
Jason Garrett-Glaser
d222f6e39e
cabac: x86 version of get_cabac_bypass
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-04 16:06:10 +02:00
Paul B Mahol
253e155251
lavfi/crop: support more pixel formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-04 11:46:06 +00:00
Michael Niedermayer
6d05039c7e
avcodec/sonic: Fix usage of init_get_bits() and use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 13:40:08 +02:00
Michael Niedermayer
b237e6282e
avformat/h261dec: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 13:40:08 +02:00
Michael Niedermayer
8c707a129a
avcodec/svq1dec: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 13:40:08 +02:00
Michael Niedermayer
df6acc81a8
avcodec/ra288: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 13:40:08 +02:00
Paul B Mahol
d2ce3b3857
riff: remove invalid fourcc 'exr '
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-04 11:39:58 +00:00
Kostya Shishkov
410066986f
aic: use chroma scan tables while decoding luma component in progressive mode
...
For some unclear reason Apple decided to use the same scan tables for luma and
chroma in the progressive mode while using different ones for luma in the
interlaced mode.
2013-07-04 12:09:45 +02:00
Carl Eugen Hoyos
565140da17
avcodec/rawdec: Fix 2bpp and 4bpp rawvideo in mov
...
Restores carefully the old behaviour
(and does not break decoding avi samples).
Fixes Ticket2536
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-04 02:54:27 +02:00
Jean Delvare
f0bcb13aed
lavfi/delogo: avoid propagation of rounding errors in chroma planes
...
When operating on subsampled chroma planes, some rounding is taking
place. The left and top borders are rounded down while the width and
height are rounded up, so all rounding is done outward to guarantee the
logo area is fully covered.
The problem is that the width and height are counted from the
unrounded left and top borders, respectively. So if the left or top
border position has indeed been rounded down, and the width or height
needs no rounding (up), the position of the the right or bottom border
will be effectively rounded down, i.e. inward.
The issue can easily be seen with a yuv240p input and
-vf delogo=45:45:60:40:show=1 -vframes 1 delogo-bug.png
(or virtually any logo area with odd x and y and even width and
height.) The right and bottom chroma borders (in green) are clearly
off.
In order to fix this, the width and height must be adjusted to include
the bits lost in the rounding of the left and top border positions,
respectively, prior to being themselves rounded up.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 23:10:57 +02:00
Jean Delvare
99f1d74933
lavfi/delogo: take SAR into account
...
When interpolating, weights are based on relative distances, which
assume square pixels. If a non-1:1 sample aspect ratio is used, it
should be taken into account when comparing distances, because the
human eye and brain care about the picture as it is displayed, not
stored.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 23:10:46 +02:00
Paul B Mahol
a64248d1ec
lavu/opt: show default values
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-03 20:32:30 +00:00
Matthieu Bouron
4943eff2cd
lavf/movenc: fix writing of some iTunes metadata tag
...
Fix metadata display under iTunes for files using pgap, hdvd, stick,
tvsn and tves tags.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 17:18:49 +02:00
Michael Niedermayer
13f86baa1d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
jpeg2000: Use the matching coding style struct for transform selection
jpeg2000: Merge rescaling with interleaving in 9/7 IDWT
No change, all commits & hunks where already in.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 16:42:33 +02:00
Michael Niedermayer
5eb23e6b0a
Merge commit '22e18ea39e371030cc78973d1b46aae45a7ea215'
...
* commit '22e18ea39e371030cc78973d1b46aae45a7ea215':
jpeg2000: Optimize output sample conversion
jpeg2000: Reset s->numX/Ytiles on tile deallocation
jpeg2000: Optimize dequantization
jpeg2000: Do not assume a single tile
jpeg2000: Speed up jpeg2000_decode_tile()
jpeg2000: Use EBCOT's CAUSAL and BYPASS mode in decode_cblk()
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 16:36:05 +02:00
Michael Niedermayer
19ff6f55e8
Merge commit 'd57c737ac30cf079a342fa649fd4888c2d059dd9'
...
* commit 'd57c737ac30cf079a342fa649fd4888c2d059dd9':
jpeg2000: Simplify jpeg2000_decode_packets()
jpeg2000: Do not crash on NULL node in tag_tree_decode
jpeg2000: Refactor SOT marker parsing
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 16:26:01 +02:00
Michael Niedermayer
1abb875c98
Merge commit 'daeb4e3042f2ecae2d41aaa4cae0bed932539788'
...
* commit 'daeb4e3042f2ecae2d41aaa4cae0bed932539788':
jpeg2000: Proper cleanup on failure in decode_frame()
Conflicts:
libavcodec/jpeg2000.c
See: 9d56ccf5
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 16:11:01 +02:00
Michael Niedermayer
ee7da5bacc
Merge commit '589e5b52f634f6b2d307a167a19eef7e7328cb08'
...
* commit '589e5b52f634f6b2d307a167a19eef7e7328cb08':
jpeg2000: Use the correct sizeof in memset for T1 data
jpeg2000: Simplify init_tile()
jpeg2000: Update pixel format support
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 15:45:03 +02:00
Michael Niedermayer
4474111325
Merge commit 'db13e02c6f0355fabd540e77b61ade127d6411ff'
...
* commit 'db13e02c6f0355fabd540e77b61ade127d6411ff':
jpeg2000: Compute corrections of sub-band coordinates
jpeg2000: Remove unneeded variable initialization
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 15:38:55 +02:00
Michael Niedermayer
2328e7e865
Merge commit '5bf208f659703895df7926238dcfa8a8175de36b'
...
* commit '5bf208f659703895df7926238dcfa8a8175de36b':
jpeg2000: Use separate fields for int and float codepaths
jpeg2000: Split int/float codepaths depending on the DWT
Conflicts:
libavcodec/jpeg2000.c
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 15:30:05 +02:00
Michael Niedermayer
11cf4b7247
Merge commit 'f9581f1414ec8e3e7d0868793cda4f2e4fa113ea'
...
* commit 'f9581f1414ec8e3e7d0868793cda4f2e4fa113ea':
jpeg2000: Improve reduced resolution decoding
jpeg2000: Compute quantization for 'scalar derived' in the correct case.
jpeg2000: Calculate code-block coord in ff_jpeg2000_init_component()
Conflicts:
libavcodec/jpeg2000.c
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 15:20:37 +02:00
Michael Niedermayer
c7a092cb2d
Merge commit '4cbd5ed11b0161a6a192174934b241e0cc0599a9'
...
* commit '4cbd5ed11b0161a6a192174934b241e0cc0599a9':
jpeg2000: Fix compute precedence error in lut_gain index
jpeg2000: Initialize code blocks structures in precincts to 0
jpeg2000: Check that we have enough components for MCT
Conflicts:
libavcodec/jpeg2000.c
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 15:03:08 +02:00
Michael Niedermayer
273f600b03
Merge commit 'b564784a207b1395d2b5a41e580539df04651096'
...
* commit 'b564784a207b1395d2b5a41e580539df04651096':
jpeg2000: Check that there is a SOT before SOD
jpeg2000: Remove unneeded returns
Conflicts:
libavcodec/jpeg2000.c
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 14:59:35 +02:00
Michael Niedermayer
ac3ca3d311
Merge commit 'ef35d6dbc6c3b7ba6b13ac13fc8e797cc1268c8f'
...
* commit 'ef35d6dbc6c3b7ba6b13ac13fc8e797cc1268c8f':
jpeg2000: Propagate error code from get_cox()
jpeg2000: Check that nreslevels2decode has been initialized before use
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 14:50:51 +02:00
Michael Niedermayer
9dfa5ea5dc
Merge commit '86a2602e16171ddc10c3ec655c23b16ffa595059'
...
* commit '86a2602e16171ddc10c3ec655c23b16ffa595059':
jpeg2000: Drop unused and writeonly fields
jpeg2000: Correctly calculate sgnd
Conflicts:
libavcodec/jpeg2000.h
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 14:46:10 +02:00
Michael Niedermayer
a4a16821d7
Merge commit 'fd54dd028bc9f7bfb80ebf823a533dc84b73f936'
...
* commit 'fd54dd028bc9f7bfb80ebf823a533dc84b73f936':
jpeg2000: check len before parsing header
jpeg2000: Check component number in get_coc() and get_qcc()
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 14:38:37 +02:00
Michael Niedermayer
2cad1ea29e
Merge commit '17e5d614a8647d51b9795cb8bccf97ee33ca2d58'
...
* commit '17e5d614a8647d51b9795cb8bccf97ee33ca2d58':
jpeg2000: Check zero bit-plane validity
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 14:30:17 +02:00
Michael Niedermayer
db5c93a1a9
Merge commit '7e201d575dc4385eb67314b0419d4d77185e65f4'
...
* commit '7e201d575dc4385eb67314b0419d4d77185e65f4':
jpeg2000: Validate block lengthinc
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 14:28:51 +02:00
Michael Niedermayer
f0358dc1d3
Merge commit '278a923c51187d37445d88a6b21082036ec9568d'
...
* commit '278a923c51187d37445d88a6b21082036ec9568d':
jpeg2000: Validate SIZ parsing
Conflicts:
libavcodec/jpeg2000dec.c
This commit is not exactly merged due to bugs in it
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 14:19:35 +02:00
Michael Niedermayer
2e85737b0e
Merge commit 'd3cb302b88503c3111e25add196622110c056188'
...
* commit 'd3cb302b88503c3111e25add196622110c056188':
jpeg2000: Validate SOT parsing
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 13:28:35 +02:00
Stefano Sabatini
838bd73139
lavfi: create Libav-API compatibility layer for avfilter_graph_parse() at the next bump
...
Add function avfilter_graph_parse_ptr() and favor it in place of
avfilter_graph_parse(), which will be restored with the old/Libav
signature at the next bump.
If HAVE_INCOMPATIBLE_LIBAV_API is enabled it will use the
Libav-compatible signature for avfilter_graph_parse().
At the next major bump the current implementation of
avfilter_graph_parse() should be dropped in favor of the Libav/old
implementation.
Should address trac ticket #2672 .
2013-07-03 13:21:42 +02:00
Stefano Sabatini
5efbeae38c
configure: rename have_incompatible_fork_abi -> have_incompatible_libav_abi
...
"Fork" is an ambiguous term, since there may be more than one fork, also
"fork" could be confused with the corresponding function. Also it seems
important to point the name of the referenced fork in the symbol.
Note: the old --enable-incompatible-fork-abi command is retained for
compatibility, although it should be considered deprecated.
2013-07-03 13:16:33 +02:00
Michael Niedermayer
7c71ef4f17
Merge commit '57bc64e'
...
* commit '57bc64e':
jpeg2000: Use bytestream2
jpeg2000: Clean up return paths and error messages
jpeg2000: Define the maximum decomposition levels
jpeg2000: Check code-block size
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 13:07:45 +02:00
Michael Niedermayer
ffed7227c3
Revert "doc: add script to compute texi files dependencies"
...
This reverts commit 628ceac652 .
The commit broke out of tree builds
2013-07-03 12:59:59 +02:00
Michael Niedermayer
57bc64e235
Merge commit '1a3598aae768465a8efc8475b6df5a8261bc62fc'
...
* commit '1a3598aae768465a8efc8475b6df5a8261bc62fc':
jpeg2000: Use bytestream2
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 12:54:01 +02:00
Michael Niedermayer
26f6acc66b
Merge commit '5efadcb8cdef6fc5ca5f1f72e45ef3b23016b1c4'
...
* commit '5efadcb8cdef6fc5ca5f1f72e45ef3b23016b1c4':
jpeg2000: Clean up return paths and error messages
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 12:16:24 +02:00
Michael Niedermayer
b0448e5123
Merge commit 'be3271009ef893fbed9640e8edbd771685fd957b'
...
* commit 'be3271009ef893fbed9640e8edbd771685fd957b':
jpeg2000: Define the maximum decomposition levels
Conflicts:
libavcodec/jpeg2000.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 12:02:11 +02:00
Michael Niedermayer
3f0364327c
Merge commit 'fbcc03db8f3919e2ea46d6ad11a00906b1c0ef0e'
...
* commit 'fbcc03db8f3919e2ea46d6ad11a00906b1c0ef0e':
jpeg2000: Check code-block size
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 11:55:45 +02:00
Stefano Sabatini
759dfd5684
examples/muxing: make more compact audio/video_time computation
2013-07-03 11:31:34 +02:00
Timothy Gu
4ec46b1160
doc/muxers: Add AIFF doc
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-07-03 11:25:45 +02:00
Stefano Sabatini
628ceac652
doc: add script to compute texi files dependencies
...
Replace the inline awk script with a Perl script which tracks the
dependencies recursively.
This allows to correctly track dependencies for files including files
with a second level include (for example: ffmpeg-devices.texi ->
devices.texi -> outdevs.texi).
This also adds a dependency on perl for computing the dependencies, which
should not be a problem since perl is already required all the way for
building documentation.
2013-07-03 11:25:45 +02:00
Michael Niedermayer
37a970bbb6
Merge commit '5650e331a733711b809bc27f968500f0f5530126'
...
* commit '5650e331a733711b809bc27f968500f0f5530126':
jpeg2000: Validate resolution levels
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 11:20:39 +02:00
Stefano Sabatini
b2498dcf5c
lavc/avcodec.h: fix prolems -> problems typo
2013-07-03 10:15:30 +02:00
Michael Niedermayer
e0be3cbd2b
MAINTAINERS: add address to contact "AvxSynth Team"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 02:26:13 +02:00
Tudor Suciu
820ffaed0f
avformat/matroskaenc: Allow VP9 and Opus in webm
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-03 00:10:50 +02:00
Michael Niedermayer
95a57d26d8
jpeg2000: Use the matching coding style struct for transform selection
...
Fixes a null pointer dereference.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:48 +02:00
Michael Niedermayer
22e18ea39e
jpeg2000: Optimize output sample conversion
...
67935 -> 29984 kcycles
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:48 +02:00
Michael Niedermayer
c4604b8792
jpeg2000: Merge rescaling with interleaving in 9/7 IDWT
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:48 +02:00
Michael Niedermayer
f0552e63a6
jpeg2000: Reset s->numX/Ytiles on tile deallocation
...
Keep the structure fields more consistent after cleanup.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:48 +02:00
Michael Niedermayer
d57c737ac3
jpeg2000: Simplify jpeg2000_decode_packets()
...
Raise PATCHWELCOME error in case of non-implemented progression order.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Luca Barbato
daeb4e3042
jpeg2000: Proper cleanup on failure in decode_frame()
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Michael Niedermayer
e11099db20
jpeg2000: Optimize dequantization
...
Float: 4700 -> 2700 cycles
Integer: 4400 -> 2800 cycles
(sandybridge i7)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Michael Niedermayer
09d5929f37
jpeg2000: Do not crash on NULL node in tag_tree_decode
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Michael Niedermayer
c1dcbc590d
jpeg2000: Do not assume a single tile
...
In preparation of supporting multiple tiles.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Michael Niedermayer
aa16bbaf9b
jpeg2000: Refactor SOT marker parsing
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Michael Niedermayer
53d5d89c1b
jpeg2000: Speed up jpeg2000_decode_tile()
...
Skip processing bands with dimension set to 0.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Michael Niedermayer
64f6570c6e
jpeg2000: Use EBCOT's CAUSAL and BYPASS mode in decode_cblk()
...
Speed it up a bit.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:47 +02:00
Michael Niedermayer
589e5b52f6
jpeg2000: Use the correct sizeof in memset for T1 data
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
db13e02c6f
jpeg2000: Compute corrections of sub-band coordinates
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
5bf208f659
jpeg2000: Use separate fields for int and float codepaths
...
Split stepsize and data into int and float variants.
Eliminates a number of casts and simplifies spotting errors.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
f9581f1414
jpeg2000: Improve reduced resolution decoding
...
Correctly scale down the component coordinates and
clean up some redundant code.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
5b73916d34
jpeg2000: Simplify init_tile()
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
690c8af97b
jpeg2000: Remove unneeded variable initialization
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
a458b91cf4
jpeg2000: Split int/float codepaths depending on the DWT
...
DWT53 is always int, DWT97 is always float.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
33e665a6ab
jpeg2000: Update pixel format support
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:46 +02:00
Michael Niedermayer
4cbd5ed11b
jpeg2000: Fix compute precedence error in lut_gain index
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
b564784a20
jpeg2000: Check that there is a SOT before SOD
...
Avoid overreads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
ef35d6dbc6
jpeg2000: Propagate error code from get_cox()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
952f7ed3c0
jpeg2000: Compute quantization for 'scalar derived' in the correct case.
...
Scalar derived case is represented by the JPEG2K_QSTY_SI define.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
b44925ae6b
jpeg2000: Initialize code blocks structures in precincts to 0
...
Prevent use of uninitialized memory / valgrind failure.
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
2c3901b2c3
jpeg2000: Remove unneeded returns
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
78962d3df4
jpeg2000: Check that nreslevels2decode has been initialized before use
...
Avoid buffer overread.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
4e11b15534
jpeg2000: Calculate code-block coord in ff_jpeg2000_init_component()
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
cf04af2086
jpeg2000: Check that we have enough components for MCT
...
Avoid overread.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:45 +02:00
Michael Niedermayer
86a2602e16
jpeg2000: Drop unused and writeonly fields
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Michael Niedermayer
fd54dd028b
jpeg2000: check len before parsing header
...
Avoid overread.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Michael Niedermayer
17e5d614a8
jpeg2000: Check zero bit-plane validity
...
Prevent integer overflows.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Luca Barbato
7e201d575d
jpeg2000: Validate block lengthinc
...
Currently we are using an array with a static data size.
Similar to a patch with the same purpose by Michael Niedermayer.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Michael Niedermayer
278a923c51
jpeg2000: Validate SIZ parsing
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Michael Niedermayer
d3cb302b88
jpeg2000: Validate SOT parsing
...
Avoid some overreads.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Michael Niedermayer
ac921338a4
jpeg2000: Correctly calculate sgnd
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Michael Niedermayer
eae63e3c15
jpeg2000: Check component number in get_coc() and get_qcc()
...
Avoid overreads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:44 +02:00
Michael Niedermayer
1a3598aae7
jpeg2000: Use bytestream2
...
Prevent a number of overreads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:43 +02:00
Luca Barbato
5efadcb8cd
jpeg2000: Clean up return paths and error messages
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:43 +02:00
Luca Barbato
be3271009e
jpeg2000: Define the maximum decomposition levels
...
And define the resolution levels according.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:43 +02:00
Michael Niedermayer
fbcc03db8f
jpeg2000: Check code-block size
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:43 +02:00
Luca Barbato
5650e331a7
jpeg2000: Validate resolution levels
...
There are 32 maximum decomposition levels, thus 33 resolution levels.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-07-02 20:05:43 +02:00
wm4
c3316ddb83
lavf: add support for libgme
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 18:52:45 +02:00
Jean Delvare
0472f64c55
Add a maintainer for the delogo filter
...
I volunteer to maintain the delogo filter for at least the year to
come.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
patch/commit split by commiter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 16:39:27 +02:00
Jean Delvare
de8d56c6e3
MAINTAINERS: clarify the expected format in the document header
...
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Patch/commit split by commiter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 16:38:23 +02:00
Michael Niedermayer
d59ec0adbb
avformat_find_stream_info: move ret init down from flush codecs.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 15:07:51 +02:00
Michael Niedermayer
c5ddd75354
avformat_find_stream_info: Do not consider no streams an error in flush codecs
...
This should have no functional effect, but allows a cleaner diff when moving it
down
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 15:07:51 +02:00
Michael Niedermayer
c826c5698b
avformat_find_stream_info: try to preserve the error code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 15:07:51 +02:00
Michael Niedermayer
ccba9535dc
av_find_stream_info: initialize ret
...
This should fix hypothetical corner cases where it might have never been initialized before use
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 15:07:44 +02:00
Carl Eugen Hoyos
2492f7774f
avformat: Print "Consider increasing the value for analzeduration and probesize" even more often
...
The sample from ticket #2691 currently does not trigger "Consider increasing
the value for analzeduration and probesize" because the audio streams are
only added after calling estimate_timings(). Attached patch moves the message
below this function call.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 14:08:36 +02:00
Michael Niedermayer
a478e99a60
avutil/x86: reenable ff_update_lls_avx()
...
The bug has been fixed in c8b920a9b7 by Loren Merritt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 12:02:08 +02:00
Michael Niedermayer
951a365504
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
oggdec: do not fall back on binary search in the generic code.
Conflicts:
libavformat/oggdec.c
tests/ref/seek/lavf-ogg
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 11:50:30 +02:00
Michael Niedermayer
d1fa671895
Merge commit 'c8b920a9b7fa534a6141695ace4e8c2dfcd56cee'
...
* commit 'c8b920a9b7fa534a6141695ace4e8c2dfcd56cee':
lls/x86: use 3-operator vaddpd in ADDPD_MEM
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 11:40:44 +02:00
Michael Niedermayer
bc62b24d11
Merge commit '8bd9039900e67a633cc838d691c449e71c060553'
...
* commit '8bd9039900e67a633cc838d691c449e71c060553':
Revert "indeo5: reject negative motion vectors"
See: cc53c28fdc
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 11:27:26 +02:00
Anton Khirnov
8ad3267ce3
oggdec: do not fall back on binary search in the generic code.
...
Binary search is already attempted in the format-specific seek function,
so the fallback is only reached if binary search failed already.
2013-07-02 10:37:22 +02:00
Loren Merritt
c8b920a9b7
lls/x86: use 3-operator vaddpd in ADDPD_MEM
...
Fixes build with yasm-1.1
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-07-02 10:15:09 +02:00
Michael Niedermayer
a35494c566
h264: fix indention of xchg_mb_border()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 03:27:14 +02:00
Michael Niedermayer
f27b22b497
h264: move 444 border xchg under if (deblock_top)
...
Fixes out of array access
Fixes Ticket2668
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 03:27:04 +02:00
wm4
a92fbe16f2
lavf/http: add support for reading streamcast metadata
...
Allow applications to request reading streamcast metadata. This uses
AVOptions as API, and requires the application to explicitly request
and read metadata. Metadata can be updated mid-stream; if an
application is interested in that, it has to poll for the data by
reading the "icy_metadata_packet" option in regular intervals.
There doesn't seem to be a nice way to transfer the metadata in a nicer
way. Converting the metadata to ID3v2 tags might be a nice idea, but
the libavformat mp3 demuxer doesn't seem to read these tags mid-stream,
and even then we couldn't guarantee that tags are not inserted in the
middle of mp3 packet data.
This commit provides the minimum to enable applications to retrieve
this information at all.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-07-02 02:00:56 +02:00
Michael Niedermayer
bf87908cd8
rmdec: Pass AVIOContext to rm_read_metadata()
...
Fix null pointer dereference
Fixes Ticket2588
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-02 00:45:15 +02:00
Paul B Mahol
e1b0d3a389
westwood_vqa: check return value of av_malloc()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-01 22:15:25 +00:00
Paul B Mahol
16e0416fa4
idcin: check return value of av_malloc()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-01 22:04:48 +00:00
Paul B Mahol
51f1bf3309
bfi: check return value of av_malloc()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-07-01 21:37:16 +00:00
Michael Niedermayer
b791a0831b
avcodec/x86/dsputil_init: only use xvid idct for lowres=0
...
Fixes crash
Fixes Ticket2714
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 20:56:37 +02:00
Stefano Sabatini
7ebab4159a
doc/encoders: apply various fixes to libmp3lame documentation
2013-07-01 16:00:37 +02:00
Michael Niedermayer
38f1d56769
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
indeo: check for reference when inheriting mvs
See: 4b35ee0b7c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 12:11:29 +02:00
Michael Niedermayer
cc53c28fdc
Merge commit '1194a410807bac3eafbeb632578b937656d273e7'
...
* commit '1194a410807bac3eafbeb632578b937656d273e7':
indeo5: reject negative motion vectors
The added check is wrong and thus not merged.
A correct check already exists in avcodec.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 11:58:14 +02:00
Michael Niedermayer
280afa40bc
Merge commit 'dd3754a48854cd570d38db72394491aab0f36570'
...
* commit 'dd3754a48854cd570d38db72394491aab0f36570':
indeo: use proper error code
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 11:37:37 +02:00
Michael Niedermayer
43229d609a
Merge commit '7388c0c58601477db076e2e74e8b11f8a644384a'
...
* commit '7388c0c58601477db076e2e74e8b11f8a644384a':
indeo: Properly forward the error codes
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 11:31:25 +02:00
Jean Delvare
16fd75ceec
lavfi/delogo: use weighted interpolation
...
The original delogo algorithm interpolates both horizontally and
vertically and uses the average to compute the resulting sample. This
works reasonably well when the logo area is almost square. However
when the logo area is significantly larger than high or higher than
large, the result is largely suboptimal.
The issue can be clearly seen by testing the delogo filter with a fake
logo area that is 200 pixels large and 2 pixels high. Vertical
interpolation gives a very good result in that case, horizontal
interpolation gives a very bad result, and the overall result is poor,
because both are given the same weight.
Even when the logo is roughly square, the current algorithm gives poor
results on the borders of the logo area, because it always gives
horizontal and vertical interpolations an equal weight, and this is
suboptimal on borders. For example, in the middle of the left hand
side border of the logo, you want to trust the left known point much
more than the right known point (which the current algorithm already
does) but also much more than the top and bottom known points (which
the current algorithm doesn't do.)
By properly weighting each known point when computing the value of
each interpolated pixel, the visual result is much better, especially
on borders and/or for high or large logo areas.
The algorithm I implemented guarantees that the weight of each of the
4 known points directly depends on its distance to the interpolated
point. It is largely inspired from the original algorithm, the key
difference being that it computes the relative weights globally
instead of separating the vertical and horizontal interpolations and
combining them afterward.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-07-01 09:33:33 +02:00
Luca Barbato
8bd9039900
Revert "indeo5: reject negative motion vectors"
...
Negative motion vectors are possible.
This reverts commit 1194a41080 .
2013-07-01 06:49:46 +02:00
Luca Barbato
b36e1893ef
indeo: check for reference when inheriting mvs
...
The same is done already for qdelta.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-01 04:20:58 +02:00
Luca Barbato
1194a41080
indeo5: reject negative motion vectors
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-01 04:20:51 +02:00
Luca Barbato
dd3754a488
indeo: use proper error code
2013-07-01 04:17:46 +02:00
Luca Barbato
7388c0c586
indeo: Properly forward the error codes
...
If the tile data size does not match the buffer size it did not
return an AVERROR_INVALIDDATA causing futher corruption later.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-01 04:17:46 +02:00
Carl Eugen Hoyos
b42bcaef29
Avoid a null pointer dereference in avcodec_decode_audio4().
...
This could happen if oom occured while probing a file.
Fixes ticket #2722 .
2013-07-01 03:07:44 +02:00
Michael Niedermayer
ec837a0899
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: always send zero packets to flush audio decoders
ffplay: use frame->pkt_pts instead of pkt->pts in audio pts calculation
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 02:41:26 +02:00
Michael Niedermayer
a6e46ed51a
Revert "avutil/x86: disable ff_evaluate_lls_sse2() for 32bit"
...
This reverts commit 247425241c .
2013-07-01 02:27:47 +02:00
Michael Niedermayer
4e488ac5f5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: lpc: fix a segfault in av_evaluate_lls_sse2()
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 02:26:22 +02:00
Michael Niedermayer
709cae2bcb
vorbisdec: Check VLC tables during use instead of setup
...
Fixes regression and Ticket2720
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 02:09:29 +02:00
Michael Niedermayer
ae038c0914
vorbisdec: propagate errors from setup_classifs()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-07-01 02:08:50 +02:00
Loren Merritt
1221bb6239
x86: lpc: fix a segfault in av_evaluate_lls_sse2()
2013-06-30 23:11:19 +00:00
Marton Balint
02fc61a5a6
ffplay: always send zero packets to flush audio decoders
...
Zero packets are needed not for codecs with CODEC_CAP_DELAY but for
multithreaded decoders as well.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-07-01 00:24:03 +02:00
Marton Balint
447d2e31d1
ffplay: use frame->pkt_pts instead of pkt->pts in audio pts calculation
...
Fixes ticket #2717 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-07-01 00:24:03 +02:00
Carl Eugen Hoyos
712ef25116
Avoid a null pointer dereference after oom on frame size change in mpegvideo.c.
...
Fixes ticket #2735 .
2013-06-30 23:45:37 +02:00
Carl Eugen Hoyos
f4aa8085f2
Avoid a null pointer dereference on oom in the aac encoder.
...
Fixes ticket #2732 .
2013-06-30 23:25:18 +02:00
Paul B Mahol
84343dd9d3
indeo3: check return values of av_malloc()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-30 19:43:55 +00:00
Michael Niedermayer
b00e56bec5
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Support compilation on aix with gcc.
Rename "AVClass class" as "AVClass component_class".
Rename constant FRAMESIZE in ra144 codec as FRAME_SIZE.
Rename thread_init() in libavcodec and libavfilter as library_thread_init().
Rename constant HZ in af_biquads.c as HERTZ.
Drop local lable from ppc asm timer.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 21:18:17 +02:00
Michael Niedermayer
247425241c
avutil/x86: disable ff_evaluate_lls_sse2() for 32bit
...
It just segfaults on 32bit, thus its disabled until someone fixes it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 19:03:57 +02:00
Paul B Mahol
7e112df470
flac_parser: check return value of av_fifo_alloc()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-30 16:49:45 +00:00
Matthieu Bouron
9e6d063dbc
lavf/movenc: use ffio_fill()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 16:28:51 +02:00
Michael Niedermayer
4e99660493
mpegts: use seek_back() for all seek backs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 16:23:50 +02:00
Michael Niedermayer
a5f23d8da0
mpegts: factor seek_back() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 16:23:46 +02:00
Michael Niedermayer
b7c6685268
mpegts_read_header: goto fail instead of return directly
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 16:23:42 +02:00
Michael Niedermayer
afddf0d910
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mjpeg: Check the unescaped size for overflows
Conflicts:
libavcodec/mjpegdec.c
See: a9456c7c5c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 14:11:38 +02:00
Michael Niedermayer
e3fb8ac956
Merge commit '7520d9779c6d30b385df5a0a42da508238076192'
...
* commit '7520d9779c6d30b385df5a0a42da508238076192':
mjpeg: Move code out of else branch
Conflicts:
libavcodec/mjpegdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 13:50:55 +02:00
Carl Eugen Hoyos
f803e0dc0e
Support compilation on aix with gcc.
...
Shared libraries and the IBM compiler are currently not supported.
"--arch=ppc" has to be passed to configure, uname is not compatible.
2013-06-30 13:47:45 +02:00
Carl Eugen Hoyos
0915b531bc
Rename "AVClass class" as "AVClass component_class".
...
The aix header math.h defines "extern int class()" for C.
2013-06-30 13:47:45 +02:00
Carl Eugen Hoyos
742b961769
Rename constant FRAMESIZE in ra144 codec as FRAME_SIZE.
...
The aix header sys/mstsave.h defines FRAMESIZE as _FRAMESIZE.
2013-06-30 13:47:45 +02:00
Carl Eugen Hoyos
674d8a9629
Rename thread_init() in libavcodec and libavfilter as library_thread_init().
...
The aix header sys/thread.h contains a definition for thread_init().
2013-06-30 13:47:45 +02:00
Carl Eugen Hoyos
33f5d70df5
Rename constant HZ in af_biquads.c as HERTZ.
...
The aix header sys/m_param.h defines HZ as _HZ.
2013-06-30 13:47:45 +02:00
Carl Eugen Hoyos
6258e86d4b
Drop local lable from ppc asm timer.
...
The aix assembler does not support local lables.
2013-06-30 13:47:44 +02:00
Michael Niedermayer
06549cee42
Merge commit '7798a59dc14ae27efe64e639a42646002608a908'
...
* commit '7798a59dc14ae27efe64e639a42646002608a908':
avconv: Don't include colorspace.h
No change as the commit is already part of ffmpeg.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 13:43:05 +02:00
Michael Niedermayer
c1fc4ff937
Merge commit '02ec656af72030eea4f3d63e30b25625cce6a3df'
...
* commit '02ec656af72030eea4f3d63e30b25625cce6a3df':
wmapro: error out on impossible scale factor offsets
The check is replaced by an assert(), as the condition cannot be
true except through bugs elsewhere (which should have been fixed
already)
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 13:35:36 +02:00
Michael Niedermayer
490ed7f0ec
Merge commit 'd4a217a408da4bd63acc02cd8f9ebe378a2ad65a'
...
* commit 'd4a217a408da4bd63acc02cd8f9ebe378a2ad65a':
wmapro: check the min_samples_per_subframe
Conflicts:
libavcodec/wmaprodec.c
See: 9166f483c5
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 13:21:49 +02:00
Michael Niedermayer
97947d9bba
Merge commit '183880cfc4aae53ce504e13337791cad5841c80c'
...
* commit '183880cfc4aae53ce504e13337791cad5841c80c':
pictor: use the correct logging context
No change, as this has already been fixed
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 13:04:40 +02:00
Michael Niedermayer
e27be795f0
avcodec/lpc: Use a function pointer from an initialized context
...
Fixes null pointer dereference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 12:40:16 +02:00
Michael Niedermayer
32a3955259
Merge commit 'c93ccf5a4cca722b39f05e9f5660b4cb75bc1740'
...
* commit 'c93ccf5a4cca722b39f05e9f5660b4cb75bc1740':
lpc: use levinson for the first pass of multipass cholesky
Conflicts:
libavcodec/lpc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 12:26:58 +02:00
Michael Niedermayer
6e76e6a05a
Merge commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191'
...
* commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191':
x86: lpc: simd av_evaluate_lls
Conflicts:
libavutil/x86/lls.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 12:15:12 +02:00
Michael Niedermayer
a285079bc7
lls.asm: disable ff_update_lls_avx
...
The code doesnt build with yasm from ubuntu 12.04
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 12:12:11 +02:00
Michael Niedermayer
0b40c50508
lls.asm: put avx code under if HAVE_AVX_EXTERNAL
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 12:12:01 +02:00
Michael Niedermayer
78b5479633
Merge commit '502ab21af0ca68f76d6112722c46d2f35c004053'
...
* commit '502ab21af0ca68f76d6112722c46d2f35c004053':
x86: lpc: simd av_update_lls
The versions are bumped due to changes in lls.h which is used across
libraries affecting intra library ABI
(This version bump also covers changes to lls.h in the immedeatly previous
commits)
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 11:35:52 +02:00
Michael Niedermayer
c93a424718
Merge commit '41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2'
...
* commit '41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2':
lpc: use function pointers, in preparation for asm
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 11:23:43 +02:00
Michael Niedermayer
d3bd320e63
Merge commit 'cc6714bb16b1f0716ba43701d47273dbe9657b8b'
...
* commit 'cc6714bb16b1f0716ba43701d47273dbe9657b8b':
lpc: remove "decay" argument
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 10:54:20 +02:00
Luca Barbato
6765ee7b9c
mjpeg: Check the unescaped size for overflows
...
And contextually check init_get_bits success and fix the reporting
message.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-30 08:48:51 +02:00
Luca Barbato
7520d9779c
mjpeg: Move code out of else branch
...
Simplify the control flow and spare some vertical space.
2013-06-30 08:46:55 +02:00
Michael Niedermayer
ff130d7363
get_xbits: assert validity of the number of bits
...
similar is already done in the other get_bits() functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 01:40:18 +02:00
Michael Niedermayer
68efb1d60a
4xm: Dont ignore dc run errors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 01:35:22 +02:00
Michael Niedermayer
13c56e9a9c
4xm: check for invalid zero ac coeffs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 01:35:22 +02:00
Michael Niedermayer
6d6eabd399
mjpeg_decode_dc: check code before using it in get_xbits()
...
Fixes undefined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-30 01:35:22 +02:00
Derek Buitenhuis
58950ca0df
ffmpeg: Don't include colorspace.h
...
The header is private, and ffmpeg.c doesn't use it
for anything.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-29 16:44:12 -04:00
Michael Niedermayer
a2802d3cd4
get_pix_fmt_score: favor equal formats if all else equal
...
Fixes Ticket2578
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 22:20:20 +02:00
Derek Buitenhuis
7798a59dc1
avconv: Don't include colorspace.h
...
The header is private, and avconv.c doesn't use it
for anything.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-29 14:24:02 -04:00
Michael Niedermayer
7f866c14ba
update all trac links to use the trac subdomain
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 19:27:49 +02:00
Michael Niedermayer
a2e50fa068
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Avoid a null pointer dereference on clean-up after oom in ac3 encoder.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 19:16:49 +02:00
Luca Barbato
02ec656af7
wmapro: error out on impossible scale factor offsets
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-29 18:11:59 +02:00
Luca Barbato
d4a217a408
wmapro: check the min_samples_per_subframe
...
Must be at least WMAPRO_BLOCK_MIN_SIZE.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-29 18:11:40 +02:00
Luca Barbato
183880cfc4
pictor: use the correct logging context
...
Broken in 6d97484d72
2013-06-29 18:11:12 +02:00
Reuben Martin
2fa89b2736
Added codec ID to playback DNxHD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 18:02:37 +02:00
Carl Eugen Hoyos
225f78b7ef
Avoid a null pointer dereference on clean-up after oom in ac3 encoder.
2013-06-29 17:50:07 +02:00
Carl Eugen Hoyos
90bd75e6eb
Avoid a null pointer dereference on oom when decoding smacker.
...
Fixes ticket #2728 .
2013-06-29 16:04:07 +02:00
Carl Eugen Hoyos
a1dbe49d02
Propagate error return values from the smacker decoder.
2013-06-29 16:02:43 +02:00
Carl Eugen Hoyos
ac83d62136
Avoid a null pointer dereference on oom when decoding vc1.
...
Fixes ticket #2723 .
2013-06-29 14:49:47 +02:00
Stefano Sabatini
d47168e729
doc/muxers: apply various minor fixes to segment documentation
2013-06-29 14:12:11 +02:00
Stefano Sabatini
f150db096d
doc/muxers: sort muxers by name
2013-06-29 14:12:11 +02:00
Loren Merritt
c93ccf5a4c
lpc: use levinson for the first pass of multipass cholesky
...
Levinson is faster, and cholesky is only needed if we want to apply different
weights to different samples, which doesn't happen on the first pass.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-29 13:26:52 +02:00
Loren Merritt
b545179fdf
x86: lpc: simd av_evaluate_lls
...
1.5x-1.8x faster on sandybridge
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-29 13:23:57 +02:00
Loren Merritt
502ab21af0
x86: lpc: simd av_update_lls
...
4x-6x faster on sandybridge
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-29 13:23:57 +02:00
Loren Merritt
41578f70cf
lpc: use function pointers, in preparation for asm
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-29 13:23:57 +02:00
Loren Merritt
cc6714bb16
lpc: remove "decay" argument
...
We never used the rolling-average mode, and this makes av_update_lls 15% faster.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-29 13:23:57 +02:00
Michael Niedermayer
a3e9f4c32a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
wmapro: check num_vec_coeffs against the actual available buffer
Conflicts:
libavcodec/wmaprodec.c
The check is replaced by an assert.
See: b21ba20cc8
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 12:23:56 +02:00
Michael Niedermayer
562e8d019b
Merge commit '6652338f43ef623045912d7f28b61adea05d27ae'
...
* commit '6652338f43ef623045912d7f28b61adea05d27ae':
wmapro: return early on unsupported condition
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 11:47:26 +02:00
Michael Niedermayer
3e33db3f65
Merge commit 'e30b068ef79f604ff439418da07f7e2efd01d4ea'
...
* commit 'e30b068ef79f604ff439418da07f7e2efd01d4ea':
wmapro: make sure there is room to store the current packet
The check is replaced by an assert as it is impossible to occur
See: 780d45473c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 11:37:09 +02:00
Michael Niedermayer
c1343897c3
Merge commit 'afe03092dd693d025d43e1620283d8d285c92772'
...
* commit 'afe03092dd693d025d43e1620283d8d285c92772':
lavc: move put_bits_left in put_bits.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 10:59:04 +02:00
Michael Niedermayer
53fd1ab26b
avformat: make av_register_*put_format() thread safe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 03:46:10 +02:00
Michael Niedermayer
b36b5edb8f
avcodec/bitstream_filter: make av_register_bitstream_filter() thread safe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 03:39:03 +02:00
Michael Niedermayer
08f6fdc3e4
avcodec/parser: Make av_register_codec_parser() thread safe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 03:32:57 +02:00
Michael Niedermayer
8738d94274
avcodec: Make av_register_hwaccel() and avcodec_register() thread safe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 03:28:58 +02:00
Timothy Gu
a9bbf59be7
cosmetics: Fix "dont" "wont" "doesnt" typos
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 02:31:16 +02:00
Michael Chinen
fc736a99ea
flac_parser.c: fix case when final frame is a false positive
...
Should fix https://ffmpeg.org/trac/ffmpeg/ticket/2552
Only did minimal testing on a few files and fate.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 00:31:14 +02:00
Michael Niedermayer
804c7b2c62
udp: Fix receiving large udp packets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-29 00:10:15 +02:00
Paul B Mahol
36748d4b6c
tak_parser: properly mark packets as key frames
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-28 21:31:14 +00:00
Carl Eugen Hoyos
2bccd82c29
Do not list libshine like a main option in configure's output.
...
It is listed as an enabled external library if applicable.
2013-06-28 16:23:39 +02:00
Luca Barbato
3822936252
wmapro: check num_vec_coeffs against the actual available buffer
...
Prevent yet another buffer overwrite.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-28 13:16:35 +02:00
Luca Barbato
6652338f43
wmapro: return early on unsupported condition
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-28 13:16:00 +02:00
Luca Barbato
e30b068ef7
wmapro: make sure there is room to store the current packet
...
Prevent horrid and hard to trace struct overwrite.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-28 13:15:40 +02:00
Luca Barbato
afe03092dd
lavc: move put_bits_left in put_bits.h
2013-06-28 13:14:12 +02:00
Timothy Gu
7eb5288f17
doc/decoders: document libopus decoder
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-06-28 13:09:10 +02:00
Timothy Gu
934df3b037
doc/encoders: alphabetically list the encoders
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-06-28 13:07:15 +02:00
Michael Niedermayer
2236456715
avfilter/avfilter: Make avfilter_register() thread safe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-28 12:44:03 +02:00
Michael Niedermayer
16310e36d9
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Avoid a null pointer dereference in avcodec_decode_video2().
Set block_align when reading QDM2 in mov.
Fix muxing QDM2 mono into caf.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-28 10:14:16 +02:00
Michael Niedermayer
831e749bc9
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
aac: return meaningful errors
Conflicts:
libavcodec/aacdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-28 10:08:43 +02:00
Michael Niedermayer
1bcfb1eea8
Merge commit '6d8629aac13692447b54eac795bf74007ebf8987'
...
* commit '6d8629aac13692447b54eac795bf74007ebf8987':
aac: K&R formatting cosmetics
Conflicts:
libavcodec/aacdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-28 10:00:51 +02:00
Carl Eugen Hoyos
41f3c60fbb
Avoid a null pointer dereference in avcodec_decode_video2().
...
This could happen if oom occured while probing a file.
Reported in ticket #1900 .
2013-06-28 09:04:43 +02:00
Carl Eugen Hoyos
f91833210e
Set block_align when reading QDM2 in mov.
...
Fixes ticket #2718 .
2013-06-28 09:04:16 +02:00
Carl Eugen Hoyos
7f1b3c2ca6
Fix muxing QDM2 mono into caf.
2013-06-28 09:04:16 +02:00
Michael Niedermayer
ef90639004
avfilter/vf_mp: preserve pixel format when possible
...
Fixes Ticket2577
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-28 03:32:00 +02:00
Reuben Martin
86190afbda
gxf: Added codec ID to playback AVCHD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-27 18:13:45 +02:00
Stefano Sabatini
7eb6eb03d8
lavc/mpegvideo_enc: simplify timestamp checks in load_input_picture()
...
Also improve error feedback while at it.
2013-06-27 17:46:52 +02:00
Reuben Martin
c4db4b1756
Added GXF format code to identify AVC Intra video streams. This was an extension to the origional GXF spec implemented by Grass Valley.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-27 17:40:01 +02:00
Reuben Martin
7ebf3ab959
gxf: Factorize code in get_sindex()
...
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-27 17:18:59 +02:00
Reuben Martin
0de9d3dd1c
gxf: Added GXF format code 25 which is used for DV codec in HD resolutions
...
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-27 17:18:41 +02:00
Nigel Touati-Evans
42bd0cd21a
Fix copying extradata to codec in mxfdec.c
...
The code that copies any extradata from the MXFDescriptor to the codec does
not set the size, which it should otherwise the copied data is useless.
Attached it a patch to correct this.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-27 13:32:48 +02:00
Michael Niedermayer
e4198d2fc3
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: simplify and fix flushing out old subtitles on seeking
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-27 02:01:44 +02:00
Luca Barbato
07c52e2c7c
aac: return meaningful errors
2013-06-27 01:22:36 +02:00
Luca Barbato
6d8629aac1
aac: K&R formatting cosmetics
2013-06-27 01:22:06 +02:00
Stefano Sabatini
5c616fe48b
ffprobe: always exit 1 in case of errors
...
This is consistent with the other ff* tools, and also avoids spurious
success reports when ret%256 = 0.
2013-06-27 00:20:36 +02:00
Stefano Sabatini
1fc626f8d0
ffprobe: reindent after previous commit
2013-06-27 00:20:28 +02:00
Nicolas George
a334b00cf6
ffprobe: fix exit code with stream specifiers
...
Without this fix, ffprobe would exit with a failure exit code if a stream
specifier is given that selects the last stream.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org >
2013-06-27 00:20:20 +02:00
Stefano Sabatini
205092bf47
ffprobe: simplify branching logic in probe_file()
2013-06-27 00:20:11 +02:00
Stefano Sabatini
80b56a7bdd
examples/muxing: rename audio/video_pts to audio/video_time
...
The new name is less confusing, since the variables represent times
rather than timestamps.
2013-06-26 23:38:42 +02:00
Stefano Sabatini
db7ebab5c3
doc/bitstream_filters: document the chomp filter
...
TODO: add some meaningful examples.
2013-06-26 23:22:48 +02:00
Stefano Sabatini
7b38c4c95f
doc/bitstream-filters.texi: add documentation for the aac_adtstoasc filter
...
Based on the notes in libavcodec/aac_adtstoasc_bsf.c.
2013-06-26 23:22:39 +02:00
Stefano Sabatini
418b9454ff
lavf/movenc: improve error feedback in case malformed AAC bitstream is detected
...
Consistent with the FLV muxer.
2013-06-26 23:22:31 +02:00
Stefano Sabatini
08b99be7c4
lavf/mux: rename variable cortag -> tagbuf2 in init_muxer()
...
Possibly enhance readibility.
2013-06-26 23:22:22 +02:00
Stefano Sabatini
47c9887eca
lavc/utils: improve feedback in case of invalid packet size
2013-06-26 23:22:13 +02:00
Stefano Sabatini
c58d535b2f
examples/Makefile: disable -O2 optimizations
...
There is no much point in optimizing example code, and the -O2 flag is
annoying when debugging.
2013-06-26 23:21:39 +02:00
Stefano Sabatini
3aa57e1582
examples/muxing: remove useless instruction
...
Simpler and less confusing.
2013-06-26 23:21:06 +02:00
Marton Balint
9fac752afa
ffplay: simplify and fix flushing out old subtitles on seeking
...
Fixes the additional issue reported in ticket #2666 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-26 22:30:16 +02:00
Jean Delvare
ff995e2b6f
doc/filters: Fix texi syntax
...
Commit f1efaf8371 used parentheses
instead of curly braces in texi syntax, resulting in warnings when
the documentation is generated. Fix that.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Cc: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 21:23:20 +02:00
Michael Niedermayer
034b31df2c
swscale: Fix PAL8 input with alpha
...
Fixes Ticket2158
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 15:14:00 +02:00
Michael Niedermayer
ee97982408
avfilter/src_movie: Fix handling of packet size for video
...
See Ticket2556
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 13:46:19 +02:00
Michael Niedermayer
87bc648930
libavfilter/src_movie: fix which packet is reset
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 13:06:11 +02:00
Carl Eugen Hoyos
1235e91b30
Require pthreads for compilation with OpenCL support.
...
Fixes a part of ticket #2422 .
Reviewed-by: James Almer
2013-06-26 09:46:09 +02:00
Carl Eugen Hoyos
35aed74fdc
Use AV_RN32 for an unaligned read in the mxg demuxer.
...
Fixes ticket #2707 .
2013-06-26 09:33:44 +02:00
wm4
e59fb3f8b1
lavf: silence max_analyze_duration warning
...
This is part of normal operation with some formats. A warning should
indicate that something is wrong, and the documentation for AV_LOG_WARNING
says: "Something somehow does not look correct."
Since this message is most likely useful for debugging only, raise the
log level accordingly.
Plus-one-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 01:36:27 +02:00
Michael Niedermayer
d3788558b0
avcodec/cllc: Fix clobbered ff_get_buffer() change
...
Issue-since: 9328ae4843
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 01:21:43 +02:00
Michael Niedermayer
73215fe30a
vf_drawbox: give all v_log() a context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 00:54:08 +02:00
Michael Niedermayer
47da9b2c51
vf_drawbox: avoid declaration in for() arguments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 00:52:16 +02:00
Michael Niedermayer
f1efaf8371
Merge branch 'drawbox_exprs' of https://github.com/mjmvisser/FFmpeg
...
* 'drawbox_exprs' of https://github.com/mjmvisser/FFmpeg :
enabled expressions on x, y, w, h and t parameters for drawgrid and drawbox, added examples
Reviewed-by: Andrey Utkin
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-26 00:33:41 +02:00
Paul B Mahol
ad194b0487
xa: abort if number of channels or sample rate is 0
...
Fixes #2711 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-25 22:24:55 +00:00
Luca Barbato
da8c9b324c
lxfdec: remove wrong and unneeded check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-25 19:38:00 +00:00
Stefano Sabatini
4b6cf1ce0e
examples/muxing: vertically align
2013-06-25 21:36:53 +02:00
Stefano Sabatini
0a3589bf2f
lavc/pngdec: return meaningful error codes
2013-06-25 21:28:56 +02:00
Mark Visser
84f571e37f
enabled expressions on x, y, w, h and t parameters for drawgrid and drawbox, added examples
2013-06-25 11:38:59 -04:00
Michael Niedermayer
015cc3239a
lavfi/movie: free packet on decoder error
...
Prevents infinite loop, see Ticket2556
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-25 13:37:40 +02:00
Michael Niedermayer
876e960d90
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Do not omit frame pointers for msvc/icl debug builds
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-25 11:34:48 +02:00
Michael Niedermayer
767e171c9a
Merge commit '9f4a16c52ea8f2383244587ea4cb534fe7f6da49'
...
* commit '9f4a16c52ea8f2383244587ea4cb534fe7f6da49':
configure: Do not explicitly set Oy for msvc/icl
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-25 11:34:14 +02:00
Michael Niedermayer
7efcd531cf
Merge commit 'b6507930ac1898aed62ab0b56afc7d6734ad830b'
...
* commit 'b6507930ac1898aed62ab0b56afc7d6734ad830b':
fate: Add Canopus Lossless YUY2 test
Conflicts:
tests/fate/lossless-video.mak
tests/ref/fate/cllc-yuy2-noblock
No change as the change is already in master
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-25 11:27:16 +02:00
Derek Buitenhuis
11081ab6be
fate: Add Canopus Lossless YUY2 test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-25 11:26:23 +02:00
Michael Niedermayer
9328ae4843
Merge commit 'd9c89ef86b9400e50c2486f9406fad15c85bab22'
...
* commit 'd9c89ef86b9400e50c2486f9406fad15c85bab22':
cllc: Use outbuf in RGB and ARGB functions
cllc: Implement YUV support
Conflicts:
libavcodec/cllc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-25 10:51:19 +02:00
Michael Niedermayer
bad8f04b04
Merge commit 'b0ce601c160c87349d093d7e542b5c752754f598'
...
* commit 'b0ce601c160c87349d093d7e542b5c752754f598':
doc/platform: Add info about ICL
Conflicts:
doc/platform.texi
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-25 10:46:52 +02:00
Ronald S. Bultje
cea8a0077f
yuv4mpeg: correctly handle chroma for odd luma sizes.
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 19:13:58 -04:00
Alex Smith
4f6b192e2e
configure: Do not omit frame pointers for msvc/icl debug builds
...
Because O1 or O2 are required to build libav with msvc/icl, this must be
explicitly set instead of just omitting Oy.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 18:51:30 -04:00
Alex Smith
9f4a16c52e
configure: Do not explicitly set Oy for msvc/icl
...
It is implied by O1 or O2, both of which are required to build libav
with msvc/icl. Silences warnings when targeting x64 with icl.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 18:51:20 -04:00
Derek Buitenhuis
b6507930ac
fate: Add Canopus Lossless YUY2 test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 18:26:08 -04:00
Matthew Heaney
1029822a91
lavf/webvttdec: use private option to specify WebVTT kind
...
WebVTT subtitle tracks have four kinds. Certain downstream muxers
(such as for WebM) need to know which WebVTT kind this is, in order to
specify the codec id of the output track.
A new private input option, "-kind", has been added to the WebVTT
demuxer. It accepts as a value any of "subtitles" (the default),
"captions", "descriptions", and "metadata". The kind option value is
used to assign a value to the stream disposition flag, to which four
new values have been added, corresponding the four WebVTT kinds.
Signed-off-by: Matthew Heaney <matthewjheaney@google.com >
Signed-off-by: Clément Bœsch <ubitux@gmail.com >
2013-06-25 00:13:47 +02:00
Matthew Heaney
bc35df29c1
lavf: add AV_DISPOSITION flags for WebVTT text track kinds
...
There are 4 separate WebVTT text track kinds: subtitles (the default
if not otherwise specified), captions, descriptions, and metadata.
The WebM muxer needs to know which WebVTT text track kind this is, in
order to synthesize the correct track type and codec id.
To allow a demuxer to indicate the text track kind of the input, a new
set of AV_DISPOSITION flag values has been added, corresponding to
each of the non-default text track kind values.
2013-06-25 00:13:47 +02:00
Derek Buitenhuis
61c82214af
cllc: Use outbuf in RGB and ARGB functions
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 17:59:58 -04:00
Derek Buitenhuis
d48f221952
cllc: Implement YUV support
...
Fixes ticket #1910 .
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 17:59:58 -04:00
Michael Niedermayer
8a7aabe80b
avfilter/vsrc_testsrc: fix artifacts with odd height
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 23:21:17 +02:00
Derek Buitenhuis
d9c89ef86b
cllc: Use outbuf in RGB and ARGB functions
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 14:55:01 -04:00
Derek Buitenhuis
1ef6ac1071
cllc: Implement YUV support
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 14:54:46 -04:00
Derek Buitenhuis
b0ce601c16
doc/platform: Add info about ICL
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-24 13:06:01 -04:00
Michael Niedermayer
bbe26eff22
h264: Fix null pointer dereference with disabled error concealment
...
Fixes Ticket2551
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 16:05:19 +02:00
Michael Niedermayer
a46e578dda
avformat/avio: Fix EOF handiling of ffurl_read_complete()
...
Fixes Ticket2537
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 14:23:44 +02:00
Michael Niedermayer
f48366c704
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavf: don't abort if both encoder and muxer aspect ratios are not set
Conflicts:
libavformat/mux.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 11:42:42 +02:00
Michael Niedermayer
a620c8321e
Merge commit 'c3e58f8fb75d8467161a65b85eb88281547ebab1'
...
* commit 'c3e58f8fb75d8467161a65b85eb88281547ebab1':
matroskaenc: restore compatibility with non referenced AVPacket
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 11:11:31 +02:00
Michael Niedermayer
af5f9c0876
Merge commit '95d52464542f532061290192518d5fe1c1930e8d'
...
* commit '95d52464542f532061290192518d5fe1c1930e8d':
lavc: Add option to encode MPEG-2 AAC with libfdk-aac
Conflicts:
doc/APIchanges
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 10:57:04 +02:00
Michael Niedermayer
14a61bc3f9
Merge commit 'ace87c19ed4c4882d7b9b3ce512c4c195e39a203'
...
* commit 'ace87c19ed4c4882d7b9b3ce512c4c195e39a203':
configure: whitespace cosmetics
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 10:41:37 +02:00
Michael Niedermayer
1152863a3f
Merge commit '6dc6598692da3b0ebda2d768681786343f26a4f4'
...
* commit '6dc6598692da3b0ebda2d768681786343f26a4f4':
configure: Simplify an expression with enabled_all.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 10:16:12 +02:00
Rafaël Carré
e21307a2b0
lavf: don't abort if both encoder and muxer aspect ratios are not set
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-06-24 08:03:26 +02:00
Rafaël Carré
c3e58f8fb7
matroskaenc: restore compatibility with non referenced AVPacket
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-06-24 08:03:26 +02:00
Kieran Kunhya
95d5246454
lavc: Add option to encode MPEG-2 AAC with libfdk-aac
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-06-24 08:03:26 +02:00
Michael Niedermayer
5dba888dd5
msmpeg4: Fix ff_msmpeg4_pred_dc() so it works with lowres>0
...
Fixes Ticket2532
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 03:44:30 +02:00
Michael Niedermayer
46312fc2a9
cmdutils: dont change the log level for -report
...
Fixes Ticket2476
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-24 02:59:05 +02:00
Michael Niedermayer
9375f5003d
sonic: use av_freep() as its safer than av_free()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 19:45:39 +02:00
Michael Niedermayer
69d0a2922f
sonic: cleanup/simplify num_taps check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 19:44:24 +02:00
Michael Niedermayer
db27dadcb0
sonic: replace divide() by ROUNDED_DIV()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 19:42:24 +02:00
Ronald S. Bultje
c329713de7
vp8: wait for prev_frame to parse segment_map before reading it.
...
This fixes occasional failures of vp8-test-vector-010 with frame-level
multithreading enabled.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 17:13:58 +02:00
Michael Niedermayer
fb0df5c113
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: More msvc/icl combining
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 13:45:46 +02:00
Michael Niedermayer
780b1aa1ef
Merge commit 'f963f701d90bd7bb03e39aab4e59bd137084e082'
...
* commit 'f963f701d90bd7bb03e39aab4e59bd137084e082':
ogg: relax demuxer conformance checks
Conflicts:
libavformat/oggdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 13:21:21 +02:00
Michael Niedermayer
cc61ef0479
Merge commit '42cc6cefd315c1556e2a52f7ebe2f766ec82b790'
...
* commit '42cc6cefd315c1556e2a52f7ebe2f766ec82b790':
avconv: report the error for codec open failure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 12:56:55 +02:00
Michael Niedermayer
d894e64acc
Merge commit '1e340af8d6a97cc013a2ad8ba77c77129625a34f'
...
* commit '1e340af8d6a97cc013a2ad8ba77c77129625a34f':
avconv: drop additional strerror fallback
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 12:56:05 +02:00
Diego Biurrun
ace87c19ed
configure: whitespace cosmetics
2013-06-23 12:24:31 +02:00
Diego Biurrun
6dc6598692
configure: Simplify an expression with enabled_all.
2013-06-23 12:00:08 +02:00
Michael Niedermayer
730e07f10b
sonic: avoid float sqrt() for integer input & output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 01:35:34 +02:00
Michael Niedermayer
4ec7ef56bd
sonic: simplify quant cliping
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 01:35:34 +02:00
Michael Niedermayer
bcb42fb6db
sonic: use av_calloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-23 01:26:18 +02:00
Alex Smith
f11e4045b9
configure: More msvc/icl combining
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-22 17:00:57 -04:00
Oka Motofumi
81c5ceeda2
avisynth: Make sure the filename passed to Avisynth is in the right code page
...
Avisynth is a non-unicode application and cannot accept UTF-8
characters. Therefore, the input filename should be converted to
the code page that it expects.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-22 16:41:43 -04:00
Derek Buitenhuis
8bdbabfaa4
configure: Enable MinGW-w64's implementation of vsnprintf and pals
...
As of r5799 in MinGW-w64's trunk, which is he upcoming major version 3,
the POSIX-compliant vsnprintf implementation is disabled by default.
Enable it for this version. Keep using out own implementation for
prior versions, because it is broken in them.
Relevant Reference Thread: http://article.gmane.org/gmane.comp.gnu.mingw.w64.general/7133
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-06-22 16:37:40 -04:00
Michael Niedermayer
37c7a8be19
sonic: replace literal numbers by sizeof()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-22 22:25:18 +02:00
Michael Niedermayer
081a7f3ed0
sonic: replace some float by integers to improve platform independance
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-22 21:58:13 +02:00
Michael Niedermayer
12de2933da
sonic: Improve error codes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-22 21:42:04 +02:00
Michael Niedermayer
8689ee0eef
sonic: simplify shift_down()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-22 21:34:11 +02:00
Luca Barbato
f963f701d9
ogg: relax demuxer conformance checks
...
Some samples in the wild are missing headers that are expected by the
specification but in practice do not affect decoding.
2013-06-22 20:54:59 +02:00
Luca Barbato
42cc6cefd3
avconv: report the error for codec open failure
...
External codec may have corner case reason to fail at init, better
report them instead having the user wonder.
2013-06-22 20:54:59 +02:00
Luca Barbato
1e340af8d6
avconv: drop additional strerror fallback
...
strerror_r is called by av_strerror already.
2013-06-22 20:54:59 +02:00
Michael Niedermayer
b6ce50a2d4
avutil/ripemd: adjust loop condition to silence CID1035716
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-22 14:52:29 +02:00
Hendrik Leppkes
d76fff7df7
smvjpeg: use refcounted frames to avoid mem leaks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-22 11:58:46 +02:00
Hendrik Leppkes
1a405c683e
smvjpeg: remove redundant frame init code
...
avctx->coded_frame is not used for decoders anymore,
and av_frame_alloc does all the frame initialization required.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 21:53:34 +02:00
Hendrik Leppkes
7cdf574c22
swscale: fix filter alignment reduction without inline asm
...
Fixes scaling in MSVC/ICL, where inline asm is not present, but the
YASM scaling code is.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 21:01:11 +02:00
Michael Niedermayer
d6a33f5d20
h264: fix size of arrays in ff_h264_check_intra_pred_mode()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 20:48:07 +02:00
Michael Niedermayer
2005fddcbb
h264/ff_h264_check_intra_pred_mode: fix input value check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 20:48:07 +02:00
Stefano Sabatini
7cc4115dd6
doc/decoders,decoders: add various missing final dots
...
Enhance consistency.
2013-06-21 18:25:49 +02:00
Timothy Gu
83647ace73
doc/decoders: Add libopencore-amrwb decoder doc
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-06-21 18:19:37 +02:00
Stefano Sabatini
3f8750776f
doc/protocols: apply very minor consistency fixes
2013-06-21 17:47:34 +02:00
Andrey Utkin
3857aea6d9
doc/protocols: document "srtp" protocol
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-06-21 17:47:19 +02:00
Hendrik Leppkes
659df32a9d
mathops/x86: work around inline asm miscompilation with GCC 4.8.1
...
The volatile is not required here, and prevents a miscompilation with GCC
4.8.1 when building on x86 with --cpu=i686
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 12:47:03 +02:00
Timothy Gu
b43860ee0c
doc/decoders: Document libopencore-amrnb decoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 12:26:34 +02:00
Michael Niedermayer
1ee8fadb81
avdevice/x11grab: allocate just one Cursor
...
Fixes resource leak and Ticket2450
Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 12:00:11 +02:00
Michael Niedermayer
98abe16522
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavc: free the padded last frame during audio encoding properly
See: 7fff3df6b2
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 10:51:23 +02:00
Michael Niedermayer
5d509fbdcf
Merge commit 'eeeb5c291d3f78eaade5b99c2614c7cab0e9be79'
...
* commit 'eeeb5c291d3f78eaade5b99c2614c7cab0e9be79':
vsrc_movie: do not free avoption variables in uninit()
Conflicts:
libavfilter/src_movie.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 10:41:41 +02:00
Timothy Gu
8cdea50f6e
doc/decoders: Document libilbc decoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 03:46:22 +02:00
Michael Niedermayer
79cd5d39ba
avcodec/utvideodec: Fix vlc len
...
Fixes regression / Ticket2661
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 03:22:02 +02:00
Michael Niedermayer
c17dd513e7
bytestream2_init: assert that buf_size is valid
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 00:58:41 +02:00
Michael Niedermayer
32fc8d6db6
avcodec/jpeg2000dec: check that tp_end is after the start
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-21 00:58:41 +02:00
Michael Niedermayer
03cd3bec6e
avformat/iff: Byte seek is unsupported
...
Fixes Ticket2194
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-20 21:49:02 +02:00
Anton Khirnov
720a1de52f
lavc: free the padded last frame during audio encoding properly
2013-06-20 16:49:11 +02:00
Michael Niedermayer
c605adbf56
avformat/libmodplug: Reduce the probe score for small input
...
This ensures that theres enough data for mpeg_probe() to recognize mpeg-ps
Fixes Ticket2583
Based on code by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-20 14:58:50 +02:00
Andrey Utkin
2d70f11ef5
Document "sctp" protocol
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-20 14:56:40 +02:00
Anton Khirnov
eeeb5c291d
vsrc_movie: do not free avoption variables in uninit()
...
The generic code frees them as well. Since av_free was used to free them
instead of av_freep, this would result in a double free.
2013-06-20 13:27:14 +02:00
Michael Niedermayer
99dc90ea59
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Remove unneeded icl inline compatibility definition
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-20 10:29:10 +02:00
Andrey Utkin
f9739a34ad
Document "crypto" protocol
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-20 03:01:22 +02:00
Timothy Gu
c16496c377
doc/decoders: Document libgsm decoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-20 02:45:18 +02:00
Michael Niedermayer
37baeccef4
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Autodetect idcin only if audio properties allow decoding.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 22:13:35 +02:00
Jean Delvare
b08cd2fb94
delogo: Fix function description
...
The algorithm works on src and writes to dst, not the other way
around.
Signed-off-by: Jean Delvare <khali@linux-fr.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 22:13:12 +02:00
Carl Eugen Hoyos
06bede95fc
Autodetect idcin only if audio properties allow decoding.
...
Fixes ticket #2688 .
2013-06-19 17:07:44 +02:00
Compn
4110828e15
isom: add xd51 hdcam , someone needs to binary search FCP for new isom...
2013-06-19 10:43:48 -04:00
Michael Niedermayer
ddefb80c95
sonicenc: fix off by 1 error
...
Fixes out of array accesses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 10:06:38 +02:00
Michael Niedermayer
694c2d1ab3
sonicenc: dont put multiple assignments per line
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 10:06:10 +02:00
Alex Smith
e0d6e2fc67
configure: Remove unneeded icl inline compatibility definition
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-19 10:53:27 +03:00
Michael Niedermayer
6df61c3ae0
sonicenc: set supported samples formats array
...
This ensures that only supported formats are input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 09:50:01 +02:00
Michael Niedermayer
209cb8afe0
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer()
Conflicts:
libavfilter/audio.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 08:27:35 +02:00
Timothy Gu
9ead06057a
doc/encoders: Add libopencore-amrnb doc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 01:42:55 +02:00
Michael Niedermayer
602d0bfe67
Merge branch 'frame_num_offset' of https://github.com/mjmvisser/FFmpeg
...
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-19 01:25:50 +02:00
Mark Visser
2090abcc43
add the start_number offset to var_values[VAR_N] directly, instead of adding it in func_frame_num
2013-06-18 17:38:17 -04:00
Michael Niedermayer
f8ca8138f0
ff_gen_search: fix infinite loop
...
Fixes Ticket2639
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 22:53:00 +02:00
Michael Niedermayer
b3dd50cd0d
ff_gen_search: fix limit
...
The limit value could become slightly wrong in the last iteration
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 20:49:37 +02:00
Michael Niedermayer
9d73e30253
ff_gen_search: make step 64it to prevent hypothetical integer overflow
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 20:47:07 +02:00
Timothy Gu
e358044922
doc/decoders: Document libcelt
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 18:03:22 +02:00
Matthew Heaney
59b13750d2
Add maintainer for WebVTT demuxer and muxer
...
Matthew J Heaney is added to the list of ffmpeg maintainers, for the
WebVTT demuxer and muxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 18:02:30 +02:00
Michael Niedermayer
9626d0e906
avutil/frame: Try to align width to achive linesize[0] alignment
...
This results in more alignment for pixel formats that have "odd" pixel
sizes like RGB24. It makes access through SIMD easier
Works around Issue described in Ticket1031
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 16:50:07 +02:00
Anton Khirnov
c9c7bc4493
lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer()
...
This simplifies the code and avoids using libavcodec-specific
avcodec_fill_audio_frame().
2013-06-18 11:21:16 +02:00
Michael Niedermayer
e41bf19d2c
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavfi: math typo in interlace filter
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 09:31:05 +02:00
Michael Niedermayer
ca2818b881
swresample/x86/audio_convert: add emms to CONV
...
Might fix Ticket1874
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-18 02:26:36 +02:00
Janne Grunau
2ee380aefb
vaapi: return early from ff_vaapi_render_picture() without picture
...
Fixes an assertion when called on uninitialized frame. Spotted after
seeking in vlc.
Fixes ticket #2461 .
Tested-by: Timo
Reviewed-by: Joakim Plate
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at >
2013-06-18 01:56:06 +02:00
Carl Eugen Hoyos
28bf0d94aa
Revert "vaapi: return early from ff_vaapi_render_picture() without picture"
...
This reverts commit 4cbf245f2a2cd2170ca30b0788c2af5b506fe6d6.
I messed up the author information.
2013-06-18 01:54:30 +02:00
Carl Eugen Hoyos
3cbf245f2a
vaapi: return early from ff_vaapi_render_picture() without picture
...
Fixes an assertion when called on uninitialized frame. Spotted after
seeking in vlc.
Fixes ticket #2461 .
Tested-by: Timo
Reviewed-by: Joakim Plate
2013-06-18 00:21:09 +02:00
Alexander Strasser
ac604e446b
lavfi/src_movie: Use movie_common_init instead individual wrappers
...
Makes it easier to understand that there is no difference in init
callback for movie and amovie. Also saves a few lines of code.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2013-06-18 00:02:30 +02:00
Alexander Strasser
c679a1c358
lavfi/src_movie: Check pointer is not NULL before deref
...
Also do not check against empty string, the lower levels should
be able to deal with it.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2013-06-18 00:02:30 +02:00
Matthew Heaney
b24f15c45e
lavf: add WebVTT muxer.
...
This revision creates a WebVTT muxer, that outputs files having the
format described in the following specification:
http://dev.w3.org/html5/webvtt/
2013-06-17 22:28:19 +02:00
Michael Niedermayer
b4579a29c7
mmsh: dont close context on seeking failure
...
Fixes Ticket2581
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 22:03:36 +02:00
Michael Niedermayer
c7755c348b
mmsh/mmsh_close: use ffurl_closep()
...
avoid using freed pointers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 21:34:52 +02:00
Michael Niedermayer
0329345da2
mmsh/mmsh_close: use av_freep()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 21:33:12 +02:00
Michael Niedermayer
582f53349e
jpeg2000dec: make cblk->length(inc)/data use consistent
...
Fixes Ticket2612
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 20:08:51 +02:00
Clément Bœsch
de12b454f2
lavf/http: remove Mozilla/5.0 from user agent.
...
It is notably known to break playback on http streaming servers who use
the user agent to guess if it's a browser (to display a summary) or a
player (to stream the audio data).
This reverts 1fabd95 .
Fixes Ticket #2663 .
2013-06-17 17:06:11 +02:00
Vittorio Giovara
cd0faeee62
lavfi: math typo in interlace filter
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-17 12:25:43 +02:00
Marton Balint
96b33ddbd0
ffplay: remove remains of the old audio and video clock VideoState variables
...
The unified clock state holds this information now.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-17 01:18:07 +02:00
Marton Balint
05f0d53170
ffplay: fix missed conversion of video_current_pts to vidclk.pts in subtitles
...
Fixes regression with subtitles introduced in f2175a6 .
Fixes ticket #2666 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-17 01:18:07 +02:00
Marton Balint
f73d6d2af7
ffplay: cast vp->height to int64 in buffer size check
...
Fixes Coverity CID 1026769 and 1026756.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-17 01:18:07 +02:00
Michael Niedermayer
95275551ef
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
smacker: check frame size validity
Conflicts:
libavformat/smacker.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 01:04:33 +02:00
Michael Niedermayer
e99f324c14
Merge commit '58c95448e42d34910b939363949ba1a92c06b0b0'
...
* commit '58c95448e42d34910b939363949ba1a92c06b0b0':
smacker: pad the extradata allocation
Conflicts:
libavformat/smacker.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 00:44:32 +02:00
Michael Niedermayer
6c655b40ea
Merge commit 'bbb2945f2dfbc2306c1655bf7eb6e220912a9a7c'
...
* commit 'bbb2945f2dfbc2306c1655bf7eb6e220912a9a7c':
smacker: check the return value of smacker_decode_tree
Conflicts:
libavcodec/smacker.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 00:36:25 +02:00
Michael Niedermayer
85a3d20da5
Merge commit 'f52edef30197735bfb937e9e723ab1e7b31165c6'
...
* commit 'f52edef30197735bfb937e9e723ab1e7b31165c6':
smacker: fix an off by one in huff.length computation
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 00:34:07 +02:00
Michael Niedermayer
a4a2e894fc
Merge commit '985f34b75653d02eda8eb8def3412f8577f19b01'
...
* commit '985f34b75653d02eda8eb8def3412f8577f19b01':
utils: fix avcodec_flush_buffers pre-reference counting compatibility
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 00:21:22 +02:00
Michael Niedermayer
1f87cbe834
Merge commit 'df9f22d42b0905385629a9d368bb5a1eef2b45ef'
...
* commit 'df9f22d42b0905385629a9d368bb5a1eef2b45ef':
avf: move url utility functions in a separate file
Conflicts:
libavformat/internal.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-17 00:09:31 +02:00
Michael Niedermayer
8097307bfb
Merge commit '12db891dcd57b305d6e3c1e22ea8204dc26edda1'
...
* commit '12db891dcd57b305d6e3c1e22ea8204dc26edda1':
avf: move ff_write_chained to mux.c
Conflicts:
libavformat/mux.c
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 23:58:59 +02:00
Michael Niedermayer
bbdef61850
Merge commit '508998f7d5cc61c7ac7b049813b47adc24c6e282'
...
* commit '508998f7d5cc61c7ac7b049813b47adc24c6e282':
avf: move riff tags accessors where they belong
Conflicts:
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 23:52:08 +02:00
Michael Niedermayer
84f77f8423
Merge commit 'ec7c51c7868d3ccc66b5cc38bf126258b94f086c'
...
* commit 'ec7c51c7868d3ccc66b5cc38bf126258b94f086c':
avf: move ff_http_match_no_proxy to network
Conflicts:
libavformat/internal.h
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 23:45:42 +02:00
Michael Niedermayer
4a522eff00
Merge commit 'afc8685395e775fe0f2a1698b683aea4afd124af'
...
* commit 'afc8685395e775fe0f2a1698b683aea4afd124af':
avf: split off format register and lookup function
Conflicts:
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 23:38:27 +02:00
Michael Niedermayer
301522f521
Merge commit 'f80b60ad59945dae32bb26a4e239ed94b0e92fa3'
...
* commit 'f80b60ad59945dae32bb26a4e239ed94b0e92fa3':
bitstream: forward error values and drop few abort()
Conflicts:
libavcodec/bitstream.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 23:29:37 +02:00
Michael Niedermayer
9265bae356
Merge commit 'f776899a17dce32ad7fb9231d98f15558f37cc3f'
...
* commit 'f776899a17dce32ad7fb9231d98f15558f37cc3f':
bitstream: K&R formatting cosmetics
Conflicts:
libavcodec/bitstream.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 23:18:57 +02:00
Michael Niedermayer
9f91e7deec
Merge commit '9e80eda26d06c7c48dbec5dfe643c857c62c0ee7'
...
* commit '9e80eda26d06c7c48dbec5dfe643c857c62c0ee7':
h264_mp4toannexb_bsf: return a padded buffer
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 23:01:41 +02:00
Michael Niedermayer
0a5d22a195
Merge commit '8d929afd256069aa881f2bf58ef9f0ffce2d6b7e'
...
* commit '8d929afd256069aa881f2bf58ef9f0ffce2d6b7e':
h264_mp4toannexb_bsf: factor out extradata parsing
Conflicts:
libavcodec/h264_mp4toannexb_bsf.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 22:51:56 +02:00
Michael Niedermayer
46a5003a4a
Merge commit '5d21ca45591bb1c1d2265f8ed972d18c563f145e'
...
* commit '5d21ca45591bb1c1d2265f8ed972d18c563f145e':
h264_mp4toannexb_bsf: K&R formatting cosmetics
Conflicts:
libavcodec/h264_mp4toannexb_bsf.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 22:40:43 +02:00
Paul B Mahol
e997afdfc6
lavf: show APIC for tta files too
...
Fixes #2676 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-16 18:56:56 +00:00
Paul B Mahol
9ea7ff7955
tta: read ape tags last
...
Otherwise, cover art will create video stream with index 0.
Fixes #2677 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-16 18:56:56 +00:00
Michael Niedermayer
78d2d1e027
postprocess_template: put rsp on the clobber list to prevent gcc from using it in "q"
...
Fixes Ticket2675
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 18:21:39 +02:00
Kostya Shishkov
ee16a0ced0
smacker: check frame size validity
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-16 15:57:31 +02:00
Kostya Shishkov
58c95448e4
smacker: pad the extradata allocation
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-16 15:57:31 +02:00
Kostya Shishkov
bbb2945f2d
smacker: check the return value of smacker_decode_tree
...
Also prevent a memory leak.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-16 15:56:50 +02:00
Kostya Shishkov
f52edef301
smacker: fix an off by one in huff.length computation
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-16 15:55:53 +02:00
Michael Niedermayer
3b86174290
avcodec/jpeg2000dec: move bpno check to a earlier place
...
This prevents additional integer overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 15:27:39 +02:00
Janne Grunau
985f34b756
utils: fix avcodec_flush_buffers pre-reference counting compatibility
...
The to_free AVframe must be freed just like the other ones.
Indeed, the calling application may expect all frames to be
released.
(This regression caused use-after-free in VLC with hwaccel.)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-06-16 15:10:58 +02:00
Luca Barbato
df9f22d42b
avf: move url utility functions in a separate file
2013-06-16 15:01:39 +02:00
Luca Barbato
12db891dcd
avf: move ff_write_chained to mux.c
2013-06-16 14:41:07 +02:00
Luca Barbato
508998f7d5
avf: move riff tags accessors where they belong
2013-06-16 14:41:07 +02:00
Luca Barbato
ec7c51c786
avf: move ff_http_match_no_proxy to network
...
It is only used by network protocols.
2013-06-16 14:41:00 +02:00
Luca Barbato
afc8685395
avf: split off format register and lookup function
2013-06-16 14:00:40 +02:00
James Almer
3e17eec607
lavu/adler32: Fix doxy group definition, take two
...
The description if for the function, not the group.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 12:50:00 +02:00
James Almer
4a0d603072
lavu/hash: Add support for RIPEMD
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 12:49:39 +02:00
Hendrik Leppkes
8962da9ec3
rawdec: allocate a buffer in the appropriate size in the copy case.
...
Otherwise the created buffer can be smaller than buf_size, which results
in buffer overreads if the original image has extra padding on every line.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 09:50:16 +02:00
Luca Barbato
f80b60ad59
bitstream: forward error values and drop few abort()
2013-06-16 09:30:26 +02:00
Luca Barbato
f776899a17
bitstream: K&R formatting cosmetics
2013-06-16 09:30:25 +02:00
Michael Niedermayer
359af6a7c7
Merge branch 'crypto' of https://github.com/jamrial/FFmpeg
...
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-16 01:07:24 +02:00
James Almer
99b8cd0c81
lavu: Add RIPEMD hashing
...
Includes RIPEMD-128, RIPEMD-160, RIPEMD-256 and RIPEMD-320
Signed-off-by: James Almer <jamrial@gmail.com >
2013-06-15 18:54:01 -03:00
James Almer
1bb005ce54
lavf/md5enc: Use AV_HASH_MAX_SIZE
...
Also increase the buffer size in write_trailer(), since 128
is not enough anymore
Signed-off-by: James Almer <jamrial@gmail.com >
2013-06-15 18:50:11 -03:00
James Almer
b6249acae6
lavu/hash: Add support for SHA-2 512
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-06-15 18:49:12 -03:00
Paul B Mahol
8a79a009f9
lavu/utils: silence warnings about incompatible pointer types
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-15 21:47:45 +00:00
Andrey Utkin
194fde3834
Document "cache" protocol
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-15 23:26:18 +02:00
Luca Barbato
9e80eda26d
h264_mp4toannexb_bsf: return a padded buffer
...
The code using the returned buffer might expect it to be
FF_INPUT_BUFFER_PADDING_SIZE padded as any other avpacket.
2013-06-15 16:14:45 +02:00
Luca Barbato
8d929afd25
h264_mp4toannexb_bsf: factor out extradata parsing
2013-06-15 16:14:33 +02:00
Michael Niedermayer
6c4516d041
avcodec/vc1dec: Check source picture availability in vc1_mc_4mv_chroma4()
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-15 13:11:35 +02:00
Michael Niedermayer
1ba196a10d
avutil/utils: check and warn about llrint() brokenness
...
Such broken llrint() exist for example on netbsd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-15 11:22:22 +02:00
Luca Barbato
5d21ca4559
h264_mp4toannexb_bsf: K&R formatting cosmetics
2013-06-15 09:11:13 +02:00
James Almer
c4f932f4d7
lavu/md5: Add doxy
...
Mostly a copy&paste from other hash functions, with changes
where required.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-15 02:22:39 +02:00
James Almer
321906d341
lavu/crc: Fix doxy group definition
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-15 02:22:16 +02:00
James Almer
79d9ed4a43
lavu/adler32: Fix doxy group definition
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-15 02:22:00 +02:00
Mark Visser
0defc77e9d
added start_number parameter to drawtext to permit an offset to n/frame_num var
2013-06-14 17:05:19 -04:00
Michael Niedermayer
3c4c5ca1c1
avcodec/g2meet: Check monochrome cursor width
...
Fixes out of array write
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 21:14:31 +02:00
Michael Niedermayer
69e4d8e6a4
avcodec/jpeg2000dec: check len before parsing header
...
Fixes out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 19:34:00 +02:00
Michael Niedermayer
5deb96c564
avcodec/jpeg2000dec: Check Psot
...
Fixes out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 19:34:00 +02:00
Paul B Mahol
a75d2a6505
apetag: do not require seekable output
...
Also don't write empty tags.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-14 17:07:36 +00:00
Michael Niedermayer
7fff3df6b2
avcodec_encode_audio2: fix memleak on last padded frame
...
Regression introduced by 799f57ac96
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 15:21:23 +02:00
Peter Ross
d891d354c5
mpegts: Enable muxing of SMPTE KLV metadata
...
Muxer code rebased/split out by: Jeff Blackburne <jblackburne@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 13:41:40 +02:00
Hendrik Leppkes
59d3c24e28
vc1_parser: fix parsing of the frame headers in interlaced streams
...
first_pic_header_flag needs to be set to allow the parsing code to change
some stream parameters, and not error out.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 12:03:44 +02:00
Clément Bœsch
147adf2c4f
lavfi/spp: fix description.
2013-06-14 06:53:52 +02:00
Timothy Gu
6fe419bf73
doc/general: Make the license status of the Android libraries clearer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 03:58:39 +02:00
Jean Delvare
cef42ded8d
drawbox: Respect thickness parameter
...
The drawbox video filter is drawing lines one pixel thinner than
requested. The default thickness is 4 pixel but in fact the lines
drawn by default are only 3 pixel wide.
Change the comparisons in the code to fix this off-by-one bug. Also
change the default thickness from 4 to 3 to minimize the unexpected
changes from the user's perspective.
As I was already touching these lines, I also removed the "maximum" in
the thickness parameter description, as I don't think it was adding
any value and I even found it confusing.
Reviewed-by: Andrey Utkin <andrey.krieger.utkin@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 03:52:32 +02:00
Michael Niedermayer
e850a064ce
jpeg2000dec: Check compno in get_coc()
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 01:55:43 +02:00
Clément Bœsch
852f74bd85
lavfi/mp: remove mp=spp.
...
The filter was ported to a native libavfilter filter.
2013-06-14 01:27:22 +02:00
Clément Bœsch
a2c547ffec
lavfi: add spp filter.
2013-06-14 01:27:22 +02:00
Michael Niedermayer
129edcb50f
jpeg2000dec: dont set ncomponents to an invalid value
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-14 00:36:45 +02:00
Paul B Mahol
ff0bdf9375
lavc: copy AVCodecContext for threads
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-13 21:49:18 +00:00
Michael Niedermayer
c112e36d41
flacdec: Fix used AVCodecContext
...
Fixes out of array writes with multiple threads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 22:31:54 +02:00
Michael Niedermayer
fa125c5e82
avutil/timestamp: remove ""
...
This may fix an error with C++
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 14:57:00 +02:00
Michael Niedermayer
a9821bdafb
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
4xm: check bitstream_size boundary before using it
Conflicts:
libavcodec/4xm.c
See: 9c661e95
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 14:51:59 +02:00
Michael Niedermayer
e9f2e9715b
Merge commit 'fbd0dacc8d61ab418b3fa8e7be22017558323e56'
...
* commit 'fbd0dacc8d61ab418b3fa8e7be22017558323e56':
4xm: refactor decode_p_block
Conflicts:
libavcodec/4xm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 14:39:21 +02:00
Michael Niedermayer
27e8298c03
Merge commit '94aefb1932be882fd93f66cf790ceb19ff575c19'
...
* commit '94aefb1932be882fd93f66cf790ceb19ff575c19':
4xm: do not overread the source buffer in decode_p_block
Conflicts:
libavcodec/4xm.c
The checks are replaced by av_assert0() as the conditions should
be impossible. If these asserts fail, there is a bug elsewhere
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 14:10:06 +02:00
Michael Niedermayer
67d5d97cdc
Merge commit 'be373cb50d3c411366fec7eef2eb3681abe48f96'
...
* commit 'be373cb50d3c411366fec7eef2eb3681abe48f96':
4xm: do not overread the prestream buffer
Conflicts:
libavcodec/4xm.c
See: 9c661e95
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 13:57:07 +02:00
Michael Niedermayer
dbddd587e1
Merge commit 'de2e5777e225e75813daf2373c95e223651fd89a'
...
* commit 'de2e5777e225e75813daf2373c95e223651fd89a':
4xm: validate the buffer size before parsing it
Conflicts:
libavcodec/4xm.c
See: 9c661e95
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 13:41:27 +02:00
Michael Niedermayer
f13f4d2b08
Merge commit '145023f57262d21474e35b4a6069cf95136339d4'
...
* commit '145023f57262d21474e35b4a6069cf95136339d4':
4xm: reject frames not compatible with the declared version
See: c433823750
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 13:14:42 +02:00
Michael Niedermayer
18cb3d355f
Merge commit '1f0c6075604c271d5627480f1243d22795f9a315'
...
* commit '1f0c6075604c271d5627480f1243d22795f9a315':
4xm: drop pointless assert
Conflicts:
libavcodec/4xm.c
The added condition is impossible to occur and thus is added to the assert.
The assert is not removed from the default case, as the default case cannot
occur. Thus either it should stay as is or the case as a whole be removed.
For extra safety, to ensure this doesnt change the assert is changed to
av_assert0()
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 13:06:22 +02:00
Michael Niedermayer
e5558391b5
Merge commit 'b8b809908ec547b2609dbac24194f4fd2df61aea'
...
* commit 'b8b809908ec547b2609dbac24194f4fd2df61aea':
4xm: forward errors from decode_p_block
Conflicts:
libavcodec/4xm.c
Impossible to be false check has been replaced by av_assert0()
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 12:24:00 +02:00
Michael Niedermayer
294af51401
Merge commit '50ec1db62d977b6e864f315a53c1c580a6d7efa4'
...
* commit '50ec1db62d977b6e864f315a53c1c580a6d7efa4':
4xm: fold last_picture lazy allocation in decode_p_frame
Conflicts:
libavcodec/4xm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 12:12:33 +02:00
Michael Niedermayer
4027e13663
Merge commit '42d73f7f6bea0ee0f64a3ad4882860ce5b923a11'
...
* commit '42d73f7f6bea0ee0f64a3ad4882860ce5b923a11':
4xm: do not overread while parsing header
Conflicts:
libavformat/4xm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 11:56:31 +02:00
Michael Niedermayer
60657ee37a
Merge commit 'e7a44f87d07655ec0cd31c315936931674434340'
...
* commit 'e7a44f87d07655ec0cd31c315936931674434340':
4xm: refactor fourxm_read_header
Conflicts:
libavformat/4xm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 10:08:50 +02:00
Michael Niedermayer
90c8863a74
Merge commit 'e6496ea7e7ea7355167a1ccbe67a7199d446a654'
...
* commit 'e6496ea7e7ea7355167a1ccbe67a7199d446a654':
4xm: K&R formatting cosmetics
Conflicts:
libavformat/4xm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 09:50:42 +02:00
Michael Niedermayer
5c3e5651dd
Merge commit '08859d19b429c522d6494c186656f4a2d3ff8e21'
...
* commit '08859d19b429c522d6494c186656f4a2d3ff8e21':
4xm: use the correct logging context
g2meet: Fix a typo in the height comparison
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 09:41:45 +02:00
Michael Niedermayer
443b29e475
h264: Try parsing SPS as complete NAL in more cases
...
Fixes Ticket2580
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-13 01:43:09 +02:00
Stefano Sabatini
28aed88b73
require --enable-gpl for using the frei0r filter
...
frei0r license is GPL.
Based on a patch by Timothy Gu <timothygu99@gmail.com >.
See thread:
Subject: [FFmpeg-devel] [PATCH 1/2] LICENSE: Complete GPL'd external libraries list
Date: Thu, 6 Jun 2013 18:55:30 -0700
2013-06-13 01:40:24 +02:00
Stefano Sabatini
e0135a4bcd
lavfi/rotate: add angle command
2013-06-13 01:21:47 +02:00
Stefano Sabatini
6397264e84
tests: add filter-pixfmts-rotate test
2013-06-13 01:21:47 +02:00
Stefano Sabatini
dc5e26d67f
lavfi: add rotate filter
...
Based on the libavfilter SOC filter by Vitor Sessak, with the following additions:
* integer arithmetic
* bilinear interpolation
* RGB path
* configurable parametric angle, output width and height
Address trac issue #1500 .
See thread:
Subject: [FFmpeg-devel] [WIP] rotate filter(s)
Date: 2010-10-03 17:35:49 GMT
2013-06-13 01:21:47 +02:00
Timothy Gu
0ec65aa104
doc/encoders: Add libvo-amrwbenc doc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-12 23:37:35 +02:00
Michael Niedermayer
8aea2f05dc
alacenc: Fix missing sign_extend()
...
Possibly fixes Ticket2497
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-12 16:23:49 +02:00
Luca Barbato
59d7bb99b6
4xm: check bitstream_size boundary before using it
...
Prevent buffer overread.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-12 14:45:46 +02:00
Luca Barbato
fbd0dacc8d
4xm: refactor decode_p_block
...
Directly return from code 1, 2 and 6 codepaths and simplify the
remaining one to have a single overflow check and a single call to
mcdc.
2013-06-12 14:45:46 +02:00
Luca Barbato
94aefb1932
4xm: do not overread the source buffer in decode_p_block
...
Check for out of picture macroblocks before calling mcdc.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-12 14:45:46 +02:00
Luca Barbato
be373cb50d
4xm: do not overread the prestream buffer
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-12 14:45:46 +02:00
Luca Barbato
de2e5777e2
4xm: validate the buffer size before parsing it
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-12 14:45:46 +02:00
Luca Barbato
145023f572
4xm: reject frames not compatible with the declared version
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-12 14:45:46 +02:00
Luca Barbato
1f0c607560
4xm: drop pointless assert
...
Make sure the value of wlog2 is always between 0 and 3.
2013-06-12 14:45:46 +02:00
Luca Barbato
b8b809908e
4xm: forward errors from decode_p_block
...
Partially mitigate out of memory writes.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-12 14:45:46 +02:00
Luca Barbato
50ec1db62d
4xm: fold last_picture lazy allocation in decode_p_frame
2013-06-12 14:45:46 +02:00
Luca Barbato
42d73f7f6b
4xm: do not overread while parsing header
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-12 14:45:46 +02:00
Luca Barbato
e7a44f87d0
4xm: refactor fourxm_read_header
...
Split sound and video tag parsing in separate functions.
2013-06-12 14:45:46 +02:00
Luca Barbato
e6496ea7e7
4xm: K&R formatting cosmetics
2013-06-12 14:45:46 +02:00
Luca Barbato
08859d19b4
4xm: use the correct logging context
2013-06-12 14:45:46 +02:00
Michael Niedermayer
7ad5708691
g2meet: Fix a typo in the height comparison
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-12 13:45:53 +02:00
Michael Niedermayer
d3c4ea8b35
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
g2meet: do not leak buffers
g2meet: more graceful cursor loading
g2meet: reset dimensions on header parsing errors
Conflicts:
libavcodec/g2meet.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-12 11:53:27 +02:00
Kostya Shishkov
7dfc3381dd
g2meet: do not leak buffers
2013-06-12 09:54:45 +02:00
Kostya Shishkov
4d960d7f60
g2meet: more graceful cursor loading
2013-06-12 09:54:45 +02:00
Kostya Shishkov
767ae86cee
g2meet: reset dimensions on header parsing errors
2013-06-12 09:54:45 +02:00
James Almer
1163910a00
fate: Add test vectors for HMAC SHA and SHA-2
...
Also replace custom tests for MD5 with those published in RFC 2202
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-12 01:48:23 +02:00
James Almer
82ef67016e
lavu/hmac: Add support for SHA-2
...
Includes HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512.
Tested using test vectors from https://tools.ietf.org/html/rfc4231
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-12 01:47:42 +02:00
Alexandre Sicard
b1d61eb7aa
avformat/mov: ignore samples overflowing next_root_atom
...
This fixes #2657 .
ISML movies produced by Microsoft Expression Encoder 4 seem to have invalid
sample entries in their trun/tfhd for data tracks. As a result, too much bytes
are read for these tracks to the point that next_root_atom can go out of
buffer, which makes the encoding fail if the input is not seekable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-12 00:51:38 +02:00
Paul B Mahol
df084adbf7
doc/general: s/Libav/FFmpeg
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-11 20:53:21 +00:00
Paul B Mahol
0354bc39eb
fate: wavpack: add more dependencies
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-11 20:50:42 +00:00
Michael Niedermayer
73d5cf8f43
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavc: add a libwavpack encoder wrapper
Conflicts:
Changelog
doc/encoders.texi
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 09:36:34 +02:00
Michael Niedermayer
5d199c3ad9
Merge commit '799f57ac96f9891d1a0f7d6c4b218ed536e8aca5'
...
* commit '799f57ac96f9891d1a0f7d6c4b218ed536e8aca5':
lavc: use AVFrame API properly in pad_last_frame().
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 09:27:04 +02:00
Michael Niedermayer
045e371cf1
Merge commit '8835c554ff506992c47f6e347c74216ae073f0fa'
...
* commit '8835c554ff506992c47f6e347c74216ae073f0fa':
matroskadec: introduce resync function.
Conflicts:
libavformat/matroskadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 09:16:13 +02:00
Michael Niedermayer
529ebc90f2
Merge commit '3965d404ccd9b6cac95c4aee6cb668845031b685'
...
* commit '3965d404ccd9b6cac95c4aee6cb668845031b685':
configure: Don't add -fPIC on windows targets
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 08:53:37 +02:00
Michael Niedermayer
f556f27d29
Merge commit '3fd0d166aa240ef547482d1af397c4a653031c2d'
...
* commit '3fd0d166aa240ef547482d1af397c4a653031c2d':
configure: Don't explicitly disable PIC for windows targets
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 08:38:16 +02:00
Michael Niedermayer
1603c9bd9c
Merge commit '2aa3325454545b63cd63e3d5884f8558790d51df'
...
* commit '2aa3325454545b63cd63e3d5884f8558790d51df':
configure: arm: Don't try to enable pic for shared libraries on win32
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 08:28:00 +02:00
Michael Niedermayer
0f88a98b43
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Check more completely for invalid pix_fmts in planarRgb16ToRgb16Wrapper()
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 02:07:08 +02:00
Michael Niedermayer
175e916fa2
avcodec/utils: Fix encoder allocation size
...
Fixes Ticket2645
Found-by: Darrell Walisser
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-11 01:15:39 +02:00
Carl Eugen Hoyos
7800b09ece
Check more completely for invalid pix_fmts in planarRgb16ToRgb16Wrapper()
...
This makes the conversion function more robust.
2013-06-11 01:14:38 +02:00
Stefano Sabatini
57655c6080
doc/metadata: add notes and examples regarding metadata usage with ffmpeg
2013-06-11 01:07:16 +02:00
Michael Niedermayer
d3e89f2641
vf_sab: Fix memleak
...
Fixes CID1030353
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 22:00:43 +02:00
Anton Khirnov
84d3ff50cd
lavc: add a libwavpack encoder wrapper
2013-06-10 21:33:48 +02:00
Anton Khirnov
799f57ac96
lavc: use AVFrame API properly in pad_last_frame().
...
This also simplifies the code.
2013-06-10 21:19:51 +02:00
Sean McGovern
8835c554ff
matroskadec: introduce resync function.
...
This allows handling matroska files with errors.
Fixes test4.mkv and test7.mkv from the official Matroska test suite,
and by extension Bugzilla #62 .
Based on a patch by Reimar Doffinger <Reimar.Doeffinger@gmx.de >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-06-10 20:51:35 +02:00
Michael Niedermayer
8e887ca1fe
jpeg2000dec: Check bpno in decode_cblk()
...
Fixes integer overflow in fate-redcode-demux
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 17:13:46 +02:00
Michael Niedermayer
d5caf10c4f
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Accept incomplete http cookies without domain.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 16:12:37 +02:00
Michael Niedermayer
e473f7e659
(lib)utvideodec: remove setting of color_primaries
...
Thanks-to: Paranoialmaniac
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 16:00:59 +02:00
Martin Storsjö
3965d404cc
configure: Don't add -fPIC on windows targets
...
This avoids warnings about this option not having any effect on
this platform.
We still want to enable the pic configure item for these platforms
(if detected via the compiler builtin define __PIC__) to get proper
inline assembly workarounds.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-10 14:32:13 +03:00
Martin Storsjö
3fd0d166aa
configure: Don't explicitly disable PIC for windows targets
...
This reverts e08c946c6 and 05165c2f7a . The actual intention of
e08c946c6 was to fix shared library builds for arm/win32, which
can also be accomplished in other ways.
Disabling pic on those platforms broke inline assembly on cygwin/64
(since some inline assembly requires knowing whether we are building
as PIC or not), and might also break inline assembly on other
compilers on windows.
As a side-effect, this unfortunately brings back all the warnings
about PIC not having any effect on that platform.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-10 14:32:10 +03:00
Martin Storsjö
2aa3325454
configure: arm: Don't try to enable pic for shared libraries on win32
...
The object file format doesn't support PIC loads in ARM assembly,
there are no relocation types in PE/COFF that correspond to
BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-10 14:32:06 +03:00
Carl Eugen Hoyos
e9df8f7725
Accept incomplete http cookies without domain.
...
Works around a bug in some servers that apparently send incomplete cookies.
Fixes a part of ticket #2619 .
Reviewed-by: Micah Galizia
2013-06-10 10:52:40 +02:00
Michael Niedermayer
9908607363
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
utvideodec: Set colorspace by codec_tag.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 10:43:43 +02:00
Michael Niedermayer
42b8296f36
Merge commit '2578f1efd64f4efc30114c328d1eff9030429e59'
...
* commit '2578f1efd64f4efc30114c328d1eff9030429e59':
riff: Support ULH0 and ULH2 fourccs.
utvideodec: Support ULH0 and ULH2 formats.
Conflicts:
libavcodec/utvideodec.c
libavformat/riff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 10:39:14 +02:00
Stephen Hutchinson
3f54547709
utvideo: Add ULH0 and ULH2 decoding to the native decoder.
...
Also prevents an error since the native decoder (if enabled) is
always used to probe Ut Video-encoded files, even if the user
forces libutvideo to be the decoder. Without this patch, the probe
would fail, and the video wouldn't get properly handed over,
resulting in failure to set codec parameters. When the native
decoder is disabled, libutvideo can probe and initialize decoding
without issues.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 10:15:13 +02:00
Stephen Hutchinson
8ed6c13fe3
libutvideo: Add ULH0 and ULH2 decoding when using version 13.0.1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 10:12:15 +02:00
Yusuke Nakamura
252ee3d39b
utvideodec: Set colorspace by codec_tag.
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com >
2013-06-10 09:38:22 +02:00
Yusuke Nakamura
2578f1efd6
riff: Support ULH0 and ULH2 fourccs.
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com >
2013-06-10 09:37:53 +02:00
Yusuke Nakamura
b441fdeb15
utvideodec: Support ULH0 and ULH2 formats.
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com >
2013-06-10 09:37:53 +02:00
Michael Niedermayer
0047da071e
swscale/swscale_unscaled: add ()
...
Fixes order of operations
Fixes CID1030350
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 03:34:33 +02:00
Michael Niedermayer
d62030ffca
swresample/rematrix_template: Fix integer overflow in mix8to2
...
Fixes: CID1030352
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 03:03:17 +02:00
Michael Niedermayer
b04bbe6b86
swresample/rematrix_template: Fix integer overflow in mix6to2
...
Fixes: CID1030351
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-10 03:03:12 +02:00
Carl Eugen Hoyos
052838f765
Insert a newline before showing embedded svq1 messages.
...
Messages may start with a carriage return.
2013-06-09 19:25:43 +02:00
Michael Niedermayer
6241e8a382
id2v2: check the return value of decode_str()
...
Fixes CID1030348
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-09 17:25:39 +02:00
Michael Niedermayer
2d8f880a9b
g2meet: fix typo in height comparission
...
Fixes CID1030349
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-09 16:55:10 +02:00
Michael Niedermayer
ada497e616
g2meet: Check cursor parameters before writing them in the context
...
Fixes out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-09 12:00:57 +02:00
Michael Niedermayer
6d3bcbb211
avcodec/g2meet: check framebuf has been allocated before use
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-09 03:09:26 +02:00
Carl Eugen Hoyos
c153ea4756
Support decoding G.722 in aiff.
2013-06-09 01:10:36 +02:00
Clément Bœsch
b77e58aad3
lavfi/pp: set out frame size.
...
w/h from input frame are not copied in av_frame_copy_props(). This
commit avoids a mismatch between aligned_[wh] and outbuf->{width,height}
(and thus avoids triggering an assert in avfilter because of this).
2013-06-08 23:23:30 +02:00
Michael Niedermayer
2a91038e13
avformat/wavdec: Dont rescale timestamps but use exact comparission
...
Fixes integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 20:02:22 +02:00
Michael Niedermayer
9e9ec5ad2a
smvjpegdec: No frame at all is an error
...
This fixes a infinite loop
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 20:02:22 +02:00
Paul B Mahol
b94f045b18
wavpack: add missing .\n to entropy error message
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-08 17:39:54 +00:00
Paul B Mahol
9644fc95be
matroskadec: move ALAC extradata creation bellow AAC one
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-08 17:39:51 +00:00
Michael Niedermayer
33fb22f800
Merge remote-tracking branch 'lukaszmluki/master'
...
* lukaszmluki/master:
ftp: add invalid code for RETR operation
ftp: probe seek capability
ftp: fix seeking beyond file size
ftp: abort function optimalization
ftp: explicit return code checks
ftp: fix flush control connection input
ftp: reconnect on tcp read error
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 15:59:12 +02:00
Michael Niedermayer
f320b00541
doc/codecs: Mention relation of the experimental setting and codecs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 14:14:27 +02:00
Timothy Gu
ba7cb4807f
doc/encoders: Add libvo-aacenc doc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 13:52:34 +02:00
Michael Niedermayer
f973f17416
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
faxcompr: return meaningful errors
Conflicts:
libavcodec/faxcompr.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 12:38:18 +02:00
Michael Niedermayer
a5a9bcc876
Merge commit 'f32aefcf349f2f1367f0143782397643416d18f3'
...
* commit 'f32aefcf349f2f1367f0143782397643416d18f3':
faxcompr: K&R formatting cosmetics
Conflicts:
libavcodec/faxcompr.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 12:30:15 +02:00
Michael Niedermayer
d0b27eab92
Merge commit '9c2216976907336dfae0e8e38a4d70ca2465a92c'
...
* commit '9c2216976907336dfae0e8e38a4d70ca2465a92c':
tiff: do not overread the source buffer
Conflicts:
libavcodec/tiff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 12:21:14 +02:00
Michael Niedermayer
dc318505d0
Merge commit '999ccd2d0a43640921088578f138c874f6cc0f8a'
...
* commit '999ccd2d0a43640921088578f138c874f6cc0f8a':
tiff: cleanup the error paths
Conflicts:
libavcodec/tiff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 11:41:58 +02:00
Michael Niedermayer
1fec361f35
Merge commit '016c5b066de08a93a5f6b5beb0ef377356b35cde'
...
* commit '016c5b066de08a93a5f6b5beb0ef377356b35cde':
tiff: refactor fax support in a separate function
Conflicts:
libavcodec/tiff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 11:32:34 +02:00
Michael Niedermayer
a804632b15
Merge commit '103937681d7e6afd3e8caf8937272575e450fb55'
...
* commit '103937681d7e6afd3e8caf8937272575e450fb55':
tiff: refactor deflate support in a separate function
Conflicts:
libavcodec/tiff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 11:23:49 +02:00
Michael Niedermayer
e2d4bcd7b8
Merge commit 'f8a4d5e970f32f8cc747f9fa7bd975ee4a060ea1'
...
* commit 'f8a4d5e970f32f8cc747f9fa7bd975ee4a060ea1':
h264_parser: K&R formatting cosmetics
vorbis: return meaningful errors
Conflicts:
libavcodec/h264_parser.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 10:50:24 +02:00
Lukasz Marek
ff35c7cdfa
ftp: add invalid code for RETR operation
...
554 is possible invalid code:
- Restart not valid
- Command terminated due to server shutdown in progress
- etc...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:34 +02:00
Lukasz Marek
89b4800eef
ftp: probe seek capability
...
Make FTP streamed when server doesn't accept REST command
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:34 +02:00
Lukasz Marek
eeedca4b7f
ftp: fix seeking beyond file size
...
adjust to ff* tools seek nature
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:33 +02:00
Lukasz Marek
4d617715c9
ftp: abort function optimalization
...
It seems some ftp servers doesn't respect ABOR command,
but closing both connection is slow.
This commit keeps control connection open when possible.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 04:17:26 +02:00
Lukasz Marek
bc29acdc76
ftp: explicit return code checks
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 03:54:55 +02:00
Lukasz Marek
43eda88200
ftp: fix flush control connection input
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 03:54:55 +02:00
Lukasz Marek
23a76b71de
ftp: reconnect on tcp read error
...
This commit reconnect both connections and retries before ftp_read returns an error.
Practical use case: resume after lock screen on iOS devices.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-08 03:54:55 +02:00
Michael Niedermayer
56abad0ee4
avcodec/smvjpegdec: copy palette too
...
Fixes out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-08 01:20:55 +02:00
Michael Niedermayer
5b9917ec2b
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Do not offer smvjpeg lowres capabilities, the decoder does not support it.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-07 21:38:54 +02:00
Michael Niedermayer
467e7a8f26
avcodec/smvjpegdec: check that frames_per_jpeg cleanly divides height
...
Fixes out of array access
If some valid files fail this check then please open a ticket and ping me and the smvjpegdec maintainer.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-07 20:39:05 +02:00
Carl Eugen Hoyos
7ce011e054
Do not offer smvjpeg lowres capabilities, the decoder does not support it.
...
Reviewed-by: Ash Hughes
2013-06-07 19:40:03 +02:00
Luca Barbato
a3b2b83f01
faxcompr: return meaningful errors
...
And optionally forward them to the caller instead of concealing them.
Unify err and ret in a single variable.
2013-06-07 17:23:53 +02:00
Luca Barbato
f32aefcf34
faxcompr: K&R formatting cosmetics
2013-06-07 17:23:53 +02:00
Luca Barbato
9c22169769
tiff: do not overread the source buffer
...
At least 2 bytes from the source are read every loop.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-06-07 17:23:53 +02:00
Luca Barbato
999ccd2d0a
tiff: cleanup the error paths
...
Return the proper error values and optionally report them.
2013-06-07 17:23:53 +02:00
Luca Barbato
016c5b066d
tiff: refactor fax support in a separate function
2013-06-07 17:23:53 +02:00
Luca Barbato
103937681d
tiff: refactor deflate support in a separate function
...
Report when zlib support is missing.
2013-06-07 17:23:53 +02:00
Luca Barbato
f8a4d5e970
h264_parser: K&R formatting cosmetics
2013-06-07 16:54:55 +02:00
Luca Barbato
92b3caa108
vorbis: return meaningful errors
2013-06-07 16:54:16 +02:00
Tim.Nicholson
0ea1356137
doc/filters: fix alias option name for chroma_mode in 'il' filter.
2013-06-07 16:34:00 +02:00
Alexandre Sicard
8912029031
avformat/mov: compute dts_shift with trun cts
...
Some movies have negative composition time offsets in their trun, causing pts <
dts errors. This patch makes use of dts_shift to handle them.
Signed-off-by: Alexandre Sicard <alexandre.sicard@smartjog.com >
2013-06-07 16:30:27 +02:00
Paul B Mahol
c59c0488ec
cmdutils: print threading capabilities for audio codecs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-07 14:24:52 +00:00
Michael Niedermayer
bce2ed5559
smvjpegdec: only extract picture when a picture has been decoded.
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-07 14:36:45 +02:00
Paul B Mahol
369684f109
tta: unbreak demuxing of files with id3 tags at start of file
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-07 10:39:21 +00:00
Paul B Mahol
5bafe0ce44
tta: replace datalen with nb_samples
...
This is less confusing.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-07 09:49:04 +00:00
Paul B Mahol
dc5c029f02
sonicenc: don't allocate unused avctx->coded_frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-07 09:29:34 +00:00
Paul B Mahol
5285a7549f
pcmenc: don't allocate unused avctx->coded_frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-07 09:29:34 +00:00
Paul B Mahol
739d6a78b7
alacenc: don't allocate unused avctx->coded_frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-07 09:29:33 +00:00
Paul B Mahol
379fcc4955
id3v2: read all textual chapter subframes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-07 09:28:07 +00:00
Atli Thorbjornsson
f3c51215ce
flvdec: Fix mistakenly discarding metadata at dts==0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-07 11:11:59 +02:00
Michael Niedermayer
9c9d2e9c77
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
rtpdec: Fix the alphabetical ordering in registering depacketizers
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-07 10:17:20 +02:00
Michael Niedermayer
a18bf95a8e
Merge commit '2681924b0f3f35840dd9d9825df9f9239c448b22'
...
* commit '2681924b0f3f35840dd9d9825df9f9239c448b22':
libavformat: Fix standalone compilation of the webm muxer
Conflicts:
libavformat/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-07 10:12:46 +02:00
Clément Bœsch
f97e28ebe5
lavfi/lut3d: add sanity checks.
...
Should fix CID1026775 and CID1026774.
2013-06-07 01:48:41 +02:00
Carl Eugen Hoyos
d5978c8678
Add unscaled converter from GBRP > 8bit to RGBx48/64.
...
Fixes ticket #2633 .
Tested-by: Michael Cinquin
2013-06-06 23:57:50 +02:00
Paul B Mahol
86005184e3
tiff: simplify picking right pixel format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-06 21:42:02 +00:00
Paul B Mahol
61d900fd0d
lavc: add ONLY_IF_THREADS_ENABLED where it is missing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-06 20:17:36 +00:00
Michael Niedermayer
ffb1051b9b
jpeg2000: Zero prec->cblk
...
Prevent use of uninitialized memory / valgrind failure
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 22:02:54 +02:00
Michael Niedermayer
7c3a296b4f
jpeg2000dec: fix av_log()
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 21:52:49 +02:00
Paul B Mahol
8cc8adaa88
tiff: correctly decode saparate planes with horizontal differencing predictor
...
Closes #2648 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-06 19:47:46 +00:00
Clément Bœsch
00f4998997
lavf/tee: pesudo → pseudo.
2013-06-06 20:29:38 +02:00
Paul B Mahol
3554238863
lavfi/il: add timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-06 17:44:54 +00:00
Paul B Mahol
7d01533371
lavfi/framestep: cosmetics: reindent AVFilter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-06 17:19:16 +00:00
Paul B Mahol
27d3d61343
lavfi/framestep: add timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-06 17:17:14 +00:00
Martin Storsjö
aa2c918f7d
rtpdec: Fix the alphabetical ordering in registering depacketizers
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-06 19:56:05 +03:00
Martin Storsjö
2681924b0f
libavformat: Fix standalone compilation of the webm muxer
...
The missing object file was added to the matroska muxer already, but
not to the webm muxer.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-06 19:55:53 +03:00
James Almer
b06717ef40
APIchanges: Add missing entry for SHA-2 512
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 18:13:06 +02:00
Stefano Sabatini
4da5402256
ffprobe: show chapter and chapter metadata information
...
Address trac ticket #2636 .
2013-06-06 16:49:53 +02:00
Michael Niedermayer
21d0f75f29
jpeg2000dec: check that we have enough components for MCT
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 16:06:48 +02:00
Michael Niedermayer
c49d94487c
jpeg2000dec: Use the matching coding style struct for transform selection
...
Fixes a null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 15:38:05 +02:00
Carl Eugen Hoyos
75b9fb27f5
lavf/hlsenc: fix bogus hls segment index rewrapping logic
...
The counter should not be reset since it detects the
hls segment increasing timeframe.
Fixes ticket #2643 .
Reviewed-by: Stefano Sabatini
2013-06-06 12:09:38 +02:00
Michael Niedermayer
b26bcd08e6
jpeg2000dec: Check that theres a SOT before SOD
...
Fixes out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 10:51:07 +02:00
Michael Niedermayer
c51654fbc0
jpeg2000dec: Support 4 tile parts
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 03:10:42 +02:00
Paul B Mahol
a28f4fd1ea
flacdec: don't call allocate_buffers() in init_thread_copy() when s->max_blocksize is 0
...
This is normal, and happens when no extradata was available at decoder
initialization.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-06 01:06:45 +00:00
Michael Niedermayer
c59ce1c98e
get_qcc: Check compno
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-06 02:26:22 +02:00
Paul B Mahol
b28851a1d6
alac: frame multi-threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-05 22:35:32 +00:00
Paul B Mahol
9684d7f1a2
wavpack: frame multi-threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-05 22:35:32 +00:00
Paul B Mahol
495db0e3b0
ttadec: frame multi-threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-05 22:35:32 +00:00
Paul B Mahol
9300de0409
flacdec: frame multi-threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-05 22:35:31 +00:00
Paul B Mahol
d97044640c
takdec: frame multi-threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-05 22:35:31 +00:00
Paul B Mahol
d5f7f1fef1
audio frame multi-threaded decoding
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-05 22:35:31 +00:00
Michael Niedermayer
258a05b216
MAINTAINERS: add fingerprint of the FFmpeg release signing key
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 23:31:19 +02:00
Michael Niedermayer
bbc19010ed
jpeg2000dec: return error for invalid cdxy values
...
Fixes division by 0
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 23:31:19 +02:00
Stefano Sabatini
702c1bf240
Changelog: add missing entries about new mcdeint and sab filters
2013-06-05 19:35:37 +02:00
Michael Niedermayer
2c2a8f70f5
jpeg2000: Make nreslevel fields int
...
This prevents potential integer overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 18:34:07 +02:00
Michael Niedermayer
66c4d54413
jpeg2000dec: Propagate error code from get_cox() correctly
...
Without this the context state could become inconsistent
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 18:34:07 +02:00
Michael Niedermayer
6e9bfc19bd
jpeg2000: check that nreslevels2decode has been initialized before use
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 18:34:07 +02:00
Michael Niedermayer
16f3102f41
avformat/img2dec: timestamps are 64bit
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 14:41:16 +02:00
Michael Niedermayer
fbc472da29
avutil/mem: simplify av_reallocp_array() by using av_realloc_f()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 14:40:31 +02:00
Michael Niedermayer
21bf0d6f80
avformat/network: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 14:29:04 +02:00
Michael Niedermayer
856e7dbb72
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
apetag: use int64_t for filesize
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 12:25:16 +02:00
Michael Niedermayer
4abd5a4318
Merge commit '274e134e49b1c92db0f0b8cb2ae7554fb7b9184c'
...
* commit '274e134e49b1c92db0f0b8cb2ae7554fb7b9184c':
avconv: check that the output format context exists before accessing it
Conflicts:
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 12:20:26 +02:00
Michael Niedermayer
2280b539c5
Merge commit '8b7dffc2d6c6c19f8e0a1fedcd0e95dce7a273ff'
...
* commit '8b7dffc2d6c6c19f8e0a1fedcd0e95dce7a273ff':
lavfi doxy: improve/extend AVFilter doxy.
Conflicts:
libavfilter/avfilter.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 12:05:41 +02:00
Michael Niedermayer
82070b01b8
Merge commit '9835abb6d63fb07613994ae90e72fef758149408'
...
* commit '9835abb6d63fb07613994ae90e72fef758149408':
network: uniform ff_listen_bind and ff_listen_connect
Conflicts:
libavformat/network.c
libavformat/tcp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 11:56:56 +02:00
Michael Niedermayer
606e8baf0f
Merge commit '7c020e1ad37d27c9d5db4d714401f09c80e3cc44'
...
* commit '7c020e1ad37d27c9d5db4d714401f09c80e3cc44':
movenc: Grow the frag_info array in chunks
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 11:33:25 +02:00
Michael Niedermayer
28ce9c0b73
Merge commit 'ab1189766a82a95f108005463cde75f73fcc0ae5'
...
* commit 'ab1189766a82a95f108005463cde75f73fcc0ae5':
movenc: Increase the cluster array allocation by doubling
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 11:26:32 +02:00
Michael Niedermayer
30b491f1c9
Merge commit '3b4feac1ec14f861bdd7f494f288f4d8dd7f449e'
...
* commit '3b4feac1ec14f861bdd7f494f288f4d8dd7f449e':
movenc: Keep track of the allocated size for the cluster array
mem: Add av_realloc_array and av_reallocp_array
Conflicts:
doc/APIchanges
libavformat/movenc.c
libavutil/mem.c
libavutil/mem.h
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 11:19:16 +02:00
Timothy Gu
ea038b996d
doc/encoders: add documentation for libtwolame
2013-06-05 08:33:13 +00:00
Michael Niedermayer
3289670142
swr: dont treat 32 and 24 as equal in simple copy check
...
Fixes dithering from 32 to 24 bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 03:06:34 +02:00
Michael Niedermayer
6bc4e36ba7
swr: set scale for 32->32/24 dither
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-05 03:06:34 +02:00
Stefano Sabatini
449558d34a
lavfi/mp: remove mp=sab
...
The filter was ported to a native libavfilter filter.
2013-06-05 00:06:51 +02:00
Stefano Sabatini
841df7bf86
lavfi: port sab filter from libmpcodecs
2013-06-05 00:06:51 +02:00
Paul B Mahol
0804171104
swresample: set flags & description and add documentation for output_sample_bits
...
Allows users to actually use such option.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-04 21:57:25 +00:00
Michael Niedermayer
495bf1b685
swr: Fix dithering of s16 with SIMD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 23:50:45 +02:00
Michael Niedermayer
4cfc92081d
swr: add native_simd_one
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 23:50:45 +02:00
Paul B Mahol
e3e398b80b
doc/general: update after e4e4add0e3
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-04 21:43:59 +00:00
Michael Niedermayer
3b58ab4c5f
pngdec: dont treat mpng like png with key and non keyframes
...
Fixes Ticket2618
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 20:40:07 +02:00
Carl Eugen Hoyos
3b491c5a50
Use av_log() instead of fprintf() in ffplay.
...
Fixes ticket #2630 .
Reviewed-by: Marton Balint
2013-06-04 19:47:56 +02:00
Paul B Mahol
f5d5bc3493
tak: simplify ff_tak_check_crc()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-04 17:25:32 +00:00
Anton Khirnov
e816aaacd6
apetag: use int64_t for filesize
...
CC: libav-stable@libav.org
2013-06-04 17:20:19 +02:00
Anton Khirnov
274e134e49
avconv: check that the output format context exists before accessing it
...
Fixes a segfault in exit_program() if opening an output file fails.
2013-06-04 17:20:04 +02:00
Anton Khirnov
8b7dffc2d6
lavfi doxy: improve/extend AVFilter doxy.
2013-06-04 17:18:33 +02:00
Michael Niedermayer
b84de51f54
swresample/rematrix: add S32 mixing code
...
Needed for dithering S32
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 15:12:11 +02:00
Michael Niedermayer
f3c638eac1
wresample/rematrix_template: fix internal types
...
Should make no difference, but future commits will need it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 15:12:11 +02:00
Luca Barbato
9835abb6d6
network: uniform ff_listen_bind and ff_listen_connect
...
Document the functions and have both use a millisecond timeout and
check for interrupt.
2013-06-04 14:56:52 +02:00
Andrey Semashev
7c020e1ad3
movenc: Grow the frag_info array in chunks
...
Previously it was grown one element at a time, which leads to
excessive reallocations.
Bug-Id: 525
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-04 15:05:42 +03:00
Andrey Semashev
ab1189766a
movenc: Increase the cluster array allocation by doubling
...
The previous allocation increment of 16384 meant that the cluster
array was allocated for 0.6 MB initially, which is a bit excessive
for cases with fragmentation where only a fraction of that ever
actually is used.
Therefore, start off at a much smaller value, and increase by
doubling (to avoid reallocating too often when writing long
non-fragmented mp4 files).
Bug-Id: 525
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-04 15:05:31 +03:00
Andrey Semashev
3b4feac1ec
movenc: Keep track of the allocated size for the cluster array
...
When writing fragmented mp4, the cluster array is reset when a
fragment is written. Instead of starting off reallocating the
array only based on the number of current elements in it, keep
track of how many elements there were allocated earlier.
This avoids reallocating this array needlessly when writing
fragmented mp4 files.
Bug-Id: 525
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-04 15:05:12 +03:00
Martin Storsjö
fc962d4e7a
mem: Add av_realloc_array and av_reallocp_array
...
These help avoiding overflows and simplify error handling.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-04 15:04:08 +03:00
Michael Niedermayer
372e00793f
Merge remote-tracking branch 'lukaszmluki/master'
...
* lukaszmluki/master:
ftp: fix using uninitialized value
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 13:56:07 +02:00
Michael Niedermayer
2192f89368
ffserver: fix null pointer dereference
...
Fixes CID732208
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 13:19:27 +02:00
Lukasz Marek
7faafe606f
ftp: fix using uninitialized value
...
Fix coverity issue CID 1026777
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
2013-06-04 13:08:23 +02:00
Michael Niedermayer
fca435fee1
vc1dec: Disable dead code
...
Fixes CID732197/6
A assert is added to check that the disabled code wont
be needed in the future.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-04 02:43:20 +02:00
Paul B Mahol
d19d679e4b
lavf/aacdec: add support for reading ape tags
...
Closes #2634 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-03 23:10:57 +00:00
Paul B Mahol
55121f3fa9
tta: add support for reading ape tags
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-03 23:04:43 +00:00
Paul B Mahol
0e84ba747e
tta: return meaningful error codrs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-03 22:26:16 +00:00
Paul B Mahol
b4d4ef5529
flacdec: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-03 19:24:15 +00:00
Michael Niedermayer
e4bf3a97de
Merge branch 'master' of https://github.com/upsuper/ffmpeg-vdadec
...
* 'master' of https://github.com/upsuper/ffmpeg-vdadec :
vda_h264_dec: remove check_format
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 20:21:01 +02:00
Michael Niedermayer
c8faa47484
avformat/network: check the return value from setsockopt()
...
Fixes: CID1026742
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 16:12:00 +02:00
Michael Niedermayer
2fe4b6210c
matroskadec: fix memleak of pkt_data
...
Fixes: CID1026767
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 16:08:38 +02:00
Michael Niedermayer
0722b4d08c
matroskadec: favor av_freep()
...
av_freep() is safer as it zeros the pointer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 16:05:09 +02:00
Michael Niedermayer
43487bc5c1
avfilter/vf_mcdeint: free frame on error
...
Fixes CID1026766
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 15:41:29 +02:00
Michael Niedermayer
3ed56b3b39
avfilter/process_options: fix memleak
...
Fixes CID1026765
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 15:26:50 +02:00
Michael Niedermayer
7e7d090907
avfilter/af_astats: rename stat()
...
See CID1026741
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 14:59:52 +02:00
Michael Niedermayer
bbae652113
tiff: fix memleak
...
Fixes CID1026764
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 14:59:52 +02:00
Michael Niedermayer
bbf43c70dd
jpeg2000dec: assert that curtileno is valid when used
...
Fixes CID1026755
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 14:59:52 +02:00
Michael Niedermayer
234f76ae7d
jpeg2000: Fix unintended sign extension in malloc arguments of prec
...
Fixes: CID1026772/3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 14:59:40 +02:00
Michael Niedermayer
d8c10324ed
jpeg2000: Fix Unintended sign extension in malloc arguments of cblk.
...
Fixes CID1026770
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 14:16:19 +02:00
Michael Niedermayer
6952e2f82a
h264_ps: fix memleak in ff_h264_decode_picture_parameter_set()
...
Fixes: CID1026763
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 14:09:12 +02:00
Michael Niedermayer
7e99d528f9
ffv1enc: Check return value of av_frame_ref()
...
Fixes CID1026740
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 14:06:25 +02:00
Michael Niedermayer
8a266aaaac
avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 int IDWT
...
Tha fate tests change because the edge mirroring was wrong before this commit
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 13:24:20 +02:00
Michael Niedermayer
96b71a6ec5
avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 float IDWT
...
10% faster
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 13:18:40 +02:00
Michael Niedermayer
6507d86f07
jpeg2000dec; optimize output sample convert a bit
...
67935 -> 29984 kcycles
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 13:00:50 +02:00
Michael Niedermayer
3da7111193
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
movenc: Change the track struct name to match the typedef
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 12:54:43 +02:00
Michael Niedermayer
e5cdf9c03b
Merge commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c'
...
* commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c':
Go2Webinar decoder
Conflicts:
Changelog
configure
libavcodec/avcodec.h
libavcodec/codec_desc.c
libavcodec/version.h
libavformat/riff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 12:47:26 +02:00
Michael Niedermayer
5c43f3ddea
Merge commit '31980b6abdd8ffb6953472a7a6b59f3aa5762c31'
...
* commit '31980b6abdd8ffb6953472a7a6b59f3aa5762c31':
vmd: decode videos with no LZ buffer size provided - they might not need it
Conflicts:
libavcodec/vmdav.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 12:33:00 +02:00
Michael Niedermayer
c3660c3618
Merge commit '0aed0bfc62b273a780a2bfba3be56039fccd7423'
...
* commit '0aed0bfc62b273a780a2bfba3be56039fccd7423':
vmd: fix mode 3 decoding
Conflicts:
libavcodec/vmdav.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 12:21:25 +02:00
Michael Niedermayer
45a73d2b47
Merge commit 'c011ceef78eae66039efc66d9551a7146e08838a'
...
* commit 'c011ceef78eae66039efc66d9551a7146e08838a':
swscale: ppc: Remove commented-out define cruft
nsvdec: Remove commented-out debug cruft
cpu: Restructure code to avoid pointless ret variable indirection
Conflicts:
libavutil/cpu.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 11:53:05 +02:00
Michael Niedermayer
7cb5467a52
Merge commit '46ce9ded96ffcb798b03da894cdb5fdac376a6ee'
...
* commit '46ce9ded96ffcb798b03da894cdb5fdac376a6ee':
tiff: K&R formatting cosmetics
Conflicts:
libavcodec/tiff.c
libavcodec/tiff.h
libavcodec/tiffenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 11:44:11 +02:00
Martin Storsjö
9683e37cd5
movenc: Change the track struct name to match the typedef
...
This makes the struct name (which isn't used anywhere) match the
name of the typedef, as for all the other structs declared in this
header.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-06-03 11:08:18 +03:00
Kostya Shishkov
2d66a58ccd
Go2Webinar decoder
2013-06-03 09:24:55 +02:00
Michael Niedermayer
2976e2a102
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi/trim: mark link closed on EOF.
ffmpeg: ignore EOF when pushing frames to filters.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-03 02:59:14 +02:00
Paul B Mahol
d2021f74ed
jpeg2000dec: remove redundant error log message
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-03 00:20:08 +00:00
Paul B Mahol
a44d39ae42
wavpack: remove redundant error log message
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-03 00:20:04 +00:00
Paul B Mahol
0f740fea85
tta: use interger instead of pointer to iterate output samples for 24-bit case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-02 22:43:31 +00:00
Paul B Mahol
e2f89f7804
tta: move GetBitContext out of private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-02 22:38:16 +00:00
Nicolas George
50a4d076ce
lavfi/trim: mark link closed on EOF.
...
Fix trac ticket #2620 .
2013-06-02 23:19:42 +02:00
Nicolas George
fc82f4a1f8
ffmpeg: ignore EOF when pushing frames to filters.
...
EOF is not a fatal condition, it is normally produced
by a few filters.
TODO: take it into account to avoid useless decoding.
2013-06-02 23:19:42 +02:00
Michael Niedermayer
582f36ca3f
tools/qt-faststart: Fix unintended sign extension of current_offset
...
Fixes: CID733809
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 23:10:44 +02:00
Michael Niedermayer
69ce34c796
tools/qt-faststart: Fix unintended sign extension of atom_size
...
Fixes CID733810
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 23:10:31 +02:00
Michael Niedermayer
c1075d6af7
tools/ffhash: close file handle on error
...
Fixes CID1026768
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 22:52:23 +02:00
Michael Niedermayer
de488525e5
tools/ffeval: Check return value of av_expr_parse_and_eval()
...
Fixes CID1026745
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 22:48:03 +02:00
Kostya Shishkov
31980b6abd
vmd: decode videos with no LZ buffer size provided - they might not need it
...
The buffer is used for an additional pass of frame compression, so videos
can be coded without ever using it (and some are coded so indeed, e.g. in
Woodruff and the Schnibble of Azimuth game).
2013-06-02 19:08:09 +02:00
Kostya Shishkov
0aed0bfc62
vmd: fix mode 3 decoding
2013-06-02 19:07:31 +02:00
Michael Niedermayer
636c2dd438
avutil/sha: reorder Maj arguments
...
about 1% speedup
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 18:51:09 +02:00
Diego Biurrun
c011ceef78
swscale: ppc: Remove commented-out define cruft
2013-06-02 18:11:59 +02:00
Diego Biurrun
9f84ed8cc3
nsvdec: Remove commented-out debug cruft
2013-06-02 18:11:58 +02:00
Diego Biurrun
f0ce1d9909
cpu: Restructure code to avoid pointless ret variable indirection
...
libavutil/cpu.c:133:9: warning: unused variable ‘ret’ [-Wunused-variable]
2013-06-02 18:05:08 +02:00
Diego Biurrun
46ce9ded96
tiff: K&R formatting cosmetics
2013-06-02 17:59:34 +02:00
Paul B Mahol
514cb9bb92
tta encoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-02 15:16:52 +00:00
Paul B Mahol
2e67dde954
tta: move code that will be shared with encoder to separate file
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-02 14:53:14 +00:00
Carl Eugen Hoyos
a4b5863eea
Fix compilation of libavcodec/tiff.c
2013-06-02 16:50:39 +02:00
Paul B Mahol
379ad9788b
tiff: planar rgb
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-02 14:22:40 +00:00
Michael Niedermayer
09d6beee24
avutil/sha512: Reshuffle Maj() operands
...
This reduces dependancy chains and improves speed by about 2%
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 13:18:16 +02:00
James Almer
682b2273e8
lavu: Add SHA-2 512 hashing
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 11:27:19 +02:00
Michael Niedermayer
a40370661d
use Kostyas full name in copyrights
...
This fixes 2 files that where not part of the original change
See: de421b2085
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 11:25:56 +02:00
Michael Niedermayer
54ddbb477b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
network: factor out connect-listening code
Conflicts:
libavformat/network.h
libavformat/tcp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 11:02:02 +02:00
Michael Niedermayer
4d4f5911d3
Merge commit '28306e6d620c109ddd672f7243adfbc2bbb3b18f'
...
* commit '28306e6d620c109ddd672f7243adfbc2bbb3b18f':
network: factor out bind-listening code
use my full first name instead of short one in copyrights
Conflicts:
libavformat/tcp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 10:30:35 +02:00
Michael Niedermayer
5711e4fd11
fate: use TARGET_SAMPLES in mcdeint tests
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-02 02:03:39 +02:00
Paul B Mahol
58b36959dd
tta: use get_unary()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-06-01 23:06:04 +00:00
Michael Niedermayer
c28aafe6c0
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: detect when the created overlay buffers are not valid for the wanted overlay height
ffplay: do not allow wider window than 16383
ffplay: use 0 frame delay if redisplaying an already displayed frame
ffplay: use more sane frame timer resetting logic
ffplay: only update pts if not redisplaying a frame
ffplay: fix compute_target_delay to better handle frames with long durations
ffplay: if playing only audio or video only, show the master clock diff in status line
ffplay: factorize clock functions
ffplay: decrease video picture queue size to 3
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 23:47:01 +02:00
Stefano Sabatini
ec34963276
lavfi/mp: drop mcdeint wrapper
...
It was ported to a native libavfilter filter.
2013-06-01 22:35:20 +02:00
Stefano Sabatini
5fa252b212
tests: add mcdeint tests
2013-06-01 22:35:04 +02:00
Stefano Sabatini
e89182fc94
lavfi: port mcdeint filter from libmpcodecs
2013-06-01 22:34:57 +02:00
Stefano Sabatini
3a2b9911bf
lavfi/mp/mcdeint: avoid uninited data read
...
Do not read padding or out-of-buffer values when computing the output
value for a pixel close to the image buffer edge.
This avoids non visible artifacts which affected the output checksum.
See thread:
Subject: [FFmpeg-devel] [PATCH] lavfi/mp/mcdeint: avoid uninited data read
Date: Thu, 30 May 2013 18:57:14 +0200
2013-06-01 22:34:50 +02:00
Clément Bœsch
534f1a2821
lavc/avcodec: decodimg → decoding.
2013-06-01 19:16:45 +02:00
Carl Eugen Hoyos
f514b5dff7
Fix libcdio-paranoia detection.
...
Fixes ticket #2614 .
2013-06-01 18:34:51 +02:00
Luca Barbato
f849a77e67
network: factor out connect-listening code
...
Introduce ff_listen_connect, to be shared with the other
non-tcp network protocols.
2013-06-01 15:29:53 +02:00
Luca Barbato
28306e6d62
network: factor out bind-listening code
...
Introduce ff_listen_bind, to be shared with the other non-tcp
network protocols.
2013-06-01 15:29:53 +02:00
Clément Bœsch
07f6a66bf5
lavf/webvttdec: factorize identifier and settings side data code.
2013-06-01 15:12:49 +02:00
Matthew Heaney
8f75ba9926
lavf/webvttdec: save cue id and settings as side data
...
Currently the WebVTT demuxer parses the cues but throws away
the cue id (the optional first line of the cue) and cue
settings (the optional rendering instructions that follow
the timestamp).
However, in order to write inband text tracks (to WebM
files), the entire cue payload from the WebVTT source must
be preserved.
This commit makes no change to the data part of the output
buffer packet (where the actual cue text is stored), but
does add the cue id and settings as a side data items, if
they're present in the cue. Existing code that cares only
about the data part of the packet can continue to ignore the
side data.
There are two new packet data type flags,
AV_PKT_DATA_WEBVTT_IDENTIFIER and
AV_PKT_DATA_WEBVTT_SETTINGS.
2013-06-01 15:12:49 +02:00
Clément Bœsch
151b4947e5
lavc/avpacket: fill padding area on side data split.
...
The padding data is assumed to be 0 in several places, notably in
subtitles. This problem was not detected with fate-sub-srt test because
the first element of the side data (x1) is 0 in the test, so the
trailing side data present in the packet wasn't read by the decoder. The
issue can be observed with a large enough x1.
It is also noted in FF_INPUT_BUFFER_PADDING_SIZE doxy that MPEG
bitstreams require that padding with 0, so it might fix other issues.
2013-06-01 15:12:49 +02:00
Michael Niedermayer
9054e72529
jpeg2000: make sure s->numXtiles / s->numYtiles are reset when tile is deallocated
...
This keeps the structure fields more consistent after cleanup
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 14:41:46 +02:00
Xidorn Quan
4a023d5b53
vda_h264_dec: remove check_format
...
Since this function cannot work anymore, this patch simply removes it.
2013-06-01 12:02:11 +00:00
Kostya Shishkov
de421b2085
use my full first name instead of short one in copyrights
2013-06-01 13:38:50 +02:00
Marton Balint
30d724bdfd
ffplay: detect when the created overlay buffers are not valid for the wanted overlay height
...
Fixes cases when the picture height was bigger than the maximum supported
overlay height...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:46 +02:00
Marton Balint
87917a3283
ffplay: do not allow wider window than 16383
...
SDL surface pitch is 16bit, to avoid possible overflows, we limit the window
width to 16383. Fixes ticket #2428 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:46 +02:00
Marton Balint
3b6f1526c6
ffplay: use 0 frame delay if redisplaying an already displayed frame
...
With the previous patches this finally fixes ticket #1707 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:46 +02:00
Marton Balint
97e42551e4
ffplay: use more sane frame timer resetting logic
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:46 +02:00
Marton Balint
35b2f30fd1
ffplay: only update pts if not redisplaying a frame
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:46 +02:00
Marton Balint
e341cb1102
ffplay: fix compute_target_delay to better handle frames with long durations
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:45 +02:00
Marton Balint
5b492720ad
ffplay: if playing only audio or video only, show the master clock diff in status line
...
Showing A-V diff has no use if there is no audio and video stream, but showing
the audio or video clock difference to the master clock can be useful.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:45 +02:00
Marton Balint
f2175a628b
ffplay: factorize clock functions
...
There should be no change in functionality.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:45 +02:00
Marton Balint
b764b53aae
ffplay: decrease video picture queue size to 3
...
It was raised to 4 because of a theoretical issue, if we ensure that we do not
return from the display function without popping one picture from the queue,
then its OK to use the old size.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-06-01 12:50:45 +02:00
Clément Bœsch
1fb52bf920
lavfi/mptestsrc: fix chroma subsampling with odd sizes.
...
This makes no difference in practice since w & h are hardcoded to 512.
2013-06-01 12:05:55 +02:00
Clément Bœsch
7ba04b3c48
lavfi/pixdesctest: fix chroma subsampling with odd sizes.
2013-06-01 12:05:55 +02:00
Michael Niedermayer
35cf069aea
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Fix compilation with --disable-everything --enable-encoder=jpeg2000
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 11:49:48 +02:00
Michael Niedermayer
dc60061bb6
jpeg2000dec: optimize dequantization_int()
...
4400->2800 cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 11:48:13 +02:00
Michael Niedermayer
6cbd0241f2
jpeg2000dec: optimize dequantization_float()
...
4700 -> 2700 cycles (sandybridge i7)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 11:48:09 +02:00
Carl Eugen Hoyos
f1c8413dc7
Fix compilation with --disable-everything --enable-encoder=jpeg2000
...
The JPEG2000 encoder depends on the discrete wavelet transform.
2013-06-01 11:15:31 +02:00
James Almer
c485c835fe
avutil/crc: Dont limit CRC32 standard tables
...
Currently, standard tables like AV_CRC_32_IEEE and such are being generated (or
provided in case the user compiles with hardcoded tables) with only 257 elements.
We're missing a considerable boost in performance by not making them with a size
of 1024 elements instead.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 10:53:39 +02:00
Michael Niedermayer
0c2f673ed2
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
indeo4: expand allowed quantiser range
configure: icl: Merge -Qdiag-error parameters
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 10:27:47 +02:00
Michael Niedermayer
b919a8d3a3
Merge commit '14fb9d3d8ccf5f50180aabdb1afe8b570fea3d28'
...
* commit '14fb9d3d8ccf5f50180aabdb1afe8b570fea3d28':
configure: Separate commonalities in msvc and icl flags
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 10:16:42 +02:00
Kostya Shishkov
33f64fd5d5
indeo4: expand allowed quantiser range
...
Indeo 4 has quantiser range 0-31 instead of 0-23 for Indeo 5, and clipping
quantiser leads to incorrect quantisation and DC prediction on low-quality
videos.
This fixes bug 259.
2013-06-01 06:36:47 +02:00
Clément Bœsch
716dbc7e13
lavf/allformats: align nit for tee muxer.
2013-06-01 02:36:07 +02:00
Paul B Mahol
710940bec1
tta: stop checking header checksum in extradata
...
It's redundant now as check in done in demuxer instead.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-31 21:11:55 +00:00
James Almer
6510686c16
lavf/tta: check header and seek table checksum
...
Since we don't check for seek table integrity in the decoder anymore,
check it in the demuxer instead (Only tta files are guaranteed to have
one, and it should be valid there).
Check also for header integrity, since the check done in the decoder
is ignored because matroska doesn't store the header at all.
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-31 21:10:57 +00:00
Alex Smith
60f09c04d8
configure: icl: Merge -Qdiag-error parameters
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-05-31 14:39:30 -04:00
Alex Smith
14fb9d3d8c
configure: Separate commonalities in msvc and icl flags
...
Allows for easier handling of flags that may be specific to icl or msvc.
Furthermore, simplify the handling of warnings and remarks thanks to
icl's support of -Wall on Windows.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-05-31 14:39:14 -04:00
Michael Niedermayer
f70d0212ce
Merge remote-tracking branch 'lukaszmluki/master'
...
* lukaszmluki/master:
ftp: enhanced error handling
ftp: reconnect on seek
ftp: move common commands code to function
ftp: enhanced status code handling
ftp: reconnect on read
ftp: move create control connection to function
ftp: credentials moved into FTPContext
ftp: rename function name
ftp: formatting and typos fixes
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 19:26:19 +02:00
Michael Niedermayer
6e073dd127
configure: check for nanosecond precission stat
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 17:28:44 +02:00
Michael Niedermayer
887d74c47e
av_d2q: Add a special case for |value| > MAX and |value| < 1/MAX
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 17:10:36 +02:00
Lukasz Marek
ddbcc48b64
ftp: enhanced error handling
...
Add error codes to expected codes to make responses faster.
Success of a command is validated by comparing code to a success code.
2013-05-31 16:54:03 +02:00
Lukasz Marek
34c423894c
ftp: reconnect on seek
...
ABOR command usually takes long (FTP server implementation dependent).
It also produces different response codes from different servers.
It is save for ffmpeg to reconnect both connection during seek for two reasons:
1. Alreay mentioned heavy manner of ABOR command.
2. Server may disconnected due to no transfer (seek after a long pause in ffmpeg client)
2013-05-31 16:52:39 +02:00
Lukasz Marek
d99beeb70e
ftp: move common commands code to function
...
Each send command routine requires the same steps.
This commit moves repeated code into one function.
2013-05-31 16:42:26 +02:00
Lukasz Marek
3f00521809
ftp: enhanced status code handling
...
Reimplementation of ftp_status function.
New version requires explicit list of expected codes.
It flush data connection input before sending a command
and blocks until expected result appears.
2013-05-31 16:42:25 +02:00
Lukasz Marek
1931c2d265
ftp: reconnect on read
...
FTP server may disconnect after some period of time when no transfer is done.
FTP protocol should reconnect and seek to last position.
2013-05-31 16:40:03 +02:00
Lukasz Marek
c84d6aa2f6
ftp: move create control connection to function
...
Move common code that opens control connection to function.
This code can be reused when reconnecting to FTP server
after inactivity.
2013-05-31 15:57:58 +02:00
Lukasz Marek
e46e49e31d
ftp: credentials moved into FTPContext
...
FTP server may disconnect client.
This commit stores credentials for future reconnect.
2013-05-31 15:57:58 +02:00
Lukasz Marek
80cce899f6
ftp: rename function name
...
ftp_send_command was used only once.
This commit makes this function specific, not generic
2013-05-31 15:57:58 +02:00
Lukasz Marek
afa30e51d1
ftp: formatting and typos fixes
2013-05-31 15:57:57 +02:00
Michael Niedermayer
f77467a11d
jpeg2000dec: fix indention
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 13:33:13 +02:00
Michael Niedermayer
c1415cfefb
jpeg2000dec: print more detailed cdx/y debug info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 13:32:33 +02:00
Michael Niedermayer
f0b9bd807b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
proresenc: alpha coding support
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 11:32:58 +02:00
Clément Bœsch
7de8a38160
lavfi/vignette: remove extra semi-colon.
2013-05-31 10:22:03 +02:00
Michael Niedermayer
9d56ccf5af
j2k/jpeg2000dec: merge
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 03:10:08 +02:00
Michael Niedermayer
fd7e119037
jpeg2000dec: merge simplification of jpeg2000_decode_packets() from j2k
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 03:10:08 +02:00
Michael Niedermayer
192050d7a7
jpeg2000dec: merge sgnd fix from j2k
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 03:10:07 +02:00
Michael Niedermayer
5dbbb762e5
jpeg2000dec: merge struct field types from j2k
...
Fixes AVOption type mismatch
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 03:10:07 +02:00
Michael Niedermayer
89f472b3ee
j2kdec: merge JPEG2000_PGOD_CPRL code from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 03:10:07 +02:00
Michael Niedermayer
45c0e338fc
j2kdec: merge picture handling from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 03:10:07 +02:00
Michael Niedermayer
f471b5fa30
j2k: restructure bitstream decoding
...
This is based on jpeg2000 but differs because of
problems with the design from jpeg2000 with currently
supported files
More files can be decoded after this commit, though they
show heavy artifacts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 03:09:32 +02:00
Michael Niedermayer
cdb86136f7
j2k/jpeg2000: merge some of the tilepart related code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 02:22:11 +02:00
Michael Niedermayer
a5203d86b3
j2kdec: merge length==0 check from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 02:22:11 +02:00
Michael Niedermayer
f67f2681da
jpeg2000deci/j2kdec: fix sizeof types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 02:22:10 +02:00
Michael Niedermayer
20a2d5ec11
jpeg2000dec: fix ff_mqc_initdec() and data setup order
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 02:22:10 +02:00
Michael Niedermayer
7a2b634220
jpeg2000dec: simplify init_tile() / merge from j2k
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-31 02:22:10 +02:00
Matthieu Bouron
f468325d34
lavf/id3v2enc: fix cover art display on some software
...
Adding an arbitrary amount of padding bytes at the end of the
ID3 metadata fixes cover art display for some software (iTunes,
Traktor, Serato, Torq).
For reference (ID3 metadata):
[ Apic frames ] -> cover doesn't show up
[ Apic frames, Padding ] -> ok
[ Apic frames, ID3 frames ] -> ok
[ ID3 frames, Apic frames ] -> cover doesn't show up
[ ID3 frames, Apic frames, Padding ] -> ok
2013-05-30 21:16:57 +00:00
Paul B Mahol
c4e0e31424
tta: remove pointless code
...
Checking seek table crc in decoder is pointless, as seek table is not used in
decoder anyway, so also stop storing seek table into extradata.
2013-05-30 20:17:27 +00:00
Clément Bœsch
2886e8065e
lavfi/vignette: add aspect option.
2013-05-30 20:51:12 +02:00
Clément Bœsch
33620e243f
lavfi/vignette: add some scaling debug.
2013-05-30 20:41:56 +02:00
Clément Bœsch
bfafcc4ebe
lavfi/vignette: simplify dmax definition.
2013-05-30 20:41:37 +02:00
Clément Bœsch
cf6f179044
lavfi/vignette: fix scale with aspects smaller than one.
2013-05-30 20:40:39 +02:00
Michael Niedermayer
826b3a75cd
h264_cavlc: fix reading skip run
...
Fixes Ticket2606
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 18:38:04 +02:00
Michael Niedermayer
3f714d1ffd
jpeg2000/j2k: merge non functional changes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 18:38:04 +02:00
Michael Niedermayer
941a8efae2
j2k:decode_tile() pass picture as argument
...
Reduce diff to jpeg2000dec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 18:38:04 +02:00
Michael Niedermayer
9ccc9f30f7
jpeg2000: drop red-blue swap
...
This should no longer be needed as the pix fmt was updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 18:37:56 +02:00
Michael Niedermayer
7836583934
j2kdec: s/j2k_/jpeg2000_/
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 18:31:25 +02:00
Clément Bœsch
4a85390d29
lavfi/vignette: make sure a sane sar is set.
2013-05-30 18:13:04 +02:00
Clément Bœsch
0ab9362fcb
lavfi: add vignette filter.
2013-05-30 17:52:52 +02:00
Michael Niedermayer
310f9dd698
j2k/jpeg2000: merge pix_fmt setting code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 16:45:30 +02:00
Michael Niedermayer
6f7de3d5c8
mpegvideo_enc: allow mpeg_quant to be set in mpeg2video
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 16:07:07 +02:00
Michael Niedermayer
62d00aa22f
jpeg2000/j2k: merge j2k/jpeg2000.c/h
...
Now only j2kdec / jpeg2000dec.c remain
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 14:57:58 +02:00
Michael Niedermayer
c2ac389bba
jpeg2000: remove unneeded casts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 14:43:09 +02:00
Michael Niedermayer
09e03a8467
jpeg2000: merges quantization fixes from j2k
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 14:43:09 +02:00
Michael Niedermayer
efc2df2e27
jpeg2000: remove unneeded variable initialization
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 14:43:09 +02:00
Michael Niedermayer
84a6bc2357
jpeg2000: tag_tree_size: replace check by assert
...
This function is never called with values large enough for the
error condition to occur
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 14:43:09 +02:00
Michael Niedermayer
8bedbb82ce
j2k/jpeg2000: split data pointer in int & float.
...
This fixes a TODO item and unifies both decoders structures
It also fixes undefined behavior due to aliasing violations
I choose 2 fields instead of a union because mistakely using the
wrong type with a union will lead to hard to debug "wrong output"
while with 2 fields mistakely using the wrong type will crash
with a null pointer derefernce which is much easier to debug
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 14:18:53 +02:00
Carl Eugen Hoyos
b3af9242d0
Use -lX11 -lXext when linking Xv output device.
...
Reviewed-by: Stefano Sabatini
2013-05-30 13:13:57 +02:00
Michael Niedermayer
1a7ae6be2a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
arm: Include hpeldsp_neon.o if h264qpel is enabled
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 11:21:45 +02:00
Michael Niedermayer
e119d1b345
Merge commit 'efb7968cfe8b285ab4f27b363719b7c92d19ec74'
...
* commit 'efb7968cfe8b285ab4f27b363719b7c92d19ec74':
arm: Don't unconditionally build dsputil files
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 11:02:21 +02:00
Michael Niedermayer
0b539da4c7
Merge commit '36a7df8cf1115aa37a1b0d42324ecde5ab6c2304'
...
* commit '36a7df8cf1115aa37a1b0d42324ecde5ab6c2304':
arm: Only build the FFT init files if FFT is enabled
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 10:57:14 +02:00
Michael Niedermayer
3a0e21f037
Merge commit '186599ffe0a94d587434e5e46e190e038357ed99'
...
* commit '186599ffe0a94d587434e5e46e190e038357ed99':
build: cosmetics: Place unconditional before conditional OBJS lines
Conflicts:
libavcodec/x86/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 10:49:43 +02:00
Stefano Sabatini
f7a267affe
doc/encoders: remove duplicated "the"
2013-05-30 10:44:54 +02:00
Stefano Sabatini
9f8937b5ef
lavd: add xv output device
...
Based on the work of Jeff Moguillansky <Jeff.Moguillansky@am.sony.com >.
See thread:
Subject: [FFmpeg-devel] x11 output device for libavdevice
Date: Wed, 10 Apr 2013 23:10:47 +0000
2013-05-30 10:44:54 +02:00
Michael Niedermayer
1bbbbb0a32
Merge commit '9b9b2e9f3036abfd42916bcf734af14b4cb686aa'
...
* commit '9b9b2e9f3036abfd42916bcf734af14b4cb686aa':
build: arm: cosmetics: Place all OBJS declarations in alphabetical order
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 10:37:52 +02:00
Michael Niedermayer
103ffde5a3
Merge commit '701966730ce10290fd49c5ccedd73f505680f764'
...
* commit '701966730ce10290fd49c5ccedd73f505680f764':
vmd: drop incomplete chunks and spurious samples
Conflicts:
libavcodec/vmdav.c
2 of the changes are replaced by assert0s, as they should
be impossible.
The actual bug is likely caused by a invalid block_align
which is checked for and thus impossible in ffmpeg.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 10:36:52 +02:00
Michael Niedermayer
ab78e21ea2
Merge commit '676da248cad49debc40720baa13214f0b94dcc71'
...
* commit '676da248cad49debc40720baa13214f0b94dcc71':
vmd: refactor the inner decode loop
Conflicts:
libavcodec/vmdav.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 09:44:57 +02:00
Michael Niedermayer
8ef89833d0
Merge commit 'c8f3cb9119c2183680d44a509a1b5a9817a3bee9'
...
* commit 'c8f3cb9119c2183680d44a509a1b5a9817a3bee9':
vmd: return meaningful errors
Conflicts:
libavcodec/vmdav.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 09:37:14 +02:00
Michael Niedermayer
6635b13411
Merge commit '91a6944e56236234f0a7ba162404665753cbcb51'
...
* commit '91a6944e56236234f0a7ba162404665753cbcb51':
vmd: use the PALETTE_COUNT constant uniformly
Conflicts:
libavcodec/vmdav.c
No change as the changed line does not exist in ffmpegs vmdav.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 09:28:23 +02:00
Kostya Shishkov
0b0953baec
proresenc: alpha coding support
2013-05-30 09:23:26 +02:00
Michael Niedermayer
63e5e9f7c5
fate: fix smvjpeg test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 03:31:04 +02:00
Michael Niedermayer
455ae871a8
libavcodec/smvjpegdec: pass flags / idct algo into jpeg avctx
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 03:30:01 +02:00
Ash Hughes
fa30f4c24d
fate: add smv test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 03:00:05 +02:00
Martin Storsjö
86113667c0
arm: Include hpeldsp_neon.o if h264qpel is enabled
...
A few of the h264qpel neon functions are shared with other
hpeldsp functions in this file.
This fixes standalone compilation of the h264 decoder on arm.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-30 02:17:37 +03:00
Martin Storsjö
efb7968cfe
arm: Don't unconditionally build dsputil files
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-30 02:17:35 +03:00
Martin Storsjö
36a7df8cf1
arm: Only build the FFT init files if FFT is enabled
...
This fixes build errors in cases where FFT is disabled.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-30 02:17:33 +03:00
Diego Biurrun
186599ffe0
build: cosmetics: Place unconditional before conditional OBJS lines
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-30 02:17:31 +03:00
Diego Biurrun
9b9b2e9f30
build: arm: cosmetics: Place all OBJS declarations in alphabetical order
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-30 02:17:27 +03:00
Michael Niedermayer
29e97cd6c3
avformat/mov: Try to detect and support files with invalid sample sizes
...
Fixes Ticket2605
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-30 00:32:36 +02:00
Reimar Döffinger
4c2b3f4738
Add AV_HASH_MAX_SIZE.
...
Makes it easier to use static allocation for the result buffer.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-29 22:31:16 +02:00
Reimar Döffinger
dccaad3bcd
wamenc: handle failure to encode.
...
This is necessary since the switch to floating point
input means there is no longer sufficient input data
validation.
There is a good chance that other encoders are affected
by similar issues.
This problem can be triggered by trying to encode
extremely large values and probably also with Inf and
possibly also NaNs.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-29 22:31:16 +02:00
Luca Barbato
701966730c
vmd: drop incomplete chunks and spurious samples
...
Odd chunk size makes no sense for stereo and incomplete chunks are
not supported.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-29 21:30:21 +02:00
Paul B Mahol
38fefbc474
wtvenc: use ffio_fill()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 18:14:43 +00:00
Michael Niedermayer
ac025d6eca
j2kdec: remove unused variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 19:57:03 +02:00
Michael Niedermayer
0abe923d20
mpegvideo: fix forgotten lowres op_index limits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 19:55:27 +02:00
Michael Niedermayer
c2625c26c5
mpegvideo: implement ff_put_h264_chroma_mc1 & ff_avg_h264_chroma_mc2
...
These are needed for lowres 3
This may fix Ticket2538
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 19:48:03 +02:00
Paul B Mahol
f8f42f4821
lavfi/noise: fix out of array access
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 16:54:28 +00:00
Paul B Mahol
83f9735592
lavfi/noise: support slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 16:13:11 +00:00
Paul B Mahol
f46732fe4d
wvenc: remove flush call, not needed since 4f112a8e3
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 14:25:34 +00:00
Paul B Mahol
6d3b913479
remove APEv1 tag writer
...
Not used anymore.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 14:06:26 +00:00
Paul B Mahol
be5a55535e
apetag: do not create invalid APE tags
...
APEv2 specifications forbids non-ascii keys.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 14:01:15 +00:00
Paul B Mahol
7984ed87c1
tiff: support inverted fill_order for packbits compression
...
Fixes #1995 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 13:43:03 +00:00
Paul B Mahol
30d7dcce4c
tiff: add helper function for fill_order case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 13:42:55 +00:00
Paul B Mahol
b257d9a01f
alac: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 12:37:33 +00:00
Paul B Mahol
7469be099e
lavc/tta: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 12:30:07 +00:00
Paul B Mahol
96db307b3d
lavf/flacenc: use ffio_fill()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-29 10:40:13 +00:00
Luca Barbato
676da248ca
vmd: refactor the inner decode loop
...
Simplify a little, assume empty frames are acceptable and
do not pointlessly reinit the bytestream2 contexts using
possibly wrong size values.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-29 12:11:47 +02:00
Luca Barbato
c8f3cb9119
vmd: return meaningful errors
...
CC: libav-stable@libav.org
2013-05-29 12:11:47 +02:00
Luca Barbato
91a6944e56
vmd: use the PALETTE_COUNT constant uniformly
...
While at it drop useless parentheses.
2013-05-29 12:11:47 +02:00
Michael Niedermayer
4ea5aea869
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
doc: Mention the target_samples and ld variables for fate configs
fate.sh: Allow specifying --as via a specific variable
Conflicts:
doc/fate.texi
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 11:19:25 +02:00
Michael Niedermayer
200ef1e3c3
Merge commit '9f30fb5a773d59298d8d45c741b3fd971d84c97b'
...
* commit '9f30fb5a773d59298d8d45c741b3fd971d84c97b':
configure: Don't pass -mthumb or -march= to MSVC
mpeg12: skip frames consistently
Conflicts:
libavcodec/mpeg12dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 11:06:26 +02:00
Michael Niedermayer
d9cde3976c
Merge commit '2d2d6a4883479403798f4ed46941d5b365823570'
...
* commit '2d2d6a4883479403798f4ed46941d5b365823570':
lavf: add a raw WavPack muxer.
apetag: add support for writing APE tags
matroskaenc: support muxing WavPack
Conflicts:
libavformat/Makefile
libavformat/allformats.c
libavformat/apetag.h
libavformat/version.h
libavformat/wvenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 10:40:42 +02:00
Michael Niedermayer
53015bb3b3
Merge commit '794ca87d2bff2513118de8b97595b3e23070e67d'
...
* commit '794ca87d2bff2513118de8b97595b3e23070e67d':
wvdec: split block header parsing into a separate file
Conflicts:
libavformat/Makefile
libavformat/wvdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 10:07:30 +02:00
Michael Niedermayer
ad649e829d
Merge commit '0a1a94450a28eef854162f859e79ecfb9f97915b'
...
* commit '0a1a94450a28eef854162f859e79ecfb9f97915b':
lavf: rename wv.c to wvdec.c
Conflicts:
libavformat/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 09:54:13 +02:00
Martin Storsjö
a51161ed98
doc: Mention the target_samples and ld variables for fate configs
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-29 10:37:18 +03:00
Martin Storsjö
d7b9b66abb
fate.sh: Allow specifying --as via a specific variable
...
This simplifies specifying a value containing spaces for this
parameter.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-29 10:37:05 +03:00
Michael Niedermayer
7a2edcf1c8
Merge commit '89806691b1c39181c63d95e0fddc30f11e2a7b04'
...
* commit '89806691b1c39181c63d95e0fddc30f11e2a7b04':
wavpack: check that all the channels were coded.
wavpack: check that there aren't too many blocks per packet
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 05:01:35 +02:00
Michael Niedermayer
4d2825a317
Merge commit '7d039e70a5ff23a7deaa866684d2e8872acc5169'
...
* commit '7d039e70a5ff23a7deaa866684d2e8872acc5169':
wavpack: extract channel information from the bitstream
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 04:37:58 +02:00
Michael Niedermayer
8543575cc4
Merge commit '78f75b6fa421dd39a715588e9487579f1ce5bada'
...
* commit '78f75b6fa421dd39a715588e9487579f1ce5bada':
wavpack: extract sample rate from the bitstream
configure: support gcc-4.8 instrumentation
Conflicts:
libavcodec/wavpack.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 04:33:27 +02:00
Michael Niedermayer
1f5e5d2205
Merge commit 'ba13606ca6adbc74b4db4a72b0769397d6408791'
...
* commit 'ba13606ca6adbc74b4db4a72b0769397d6408791':
fate: Add a --target-samples path parameter
Conflicts:
configure
tests/fate/audio.mak
tests/fate/cover-art.mak
tests/fate/demux.mak
tests/fate/ea.mak
tests/fate/filter-video.mak
tests/fate/h264.mak
tests/fate/image.mak
tests/fate/lossless-audio.mak
tests/fate/lossless-video.mak
tests/fate/microsoft.mak
tests/fate/pcm.mak
tests/fate/prores.mak
tests/fate/qt.mak
tests/fate/real.mak
tests/fate/screen.mak
tests/fate/video.mak
tests/fate/voice.mak
tests/fate/vpx.mak
tests/fate/vqf.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 04:25:37 +02:00
Michael Niedermayer
e755c8ac46
Merge commit '4a27a52a1f74016095b7aee1b4a422cf62217ade'
...
* commit '4a27a52a1f74016095b7aee1b4a422cf62217ade':
fate: Don't use files from SRC_PATH in the actual tests
indeo4: reuse context block VLC for band instead of defaulting
Conflicts:
tests/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 04:02:23 +02:00
Michael Niedermayer
ca90ca8ce3
Merge commit '6647aa0426e73839b9b1d1c9d86188f469167531'
...
* commit '6647aa0426e73839b9b1d1c9d86188f469167531':
indeo4: add missing Haar and slanted transforms
dxtory v2 support
Conflicts:
libavcodec/indeo4.c
libavcodec/ivi_dsp.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 03:52:16 +02:00
Michael Niedermayer
a58e10e5d1
Merge commit '728214992e3698305550c1762f973d2ac567f016'
...
* commit '728214992e3698305550c1762f973d2ac567f016':
vc1dec: Remove interlaced warning
vc1dec: Fix mixed field/frame intensity compensation
vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4
vc1dec: Handle top and bottom blocks in vc1_mc_4mv_chroma4() differently if needed
vc1dec: Fix doxy for vc1_mc_4mv_chroma4()
vc1dec: Drop old use_ic code from vc1_b_mc
vc1: Use shuffled use_ic instead of equally shuffled mv_mode
vc1dec: Implement intensity compensation for vc1_interp_mc()
Conflicts:
Changelog
libavcodec/vc1dec.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 03:28:18 +02:00
Michael Niedermayer
28923f1923
Merge commit '28243b0d35b47bbf9abbd454fc444a6e0a9e7b71'
...
* commit '28243b0d35b47bbf9abbd454fc444a6e0a9e7b71':
vc1dec: Redesign the intensity compensation
Conflicts:
libavcodec/vc1.c
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 03:00:04 +02:00
Michael Niedermayer
4f4c91d474
Merge commit '93b1281264b87961f53c3e9c134cc2727ecd91ed'
...
* commit '93b1281264b87961f53c3e9c134cc2727ecd91ed':
vc1dec: Shuffle field MVs after decoding, not before
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 02:40:22 +02:00
Michael Niedermayer
83fd377c94
j2k/jpeg2000: merge float DWT and related code
...
the float conditions are largely changed to check the DWT
instead of the bitexact flag, which previously was wrong
(DWT53 is always int)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-29 00:29:25 +02:00
Martin Storsjö
9f30fb5a77
configure: Don't pass -mthumb or -march= to MSVC
...
The modern MSVC for ARM always builds for thumb, and it can't be
disabled.
Also just use the default arch instead of trying to map the -march
parameter to MSVC's -arch parameter (which only takes the values
ARMv7VE and VFPv4).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-29 00:53:11 +03:00
Michael Niedermayer
a510abd5d1
j2kdec:merge mct_decode from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 23:49:11 +02:00
Michael Niedermayer
c37d735c1c
jpeg2000dec: mct_decode: remove unused return
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 23:49:11 +02:00
Justin Ruggles
e816a8bc26
ffmpeg: use actual packet pts when discarding for the copypriorss option
...
The ist->pts value at this point does not necessarily match the actual packet
pts, which is what should be used to decide whether to discard the packet.
Without this change, some video packets that have pts on or after the start
time are getting discarded when they should not be.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-05-28 17:03:23 -04:00
Michael Niedermayer
fe7136ef82
j2k/jpeg2000: split stepsize in float & int variables
...
This is more clear and less prone to mistakes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 22:16:14 +02:00
Michael Niedermayer
aa0d11ed0b
jpeg2000dec: remove unneeded returns
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 22:16:14 +02:00
Michael Niedermayer
f7129ab928
j2k/jpeg2000: fix typo in lut_gain index
...
no testcase
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 22:16:14 +02:00
Clément Bœsch
1f1df07ce5
lavfi/drawutils: attempt to fix subsampling.
2013-05-28 19:20:27 +02:00
Janne Grunau
bf20cdbd86
mpeg12: skip frames consistently
...
The decoder did not start predicted frames with missing references but
called the end of frame handling on them anyway. This caused an
assertion in the VA API HW accelorator since it tried to render a
picture with uninitialized buffers.
2013-05-28 19:18:10 +02:00
Michael Niedermayer
32475f56f3
j2kdec/jpeg2000dec: partially merge quantization code
...
The quantization code needs more work, not so much work
merging but more work investigating what is correct.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 19:02:00 +02:00
Michael Niedermayer
f0a2c8285a
j2kdec: Try to fix 8bps output case
...
Ive no test samples for which this makes a difference but it
matches the 16bit implementation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 18:58:46 +02:00
Anton Khirnov
2d2d6a4883
lavf: add a raw WavPack muxer.
2013-05-28 18:19:19 +02:00
Anton Khirnov
88de0c7901
apetag: add support for writing APE tags
...
This will be useful in the WavPack muxer.
2013-05-28 18:19:03 +02:00
Anton Khirnov
01656fd476
matroskaenc: support muxing WavPack
2013-05-28 18:18:57 +02:00
Anton Khirnov
794ca87d2b
wvdec: split block header parsing into a separate file
...
It will be reused by other muxers and demuxers.
2013-05-28 17:47:59 +02:00
Anton Khirnov
0a1a94450a
lavf: rename wv.c to wvdec.c
...
wv.c will be used for shared wavpack functions.
2013-05-28 17:47:30 +02:00
Anton Khirnov
89806691b1
wavpack: check that all the channels were coded.
2013-05-28 17:47:24 +02:00
Anton Khirnov
eae1b8451a
wavpack: check that there aren't too many blocks per packet
2013-05-28 17:47:17 +02:00
Anton Khirnov
7d039e70a5
wavpack: extract channel information from the bitstream
...
This way we don't require the caller to parse the block header. It also
allows the channel configuration to change mid-stream.
2013-05-28 17:47:04 +02:00
Anton Khirnov
78f75b6fa4
wavpack: extract sample rate from the bitstream
...
This way we don't require the caller to parse the block header. It also
allows the sample rate to change mid-stream.
2013-05-28 17:46:03 +02:00
Luca Barbato
0ba49d28a1
configure: support gcc-4.8 instrumentation
...
Since version 4.8 gcc sports asan and tsan integration that can
be leveraged when hunting bugs.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-05-28 17:22:16 +02:00
Martin Storsjö
ba13606ca6
fate: Add a --target-samples path parameter
...
This allows having the samples accessible via different paths
on the target and on the host.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 17:16:54 +03:00
Martin Storsjö
4a27a52a1f
fate: Don't use files from SRC_PATH in the actual tests
...
If building out of tree, make sure the filter scripts are copied
into the build tree before running tests. This makes sure that
SRC_PATH doesn't need to exist on the remote system (or doesn't
need to exist at the same path).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 17:14:18 +03:00
Kostya Shishkov
2cf5d29110
indeo4: reuse context block VLC for band instead of defaulting
...
Currently if no custom block VLC is specified for band, a default block VLC
will be used, while the global block VLC stored in the context should be used
instead.
This fixes decoding of one sample I have.
2013-05-28 14:10:58 +02:00
Kostya Shishkov
6647aa0426
indeo4: add missing Haar and slanted transforms
...
That involves fixing INV_HAAR4() macro and changing it to work with different
input and output like INV_HAAR8() instead of in-place transform.
2013-05-28 14:08:09 +02:00
Paul B Mahol
ced0307ea9
tta: make probing more robust
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-28 11:46:10 +00:00
Kostya Shishkov
3b03d7e251
dxtory v2 support
2013-05-28 13:35:09 +02:00
Michael Niedermayer
728214992e
vc1dec: Remove interlaced warning
...
Also add a note about the feature in the changelog.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:56:29 +03:00
Michael Niedermayer
d8b9dbe776
vc1dec: Fix mixed field/frame intensity compensation
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:56:24 +03:00
Michael Niedermayer
17410faa22
vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:56:20 +03:00
Michael Niedermayer
1be175f929
vc1dec: Handle top and bottom blocks in vc1_mc_4mv_chroma4() differently if needed
...
Now it can use different references for those blocks and even use
averaging.
This fixes several chroma artifacts in several videos.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:56:15 +03:00
Michael Niedermayer
c69765a2cc
vc1dec: Fix doxy for vc1_mc_4mv_chroma4()
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:56:12 +03:00
Michael Niedermayer
b412f705b5
vc1dec: Drop old use_ic code from vc1_b_mc
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:56:08 +03:00
Michael Niedermayer
5053a9a1ff
vc1: Use shuffled use_ic instead of equally shuffled mv_mode
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:56:04 +03:00
Michael Niedermayer
3ced06f283
vc1dec: Implement intensity compensation for vc1_interp_mc()
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:55:59 +03:00
Michael Niedermayer
28243b0d35
vc1dec: Redesign the intensity compensation
...
Use the intensity-compensated reference frame for subsequent
fields/B-frames.
Since we currently don't change the reference frame we have to
maintain lookup tables for intensity compensation in the following
dependent frames.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:55:55 +03:00
Michael Niedermayer
93b1281264
vc1dec: Shuffle field MVs after decoding, not before
...
This simplifies the code since copying MVs to the reference is not needed
anymore (and maybe something about fixing artifacts).
Also remove the unused mv_f_last.
Fixes a small number of artifacts in black_screen_VC-1.mkv
and several more artifacts in other videos.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-28 13:55:46 +03:00
Dave Yeo
35e683e457
avcodec/vp8: Cosmetics, maintain alphabetical order in threading headers
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 12:49:21 +02:00
Dave Yeo
e615a77799
os2threads: move from lavc to compat/
...
For useage in other places besides lavc. Needed after commit
90f9a5830b
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 12:49:20 +02:00
Paul B Mahol
269fc8e049
lavf/wvenc: remove hacks since wavpack demuxer & decoder hacks have been fixed
2013-05-28 10:46:57 +00:00
Michael Niedermayer
3ed3aaab32
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
smacker: assign video frame PTS
matroskadec: export full wavpack blocks.
Conflicts:
libavcodec/wavpack.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:58:46 +02:00
Michael Niedermayer
8012f93ed8
Merge commit '5074f4545c439420daebe4c2f28ed216440b6ec7'
...
* commit '5074f4545c439420daebe4c2f28ed216440b6ec7':
wavpack demuxer: export full wavpack blocks.
Conflicts:
libavformat/wv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:49:30 +02:00
Michael Niedermayer
aa6cf4c1b0
Merge commit '72dee5f40b236c5eb9e68df39df80c68392269e3'
...
* commit '72dee5f40b236c5eb9e68df39df80c68392269e3':
wavpack: don't set sample format in init.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:41:38 +02:00
Michael Niedermayer
288e3fdfd3
Merge commit '35596bd4f4d3c39eed838cf3a2613817d62dda99'
...
* commit '35596bd4f4d3c39eed838cf3a2613817d62dda99':
wavpack: remove a useless parameter from wavpack_decode_block().
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:36:26 +02:00
Michael Niedermayer
f5dfc35157
Merge commit 'd1bec4be2207738669874e02605e879ea9620974'
...
* commit 'd1bec4be2207738669874e02605e879ea9620974':
wavpack: return an error on 0-sized blocks
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:28:22 +02:00
Michael Niedermayer
2ba0953ee4
Merge commit '1d177200ce1ffd8902729e3a4d647b04fc4b35f8'
...
* commit '1d177200ce1ffd8902729e3a4d647b04fc4b35f8':
wavpack: remove a useless check.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:13:14 +02:00
Michael Niedermayer
8d4e934df9
Merge commit '0f3a0b24dd6f595feaa4526e52ffa7d05c3d7840'
...
* commit '0f3a0b24dd6f595feaa4526e52ffa7d05c3d7840':
wavpack: add an error message to a failure.
wavpack: return 0 instead of samples count from decoding functions
Conflicts:
libavcodec/wavpack.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:08:24 +02:00
Michael Niedermayer
107e9e4432
wavpack: Properly check channel index, dont write out of arrays
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:02:37 +02:00
Michael Niedermayer
a803ca54e5
Merge commit '528daa399018af74d52192eb1861d2b59d256111'
...
* commit '528daa399018af74d52192eb1861d2b59d256111':
wavpack: switch to planar output
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 11:02:27 +02:00
Carl Eugen Hoyos
c0957f49c7
configure: Fix jack auto-detection, broken since 3fc8500
2013-05-28 10:28:16 +02:00
Michael Niedermayer
84051d57f5
Merge commit 'a7ec3a9a4eea4e374afcd6e05828b103e6fcb601'
...
* commit 'a7ec3a9a4eea4e374afcd6e05828b103e6fcb601':
wavpack: drop redundant if/else blocks
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 10:03:04 +02:00
Michael Niedermayer
be72853f8a
Merge commit '7b44c9918086c6aeacf7ef9f902af38b97f43170'
...
* commit '7b44c9918086c6aeacf7ef9f902af38b97f43170':
wavpack: remove the subframes codec cap
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 09:57:44 +02:00
Michael Niedermayer
f6beb36115
Merge commit 'c330eba84cf2370ad72423aa9e410e20afdc52e2'
...
* commit 'c330eba84cf2370ad72423aa9e410e20afdc52e2':
lavf: preserve side data when parsing packets.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 09:51:19 +02:00
Michael Niedermayer
197e219c92
jpeg2000dwt: add float based 9/7 dwt
...
Untested as theres no code yet using it in the encoder.
Code based on mixed float/int dwt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 09:42:19 +02:00
Michael Niedermayer
cf05fe8a7e
jpeg2000dwt: remove floats from mixed float/int 9/7 dwt
...
This should fix some fate failures
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 09:35:49 +02:00
Kostya Shishkov
851bc1d6be
smacker: assign video frame PTS
2013-05-28 09:03:41 +02:00
Michael Niedermayer
3fc8500483
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
smacker: add a clarification notice about audio decoding
configure: make jack depend on pthreads
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 08:59:07 +02:00
Michael Niedermayer
2ad28840b3
Merge commit '538bf767373f176b6487e30181155e74b37cced6'
...
* commit '538bf767373f176b6487e30181155e74b37cced6':
avconv: make -aspect work with streamcopy
Conflicts:
ffmpeg.c
ffmpeg_opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 08:52:03 +02:00
Anton Khirnov
9b6f47c448
matroskadec: export full wavpack blocks.
...
This allows us to get rid of demuxer-specific hacks in the decoder and
will allow streamcopy from matroska once we have a wavpack muxer.
2013-05-28 08:14:35 +02:00
Anton Khirnov
5074f4545c
wavpack demuxer: export full wavpack blocks.
...
Currently the demuxer shaves the blocks and exports only the
information that is useful to the decoder.
Exporting the blocks just as they are stored is simpler to understand
and will make remuxing wavpack easier.
2013-05-28 08:14:05 +02:00
Anton Khirnov
72dee5f40b
wavpack: don't set sample format in init.
...
We don't know whether it will be float until we look at the data.
2013-05-28 08:04:07 +02:00
Michael Niedermayer
91db8ff203
Merge commit '564b7e0c0095768cd20001b28154d69462be54e7'
...
* commit '564b7e0c0095768cd20001b28154d69462be54e7':
matroskadec: silently skip CodecState element.
smacker: fix off-by-one error in palette expanding code
Conflicts:
libavformat/smacker.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 08:04:02 +02:00
Anton Khirnov
35596bd4f4
wavpack: remove a useless parameter from wavpack_decode_block().
...
The decoder always returns output if an error does not occur.
2013-05-28 08:03:57 +02:00
Anton Khirnov
d1bec4be22
wavpack: return an error on 0-sized blocks
...
Such blocks are not valid.
2013-05-28 08:03:37 +02:00
Anton Khirnov
1d177200ce
wavpack: remove a useless check.
...
Number of samples in the first block is checked to be strictly positive
earlier in wavpack_decode_frame() and number of samples in all the other
blocks is checked to be equal to the first one.
2013-05-28 08:03:24 +02:00
Anton Khirnov
0f3a0b24dd
wavpack: add an error message to a failure.
2013-05-28 08:03:13 +02:00
Anton Khirnov
474fb0c9d9
wavpack: return 0 instead of samples count from decoding functions
...
The caller never cares about the number of decoded samples, so this only
confuses the reader.
2013-05-28 08:03:02 +02:00
Anton Khirnov
528daa3990
wavpack: switch to planar output
...
This simplifies the code and makes it faster.
2013-05-28 08:01:30 +02:00
Anton Khirnov
a7ec3a9a4e
wavpack: drop redundant if/else blocks
2013-05-28 08:01:16 +02:00
Anton Khirnov
7b44c99180
wavpack: remove the subframes codec cap
...
The decoder always consumes full packets.
2013-05-28 08:01:08 +02:00
Anton Khirnov
c330eba84c
lavf: preserve side data when parsing packets.
2013-05-28 08:00:07 +02:00
Michael Niedermayer
97f7586cd6
Merge commit '5f30c6c8ed1f006c1b3a547dfe388f3a4a080e4d'
...
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 07:49:38 +02:00
Kostya Shishkov
268bb88544
smacker: add a clarification notice about audio decoding
2013-05-28 06:17:08 +02:00
Michael Niedermayer
9c66da517f
j2kenc: Zero DWT struct on allocation
...
Should fix fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 02:47:25 +02:00
Michael Niedermayer
05fa3f6802
j2kdec: random non functional changed from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 01:46:59 +02:00
Michael Niedermayer
d66de3801e
j2kdec: merge get_tlm() from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 01:11:30 +02:00
Michael Niedermayer
8cf57efdd7
j2k/jpeg2000: merge lowres code
...
This also fixes lowres use with ffplay
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 00:30:06 +02:00
Michael Niedermayer
840ee5e1a1
ffplay: dont forget passing lowres to private options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-28 00:09:34 +02:00
Michael Niedermayer
f82e7330af
jpeg2000: merge mant type from j2k
...
mant fits in 16bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 22:25:03 +02:00
Anton Khirnov
a3fc62e89e
configure: make jack depend on pthreads
2013-05-27 21:56:14 +02:00
Michael Niedermayer
d4a4661342
j2k/jpeg2000: merge j2k & jpeg2000 dwts, drop j2k dwt
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 21:54:07 +02:00
Anton Khirnov
538bf76737
avconv: make -aspect work with streamcopy
2013-05-27 21:26:06 +02:00
Anton Khirnov
564b7e0c00
matroskadec: silently skip CodecState element.
...
mkvmerge apparrently uses it for mpeg1/2 video, but it contains the same
information as CodecPrivate, so it can be ignored.
2013-05-27 21:25:53 +02:00
Clément Bœsch
160ea26560
lavfi/haldclutsrc: 10l remove size options.
2013-05-27 20:53:25 +02:00
Clément Bœsch
92a2d12a71
lavfi/overlay: remove do_blend forward declaration.
2013-05-27 20:42:46 +02:00
Clément Bœsch
ae5738248a
lavfi/lut3d: move lut3d init to its definition scope.
2013-05-27 20:42:46 +02:00
Clément Bœsch
158d96e3f0
lavfi: add haldclut filter.
...
Fixes Ticket #2517 .
2013-05-27 20:42:28 +02:00
Clément Bœsch
4328602890
lavfi: add dual input helpers.
2013-05-27 20:32:28 +02:00
Clément Bœsch
3cec29cf59
lavfi: add haldclutsrc filter.
2013-05-27 20:32:28 +02:00
Michael Niedermayer
1bbb46ff71
j2k_dwt: fix scaling of 9/7 dwt
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 19:57:42 +02:00
Michael Niedermayer
ee189701a6
j2kenc: Allow encoding with the 9/7 wavelet
...
Also add a fate test that tests 9/7
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 18:50:18 +02:00
Kostya Shishkov
c3c08baefb
smacker: fix off-by-one error in palette expanding code
2013-05-27 18:19:08 +02:00
Kostya Shishkov
5f30c6c8ed
Revert "smackaud: clip output samples"
...
Smacker audio uses overflows instead of clipping.
This reverts commit 375ca0aca8 .
2013-05-27 18:19:01 +02:00
Michael Niedermayer
243cc38d94
j2k: change fixed point of stepsize to 16.16
...
This seems more natural and matches jpeg2000
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 17:58:06 +02:00
Michael Niedermayer
1b5cb6c00a
j2k/jpeg2000: Partially merge quantization code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 17:50:54 +02:00
Michael Niedermayer
9a18395b92
j2k/jpeg2000: merge a few whitespaces
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 16:10:36 +02:00
Michael Niedermayer
c2e942099a
j2k: drop cblknx/y from Jpeg2000Band
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:55:29 +02:00
Michael Niedermayer
8c2e201c4f
j2k/jpeg2000: drop xi/yi0/1 from Jpeg2000Prec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:53:42 +02:00
Michael Niedermayer
a05db52c12
j2k: remove cblk from band
...
cblk is now in the same place as in jpeg2000, which will simplify
merging the 2 decoders
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:51 +02:00
Michael Niedermayer
81ccc31f75
j2kdec: merge decode_tile cblk handling from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Michael Niedermayer
2c5a5c5a62
j2kdec: cdxy != 1 does not work, print an error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Michael Niedermayer
14652c080d
j2k/jpeg2000: restructure cblk coord
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Michael Niedermayer
5161c62595
j2k: fix band coord
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Michael Niedermayer
369422db0c
j2kdec: merge cblk restructuring from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Michael Niedermayer
cbaa0871c2
j2kenc: switch to cblk in prec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Michael Niedermayer
9fd23baa74
j2k: merge precinct init code from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Michael Niedermayer
3300b5f6ce
j2k/jpeg2000 headers: Cblk/Prec cleanup & merge
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 15:13:18 +02:00
Paul B Mahol
a1873f35f8
lavfi/ocv: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 11:31:52 +00:00
Paul B Mahol
229d5bfdc8
lavfi/frei0r: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 11:31:52 +00:00
Paul B Mahol
beda41886e
lavfi/channelmap: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 11:31:52 +00:00
Paul B Mahol
6008b5abbb
lavfi/format: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 11:17:34 +00:00
Paul B Mahol
e457f2cf1f
lavfi/setpts: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 11:14:43 +00:00
Paul B Mahol
5fe5bde60a
lavfi/join: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 11:10:39 +00:00
Paul B Mahol
622c977437
lavfi/hqdn3d: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 10:58:45 +00:00
Paul B Mahol
d349704eef
lavfi/interlace: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 10:00:37 +00:00
Paul B Mahol
11cdf9671f
lavfi/trim: make use of AVFILTER_DEFINE_CLASS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 09:55:40 +00:00
Paul B Mahol
68def27124
lavfi/interlace: remove request frame hack
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 09:55:40 +00:00
Paul B Mahol
ed1c83508e
lavfi/trim: remove request frame hack
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 09:55:40 +00:00
Paul B Mahol
4f8e4b8a54
lavfi/tinterlace: remove request frame hack
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 09:55:40 +00:00
Paul B Mahol
c63e4e6569
lavfi/idet: remove request_frame hack
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-27 09:55:39 +00:00
Michael Niedermayer
1c711b6ecd
Merge remote-tracking branch 'dilaroga/master'
...
* dilaroga/master:
avcodec/vda_h264_dec: fix a memory leak
avcodec/vda_h264: use av_buffer to manage buffers
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 09:32:22 +02:00
Xidorn Quan
499b82f604
avcodec/vda_h264_dec: fix a memory leak
...
Signed-off-by: Sebastien Zwickert <dilaroga@gmail.com >
2013-05-27 09:07:48 +02:00
Xidorn Quan
ffd7fd7944
avcodec/vda_h264: use av_buffer to manage buffers
...
This patch fixes a leak of buffer when seeking occurs.
It adds a flag in struct vda_context for compatibility with apps which
currently use it. If the flag is not set, the hwaccel will behave like
before.
Signed-off-by: Sebastien Zwickert <dilaroga@gmail.com >
2013-05-27 09:05:55 +02:00
Michael Niedermayer
b7c6d1ed90
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
arm: Only output eabi attributes if building for ELF
fix scalarproduct_and_madd_int16_altivec() for orders > 16
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 08:55:24 +02:00
Michael Niedermayer
53ec1c811e
j2k: merge cosmetics and non functional changes from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-27 02:27:56 +02:00
Paul B Mahol
e5c7bafb44
libtwolame: add forgotten calls
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-26 21:57:28 +00:00
Martin Storsjö
be7952b5c3
arm: Only output eabi attributes if building for ELF
...
This matches the other eabi attribute in the same file. This is
required in order to build for arm/hardfloat with other object
file formats than ELF.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-27 00:55:33 +03:00
Clément Bœsch
b439ece51c
lavfi/dctdnoiz: move DC normalization out of loops.
...
Make code slightly faster, simpler, clearer.
The filter is still slow as hell, and that change won't cause any
visible performance improvement (it still takes more than one minute to
process a single 1080p frame on a Core 2 here).
2013-05-26 22:41:02 +02:00
Michael Niedermayer
bd89b2b22a
j2k/jpeg2000: log2_prec size cleanup
...
This also changes the cblk size storage method to what jpeg2000 uses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 22:29:11 +02:00
Michael Niedermayer
cb39dfb870
j2k/jpeg2000: check cblk size
...
This is based on j2k FCD which is ambigous thus the limit
might be tighter.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
9ea242962c
j2k: ff_j2k_tag_tree_init: check for integer overflow in alloc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
b01e61a47d
jpeg2000: cosmetics & restructuring from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
228ce33606
j2k: add #includes from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
874a06bd1f
j2k: cosmetics from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
6e16321d66
j2kdec: add AVClass
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
df3e6e5e22
j2kdec: cosmetics from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
277691a130
j2kdec: merge copyright header with jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
a2daf929ed
j2kdec: profile code from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
726eac1df9
j2kdec: cosmetics from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
88d2dd00fe
avcodec/j2kdec: drop disabled debug code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
de90bd6c3f
j2k/jpeg2000: merge cosmetics and whitespace
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
bcf59b5d8f
j2kdec: merge jpeg2000_init_static_data() from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Michael Niedermayer
5d67dfd71c
j2kdec: move avctx init to decode_frame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 20:15:50 +02:00
Clément Bœsch
56cea3294a
lavfi/lut3d: faster tetrahedral interpolation.
...
Increase performance by fetching only the necessary points.
1097 → 917 decicyles.
2013-05-26 18:48:51 +02:00
Clément Bœsch
b6ee25e300
lavfi/lut3d: restore original interpolation speed.
...
Call NEXT() only once since it got slower due to the overflow condition
introduced in 91b46145 .
interp_trilinear: 1462 → 1280 decicycles
interp_tetrahedral: 1188 → 1097 decicycles
Tested on a Core2, GCC 4.8.
2013-05-26 18:48:10 +02:00
Michael Niedermayer
b4013899e2
j2k: s/ff_j2k_getsigctxno/ff_jpeg2000_getsigctxno/g
...
Also add a related comment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:22:16 +02:00
Michael Niedermayer
ac325f0613
j2k.h: whitespace cosmetics
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:22:16 +02:00
Michael Niedermayer
5b4cad4a64
j2k.h: remove disabled debug code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:49 +02:00
Michael Niedermayer
ad194874ee
j2k.h: Merges various cosmetics & unused defines
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:48 +02:00
Michael Niedermayer
da90661718
j2k/jpeg2000: merge copyright
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:48 +02:00
Michael Niedermayer
e708c7fa21
j2k: drop disabled debug code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:48 +02:00
Michael Niedermayer
e66faf71eb
j2k: merge ff_j2k_init_tier1_luts()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:48 +02:00
Michael Niedermayer
b67fe48f34
jpeg2000/j2k: merge getsigctxno()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:48 +02:00
Michael Niedermayer
69b9773980
j2k: s/getnbctxno/getsigctxno/g
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:48 +02:00
Michael Niedermayer
5157ec89ef
j2k: redesign vert_causal_ctx_csty implementation
...
The old implementation was incomplete and could not have worked
This also fixes some warnings
New code is untested as i dont seem to have a sample file that uses this.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 18:07:48 +02:00
Kostya Shishkov
0418cbf081
fix scalarproduct_and_madd_int16_altivec() for orders > 16
...
the second and third sources were incremented only by half of the needed size
2013-05-26 16:10:47 +02:00
Paul B Mahol
c8e9c9275f
lavfi/bbox: export bbox info to frame metadata
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-26 14:00:10 +00:00
Paul B Mahol
add8c63ce4
lavfi/bbox: timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-26 14:00:09 +00:00
Paul B Mahol
7aa99a69c7
lavfi/bbox: make min_val user configurable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-26 14:00:09 +00:00
Paul B Mahol
e9c3851d60
lavfi/bbox: use inlink->frame_count
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-26 14:00:09 +00:00
Clément Bœsch
477f4efd0f
lavf/swf: remove unused assert include.
2013-05-26 15:48:50 +02:00
Michael Niedermayer
438c45c08a
j2kdec: fix used bytestream function
...
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 15:00:23 +02:00
Michael Niedermayer
d42106c3ac
j2k: rename a few inline functions and data tables to match jpeg2000
...
also inlcudes some other cosmetics
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 14:02:44 +02:00
Michael Niedermayer
c78f3e5571
j2kdec: prog_order reading from jpeg2000dec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 13:57:56 +02:00
Michael Niedermayer
81be0965e3
j2k: merge Jpeg2000CodingStyle from jpeg2000
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 13:57:56 +02:00
Michael Niedermayer
4758e32a6c
matroska_read_seek: Fix used streams for subtitle index compensation
...
Might fix Ticket1907 (I have no testcase so i cant test)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 13:14:01 +02:00
Paul B Mahol
40a87a6a69
lavfi/noise: use av_image_copy_plane()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-26 10:52:57 +00:00
Michael Niedermayer
4cf7b87551
av_cpu_count: factorize "detected %d logical cores" message
...
Also print the message just once
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 03:19:55 +02:00
Michael Niedermayer
d480b36db4
av_d2q: Avoid llrint(), its not correctly implemented in old netbsd
...
This should fix some fate failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-26 03:19:55 +02:00
Timothy Gu
4703a345fb
doc/encoders: Add documentation for libmp3lame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 23:56:49 +02:00
Michael Niedermayer
ee5964cc9c
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
msvc/icl: Intel Compiler support on Windows
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 21:43:13 +02:00
Michael Niedermayer
efcc334c9d
Merge commit '9495cd170b5786c3518419e873d94eb5e7ada11a'
...
* commit '9495cd170b5786c3518419e873d94eb5e7ada11a':
configure: Fix check_exec_crash for ICL support
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 21:38:17 +02:00
Michael Niedermayer
5f44f47b72
mpegvideo_enc: do not unreference frames before the code is done with them
...
Fixes Ticket2592
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 20:30:50 +02:00
Michael Niedermayer
5292dac34c
avformat/mov: Rename alt_sample_size so its name matches what it is
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 18:47:36 +02:00
Alex Smith
322e4194dd
msvc/icl: Intel Compiler support on Windows
...
Initial support for the ICL compiler on windows. Requires a new
c99wrap with ICL support (1.0.2+).
Currently not much different speed wise compared to msvc. In the
future with a few changes it can be made to support the inline asm.
This would be the primary reason for using it.
Passed all fate tests, versions tested:
13.1.1.171 (2013 Update 3) x86 and x64
12.1.5.344 (2011 Update 11) x86 and x64
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-05-25 17:52:44 +02:00
Giorgio Vazzana
7e03886bbb
avutil/md5: reindent after previous commits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 16:11:08 +02:00
Michael Niedermayer
64eacb839e
av_d2q: fix rounding for negative values
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 16:04:08 +02:00
Michael Niedermayer
de7d290631
av_d2q: Fix infinity check
...
The old check would fail on huge but not infinite values
and the later code could then fail to handle them correctly in
some cases.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 16:03:50 +02:00
Paul B Mahol
8caf2da320
lavfi/afade: add timeline support
...
For correct precision one may need to use asetnsamples.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-25 13:20:27 +00:00
Laurent
9495cd170b
configure: Fix check_exec_crash for ICL support
...
Change the check_exec_crash test to use a function pointer instead of
simply calling the function. The EBP availability test will crash when
compiled with ICL likely due to compiler optimization shenanigans.
Originally the check_exec_crash code was moved out of main to fix a
problem with gcc's treatment of non-leaf main on x86_32. Libav already
moved the code out of main but the addition of the function pointer will
prevent any inlining which fixes the remaining problem.
A function pointer is used since it is compiler agnostic (as opposed to
say __attribute__ ((noinline)) which would only work with gcc compatible
compilers).
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-05-25 12:07:56 +02:00
Michael Niedermayer
760a9754ca
img2dec: support seeking with ts_from_file
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 12:06:14 +02:00
Michael Niedermayer
a753776ff5
img2dec: dont set start_time/duration to invalid values
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 12:05:32 +02:00
Andrey Utkin
70fbfd75c3
img2dec: Add ts_from_file option
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-25 11:42:28 +02:00
Paul B Mahol
2c2e69b3a2
lavfi/blend: support slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-24 21:41:28 +00:00
Michael Niedermayer
e0f2e0fcf0
vf_fade: remove unused function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 20:50:15 +02:00
Michael Niedermayer
42bb3e4db6
avcodec: remove ff_get_logical_cpus()
...
This simplifies the code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 20:25:53 +02:00
Michael Niedermayer
0cbfbdef4a
vf_fade: Support slice threaded alpha
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 20:21:40 +02:00
Michael Niedermayer
a3d62f3377
vf_fade: Fix alpha flag integration
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 20:21:40 +02:00
Paul B Mahol
af12573938
lavfi/blend: fix SW/SH calculation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-24 17:34:22 +00:00
Michael Niedermayer
bca59d7745
fade: fix slice sizes
...
This more evenly distributes the load between threads
This also fixes the chroma filtering where the filter was applied twice
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 17:47:02 +02:00
Michael Niedermayer
1d08e4b584
yadif: fix slice sizes
...
This more evenly distributes the load between threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 17:46:57 +02:00
Michael Niedermayer
221f902f1d
avfilter/vf_yadif: fix race condition
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 17:26:20 +02:00
Michael Niedermayer
fe99b1d50e
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
cpu: Include common.h for av_popcount64
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 17:19:21 +02:00
Reimar Döffinger
4059c7836a
framemd5_class and md5enc_class may not be identical.
...
Due the crappy issue of classes having to be unique,
we cannot even have classes with identical content,
otherwise the compiler or linker is free to merge them,
giving the same result and bugs as if we had only one class.
Besides redesigning the option code to handle this correctly
I see only the option of requiring any two classes to have
different names, but the list of requirements for
AVClasses is getting kind of unmanageable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-24 16:28:25 +02:00
Carl Eugen Hoyos
82d105543c
Fix compilation with --disable-everything --enable-filter=dctdnoiz
2013-05-24 14:19:20 +00:00
Thilo Borgmann
4a2c2a09a2
Fix compilation with --disable-everything --enable-muxer=vc1
...
Suggested-by: Reimar
2013-05-24 14:19:19 +00:00
Paul B Mahol
036e9a0417
lavfi/blend: add yuv(j)411p
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-24 14:02:37 +00:00
Michael Niedermayer
6d02bdc338
vformat/wtvenc: fix doxygen comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:36:54 +02:00
Michael Niedermayer
68ff528969
avformat/wtvdec: fix doxygen comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:36:54 +02:00
Michael Niedermayer
682f0035fb
avformat/jvdec: fix doxygen comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:36:54 +02:00
Michael Niedermayer
8870cf7c0e
avformat/gif: remove unneeded doxygen comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:36:54 +02:00
Michael Niedermayer
b5be1a7e23
avfilter/vf_drawtext: Fix doxygen comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:36:54 +02:00
Michael Niedermayer
87a2bf2459
avutil/bprint: Fix doxygen comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:36:54 +02:00
Clément Bœsch
9c50e52005
cmdutils: print slice threading flag in -filters.
2013-05-24 15:34:37 +02:00
Michael Niedermayer
a2abd58a09
avfilter: remove av_opt_set_defaults() from process_options()
...
This is already called from ff_filter_alloc()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:25:52 +02:00
Michael Niedermayer
558ce3e5b7
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
vf_fade: support slice threading
vf_yadif: support slice threading
Conflicts:
libavfilter/vf_fade.c
libavfilter/vf_yadif.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 15:24:22 +02:00
Paul B Mahol
2516b393d4
lavfi/field, il, noise: use av_pix_fmt_count_planes()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-24 12:53:23 +00:00
Michael Niedermayer
8d4e969afe
Merge commit '129bb238430ec45a3b5f8f1d384df590ddf7b62f'
...
* commit '129bb238430ec45a3b5f8f1d384df590ddf7b62f':
lavfi: add a slice threading infrastructure
Conflicts:
Changelog
cmdutils.c
doc/APIchanges
libavfilter/Makefile
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/avfiltergraph.c
libavfilter/internal.h
libavfilter/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 14:07:00 +02:00
Michael Niedermayer
fe40a9f98f
Merge commit '2a6eaeaa85d17b27ee0dd449183ec197c35c9675'
...
* commit '2a6eaeaa85d17b27ee0dd449183ec197c35c9675':
Move get_logical_cpus() from lavc/pthread to lavu/cpu.
Conflicts:
doc/APIchanges
libavcodec/pthread.c
libavutil/cpu.c
libavutil/cpu.h
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 13:24:28 +02:00
Michael Niedermayer
a4d3757b29
Merge commit '90f9a5830b5d332de7ebb1ab45589f1870cbd65d'
...
* commit '90f9a5830b5d332de7ebb1ab45589f1870cbd65d':
w32pthreads: move from lavc to compat/
Conflicts:
libavcodec/Makefile
libavcodec/pthread.c
libavcodec/vp8.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 13:01:41 +02:00
Martin Storsjö
597208fde1
cpu: Include common.h for av_popcount64
...
This fixes build failures on windows since 2a6eaeaa8 .
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-24 13:34:19 +03:00
Michael Niedermayer
ecbd96ed23
Merge commit 'e69222c50755030eef921e899e38b71a111093d9'
...
* commit 'e69222c50755030eef921e899e38b71a111093d9':
doxy: enable TYPEDEF_HIDES_STRUCT
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 12:25:21 +02:00
Michael Niedermayer
029353e427
Merge commit 'e9e5a1bdc769a7225ab0d4f8b33bcacc6496bd68'
...
* commit 'e9e5a1bdc769a7225ab0d4f8b33bcacc6496bd68':
Monkey's Audio old versions FATE tests
h264_parser: Set field_order and picture_structure.
Conflicts:
libavcodec/h264_parser.c
tests/fate/lossless-audio.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 12:15:56 +02:00
Clément Bœsch
cf6ed1f129
lavu/opencl: remove semi-colon from macro.
...
Fixes compilation when the macros are empty and the label above ends up
containing no statement. Also makes usage of these macro consistent
(some already have a semi colon, some others don't).
Fixes Ticket #2603
2013-05-24 12:01:02 +02:00
Michael Niedermayer
0c25c398da
Merge commit 'b493847df4ff8ce46f258749e4a3f304696b34c1'
...
* commit 'b493847df4ff8ce46f258749e4a3f304696b34c1':
avcodec: Add picture structure information to AVCodecParserContext.
Conflicts:
doc/APIchanges
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 11:51:58 +02:00
Anton Khirnov
8a994b7406
vf_fade: support slice threading
2013-05-24 09:33:05 +02:00
Anton Khirnov
cb79881b49
vf_yadif: support slice threading
2013-05-24 09:32:07 +02:00
Anton Khirnov
129bb23843
lavfi: add a slice threading infrastructure
...
Mostly based on libavcodec's
2013-05-24 09:28:18 +02:00
Anton Khirnov
2a6eaeaa85
Move get_logical_cpus() from lavc/pthread to lavu/cpu.
...
It will be useful in lavfi, and could conceivably be useful to the user
applications as well.
2013-05-24 09:28:00 +02:00
Anton Khirnov
90f9a5830b
w32pthreads: move from lavc to compat/
...
It will be used in other places than lavc.
2013-05-24 09:26:54 +02:00
Anton Khirnov
e69222c507
doxy: enable TYPEDEF_HIDES_STRUCT
...
This means that typedef struct SomeStruct {...} SomeStruct will only be
documented as SomeStruct in the doxy, without a pointless entry in the
typedefs list.
2013-05-24 09:12:00 +02:00
Kostya Shishkov
e9e5a1bdc7
Monkey's Audio old versions FATE tests
2013-05-24 09:04:18 +02:00
Yusuke Nakamura
3f1a7ceb2c
h264_parser: Set field_order and picture_structure.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-24 08:45:05 +02:00
Yusuke Nakamura
b493847df4
avcodec: Add picture structure information to AVCodecParserContext.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-24 08:43:14 +02:00
Michael Niedermayer
ac0ade2645
Changelog: add entry for the S302m encoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-24 04:42:32 +02:00
Paul B Mahol
102848e3b6
s302menc: unbreak compilation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 20:38:53 +00:00
Paul B Mahol
e75ddb7df5
s302menc: fix bits_per_raw_sample for 21, 22 & 23 case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 20:36:17 +00:00
Paul B Mahol
d683271753
lavc/codec_desc: SMPTE 302M is not lossy
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 20:26:19 +00:00
Paul B Mahol
15b9c0b49f
escape124: switch to init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 19:58:03 +00:00
Paul B Mahol
cdc3f8f307
escape124: pass context to av_log()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 19:53:08 +00:00
Paul B Mahol
abf1e59ef2
libaacplus: return meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 19:41:43 +00:00
Paul B Mahol
6d53034483
libaacplus: cosmetics: fix indentation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 19:41:43 +00:00
Paul B Mahol
963c58006f
libaacplus: move profile check above, simplifies code a little
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 19:41:38 +00:00
Michael Niedermayer
0fb7fef879
tools/patcheck: fix misdetection with stuff like const_names
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 19:11:28 +02:00
Clément Bœsch
d51dfc7ec4
doc/filters: fix wording of color option in testsrc filters.
2013-05-23 17:22:05 +02:00
Clément Bœsch
a0a41db339
lavfi/testsrc: make nb_decimals available only in testsrc.
2013-05-23 17:22:05 +02:00
Clément Bœsch
288f916643
lavfi/testsrc: move color options to the color scope filter definition.
2013-05-23 17:22:05 +02:00
Michael Niedermayer
eee19198ef
avcodec/libfaac: fallback to a supported bitrate if the requested is not supported
...
Fixes: Ticket2587
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 15:37:48 +02:00
Michael Niedermayer
e8c26557a4
avformat/mtv: remove empty comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 14:46:01 +02:00
Michael Niedermayer
ef43b9496b
avcodec/mpegvideo: remove empty comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 14:43:42 +02:00
Michael Niedermayer
1d3476f258
postproc/postprocess_template: remove empty comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 14:39:58 +02:00
Darryl Wallace
3e16047507
s302m encoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 12:03:06 +00:00
Paul B Mahol
fbd0f91a3a
escape130: switch to init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 10:21:12 +00:00
Michael Niedermayer
ac2c52174f
avcodec/wavpack: remove ;;
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 12:07:31 +02:00
Paul B Mahol
79f452f4e6
fraps: set avctx->color_range
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 10:05:28 +00:00
Paul B Mahol
591fa05278
doc/general: remove obsolete info about APE decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-23 09:32:12 +00:00
Michael Niedermayer
b7d16dc4bd
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
wavpack: check packet size early
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 10:55:46 +02:00
Michael Niedermayer
402bec52d4
Merge commit '3f0b6d7a6248a33df37b98cfcb37a1acce263f62'
...
* commit '3f0b6d7a6248a33df37b98cfcb37a1acce263f62':
wavpack: use bytestream2 in wavpack_decode_block
Conflicts:
libavcodec/wavpack.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 10:46:05 +02:00
Michael Niedermayer
1fded9b69c
Merge commit 'f36d7831d96aeb072db5a2b78892a534d96e288e'
...
* commit 'f36d7831d96aeb072db5a2b78892a534d96e288e':
pixdesc: mark gray8 as pseudopal
Conflicts:
libavutil/pixdesc.c
No change as gray8 was already marked as pseudopal in FFmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 10:33:45 +02:00
Michael Niedermayer
1724123c65
Merge commit '3eae9b030cbbdc263f69834b791624613032d548'
...
* commit '3eae9b030cbbdc263f69834b791624613032d548':
mpegvideo: unref buffers in ff_mpeg_unref_picture on frame size changes
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 10:25:25 +02:00
Dale Curtis
c54a1565f5
avformat/utils: Keep internal and external av_read_frame() packets in sync.
...
Otherwise, during error conditions, the caller will be left with
dangling pointers to a destructed packet => boom.
BUG=242786
TEST=ffmpeg_regression_tests
Commit slightly simplified by commiter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-23 03:29:47 +02:00
Paul B Mahol
1f02927d28
lavfi/mp: try to pass interlaced & tff flags
...
This makes mp=softpulldown actually useful.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-22 20:30:09 +00:00
Clément Bœsch
91b461459a
lavfi/lut3d: avoid overread.
2013-05-22 22:12:14 +02:00
Luca Barbato
fd06291239
wavpack: check packet size early
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-22 22:02:57 +02:00
Luca Barbato
3f0b6d7a62
wavpack: use bytestream2 in wavpack_decode_block
...
Prevent most out of buffer reads.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-22 22:02:55 +02:00
Michael Niedermayer
657875b145
avcodec/aic: Fix vlc value checks
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 21:30:28 +02:00
Anton Khirnov
f36d7831d9
pixdesc: mark gray8 as pseudopal
...
Many functions treat it as such already.
Fixes Bug 499.
CC:libav-stable@libav.org
2013-05-22 21:18:08 +02:00
Michael Niedermayer
30df9789a9
proresdec: Fix end condition
...
Fixes out of array writes
No FFmpeg release is affected by this
This also fixes some artifacts
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 20:24:50 +02:00
Michael Niedermayer
df3ee7b9a9
smvjpegdec: use av_pix_fmt_desc_get() avoid direct table access
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 20:24:50 +02:00
Clément Bœsch
165bc9caa2
v4l2: make possible to disable libv4l2 at runtime.
...
Also disable it by default since it looks currently buggy. The
usefulness of such library is mostly limited to backward compatibility
with very old devices.
2013-05-22 19:49:29 +02:00
Clément Bœsch
12f51c1f9e
lavfi: add lut3d filter.
...
Fixes part of Ticket #2517 .
2013-05-22 18:23:43 +02:00
Michael Niedermayer
ad22767cb6
shorten: fix "off by padding" bug
...
Fixes array overread
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 17:40:12 +02:00
Janne Grunau
3eae9b030c
mpegvideo: unref buffers in ff_mpeg_unref_picture on frame size changes
...
ff_mpeg_unref_picture clears the flag indicating that the frame needs to
be reallocated after a frame size change. Since we have now reference
counted buffers we can unref the buffers immediately.
2013-05-22 15:40:12 +02:00
Ash Hughes
14ec9d2590
Support playing SMV files.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 15:20:22 +02:00
Michael Niedermayer
cc0db8cf30
avienc: Disallow the first frame to be skiped
...
Fixes Ticket2386
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 14:11:42 +02:00
Michael Niedermayer
c88e52e797
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Enable the strtod workaround when building for bionic
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 10:57:46 +02:00
Michael Niedermayer
32f550ee01
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Add a fate test for ProRes Transparency.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 04:40:12 +02:00
Michael Niedermayer
914ab4cd1c
j2kdec & jpeg2000dec: check lengthinc against array size
...
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 04:18:38 +02:00
Michael Niedermayer
17e66c9ff4
j2k & jpeg2000dec: reset numX/Ytiles if tiles failed allocation
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 03:18:55 +02:00
Michael Niedermayer
53f0442464
avcodec/jpeg2000dec: Port tile size check from j2kdec
...
Fixes potential integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 03:16:52 +02:00
Michael Niedermayer
73ffab4195
jpeg2000dec: check TPsot
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 02:53:21 +02:00
Michael Niedermayer
fec8783883
jpeg2000dec: read and check curtileno
...
Fixes out of array accesses
Code ported from j2kdec
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 02:29:49 +02:00
Michael Niedermayer
f399b33c2b
jpeg2000dec & j2kdec: Fix return type of get_sot()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 02:14:04 +02:00
Michael Niedermayer
4a9a6a1f35
vcodec/jpeg2000dec: fix av_log() type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 02:05:50 +02:00
Michael Niedermayer
8d9fa738f5
j2kdec: cosmetics from jpeg2000dec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 01:25:52 +02:00
Michael Niedermayer
0b42631641
avcodec/jpeg2000dec: merge bytestream2 reading from j2kdec
...
This fixes at least one out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 01:24:47 +02:00
Michael Niedermayer
c649ecb3b2
avcodec/jpeg2000dec: get_qcx, fix stack and heap overwrites
...
This is likely remotely exploitable
Fix ported from j2kdec
No uptodate FFmpeg release should be affected by this
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-22 00:07:45 +02:00
Carl Eugen Hoyos
898268a23b
Add a fate test for ProRes Transparency.
2013-05-21 23:09:19 +02:00
Paul B Mahol
f98dbc7311
lavu/opt: check if class is NULL too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-21 20:50:49 +00:00
Clément Bœsch
39dc1bc90f
lavfi/(a)showinfo: use link frame counter instead of local counter.
2013-05-21 22:29:16 +02:00
Michael Niedermayer
81bec0ace4
avutil/pixfmt: add forgotten deprecated to YUVJ411
...
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 21:49:28 +02:00
Michael Niedermayer
069ede2981
jpeg2000dec: Check ncomponents and tile dimensions
...
Fixes various problems
Code ported from j2kdec
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 21:44:34 +02:00
Michael Niedermayer
78c7bff04a
avcodec/j2k: rename J2K_ constants to JPEG2000_
...
This should simplify merging the 2 decoders
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 21:44:34 +02:00
Michael Niedermayer
0ab0ed2b86
j2k: Rename structs to be more similar to jpeg2000dec
...
This should simplify merging
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 21:44:34 +02:00
Michael Niedermayer
376e89e280
j2kdec: s/decode_packets/jpeg2000_decode_packets/
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 21:44:34 +02:00
Stefano Sabatini
a8d98377b1
lavfi/geq: prefer symbolic constants
...
Hopefully enhance readability.
2013-05-21 21:15:08 +02:00
Stefano Sabatini
2210003b7f
lavfi/geq: add aliases for RGB options
2013-05-21 21:15:00 +02:00
Paul B Mahol
dbb49a6539
vp3: zero allocated tables
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-21 17:49:29 +00:00
Martin Storsjö
5b2b0b912d
configure: Enable the strtod workaround when building for bionic
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-21 19:37:07 +03:00
Michael Niedermayer
66f5790d7b
seek-test: make duration user configurable
...
Previously this was hardcoded to 4 seconds
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 18:13:25 +02:00
Clément Bœsch
b8a9876a8b
lavfi/yadif: add timeline support.
2013-05-21 16:09:42 +02:00
Michael Niedermayer
b1bbd715d8
avcodec/huffman: increase bits constant
...
Fixes Ticket2593
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 13:51:04 +02:00
Michael Niedermayer
b9ea6a8414
avcodec/huffman: use named identifer for the bits constant
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 13:51:04 +02:00
Michael Niedermayer
1d7e6a6bde
avcodec/bitstream: print vlc length in error case.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 13:51:04 +02:00
Michael Niedermayer
b60a65ee2d
mjpegdec: fix AV_PIX_FMT_YUVJ411P handling
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 12:56:12 +02:00
Michael Niedermayer
a90baa63c3
add YUVJ411P
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 12:56:11 +02:00
Michael Niedermayer
1d8b1f0e51
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
proresdec: simplify slice component offsets handling
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 12:01:58 +02:00
Michael Niedermayer
6ef7b6af6b
Merge commit 'cfbd98abe82cfcb9984a18d08697251b72b110c8'
...
* commit 'cfbd98abe82cfcb9984a18d08697251b72b110c8':
mjpegdec: validate parameters in mjpeg_decode_scan_progressive_ac
Conflicts:
libavcodec/mjpegdec.c
See: 1f41cffe1e
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 12:01:37 +02:00
Michael Niedermayer
877cae6eff
Merge commit 'c209d0df657f172f42d9bafbcdfa02dfb14f6965'
...
* commit 'c209d0df657f172f42d9bafbcdfa02dfb14f6965':
fate.sh: add support for build-only FATE instances
Conflicts:
doc/fate.texi
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 11:36:49 +02:00
Michael Niedermayer
3b071a4390
Merge commit 'a030279a67ef883df8cf3707774656fa1be81078'
...
* commit 'a030279a67ef883df8cf3707774656fa1be81078':
ljpeg: use the correct number of components in yuv
Conflicts:
libavcodec/mjpegdec.c
See: b2e57eb5a3
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 11:25:46 +02:00
Michael Niedermayer
f57a7ac9b8
Merge commit '8aa3500905fec6c4e657bb291b861d43c34d3de9'
...
* commit '8aa3500905fec6c4e657bb291b861d43c34d3de9':
mjpeg: Validate sampling factors
Conflicts:
libavcodec/mjpegdec.c
See: 08c37a10e9
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-21 10:50:03 +02:00
Kostya Shishkov
03ece7b040
proresdec: simplify slice component offsets handling
2013-05-21 09:58:59 +02:00
Luca Barbato
cfbd98abe8
mjpegdec: validate parameters in mjpeg_decode_scan_progressive_ac
...
Prevent out of buffer write when decoding broken samples.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-21 09:46:02 +02:00
Diego Biurrun
c209d0df65
fate.sh: add support for build-only FATE instances
...
If the "build_only" variable is set in the configuration file, the
FATE client will skip running tests and just compile all targets.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-21 10:07:19 +03:00
Xidorn Quan
5a65fea655
avutil/frame: continue to process bufs even if some are empty
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 23:34:15 +02:00
Giorgio Vazzana
a67304d05f
avutil/md5: move loop inside inner function
...
AMD Athlon(tm) II X3 450 Processor
size: 1048576 runs: 1024 time: 5.660 +- 0.023
size: 1048576 runs: 1024 time: 5.661 +- 0.030
size: 1048576 runs: 1024 time: 5.656 +- 0.022
size: 1048576 runs: 1024 time: 5.647 +- 0.026
size: 1048576 runs: 1024 time: 5.428 +- 0.037
size: 1048576 runs: 1024 time: 5.426 +- 0.034
size: 1048576 runs: 1024 time: 5.426 +- 0.034
size: 1048576 runs: 1024 time: 5.428 +- 0.038
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 22:07:48 +02:00
Luca Barbato
a030279a67
ljpeg: use the correct number of components in yuv
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-20 22:02:05 +02:00
Luca Barbato
8aa3500905
mjpeg: Validate sampling factors
...
They must be non-zero.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-20 22:02:05 +02:00
Michael Niedermayer
2211c76287
smacker: remove av_clip_int16()
...
Fixes Ticket2425
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 21:45:40 +02:00
Michael Niedermayer
2187600f47
libx264: silence: warning: the address of val will always evaluate as true
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 16:39:00 +02:00
Clément Bœsch
9a7f1519aa
lavd/v4l2enc: check write return value.
2013-05-20 16:33:21 +02:00
Michael Niedermayer
f099cdaba3
avcodec/ratecontrol: silence "warning: expected_bits may be used uninitialized in this function"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 15:49:49 +02:00
Michael Niedermayer
9c49d5908d
avutil/hmac: silence pointer type warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 14:48:55 +02:00
Michael Niedermayer
d61681f9e9
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mpegvideo: unref old current_picture before allocating a new one
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 12:07:17 +02:00
Michael Niedermayer
c5e11e897a
Merge commit 'db347280eb3746d7b70888db97f1efe5f06f5624'
...
* commit 'db347280eb3746d7b70888db97f1efe5f06f5624':
vorbis: fallback to normal division instead of crashing
Conflicts:
libavcodec/vorbisdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 12:02:18 +02:00
Michael Niedermayer
ed113d7a6b
Merge commit 'ddf1b4a2f8a680126eb611428e4f47e6e5b8c6c0'
...
* commit 'ddf1b4a2f8a680126eb611428e4f47e6e5b8c6c0':
vorbis: simplify the inner loop in setup_classifs
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 11:42:03 +02:00
Michael Niedermayer
aef044d215
Merge commit '36f10380043c8b8c5cbf8c1add8695089cdaa341'
...
* commit '36f10380043c8b8c5cbf8c1add8695089cdaa341':
vorbis: use normal integer values for iterators
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 11:28:21 +02:00
Stefano Sabatini
6e7c534955
doc/filters: add RGB geq example
2013-05-20 11:12:09 +02:00
Stefano Sabatini
281fc4e958
doc/filters: extend/fix documentation for the geq filter
2013-05-20 11:12:04 +02:00
Michael Niedermayer
fbba76e89d
Merge commit '98186578a2a21af5bfe6dd71d222dc270f763c7d'
...
* commit '98186578a2a21af5bfe6dd71d222dc270f763c7d':
vorbis: refactor vorbis_residue_decode_internal
Conflicts:
libavcodec/vorbisdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 10:58:43 +02:00
Michael Niedermayer
faac955d9b
Merge commit 'c360fb174b01170ab3fd3048d4d0acb44aa4e834'
...
* commit 'c360fb174b01170ab3fd3048d4d0acb44aa4e834':
win32: Do not use GetProcAddress when compiled for Vista+
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 10:52:19 +02:00
Michael Niedermayer
2afcd16711
Merge commit '0b6899f154347cdd0aa66c5ec16ed9c65871766f'
...
* commit '0b6899f154347cdd0aa66c5ec16ed9c65871766f':
configure: msvc: Set the target windows version to XP if no target is set
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 10:46:21 +02:00
Giorgio Vazzana
d0a34aeedf
md5: optimize second round by using 4-operation form of G()
...
4-operation form is preferred over 3-operation because it breaks a long
dependency chain, thus allowing a superscalar processor to execute more
operations in parallel.
The idea was taken from: http://www.zorinaq.com/papers/md5-amd64.html
AMD Athlon(tm) II X3 450 Processor, x86_64
$ for i in $(seq 1 4); do ./avutil_md5_test2; done
size: 1048576 runs: 1024 time: 5.821 +- 0.019
size: 1048576 runs: 1024 time: 5.822 +- 0.019
size: 1048576 runs: 1024 time: 5.841 +- 0.018
size: 1048576 runs: 1024 time: 5.821 +- 0.018
$ for i in $(seq 1 4); do ./avutil_md5_test2; done
size: 1048576 runs: 1024 time: 5.646 +- 0.019
size: 1048576 runs: 1024 time: 5.646 +- 0.018
size: 1048576 runs: 1024 time: 5.642 +- 0.019
size: 1048576 runs: 1024 time: 5.641 +- 0.019
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-20 04:27:34 +02:00
Stefano Sabatini
b7be8ea92a
lavfi/geq: mark timeline support
2013-05-20 01:40:07 +02:00
Clément Bœsch
16a75eaa20
lavd: add v4l2 outdev.
2013-05-20 01:11:33 +02:00
Clément Bœsch
8eec655320
lavd/v4l2: move pixel format conversion code to a separate place.
...
This will be shared with the output device.
2013-05-20 01:11:28 +02:00
Michael Niedermayer
729fa55b8f
avformat/matroskadec: fix integer overflow
...
Fixes fate-mkv with ekopath 4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 23:38:01 +02:00
Janne Grunau
4b79668154
mpegvideo: unref old current_picture before allocating a new one
...
Allows decoding with only three frame buffers with frame reference
counting. Fixes VAAPI based decoding in vlc which uses only three
frame buffers for the mpegvideo-based codecs.
2013-05-19 23:02:35 +02:00
Luca Barbato
db347280eb
vorbis: fallback to normal division instead of crashing
...
The use of ff_inverse speeds up slightly arches + compilers that
do not provide a division faster than the whole machinery, such
as ppc32 + gcc4.7, but has operational limits.
Drop the always-enable assert and provide a fallback.
2013-05-19 22:56:37 +02:00
Luca Barbato
ddf1b4a2f8
vorbis: simplify the inner loop in setup_classifs
2013-05-19 22:56:37 +02:00
Luca Barbato
36f1038004
vorbis: use normal integer values for iterators
...
No need to use fixed-size integers.
2013-05-19 22:56:37 +02:00
Luca Barbato
98186578a2
vorbis: refactor vorbis_residue_decode_internal
2013-05-19 22:56:37 +02:00
Michael Niedermayer
1a5f1bcff0
configure: add more allocation functions to valgrind-massif
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 20:30:51 +02:00
Stefano Sabatini
427b51269e
cmdutils: show timeline support in -filters listing
2013-05-19 19:55:15 +02:00
Stefano Sabatini
66f32a8a7f
lavfi/drawgrid: fix drawgrid options after 4c205f42c8
2013-05-19 19:26:31 +02:00
Stefano Sabatini
be3f4c13b6
doc/Makefile: install .3 man pages to man3 subdir
...
Fix trac ticket #2585 .
2013-05-19 19:26:25 +02:00
Stefano Sabatini
90cb081f88
build: drop unused ALLMANPAGES variable
2013-05-19 19:26:21 +02:00
Michael Niedermayer
73b9f31c74
mjpeg_decode_com: remove redundant len checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 18:09:57 +02:00
Piotr Bandurski
2f75dcdc1c
mjpegdec: Fix field orderforinterlacedAVDJand AVRN in ntsc mode
...
Fixes ticket1656
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 18:09:57 +02:00
Clément Bœsch
56f7e29dba
tools: add zmqshell.py.
2013-05-19 17:59:21 +02:00
Jean-Baptiste Kempf
c360fb174b
win32: Do not use GetProcAddress when compiled for Vista+
...
Instead link directly to the condition variable functions.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-19 18:22:39 +03:00
Martin Storsjö
0b6899f154
configure: msvc: Set the target windows version to XP if no target is set
...
MSVC 2010 (or more precisely, Windows SDK 7.0 which comes with MSVC
2010) sets _WIN32_WINNT to the constant for Windows 7 if nothing is
set. This could lead to the libav configure script detecting and
using functions only present in Windows 7 or newer, which in most
cases isn't desired. If the caller explicitly wants this, the caller
can add the _WIN32_WINNT define via --extra-cflags, setting the desired
version.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-19 18:22:32 +03:00
Paul B Mahol
68c4633fa8
lavfi/histogram: cache log2 of max_hval
...
Instead of calculating same value over and over again.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-19 14:30:42 +00:00
Paul B Mahol
b154d203b1
swscale/output: silence warning about undefined 'ASSERT_LEVEL'
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-19 14:06:16 +00:00
Paul B Mahol
f4b2d3598b
swscale/output: remove unused header
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-19 14:04:14 +00:00
Michael Niedermayer
a3264b4ba1
ffv1dec: defuse membomb
...
Fixes Ticket2589
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 13:56:13 +02:00
Michael Niedermayer
1de28cb7e4
configure: use the user specified valgrind excutable for massif
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 11:24:15 +02:00
Michael Niedermayer
f51263e6fe
configure: fix valgrind-massif to actually work
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 11:23:28 +02:00
Michael Niedermayer
73920ac573
ffserver: replace atoll() by strtoll()
...
this should make it easier to support ffserver with msvc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 11:13:07 +02:00
Michael Niedermayer
0a8e86faf2
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
Escape 130 FATE test
Conflicts:
tests/fate/video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 11:06:39 +02:00
Michael Niedermayer
fa6001e728
Merge commit '8e673efc6f5b7a095557664660305148f2788d30'
...
* commit '8e673efc6f5b7a095557664660305148f2788d30':
prores: update FATE test to account for alpha plane present in the test sample
configure: Add basic valgrind-massif support
Conflicts:
tests/fate/prores.mak
tests/ref/fate/prores-alpha
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 10:53:39 +02:00
Michael Niedermayer
3e3514bce2
Merge commit 'ed50673066956d6f2201a57c3254569f2ab08d9d'
...
* commit 'ed50673066956d6f2201a57c3254569f2ab08d9d':
wavpack: validate samples size parsed in wavpack_decode_block
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 10:38:08 +02:00
Michael Niedermayer
2ad415cfa4
Merge commit '8c34558131d846d2b10389564caadaa206372fd4'
...
* commit '8c34558131d846d2b10389564caadaa206372fd4':
wavpack: return meaningful errors
Conflicts:
libavcodec/wavpack.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 10:22:05 +02:00
Michael Niedermayer
02788d2ac5
Merge commit '0f689a3d97a1d3053ca0e9516b296909a72ff31e'
...
* commit '0f689a3d97a1d3053ca0e9516b296909a72ff31e':
wavpack: K&R formatting cosmetics
Conflicts:
libavcodec/wavpack.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 10:10:00 +02:00
Hendrik Leppkes
df07a833f1
ftp: favor strtoll over atoll
...
Both strtoll and atoll have different names on MSVC, and strtoll has a
compatibility layer in place for this case.
Fixes compilation on MSVC.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-19 10:02:44 +02:00
Kostya Shishkov
e45d6222cc
Escape 130 FATE test
2013-05-19 07:09:36 +02:00
Kostya Shishkov
8e673efc6f
prores: update FATE test to account for alpha plane present in the test sample
2013-05-19 07:09:23 +02:00
Carl Eugen Hoyos
e32bbd4112
proresdec2: Only try to decode alpha plane if four output planes were allocated.
...
Fixes a crash with MPlayer.
2013-05-19 01:48:39 +02:00
Lukasz Marek
c86d3a54de
FTP protocol support
...
Implementation of ftp protocol.
Fixes #1672
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 22:16:02 +02:00
Luca Barbato
edfe609fc9
configure: Add basic valgrind-massif support
...
With the parameter --toolchain valgrind-massif, the configure
script sets reasonable defaults that can be overridden as explained
in the documentation.
2013-05-18 21:29:17 +02:00
Luca Barbato
ed50673066
wavpack: validate samples size parsed in wavpack_decode_block
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-18 20:39:32 +02:00
Luca Barbato
8c34558131
wavpack: return meaningful errors
...
And forward those that were already meaningful.
2013-05-18 20:37:18 +02:00
Michael Niedermayer
9f88db5df1
avfilter/vf_deshake: check rx
...
Fixes crash on SSE2
Fixes Ticket2443
Note, its possible to restructure the code to avoid the 16pixel limitation,
and such change is welcome!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 18:28:59 +02:00
Christophe Gisquet
f49564c607
fmtconvert: int32_t input to int32_to_float_fmul_scalar
...
It was previously declared as int.
Does not change fate results for x86.
Conflicts:
libavcodec/ppc/fmtconvert_altivec.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 18:01:16 +02:00
Luca Barbato
0f689a3d97
wavpack: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-18 17:19:43 +02:00
Kostya Shishkov
d13fa0e995
proresdec2: Support decoding transparency information.
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at >
2013-05-18 16:48:34 +02:00
Jean First
7e570f027b
movenc: add video_track_timescale option
...
Signed-off-by: Jean First <jeanfirst@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 16:42:36 +02:00
Piotr Bandurski
7baef22fca
mov: set block_align for MACE 3:1 and MACE 6:1
...
fixes remuxing of audio track from mov to aifc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 16:26:50 +02:00
Michael Niedermayer
5e29e91232
avcodec_align_dimensions2: add missing yuva formats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 16:21:09 +02:00
Michael Niedermayer
e1efacf60b
sws/output: yuv2rgb_write() assert that alpha has the correct value in the tables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 15:14:19 +02:00
Stefano Sabatini
d91e44301c
doc/filters: apply minor fixes to owdenoise documentation
2013-05-18 14:52:37 +02:00
Michael Niedermayer
ed0aed09e8
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
Escape 130 (RPL) decoder
Conflicts:
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/codec_desc.c
libavcodec/escape130.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 14:31:01 +02:00
Michael Niedermayer
849bb62c2c
Merge commit 'cebdedca57d95834a8f8098c7b6a322a1163e26b'
...
* commit 'cebdedca57d95834a8f8098c7b6a322a1163e26b':
prores: decode alpha plane when it's present
avfilter: check a malloc in avfilter_link().
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 13:41:47 +02:00
Michael Niedermayer
d56ced5fbf
Merge commit 'bf5b5d2b1561535cc013c12ab8033228bb0d0081'
...
* commit 'bf5b5d2b1561535cc013c12ab8033228bb0d0081':
avfilter.c: cosmetics, reformat
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 13:36:49 +02:00
Michael Niedermayer
fb8dde37e4
Merge commit 'd79bd6040599ef017dc45d5997fcc959ab1f71f6'
...
* commit 'd79bd6040599ef017dc45d5997fcc959ab1f71f6':
lavfi: factorize freeing a link
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 13:10:57 +02:00
Michael Niedermayer
dd2eaf57b7
Merge commit '1dd35611433c224e2231ed7ae26b5b560863a3cb'
...
* commit '1dd35611433c224e2231ed7ae26b5b560863a3cb':
vf_format: do not use the AVFilterFormats internals.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 12:47:22 +02:00
Michael Niedermayer
71b7427e9b
doc/fate: update server host key fingerprints
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 12:40:10 +02:00
Michael Niedermayer
4742edd50e
Merge commit 'c5ab6088ad7b0dac461fb6757b038f5260e638e5'
...
* commit 'c5ab6088ad7b0dac461fb6757b038f5260e638e5':
af_aformat: cosmetics, fix indentation
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 12:22:25 +02:00
Michael Niedermayer
74cb7ef851
Merge commit 'b01f6041f4260fba053c2f96ce1611ea77e833a0'
...
* commit 'b01f6041f4260fba053c2f96ce1611ea77e833a0':
lavfi: rename AVFilterFormats.format_count to nb_formats
Conflicts:
libavfilter/avfiltergraph.c
libavfilter/filtfmts.c
libavfilter/formats.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 11:46:09 +02:00
Michael Niedermayer
937af7f6d3
Merge commit 'e27f4b7cbf8a3fde313cfe4b3a1880bf5031e9ae'
...
* commit 'e27f4b7cbf8a3fde313cfe4b3a1880bf5031e9ae':
doxy: don't sort struct members alphabetically
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 11:35:51 +02:00
Michael Niedermayer
20f75a810c
Merge commit '006ec64877fb638de4b15ae5fd969e22bd0f60ca'
...
* commit '006ec64877fb638de4b15ae5fd969e22bd0f60ca':
lavr doxy: add version.h to the lavr group
lavc doxy: add avcodec.h to the libavcodec group.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 11:25:58 +02:00
Michael Niedermayer
97200d89b9
Merge commit '40020e171a3549a2c0b65ce6f2649aec868872f2'
...
* commit '40020e171a3549a2c0b65ce6f2649aec868872f2':
doxy: add a section about versioning.
Conflicts:
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 11:17:52 +02:00
Michael Niedermayer
0718f0cc24
Merge commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec'
...
* commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec':
lavfi doxy: add a page for lavfi.
jpegls: check the scan offset
Conflicts:
libavcodec/jpeglsdec.c
libavfilter/avfilter.h
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 11:04:11 +02:00
Michael Niedermayer
7d84bb2bcc
Merge commit '4a4107b48944397c914aa39ee16a82fe44db8c4c'
...
* commit '4a4107b48944397c914aa39ee16a82fe44db8c4c':
jpegls: factorize return paths
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 10:22:39 +02:00
Michael Niedermayer
b53d6a47c5
Merge commit 'a5a0ef5e13a59ff53318a45d77c5624b23229c6f'
...
* commit 'a5a0ef5e13a59ff53318a45d77c5624b23229c6f':
jpegls: return meaningful errors
sparc: VIS mnemonics
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 10:05:00 +02:00
Eli Friedman
350914fc80
Escape 130 (RPL) decoder
...
Some fixes provided by Paul B Mahol <onemda@gmail.com >
and Michael Niedermayer <michaelni@gmx.at > and me.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com >
2013-05-18 07:12:56 +02:00
Kostya Shishkov
cebdedca57
prores: decode alpha plane when it's present
2013-05-18 07:11:34 +02:00
Michael Niedermayer
5918b7ac41
sws/output: init A1/A2 so that rgba64 ends with 0xffff in the absence of alpha input
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-18 01:20:30 +02:00
Michael Niedermayer
6c593f1b67
avidec: dont randomly skip packets for offseting the index
...
Fixes Ticket2490
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 22:16:10 +02:00
Reimar Döffinger
24c65eb29f
md5: avoid unnecessary copying.
...
Where necessary use memcpy instead.
Thanks to Giorgio Vazzana [mywing81 gmail] for
spotting this loop as the cause for the bad
performance.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-17 21:16:02 +02:00
Anton Khirnov
7e2b15c094
avfilter: check a malloc in avfilter_link().
...
Additionally change sizeof(type) into sizeof(var)
2013-05-17 20:32:27 +02:00
Anton Khirnov
bf5b5d2b15
avfilter.c: cosmetics, reformat
2013-05-17 20:32:18 +02:00
Anton Khirnov
d79bd60405
lavfi: factorize freeing a link
2013-05-17 20:30:25 +02:00
Anton Khirnov
1dd3561143
vf_format: do not use the AVFilterFormats internals.
...
Use the formats.h API instead.
2013-05-17 20:30:17 +02:00
Anton Khirnov
c5ab6088ad
af_aformat: cosmetics, fix indentation
2013-05-17 20:30:02 +02:00
Anton Khirnov
b01f6041f4
lavfi: rename AVFilterFormats.format_count to nb_formats
...
This is more consistent with naming in the rest of Libav.
2013-05-17 20:29:50 +02:00
Anton Khirnov
e27f4b7cbf
doxy: don't sort struct members alphabetically
...
The declaration order is more meanigful in most cases.
2013-05-17 20:27:52 +02:00
Anton Khirnov
006ec64877
lavr doxy: add version.h to the lavr group
2013-05-17 20:27:48 +02:00
Anton Khirnov
f0cebf51dd
lavc doxy: add avcodec.h to the libavcodec group.
2013-05-17 20:27:38 +02:00
Anton Khirnov
40020e171a
doxy: add a section about versioning.
2013-05-17 20:26:18 +02:00
Anton Khirnov
bc8c1cdc7b
lavfi doxy: add a page for lavfi.
2013-05-17 20:26:11 +02:00
Paul B Mahol
47ac344970
id3v2enc: chapter support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-17 16:52:55 +00:00
Luca Barbato
4a4107b489
jpegls: factorize return paths
2013-05-17 16:44:13 +02:00
Luca Barbato
a5a0ef5e13
jpegls: return meaningful errors
2013-05-17 16:44:13 +02:00
Luca Barbato
abad374909
jpegls: check the scan offset
...
Prevent an out of array bound write.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-05-17 16:44:13 +02:00
Paul B Mahol
d26f637b02
libmodplug: fix sz type
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-17 14:19:18 +00:00
Michael Kostylev
2768f7e4fe
sparc: VIS mnemonics
...
Currently, if VIS is enabled by configure, it will also be enabled at
run-time regardless of its support in the hardware. Thus, masking VIS
usage as it is done in vis.h by constructing binary instructions is
pointless. Using normal VIS mnemonics in inline assembly allows to take
advantage of automatic register allocation, gets rid of register
variables, which are unsupported by suncc for SPARC, and improves code
readability.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-17 15:37:03 +02:00
Michael Niedermayer
ebe8c7fe52
vc1dec: restructure interpmvp code
...
This fixes a valgrind warning about use of uninitialized stuff
(no actual such use occurs though)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 15:11:47 +02:00
Vignesh Venkatasubramanian
98c292a7a8
Adding support for encoding VP8 Alpha
...
This patch adds support for encoding VP8 files with alpha. The alpha channel
is encoded separately and the output is placed in AVPacket's side_data. The
muxer then muxes it into the BlockAdditional element of the matroska container.
More details on spec here: http://goo.gl/wCP1y
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 15:11:23 +02:00
Michael Niedermayer
2fb193b1e7
vformat/matroskaenc: factorize alpha code in mkv_write_block()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 15:11:23 +02:00
Vignesh Venkatasubramanian
8ffcc826b3
Adding support for muxing VP8 Alpha files
...
This patch adds support for muxing VP8 Alpha Files. The Alpha channel data is
placed in BlockAdditional element of the matroska container. More information
& exact spec on how this is implemented can be found here: http://goo.gl/wCP1y
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 15:11:23 +02:00
Paul B Mahol
85e8a1169c
lavfi/pad: switch to AV_OPT_TYPE_COLOR
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-17 11:32:54 +00:00
Paul B Mahol
1d2ecf9609
lavfi/drawtext: switch to AV_OPT_TYPE_COLOR
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-17 11:32:54 +00:00
Paul B Mahol
83e892233c
lavfi/life: switch to AV_OPT_TYPE_COLOR
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-17 11:32:54 +00:00
Paul B Mahol
05b7560d39
lavfi/color: switch to AV_OPT_TYPE_COLOR
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-17 11:32:54 +00:00
Paul B Mahol
3a751eab78
lavu/opt: add AV_OPT_TYPE_COLOR
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-17 11:32:53 +00:00
Michael Niedermayer
1ec578c010
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mpegvideo: allocate sufficiently large scratch buffer for interlaced vid
Conflicts:
libavcodec/mpegvideo.c
See: 73db0bf1b0
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 12:10:57 +02:00
Michael Niedermayer
1a0057dc88
Merge commit 'db8e336e5fc18c41cb4e9bab1960349e9800d546'
...
* commit 'db8e336e5fc18c41cb4e9bab1960349e9800d546':
pthread: reindent
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 11:55:40 +02:00
Michael Niedermayer
36d349034e
Merge commit '30e256430eb88c6d4c382581b89bca171d79fbc0'
...
* commit '30e256430eb88c6d4c382581b89bca171d79fbc0':
lavc/pthread: remove obsolete checks
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 11:49:00 +02:00
Michael Niedermayer
1e9a050bc0
Merge commit '16a645adeb758207346a4bbf66766f02734c461e'
...
* commit '16a645adeb758207346a4bbf66766f02734c461e':
vf_pixdesctest: make config_props work properly when called multiple times.
vf_hqdn3d: make config_props work properly when called multiple times.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 11:41:14 +02:00
Michael Niedermayer
71fcb6072e
Merge commit '3fb29588a27a711132106b924e27b53789a58dcb'
...
* commit '3fb29588a27a711132106b924e27b53789a58dcb':
vf_drawtext: don't leak the expressions.
vf_crop: make config_props work properly when called multiple times.
vf_setdar: make config_props work properly when called multiple times.
Conflicts:
libavfilter/vf_aspect.c
libavfilter/vf_drawtext.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 11:29:22 +02:00
Michael Niedermayer
c7078f4907
Merge commit '4c205f42c86ccefa093c59434669af34ad14a52b'
...
* commit '4c205f42c86ccefa093c59434669af34ad14a52b':
vf_drawbox: make config_props work properly when called multiple times.
vf_drawtext: do not reset the frame number in config_input.
vf_fps: move initializing pts from config_props to init.
Conflicts:
libavfilter/vf_drawbox.c
libavfilter/vf_drawtext.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 11:05:18 +02:00
Michael Niedermayer
d5e5e73c52
Merge commit 'd371c3c2e2830d9783465ecfe1ab7d93351083b7'
...
* commit 'd371c3c2e2830d9783465ecfe1ab7d93351083b7':
vf_frei0r: make config_props work properly when called multiple times.
vf_gradfun: make config_props work properly when called multiple times.
vf_lut: make config_props work properly when called multiple times.
Conflicts:
libavfilter/vf_lut.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 10:51:59 +02:00
Michael Niedermayer
5bc892cb17
Merge commit '1232a1647ab27e024a3baf4d01d40c8d08d6ced9'
...
* commit '1232a1647ab27e024a3baf4d01d40c8d08d6ced9':
Apple Intermediate Codec decoder
movenc: Don't add base_data_offset in tfhd for PIFF files
Conflicts:
Changelog
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/codec_desc.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 10:38:08 +02:00
Michael Niedermayer
c453da33a3
Merge commit '1fb013a57c6d98d3f425506eb25f32b2cf7ddc6f'
...
* commit '1fb013a57c6d98d3f425506eb25f32b2cf7ddc6f':
vc1dec: Add support for interlaced B-frames
Conflicts:
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 10:23:40 +02:00
Jeremy Hinegardner
28e6b7b9b4
Turn off usage of base_data_offset in tfhd for PIFF files
...
According to the PIFF specification[1] the base_data_offset field MUST be
omitteed. See section 5.2.17. Since the ISMV files created by ffmpeg state
that they are 'piff' compatible via 'ftyp' box, this needs to be corrected.
[1] http://www.iis.net/learn/media/smooth-streaming/protected-interoperable-file-format
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 10:04:45 +02:00
Jindrich Makovicka
259af1b923
mpegvideo: allocate sufficiently large scratch buffer for interlaced vid
...
MPV_decode_mb_internal needs 3 * 16 * linesize bytes of scratch buffer
For interlaced content, linesize is multiplied by two after the allocation
of the scratch buffer, and the dest_cr pointer ends past the buffer.
This patch makes ff_mpv_frame_size_alloc allocate a total of
(aligned line_size) * 2 * 16 * 3 bytes, which suffices even for the
interlaced case.
CC:libav-stable@libav.org
Signed-off-by: Jindrich Makovicka <makovick@gmail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-17 07:49:05 +02:00
Anton Khirnov
db8e336e5f
pthread: reindent
2013-05-17 07:44:50 +02:00
Anton Khirnov
30e256430e
lavc/pthread: remove obsolete checks
...
Those were useful when avcodec_thread_init() was a public functions. It
was deprecated and removed some time ago, so those checks are not needed
anymore.
2013-05-17 07:44:40 +02:00
Anton Khirnov
16a645adeb
vf_pixdesctest: make config_props work properly when called multiple times.
2013-05-17 07:44:23 +02:00
Anton Khirnov
3ba35a346c
vf_hqdn3d: make config_props work properly when called multiple times.
...
Do not leak all the temp buffers.
2013-05-17 07:44:12 +02:00
Anton Khirnov
3fb29588a2
vf_drawtext: don't leak the expressions.
2013-05-17 07:44:04 +02:00
Anton Khirnov
6592cd22a2
vf_crop: make config_props work properly when called multiple times.
...
Do not leak the x/y expressions.
2013-05-17 07:43:57 +02:00
Anton Khirnov
d5c66d9c56
vf_setdar: make config_props work properly when called multiple times.
...
Do not overwrite the variable set through AVOptions.
2013-05-17 07:43:44 +02:00
Anton Khirnov
4c205f42c8
vf_drawbox: make config_props work properly when called multiple times.
...
Do not overwrite the variables set through AVOptions.
2013-05-17 07:43:17 +02:00
Anton Khirnov
90d9a2a04c
vf_drawtext: do not reset the frame number in config_input.
...
Frame number should be incremented normally even if the link properties
change.
2013-05-17 07:43:07 +02:00
Anton Khirnov
7727be79d1
vf_fps: move initializing pts from config_props to init.
...
It should not be reinitialized if the link properties change.
2013-05-17 07:42:55 +02:00
Anton Khirnov
d371c3c2e2
vf_frei0r: make config_props work properly when called multiple times.
...
Do not leak the initialized filter instance.
2013-05-17 07:42:46 +02:00
Anton Khirnov
87c31cfd7a
vf_gradfun: make config_props work properly when called multiple times.
2013-05-17 07:42:39 +02:00
Anton Khirnov
b06848f4de
vf_lut: make config_props work properly when called multiple times.
...
Do not leak the expressions.
2013-05-17 07:42:28 +02:00
Kostya Shishkov
1232a1647a
Apple Intermediate Codec decoder
2013-05-17 06:31:05 +02:00
Carl Eugen Hoyos
17989dcf54
configure: Autodetect VA-API
...
This fixes a regression (reproducible since 1.2) and restores the
behaviour of 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 1.0 and 1.1.
2013-05-17 02:32:21 +02:00
Stefano Sabatini
cb0b0266e5
lavfi/drawbox: restore verbal form for drawbox options descriptions
2013-05-17 00:46:32 +02:00
Stefano Sabatini
0aa013fa8a
lavfi: factorize drawgrid and drawbox code
2013-05-17 00:46:32 +02:00
James Almer
54372848f3
tools/ffhash: Use O_BINARY when available
...
This fixes reading files in Windows
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 00:38:07 +02:00
Michael Niedermayer
ab074ab9fe
avcodec/pthread: fix ffv1 with 2 threads
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 00:28:51 +02:00
Jeremy Hinegardner
40bbbce7e8
movenc: Don't add base_data_offset in tfhd for PIFF files
...
According to the PIFF specification[1] the base_data_offset field MUST be
omitteed. See section 5.2.17. Since the ISMV files created by libavformat
state that they are 'piff' compatible via 'ftyp' box, this needs to be
corrected.
[1] http://www.iis.net/learn/media/smooth-streaming/protected-interoperable-file-format
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-17 00:28:50 +03:00
Sebastian Sandberg
1fb013a57c
vc1dec: Add support for interlaced B-frames
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-17 00:28:37 +03:00
Clément Bœsch
3da726f188
lavf/img2enc: use FF_CEIL_RSHIFT().
2013-05-16 23:20:07 +02:00
Clément Bœsch
f3962c6264
lavfi/yadif: fix chroma subsampling with odd sizes.
2013-05-16 23:20:02 +02:00
Clément Bœsch
61b268eeda
lavfi/idet: fix chroma subsampling with odd sizes.
2013-05-16 23:20:00 +02:00
Clément Bœsch
6c5bd7d785
lavc/vc1dec: fix a few "may be used uninitialized" warnings.
2013-05-16 23:08:01 +02:00
Michael Niedermayer
09b3bbe605
libvpxenc: Fix "passing argument 3 of av_image_copy from incompatible pointer type" warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 22:54:16 +02:00
Michael Niedermayer
f4cc38e339
vc1dec: silence "may be used uninitialized in this function" warning from gcc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 22:32:01 +02:00
Clément Bœsch
d94c907008
lavfi: silence a discarded const qualifier warning.
2013-05-16 18:38:10 +02:00
James Almer
b22f96b736
Rename ffadler to ffhash and expand it using the generic hash API
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 17:58:56 +02:00
Michael Niedermayer
c607a2cc97
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
sparc: Eliminate dead code in VIS acceleration macros
flacdec: drop unnecessary assert
mjpegdec: properly report unsupported disabled features
Conflicts:
libavcodec/flacdec.c
libavcodec/mjpegdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 17:10:51 +02:00
Michael Niedermayer
af00d68af0
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
vf_pad: use the name 's' for the pointer to the private context
vf_overlay: use the name 's' for the pointer to the private context
vf_lut: use the name 's' for the pointer to the private context
Conflicts:
libavfilter/vf_lut.c
libavfilter/vf_overlay.c
libavfilter/vf_pad.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 17:03:52 +02:00
Michael Niedermayer
df003cbb56
Merge commit '4753f802c00853859b7b4b8fdb79c35e082cb7f8'
...
* commit '4753f802c00853859b7b4b8fdb79c35e082cb7f8':
vf_libopencv: use the name 's' for the pointer to the private context
vf_hqdn3d: use the name 's' for the pointer to the private context
vf_hflip: use the name 's' for the pointer to the private context
vf_gradfun: use the name 's' for the pointer to the private context
Conflicts:
libavfilter/vf_gradfun.c
libavfilter/vf_hflip.c
libavfilter/vf_hqdn3d.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 16:45:43 +02:00
Michael Niedermayer
e55092b12b
Merge commit 'f6b6d6ac42c0ee427fcd3fae4c398b2103b491b8'
...
* commit 'f6b6d6ac42c0ee427fcd3fae4c398b2103b491b8':
vf_frei0r: use the name 's' for the pointer to the private context
vf_format: use the name 's' for the pointer to the private context
vf_fieldorder: use the name 's' for the pointer to the private context
vf_fieldorder: cosmetics, remove an extra linebreak
Conflicts:
libavfilter/vf_frei0r.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 15:21:31 +02:00
Michael Kostylev
4dbceaa3a8
sparc: Eliminate dead code in VIS acceleration macros
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-16 14:30:49 +02:00
Luca Barbato
39cc4c61de
flacdec: drop unnecessary assert
...
The condition cannot happen anymore.
2013-05-16 14:05:46 +02:00
Luca Barbato
b25e49b187
mjpegdec: properly report unsupported disabled features
...
When JPEG-LS support is disabled the decoder would feed the
data to the JPEG Lossless decode_*_scan function resulting in
faulty decoding.
CC: libav-stable@libav.org
2013-05-16 14:05:46 +02:00
Clément Bœsch
afec02afe7
lavfi/unsharp: remove unused float.h include.
2013-05-16 13:38:26 +02:00
Clément Bœsch
faceb0af0a
lavfi/unsharp: use av_image_copy_plane().
2013-05-16 13:38:03 +02:00
Clément Bœsch
5c7a33a716
fate/colorchannelmixer: make sure direct path is tested.
2013-05-16 13:18:08 +02:00
Michael Niedermayer
04dd5ddeda
Merge commit 'c0279956b3ca3e5fd0a6a25253893d6f07000e68'
...
* commit 'c0279956b3ca3e5fd0a6a25253893d6f07000e68':
vf_fade: use the name 's' for the pointer to the private context
vf_drawtext: use the name 's' for the pointer to the private context
vf_drawbox: use the name 's' for the pointer to the private context
Conflicts:
libavfilter/vf_drawbox.c
libavfilter/vf_drawtext.c
libavfilter/vf_fade.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 10:33:31 +02:00
Michael Niedermayer
a134f9676e
Merge commit 'ba09675f44612fad9f7169f71b8276beb50a0dcd'
...
* commit 'ba09675f44612fad9f7169f71b8276beb50a0dcd':
vf_delogo: use the name 's' for the pointer to the private context
vf_cropdetect: use the name 's' for the pointer to the private context
vf_crop: cosmetics, break lines
Conflicts:
libavfilter/vf_delogo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 10:14:00 +02:00
Michael Niedermayer
e77647c528
Merge commit '7f83959598b6565baa0091e5739dd9091ab7a990'
...
* commit '7f83959598b6565baa0091e5739dd9091ab7a990':
vf_crop: use the name 's' for the pointer to the private context
vf_boxblur: use the name 's' for the pointer to the private context
vf_blackframe: use the name 's' for the pointer to the private context
Conflicts:
libavfilter/vf_blackframe.c
libavfilter/vf_boxblur.c
libavfilter/vf_crop.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 10:08:17 +02:00
Michael Niedermayer
efc08e00cc
Merge commit 'b3ea76624ad1baab0b6bcc13f3f856be2f958110'
...
* commit 'b3ea76624ad1baab0b6bcc13f3f856be2f958110':
vf_aspect: use the name 's' for the pointer to the private context
Remove commented-out debug #define cruft
Conflicts:
libavcodec/4xm.c
libavcodec/dvdsubdec.c
libavcodec/ituh263dec.c
libavcodec/mpeg12.c
libavfilter/avfilter.c
libavfilter/vf_aspect.c
libavfilter/vf_fieldorder.c
libavformat/rtmpproto.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 09:56:43 +02:00
Michael Niedermayer
39354d6089
Merge commit 'ff4fc5ef12a37716c5c5d8928a2db92428e916ec'
...
* commit 'ff4fc5ef12a37716c5c5d8928a2db92428e916ec':
jpegls: K&R formatting cosmetics
Conflicts:
libavcodec/jpegls.c
libavcodec/jpegls.h
libavcodec/jpeglsdec.c
libavcodec/jpeglsenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 09:46:19 +02:00
Michael Niedermayer
0d83b5722e
Merge commit '9cacdabd1c8cd257a942d8289349c37d992989b7'
...
* commit '9cacdabd1c8cd257a942d8289349c37d992989b7':
jpegls: cosmetics: Drop some unnecessary parentheses
mpegvideo: Remove commented-out PARANOID debug cruft
Conflicts:
libavcodec/jpegls.c
libavcodec/mpegvideo.c
libavcodec/x86/mpegvideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 09:19:11 +02:00
Michael Niedermayer
4390fa6273
Merge commit 'd46c588f3cb1963a00e990ceaf4ba9ffa05a716d'
...
* commit 'd46c588f3cb1963a00e990ceaf4ba9ffa05a716d':
Remove commented-out #includes
h263dec: Remove broken and disabled debug cruft
vc1: Reindent INIT_LUT(), align backslashes
Conflicts:
libavcodec/vc1.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 09:11:04 +02:00
Anton Khirnov
3062ac4c47
vf_pad: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:36:10 +02:00
Anton Khirnov
a70519aad1
vf_overlay: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:36:04 +02:00
Anton Khirnov
8d2565c28b
vf_lut: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:35:59 +02:00
Anton Khirnov
4753f802c0
vf_libopencv: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:35:53 +02:00
Anton Khirnov
56e4ce0d13
vf_hqdn3d: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:35:48 +02:00
Anton Khirnov
7af5ae2d07
vf_hflip: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:33:38 +02:00
Anton Khirnov
05fab5530b
vf_gradfun: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:33:29 +02:00
Anton Khirnov
f6b6d6ac42
vf_frei0r: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:33:23 +02:00
Anton Khirnov
cbec213a90
vf_format: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:33:17 +02:00
Anton Khirnov
d64cf54b34
vf_fieldorder: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:33:07 +02:00
Anton Khirnov
9bbf6c681a
vf_fieldorder: cosmetics, remove an extra linebreak
2013-05-16 07:32:49 +02:00
Anton Khirnov
c0279956b3
vf_fade: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:32:43 +02:00
Anton Khirnov
d3735f7ad6
vf_drawtext: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:32:34 +02:00
Anton Khirnov
20e2794eea
vf_drawbox: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:32:27 +02:00
Anton Khirnov
ba09675f44
vf_delogo: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:31:57 +02:00
Anton Khirnov
e16e23d70e
vf_cropdetect: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:31:50 +02:00
Anton Khirnov
671563d9fd
vf_crop: cosmetics, break lines
2013-05-16 07:31:31 +02:00
Anton Khirnov
7f83959598
vf_crop: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:31:11 +02:00
Anton Khirnov
762df56ef9
vf_boxblur: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:30:56 +02:00
Anton Khirnov
a2a696990c
vf_blackframe: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:30:41 +02:00
Anton Khirnov
b3ea76624a
vf_aspect: use the name 's' for the pointer to the private context
...
This is shorter and consistent across filters.
2013-05-16 07:30:28 +02:00
Clément Bœsch
d686517ad1
lavfi/mp: remove mp=ow wrapper.
...
Filter ported natively as owdenoise.
2013-05-16 00:45:45 +02:00
Clément Bœsch
b1e84efa3d
lavfi: port wavelet denoiser filter from libmpcodecs.
2013-05-16 00:45:45 +02:00
Diego Biurrun
2832ea26f3
Remove commented-out debug #define cruft
2013-05-16 00:23:30 +02:00
Luca Barbato
ff4fc5ef12
jpegls: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-16 00:00:41 +02:00
Diego Biurrun
9cacdabd1c
jpegls: cosmetics: Drop some unnecessary parentheses
2013-05-15 23:58:04 +02:00
Diego Biurrun
004b81c465
mpegvideo: Remove commented-out PARANOID debug cruft
2013-05-15 23:53:42 +02:00
James Almer
35188e91ef
lavu/hash: Fix CRC32 calculation
...
Initialize it with UINT32_MAX and xor the result with UINT32_MAX
as well.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 23:53:40 +02:00
James Almer
c55c715c81
lavu/hash: Fix adler32 calculation
...
Adler must be initialized with a non zero value.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 23:53:40 +02:00
Diego Biurrun
d46c588f3c
Remove commented-out #includes
2013-05-15 23:01:21 +02:00
Diego Biurrun
bfd00cc4c2
h263dec: Remove broken and disabled debug cruft
2013-05-15 23:01:21 +02:00
Michael Niedermayer
42af97dbc0
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavf/concat: reject empty scripts.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 20:22:31 +02:00
Michael Niedermayer
e3c24f663e
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Use linker hardening flags on mingw
vc1: Make INIT_LUT() self contained
vc1: Simplify code by using INIT_LUT()
vc1: Move INIT_LUT() further up to allow using it in more places
vc1dec: Remove some now unused variables
vc1dec: Do not allow field_mode to change after the first header
vc1, mss2: Check for any negative return value from ff_vc1_parse_frame_header
vc1dec: Fix current ptr selection in vc1_mc_4mv_chroma()
vc1dec: Factorize picture pointer selection in vc1_mc_4mv_chroma()
vc1dec: Factorize picture pointer selection code
vc1dec: Factorize srcU/V offseting
vc1dec: Fix tff == 0 handling in init_block_index()
vc1dec: Update destination pointers in context for fields
Conflicts:
libavcodec/vc1.c
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 20:09:20 +02:00
Martin Storsjö
b0696e947f
vc1: Reindent INIT_LUT(), align backslashes
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 20:59:24 +03:00
Nicolas George
ca2f6b6932
lavf/concat: reject empty scripts.
...
Fix trac ticket #2566 .
2013-05-15 16:53:35 +02:00
Paul B Mahol
c45b823bf8
lavfi/histogram: logarithmic mode for levels
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-15 12:38:39 +00:00
Alex Smith
225a5f91cc
configure: Use linker hardening flags on mingw
...
This makes it consistent with the msvc builds which automatically set
the DEP and ASLR flags by default. There really is no good reason why
they shouldn't be set.
The fact that binutils does not set them on by default boggles the mind.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 14:42:08 +03:00
Paul B Mahol
fa23f94eac
wv: make probing more robust
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-15 10:51:30 +00:00
Michael Niedermayer
a9cadacdd9
dpxenc: dont shift into the sign bit.
...
Fixes IOC warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 12:15:21 +02:00
Michael Niedermayer
e003413fe9
murmur3: fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 12:10:09 +02:00
Michael Niedermayer
6ce2c3106d
vc1: Make INIT_LUT() self contained
...
Move the local variables it uses into the macro, enclosing them
in a do {} while (0) scope.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 12:42:53 +03:00
Michael Niedermayer
3ac3edf63b
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Reduce probing score for flic animation files.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 11:37:58 +02:00
Michael Niedermayer
c7c71f95f8
replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 11:23:14 +02:00
Carl Eugen Hoyos
86ea021b3a
Reduce probing score for flic animation files.
...
Fixes ticket #2567 .
2013-05-15 11:20:39 +02:00
Michael Niedermayer
37f2ac36a9
vc1: Simplify code by using INIT_LUT()
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 12:13:53 +03:00
Michael Niedermayer
0379fc1487
vc1: Move INIT_LUT() further up to allow using it in more places
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 12:13:53 +03:00
Martin Storsjö
3ca3709ad4
vc1dec: Remove some now unused variables
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 12:13:53 +03:00
Michael Niedermayer
4162fc62b3
vc1dec: Do not allow field_mode to change after the first header
...
This fixes out of array accesses.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 12:13:53 +03:00
Martin Storsjö
ec7d002e55
vc1, mss2: Check for any negative return value from ff_vc1_parse_frame_header
...
This is required if we return other error codes than explicitly
-1, which so far has been the only other possible return value
besides 0.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 12:13:53 +03:00
Michael Niedermayer
ff4680922f
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
Conflicts:
doc/APIchanges
libavcodec/avpicture.c
libavcodec/ffv1dec.c
libavcodec/ffv1enc.c
libavcodec/imgconvert.c
libavcodec/tiffenc.c
libavfilter/vf_pixdesctest.c
libavfilter/vf_scale.c
libavutil/imgutils.c
libavutil/pixdesc.c
libavutil/version.h
libswscale/swscale_internal.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 11:10:09 +02:00
Michael Niedermayer
ccb148e478
vc1dec: Fix current ptr selection in vc1_mc_4mv_chroma()
...
No sample tried shows a difference.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 11:40:38 +03:00
Michael Niedermayer
201412ffec
vc1dec: Factorize picture pointer selection in vc1_mc_4mv_chroma()
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 11:40:17 +03:00
Michael Niedermayer
2412ad1717
vc1dec: Factorize picture pointer selection code
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 11:39:57 +03:00
Michael Niedermayer
19673db34a
vc1dec: Factorize srcU/V offseting
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 11:39:36 +03:00
Michael Niedermayer
012b319d91
vc1dec: Fix tff == 0 handling in init_block_index()
...
This fixes several files from VLC ticket 5887.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 11:39:17 +03:00
Michael Niedermayer
75835abe91
Merge commit '7c57a582a03fb473091a88737ab92b9f2a5bb87a'
...
* commit '7c57a582a03fb473091a88737ab92b9f2a5bb87a':
jpeg2000dec: don't use deprecated PIX_FMT values
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 10:39:00 +02:00
Michael Niedermayer
0313653928
vc1dec: Update destination pointers in context for fields
...
This replaces a large number of checks for the second field by
fixing the pointers when they are setup.
This should also fix I/BI field pictures.
Changes checksums for vc1_sa10143, the file becomes slightly closer
to what the reference decoder outputs.
Based on "vc1dec: the second field is written wrong to the picture"
by Sebastian Sandberg <sebastiand.sandberg@gmail.com >.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-15 11:38:49 +03:00
Michael Niedermayer
5692ad00f4
Merge commit 'ffba2053edfc177d217bf4a95edf51cd0fc40753'
...
* commit 'ffba2053edfc177d217bf4a95edf51cd0fc40753':
lavfi: fix compatibility code for old vf_scale options syntax
Conflicts:
libavfilter/avfilter.c
No change as the buggy code does not exist in FFmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 10:38:11 +02:00
Michael Niedermayer
aa6454e6ca
Merge commit '096696ef0dd391d9430376d1444c1a3cde9171fd'
...
* commit '096696ef0dd391d9430376d1444c1a3cde9171fd':
avfiltergraph: simplify inserting conversion filters.
Clarify output of av_get_bits_per_pixel
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 10:21:16 +02:00
Michael Niedermayer
85de84c3e0
Merge commit '7cbc4cb4424430586ce2d5c0dba81174c6d1db01'
...
* commit '7cbc4cb4424430586ce2d5c0dba81174c6d1db01':
fate: update the mmf reference
mmf: Write metadata into an Optional Data chunk
jpeg2000dec: Use correct printf length modifier for pointer differences
Conflicts:
libavformat/mmf.c
tests/ref/lavf/mmf
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 10:15:15 +02:00
Michael Niedermayer
23439cf99b
Merge commit '5d9d8461fbb87046a7ca220d3676a045bd7ab46e'
...
* commit '5d9d8461fbb87046a7ca220d3676a045bd7ab46e':
vc1dec: Don't apply the loop filter on fields
Conflicts:
tests/ref/fate/vc1_sa10143
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 10:07:15 +02:00
Michael Niedermayer
cb22692f05
Merge commit 'fe06795d783785a76c6cbcaa2cd3012e6deb5fa5'
...
* commit 'fe06795d783785a76c6cbcaa2cd3012e6deb5fa5':
vc1: implement frame interlaced b-frame header parsing
Conflicts:
libavcodec/vc1.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 09:57:28 +02:00
Michael Niedermayer
b602e47f12
Merge commit '46430fd47c6239ef8742d0a34f9412d5060fa798'
...
* commit '46430fd47c6239ef8742d0a34f9412d5060fa798':
vc1dec: Don't attempt error concealment on field pictures
vc1dec: fieldtx is only valid for interlaced frame pictures
aacenc: Fix erasure of surround channels
aacenc: Fix target bitrate for twoloop quantiser search
Conflicts:
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 09:49:17 +02:00
Michael Niedermayer
772c801c7d
Merge commit '7c71ada4cad3c6aab5fa24155c379465c41cfd76'
...
* commit '7c71ada4cad3c6aab5fa24155c379465c41cfd76':
aacenc: Fix a rounding bug in aacpsy channel bitrate computation
yadif: correct strides in filter_edges_16bit
yadif: restore speed of the C filtering code
Conflicts:
libavfilter/x86/vf_yadif_init.c
No change as these commits where already in FFmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 09:45:43 +02:00
Michael Niedermayer
6bf6b9c279
Merge commit '252c0bfdc014c1fb6ad4fe06242c7beca58a6b41'
...
* commit '252c0bfdc014c1fb6ad4fe06242c7beca58a6b41':
lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 09:39:07 +02:00
Anton Khirnov
e6c4ac7b5f
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
2013-05-15 07:46:51 +02:00
Anton Khirnov
7c57a582a0
jpeg2000dec: don't use deprecated PIX_FMT values
2013-05-15 07:46:39 +02:00
Anton Khirnov
ffba2053ed
lavfi: fix compatibility code for old vf_scale options syntax
...
Currently it would incorrectly trigger on a string that contains a '='
but does not contain a ':', e.g. flags=<flags>.
2013-05-15 07:46:04 +02:00
Anton Khirnov
096696ef0d
avfiltergraph: simplify inserting conversion filters.
...
There is now no need to explicitly pass 0:0 as width/height to scale,
those are the defaults.
2013-05-15 07:45:51 +02:00
Kieran Kunhya
ede75ebc9b
Clarify output of av_get_bits_per_pixel
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-15 07:45:09 +02:00
Clément Bœsch
bc1c90eabf
lavfi/dctdnoiz: fix 10l typo in pr_height computation.
2013-05-15 03:19:49 +02:00
Michael Niedermayer
1a36c756d8
ffmpeg: free threads on error conditions.
...
Fixes Ticket2562
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 01:28:59 +02:00
Clément Bœsch
7b43120c7c
lavfi: add dctdnoiz filter.
2013-05-15 00:54:00 +02:00
Vignesh Venkatasubramanian
48de04f4ec
avcodec/avpacket: Refactoring copy_side_data into a separate function
...
Refactoring copy_side_data into a separate function so that it can be called
in cases where side data needs to be duplicated.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 22:51:12 +02:00
Michael Niedermayer
5d22ac488b
libx264: zero x264_picture before use.
...
This prevents use of uninitialized memory by ffmpeg later
(i_qpplus1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 22:44:08 +02:00
Michael Niedermayer
640e524ff6
libavfilter/Makefile: unbreak make alltools
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 21:58:56 +02:00
Stefano Sabatini
2a1b7dee6d
tools: add zmqsend tool, useful to test the zmq filters
2013-05-14 20:10:55 +02:00
Stefano Sabatini
7ddb0ef9af
lavfi: add zmq filters
2013-05-14 20:10:44 +02:00
James Almer
dc7656279a
lavu/hash: Fix name of SHA224
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 19:43:51 +02:00
Paul B Mahol
b24530019f
lavfi/blend: timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-14 17:41:50 +00:00
Michael Niedermayer
e751481cd8
swscale/output: silence compiler warnings about uninitialized variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 18:58:02 +02:00
Luca Barbato
7cbc4cb442
fate: update the mmf reference
...
Using Optional Data chunk introduced changes the hash.
2013-05-14 18:50:27 +02:00
Stefano Sabatini
e65c4a2330
doc/outdevs: fix typos (devices -> device)
2013-05-14 18:46:14 +02:00
Paul B Mahol
811b17fbad
lavfi: cosmetics: fix vertical alignment for pads in some filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-14 15:31:56 +00:00
Yoshihisa Uchida
3dff1bf99c
mmf: Write metadata into an Optional Data chunk
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-05-14 17:14:38 +02:00
Diego Biurrun
a349458e67
jpeg2000dec: Use correct printf length modifier for pointer differences
...
Also eliminate an unnecessary cast. Fixes the following warning:
jpeg2000dec.c:1200:20: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long long unsigned int’
2013-05-14 16:46:56 +02:00
Michael Niedermayer
dc6f1a8dda
avformat/srtdec: Fix pointer corruption
...
This fixes use of uninitialized memory and possible out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 16:38:33 +02:00
Martin Storsjö
5d9d8461fb
vc1dec: Don't apply the loop filter on fields
...
Fixes read of uninitialized memory.
Based on a patch by Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 14:36:00 +03:00
Michael Niedermayer
6b13f54262
vf_colorchannelmixer: round lut entries to nearest
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 12:51:22 +02:00
Michael Niedermayer
f268727a8f
fate: change colorchannelmixers coefficients to be less unstable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 12:49:11 +02:00
Hendrik Leppkes
fe06795d78
vc1: implement frame interlaced b-frame header parsing
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 13:24:55 +03:00
Michael Niedermayer
46430fd47c
vc1dec: Don't attempt error concealment on field pictures
...
This is not implemented and doesn't work.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 13:24:52 +03:00
Michael Niedermayer
509cc1e883
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Disable PIC for cygwin just as for win32/mingw
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 12:21:48 +02:00
Michael Niedermayer
a887372109
Merge commit '1399931d07f0f37ef4526eb8d39d33c64e09618a'
...
* commit '1399931d07f0f37ef4526eb8d39d33c64e09618a':
x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.h
Conflicts:
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 12:12:20 +02:00
Sebastian Sandberg
1bd57a850a
vc1dec: fieldtx is only valid for interlaced frame pictures
...
The fieldtx_plane is not cleared for interlaced fields.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 12:44:09 +03:00
Claudio Freire
8bbdd20a29
aacenc: Fix erasure of surround channels
...
This was due to a miscomputation of s->cur_channel, which led to
psy-based encoders using the psy coefficients for the wrong channel.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 12:42:05 +03:00
Claudio Freire
f4d0a63b5b
aacenc: Fix target bitrate for twoloop quantiser search
...
This fixes a case where multichannel bitrate isn't accurately
targetted by psy model alone, never achieving the target bitrate.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 12:42:04 +03:00
Claudio Freire
7c71ada4ca
aacenc: Fix a rounding bug in aacpsy channel bitrate computation
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 12:42:03 +03:00
Michael Niedermayer
b2da63db50
Merge commit '245b76a108585b6fb52eebc2626c472d6fa530dc'
...
* commit '245b76a108585b6fb52eebc2626c472d6fa530dc':
x86: dsputil: Split inline assembly from init code
Conflicts:
libavcodec/x86/dsputil_mmx.c
Note, the author attribution is left in place and not removed
as it is in the merged commit.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 11:19:20 +02:00
Michael Niedermayer
eda9d97b7a
Merge commit '46bb456853b197f4562de7acf5d42abf11ded9be'
...
* commit '46bb456853b197f4562de7acf5d42abf11ded9be':
x86: dsputil: Refactor pixels16 wrapper functions with a macro
Conflicts:
libavcodec/x86/hpeldsp_avg_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 10:18:46 +02:00
James Darnley
d10499a32a
yadif: correct strides in filter_edges_16bit
...
The C code treats the data as arrays of uint16_t so strides must not
be in bytes but in pixels.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-14 09:24:13 +02:00
James Darnley
b0ef0ae776
yadif: restore speed of the C filtering code
...
Always use the special filter for the first and last 3 columns (only).
Changes made in 64ed397 slowed the filter to just under 3/4 of what it
was. This commit restores the speed while maintaining identical output.
For reference, on my Athlon64:
1733222 decicycles in old
2358563 decicycles in new
1727558 decicycles in this
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-14 09:23:55 +02:00
Matt Wolenetz
252c0bfdc0
lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)
...
This fixes https://bugzilla.libav.org/show_bug.cgi?id=514 .
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-14 10:04:43 +03:00
burek
56ba331257
doc/filters: add some examples for the fps filter
...
Signed-off-by: burek <burek021@gmail.com >
2013-05-14 00:33:52 +00:00
Hendrik Leppkes
37d9784083
md5enc: don't reuse priv_class in two formats
...
Apparently, this is not allowed and can trip up all sorts of things.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 23:39:29 +02:00
Reimar Döffinger
7d1d596817
Add a generic hash API.
...
Also use this API in framemd5.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-13 21:42:37 +02:00
Reimar Döffinger
86215c326e
Add 128 bit murmur3 hash function.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-13 21:42:37 +02:00
Andrey Utkin
47a628bfb3
avfilter: Add 'drawgrid' video filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 21:34:15 +02:00
Martin Storsjö
05165c2f7a
configure: Disable PIC for cygwin just as for win32/mingw
...
If this is explicitly disabled for win32/mingw, it should also
be disabled for cygwin, for consistency and for the same reasons
as for win32/mingw.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-13 20:20:55 +03:00
Joseph Artsimovich
3967f68053
Better handling for MXF essence reading reaching EOF.
...
If no metadata follows MXF essence, that is essence ends with EOF,
"Operation not permitted" error was produced and a non-zero code
was returned from ffmpeg executable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 19:03:04 +02:00
Michael Niedermayer
1e00bbb10c
avcodec/lcldec: Check that dimensions are a multiple of the subsample factors
...
Other dimensions would not work correctly currently,
also ask for a sample for files that fail this check.
This fixes an integer overflow leading to out of array
accesses.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 18:52:00 +02:00
Clément Bœsch
b3c263e209
lavu/common: make FF_CEIL_RSHIFT faster when shift is constant.
...
See "[PATCH] lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding."
thread for more information.
2013-05-13 17:53:16 +02:00
Michael Niedermayer
45150f90e7
fate: fix filter-colorchannelmixer by adding bitexact & accurate flags
...
Idea by durandal11707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 17:15:58 +02:00
Paul B Mahol
8671e995c8
imgconvert: silence "incompatible pointer type" warning
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-13 14:42:41 +00:00
Michael Niedermayer
f9db2fc84d
cdgraphics: initialize buffer
...
Prevent use of uninitialized memory
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 14:39:32 +02:00
Michael Niedermayer
e6b6ae4695
vorbisdec: check codebook entry count
...
Fixes assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 14:27:35 +02:00
Stefano Sabatini
3a4c8788e3
tools/ffeval: use av_dynarray2_add()
...
Simplify, increment robustness.
2013-05-13 13:52:37 +02:00
Stefano Sabatini
e3984166a4
lavu/mem: add av_dynarray2_add()
...
Based on a patch by Clément Bœsch.
See thread:
From: Clément Bœsch <ubitux@gmail.com >
Subject: [FFmpeg-devel] [PATCH 1/5] lavu: add av_dynarray_alloc_elem().
Date: Sun, 14 Apr 2013 03:07:54 +0200
2013-05-13 13:52:31 +02:00
Stefano Sabatini
84be806982
lavu: define FF_MEMORY_POISON and use it
...
Allow single-place definition of constant used to fill poisoned memory.
2013-05-13 13:52:26 +02:00
Michael Niedermayer
e70e2583d0
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Do not read strd chunk in avi files as H264 extradata.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 13:25:12 +02:00
Paul B Mahol
2dedd8988a
fate: add colorchannelmixer test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-13 10:57:48 +00:00
Carl Eugen Hoyos
231b331718
Do not read strd chunk in avi files as H264 extradata.
...
Fixes ticket #2561 .
2013-05-13 12:39:44 +02:00
Paul B Mahol
4383e1b239
tests/lavf-regression: fix gbrp10 dpx test on big endian
...
For some reason only for that pix format decoder picks native format.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-13 10:09:03 +00:00
Michael Niedermayer
df4f4fc8a5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: x86: Only enable cpunop on i686
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 11:36:46 +02:00
Michael Niedermayer
69d52ef8ff
Merge commit 'f54b55058a429c4eea5bae7e5bcb49bd29b34199'
...
* commit 'f54b55058a429c4eea5bae7e5bcb49bd29b34199':
configure: Rename cmov processor capability to i686
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 11:29:40 +02:00
Michael Niedermayer
6585275e79
Merge commit 'e08c946c6860a78b0c479551d5f6735361160cbd'
...
* commit 'e08c946c6860a78b0c479551d5f6735361160cbd':
configure: Explicitly disable PIC when targeting win32/mingw
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 11:23:16 +02:00
Michael Niedermayer
352eb1f02f
Merge commit 'b1803c79dcd6d0a345fa1cbe18dd8e2149717121'
...
* commit 'b1803c79dcd6d0a345fa1cbe18dd8e2149717121':
configure: Use enable_weak when enabling pic
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 10:53:18 +02:00
Andrey Utkin
bc63a76083
pngenc: Add 'dpi', 'dpm' options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-13 00:12:45 +02:00
Paul B Mahol
c0a30dd2e4
fate: increase coverage for dpx encoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-12 22:04:40 +00:00
Paul B Mahol
ae9ef151ad
dpxenc: simplifiy code using AVPixFmtDescriptor
...
Update rgb24 fate test as it no longer writes image in big endian
format.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-12 21:56:29 +00:00
Paul B Mahol
22a038606c
dpxenc: do not set coded_frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-12 21:15:59 +00:00
Diego Biurrun
1399931d07
x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.h
...
The header is not (anymore) MMX-specific.
2013-05-12 22:28:07 +02:00
Diego Biurrun
245b76a108
x86: dsputil: Split inline assembly from init code
...
Also remove some pointless comments.
2013-05-12 22:28:07 +02:00
Diego Biurrun
46bb456853
x86: dsputil: Refactor pixels16 wrapper functions with a macro
2013-05-12 22:28:07 +02:00
Michael Niedermayer
145e644aee
sws/output: remove offset/coef for alpha in rgba64
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-12 22:01:18 +02:00
Paul B Mahol
e1746d057b
swscale: RGBA64 output
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-12 21:47:19 +02:00
Diego Biurrun
2c2c48a9bd
configure: x86: Only enable cpunop on i686
...
The assembler may insert nopl instructions for cpunop, which are not
(universally) supported on i586 CPUs.
2013-05-12 21:23:38 +02:00
Diego Biurrun
f54b55058a
configure: Rename cmov processor capability to i686
...
The goal is to make the capapility slightly more general and have it
cover the availability of the nopl instruction in addition to cmov.
2013-05-12 21:23:38 +02:00
Claudio Freire
e41cd3cdeb
aacenc: Fix ticket #1784 : erasure of surround channels
...
This was due to a miscomputation of s->cur_channel, which led to
psy-based encoders using the psy coefficients for the wrong channel.
Test sample attached on the bug tracker had the peculiar case of all
other channels being silent, so the error was far more noticeable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-12 19:14:17 +02:00
Martin Storsjö
e08c946c68
configure: Explicitly disable PIC when targeting win32/mingw
...
These platforms do not have any notion of PIC. On some compilers,
enabling pic produces a number of warnings.
This avoids trying to produce PIC loads in the ARM assembly - there
are no relocation types in PE/COFF that correspond to
BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF).
As a side-effect, this avoids enabling PIC on mingw64, getting rid
of the warnings about PIC not having any effect on that platform.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-12 19:45:33 +03:00
Martin Storsjö
b1803c79dc
configure: Use enable_weak when enabling pic
...
This allows it to be overridden, either by the user on the command
line, or by other sections of the configure script.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-12 19:45:26 +03:00
Michael Niedermayer
91f4a44ff4
sws/packed_16bpc_bswap: fix handling of negative stride
2013-05-12 17:26:39 +02:00
Michael Niedermayer
63725d158d
Revert "sws: support endianness conversion for AV_PIX_FMT_RGBA64"
...
This reverts commit 23f7b14f28 .
This commit broke fate
2013-05-12 15:05:25 +02:00
Paul B Mahol
d93bc4ef5c
redspark: fix memleak in redspark_read_header
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-12 12:14:33 +00:00
Paul B Mahol
87888c043d
fate: add exr tests
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-12 11:47:30 +00:00
Paul B Mahol
23f7b14f28
sws: support endianness conversion for AV_PIX_FMT_RGBA64
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-12 11:44:20 +00:00
Clément Bœsch
cd43a7e945
doc/filters: split item options which are not aliases.
2013-05-12 13:23:45 +02:00
Clément Bœsch
09d3449a8f
fate/filter: test gradfun timeline.
2013-05-12 13:07:47 +02:00
Clément Bœsch
9b11c2ef36
fate/filter: test hqdn3d timeline.
2013-05-12 13:07:47 +02:00
Clément Bœsch
0122300c86
lavfi/hqdn3d: restore timeline feature.
2013-05-12 13:07:47 +02:00
Clément Bœsch
0652111833
lavfi/hqdn3d: use macros instead of hardcoded indexes.
2013-05-12 13:07:47 +02:00
Clément Bœsch
1776177b7f
lavfi: replace passthrough_filter_frame with a flag.
...
With the introduction of AVFilterContext->is_disabled, we can simplify
the custom passthrough mode in filters.
This commit is technically a small compat break, but the timeline was
introduced very recently.
Doxy by Stefano Sabatini.
2013-05-12 13:07:47 +02:00
Clément Bœsch
60f0e30431
lavfi/vflip: use FF_CEIL_RSHIFT for chroma w/h rounding.
2013-05-12 12:59:00 +02:00
Clément Bœsch
59d33eafd1
lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding.
2013-05-12 12:59:00 +02:00
Paul B Mahol
91cae60ecb
lavfi/select: unbreak compatibility with older PICT_TYPE syntax
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-12 10:52:26 +00:00
Michael Niedermayer
cbcc5cbbd8
Merge remote-tracking branch 'jamrial/adpcm'
...
* jamrial/adpcm:
ADPCM IMA Radical decoder
RedSpark demuxer
RSD demuxer
adpcm_thp: Allow the use of extradata for the adpcm table
ADP demuxer
ADPCM DTK decoder
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-12 00:38:39 +02:00
Michael Niedermayer
9a2153894f
ffv1enc: fix 1000l typo
...
Thanks to ubitux for spotting that
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 21:33:03 +02:00
Michael Niedermayer
b8a2331a70
ffv1: check for malloc failure.
...
Somehow i managed to loose this fix before pushing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 21:23:46 +02:00
Michael Niedermayer
bd63f8f657
ffv1enc: Fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 21:03:54 +02:00
Michael Niedermayer
19411d32d4
ffv1enc: dont set coded_frame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 20:37:20 +02:00
Michael Niedermayer
a0c0900e47
ffv1dec: Support frame threading with gop > 1
...
This is about 20-30% faster than slice threading
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 20:17:45 +02:00
Michael Niedermayer
54602590d9
ffv1enc: Check the return value of ffv1_common_init()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 20:17:09 +02:00
Michael Niedermayer
69cfe63a43
ffv1: Switch to ThreadFrame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 20:16:49 +02:00
Michael Niedermayer
44f69c0df8
avfilter/af_astats: fix 64bit printf type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 19:10:39 +02:00
Michael Niedermayer
bb0d3a4393
avfilter/vf_mp: remove unused function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 19:08:42 +02:00
Michael Niedermayer
efaa2e01e6
vf_copy: silence "incompatible pointer type" warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-11 15:51:27 +02:00
Stefano Sabatini
90d35e527b
doc/filters: remove duplicated abuffer docs
2013-05-11 10:32:30 +02:00
Stefano Sabatini
edc05698aa
doc/filters: sort audio filters by name
2013-05-11 10:32:22 +02:00
Clément Bœsch
a9705e4de9
lavfi/curves: avoid ctx pointer indirection.
2013-05-10 23:47:28 +02:00
Michael Niedermayer
496f2df908
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
indeo3: avoid writes without necessary alignment in copy_cell()
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 23:26:32 +02:00
Michael Niedermayer
5e1278c640
Merge commit '2c299d4165cd9653153e12270971c2368551b79e'
...
* commit '2c299d4165cd9653153e12270971c2368551b79e':
x86: sbrdsp: implement SSE2 qmf_pre_shuffle
Conflicts:
libavcodec/x86/sbrdsp.asm
libavcodec/x86/sbrdsp_init.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 23:16:09 +02:00
Michael Niedermayer
2a7d719848
Merge commit '16a4a18db089af8c432f1cdec62155000585b72c'
...
* commit '16a4a18db089af8c432f1cdec62155000585b72c':
af_asyncts: fix offset calculation
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 23:03:50 +02:00
Michael Niedermayer
fc94b68eb5
Merge commit '72fbc9685c08baae7ab9996642707eaab873b6f1'
...
* commit '72fbc9685c08baae7ab9996642707eaab873b6f1':
avconv: use current syntax for the scale filter
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 22:51:04 +02:00
James Almer
67fad0d221
ADPCM IMA Radical decoder
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:53:50 -03:00
James Almer
e5e86db178
RedSpark demuxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:53:02 -03:00
James Almer
d3710c51d9
RSD demuxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:52:10 -03:00
James Almer
22c7784f60
adpcm_thp: Allow the use of extradata for the adpcm table
...
There are several containers that support adpcm_thp (Also known as Gamecube DSP)
streams, but only thp files contain the coeff table and previous sample inside
each frame.
Some don't even contain previous sample information at all.
This change will make it easier to implement demuxers for said containers
without having to create a new decoder.
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:10:53 -03:00
James Almer
b4866f717c
ADP demuxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:10:52 -03:00
James Almer
e7814ed839
ADPCM DTK decoder
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:10:51 -03:00
Michael Niedermayer
b2cf655d6e
sws: add casts to silence pointer type mismatch warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 20:36:12 +02:00
Michael Niedermayer
7ded017983
sws/output/yuv2gbrp_full_X_c(): silence warning about uninitialized variable
...
clang did not show this one, so i missed it in the last batch
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 20:36:12 +02:00
Paul B Mahol
4868855b13
lavfi/select: set forgotten VAR_PICT_TYPE_BI
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-10 17:39:09 +00:00
Paul B Mahol
005ee7a586
lavfi: avectorscope filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-10 17:11:54 +00:00
Clément Bœsch
50e66726a2
lavfi: use ceil right shift for chroma width/height.
...
This should fix several issues with odd dimensions inputs.
lut, vflip, pad and crop video filters also need to be checked for such
issues. It's possible sws is also affected.
2013-05-10 17:20:06 +02:00
Paul B Mahol
d751a2526f
lavfi/anull: remove redundant lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-10 15:08:12 +00:00
Michael Niedermayer
a079ed63d3
avidec: Enable full parsing for potencoder mpeg1/2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 16:55:06 +02:00
highgod0401
63e8fc4d8f
lavfi: modify names of deshake_kernel.h and unsharp_kernel.h
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 12:44:04 +02:00
Janne Grunau
94235f2ba2
indeo3: avoid writes without necessary alignment in copy_cell()
...
Cells starting at a position aligned to 8 pixels but wider than
4 blocks are copied with 3 blocks per loop. This creates problems on the
next loop iterations since the routine copying 2 blocks requires the
same alignment on some architectures like ARM NEON.
2013-05-10 12:02:09 +02:00
Carl Eugen Hoyos
0f05b72f19
Fix configure --help output for some autodetected features.
2013-05-10 10:41:28 +02:00
Stefano Sabatini
5c4c929878
lavfi/avfiltergraph: fix style
2013-05-10 10:33:00 +02:00
Stefano Sabatini
e1332ff324
lavfi/avfilter.h: fix typo
2013-05-10 10:33:00 +02:00
Stefano Sabatini
eeb9a4928d
lavu/mem.h: fix typo
2013-05-10 10:32:59 +02:00
Michael Niedermayer
c475a58dd6
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mmf: K&R formatting cosmetics
Conflicts:
libavformat/mmf.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 09:35:33 +02:00
Christophe Gisquet
2c299d4165
x86: sbrdsp: implement SSE2 qmf_pre_shuffle
...
From 253 to 51 cycles on Arrandale and Win64.
44 cycles on SandyBridge.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-10 09:31:27 +02:00
Anton Khirnov
16a4a18db0
af_asyncts: fix offset calculation
...
delta is in samples, not bytes. Also the sample format is not guaranteed
to be planar.
CC:libav-stable@libav.org
2013-05-10 09:31:27 +02:00
Luca Barbato
72fbc9685c
avconv: use current syntax for the scale filter
2013-05-10 08:26:04 +02:00
Michael Niedermayer
500220a8e8
mimic: Fix race condition
...
Fixes access after free.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 01:40:24 +02:00
Michael Niedermayer
8ef453ff83
sws/output: silence warnings about uninitialized use of variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-10 01:33:57 +02:00
Paul B Mahol
13cb6ed3c4
takdec: simplify use of scalarproduct_int16 in decode_subframe()
...
Makes decoding little faster.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-09 20:36:58 +00:00
Carl Eugen Hoyos
43b6482d0a
Add fate test for solid colour lagarith frames.
2013-05-09 17:18:12 +02:00
Clément Bœsch
4db84bac13
lavfi/opencl: replace SHIFTUP with FF_CEIL_RSHIFT.
2013-05-09 16:59:43 +02:00
Clément Bœsch
f0250cc463
lavfi/overlay: simpler up-rounded w/h computations.
2013-05-09 16:59:43 +02:00
Clément Bœsch
570d63eef3
lavu: add FF_CEIL_RSHIFT and use it in various places.
2013-05-09 16:59:42 +02:00
Michael Niedermayer
d9cb1e0e15
ffadler: fix duplicate \n on errors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 16:54:04 +02:00
Paul B Mahol
88e0e2054d
lavfi: remove alphaextract special code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-09 14:53:21 +00:00
Michael Niedermayer
a11593189b
ffadler: add multifile support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 16:21:25 +02:00
Michael Niedermayer
3d66ce17b7
tools: Add adler32 checksum tool
...
This is about 6 times faster than md5sum on linux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 16:21:17 +02:00
Luca Barbato
ee9a4dff4a
mmf: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-09 16:12:58 +02:00
Paul B Mahol
d1cb559a6a
fate: add test for lut filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-09 10:37:58 +00:00
Michael Niedermayer
769efe56b1
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: dsputil: Remove unused argument from QPEL_OP macro
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 11:55:46 +02:00
Michael Niedermayer
696f5f98e2
Merge commit '6e9f8d6a7d7392a236df19fef6f4eba41f18167e'
...
* commit '6e9f8d6a7d7392a236df19fef6f4eba41f18167e':
x86: vf_yadif: Remove stray dsputil_mmx #include
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 11:51:40 +02:00
Michael Niedermayer
bda5487d92
Merge commit '3d40c1ee742db5f13ebcf53c2d1fa4bf4f39bcd2'
...
* commit '3d40c1ee742db5f13ebcf53c2d1fa4bf4f39bcd2':
x86: dsputil: Move TRANSPOSE4 macro to the only place it is used
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 11:43:00 +02:00
Michael Niedermayer
164899c6e8
Merge commit '71469f3b636fbe06b6aca5933f9fdebddd8d5f57'
...
* commit '71469f3b636fbe06b6aca5933f9fdebddd8d5f57':
x86: dsputil: Move constant declarations into separate header
Conflicts:
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 11:36:29 +02:00
Michael Niedermayer
5747d835c7
Merge commit 'ed880050edf061b38d3e39e25657c59ad9108b27'
...
* commit 'ed880050edf061b38d3e39e25657c59ad9108b27':
x86: dsputil: Group all assembly constants together in constants.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 11:23:40 +02:00
Michael Niedermayer
3469c24a10
Merge commit '87614667606b42476f9017d79faf12b45a0bd77c'
...
* commit '87614667606b42476f9017d79faf12b45a0bd77c':
x86: dsputil: Move ff_pd assembly constants to the only place they are used
Conflicts:
libavcodec/x86/lpc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-09 11:01:14 +02:00
Michael Niedermayer
e4723a82f7
avfilter: fix 2 warnings about discarding const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 23:55:06 +02:00
Michael Niedermayer
33ff943f70
ffmpeg: add -apad option which injects a apad filter only in the presence of video streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 23:55:06 +02:00
Michael Niedermayer
410905f7fd
ffmpeg: use av_freep() for forced_kf_pts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 23:55:06 +02:00
Michael Niedermayer
1e1015f330
avfilter/af_apad: Support AVFILTER_FLAG_SUPPORT_TIMELINE
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 23:55:06 +02:00
Michael Niedermayer
df9f9caba5
avfilter: Make enabled/disabled state available as a field of the AVFilterContext
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 23:55:06 +02:00
Paul B Mahol
c4a5499d25
lavfi/extractplanes: packed rgb support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 19:28:30 +00:00
Paul B Mahol
8245520b88
lavfi/colorchannelmixer: remove now redudant code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 19:24:23 +00:00
Paul B Mahol
deef4b1ac9
lavfi/drawutils: add 16 bit rgb and planar rgb to ff_fill_rgba_map()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 19:24:23 +00:00
Diego Biurrun
f243bf7aa2
x86: dsputil: Remove unused argument from QPEL_OP macro
2013-05-08 18:18:58 +02:00
Diego Biurrun
6e9f8d6a7d
x86: vf_yadif: Remove stray dsputil_mmx #include
2013-05-08 18:18:23 +02:00
Diego Biurrun
3d40c1ee74
x86: dsputil: Move TRANSPOSE4 macro to the only place it is used
2013-05-08 18:18:23 +02:00
Diego Biurrun
71469f3b63
x86: dsputil: Move constant declarations into separate header
2013-05-08 18:18:23 +02:00
Paul B Mahol
8e2972274e
lavfi/null: remove redudant lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 12:48:05 +00:00
Paul B Mahol
443181c0a9
libswscale: simplify isAnyRGB macro
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 12:48:05 +00:00
Paul B Mahol
94ff68ccb3
lavfi/lut: add support for YUVA422P and YUVA444P
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 12:48:05 +00:00
Paul B Mahol
1f2baec7bd
lavfi: add gbrap support to some filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 12:48:05 +00:00
Paul B Mahol
5c057433cc
libswscale: GBRAP input & output and GBRAP16 input support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-08 12:48:05 +00:00
Michael Niedermayer
8d9537228f
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
msvc: Move linker pragma from config.h to libavutil/internal.h
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 14:32:43 +02:00
Michael Niedermayer
63208c034b
Merge commit 'bd392785a75d7d51414a9788d50396a8d9f29d77'
...
* commit 'bd392785a75d7d51414a9788d50396a8d9f29d77':
fate-run: Drop unnecessary regtest() indirection
Conflicts:
tests/fate-run.sh
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 14:21:39 +02:00
Michael Niedermayer
e3869dd17e
Merge commit '1b343cedd7cd68e7865aa5280d1568c7e5d79917'
...
* commit '1b343cedd7cd68e7865aa5280d1568c7e5d79917':
x86: dsputil: Remove unused ff_pb_3F constant
x86: dsputil: Remove unused MOVQ_BONE macro
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 14:13:48 +02:00
Michael Niedermayer
69d2eff5af
Merge commit '63bac48f734fc69cca2ef2cfada92cd9a222734d'
...
* commit '63bac48f734fc69cca2ef2cfada92cd9a222734d':
x86: dsputil: Move rv40-specific functions where they belong
Conflicts:
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_mmx.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 14:08:00 +02:00
Michael Niedermayer
2f9ef60c97
Merge commit '92f8e06ecb431a427ea13d794e5a6bc927a034d2'
...
* commit '92f8e06ecb431a427ea13d794e5a6bc927a034d2':
x86: dsputil hpeldsp: Move shared template functions into separate object
Conflicts:
libavcodec/x86/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 14:01:58 +02:00
Michael Niedermayer
bf18810a21
Merge commit '7edaf4edb5c3c04f34ad1242680cbc32d11f4087'
...
* commit '7edaf4edb5c3c04f34ad1242680cbc32d11f4087':
x86: rnd_template: Eliminate pointless OP_AVG macro indirection
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 13:55:31 +02:00
Michael Niedermayer
f302ba4dda
Merge commit 'db9aee6ccf183508835acc325f5ad87d595eacc4'
...
* commit 'db9aee6ccf183508835acc325f5ad87d595eacc4':
oma: properly forward errors in oma_read_packet
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 13:41:45 +02:00
Michael Niedermayer
d13bc208da
Merge commit '6f98508e2b86dcb79614d8c9b8e97c5e83a21cb0'
...
* commit '6f98508e2b86dcb79614d8c9b8e97c5e83a21cb0':
oma: return meaningful errors
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 13:37:26 +02:00
Michael Niedermayer
fe6a36e768
Merge commit 'e55e8b2c362a60bad66929d83d8c83b0d7f5ffc9'
...
* commit 'e55e8b2c362a60bad66929d83d8c83b0d7f5ffc9':
lavc: do not leak frames in avcodec_decode_audio4
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 13:25:19 +02:00
Michael Niedermayer
9818bbde53
Merge commit 'e0c53c3408181d2e7d544eb65fc7355a79438dfe'
...
* commit 'e0c53c3408181d2e7d544eb65fc7355a79438dfe':
nut: use meaningful error values
FATE: use a less ambiguous end time for filter-trim-time test
Conflicts:
libavformat/nutdec.c
tests/fate/filter-video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 12:47:54 +02:00
Michael Niedermayer
1aed0513a1
configure: use shorter variable name for "libavdevice_pc_deps"
...
This is in line with the new name for the libavfilter variable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 12:38:01 +02:00
Michael Niedermayer
28397de4df
Merge commit '9779f93066ee5ea6fba6b76f001d358cc2857891'
...
* commit '9779f93066ee5ea6fba6b76f001d358cc2857891':
configure: add dependencies to lavfi .pc file
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 12:37:15 +02:00
Michael Niedermayer
bf0547504b
Merge commit 'bce70f8170592599a4f2f5f02606c1246e88df57'
...
* commit 'bce70f8170592599a4f2f5f02606c1246e88df57':
configure: make avconv select (a)trim filters
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 12:17:46 +02:00
Michael Niedermayer
42f5fc716e
Merge commit '481575d255195c6c2f32e04686b94de984ae78d4'
...
* commit '481575d255195c6c2f32e04686b94de984ae78d4':
avconv: remove -deinterlace
Conflicts:
Changelog
doc/ffmpeg.texi
ffmpeg.c
ffmpeg_opt.c
The merge removes the documentation for the deprecated -deinterlace
the code itself has already been replaced a while ago by code
that inserts yadif, that insertion code is left in place.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 12:07:56 +02:00
Michael Niedermayer
e077ba8016
Merge commit 'a97d8cc16e0da30c9ffefa1ede2a0adf3db5f3f8'
...
* commit 'a97d8cc16e0da30c9ffefa1ede2a0adf3db5f3f8':
indeo3: use unaligned reads on reference blocks.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 11:54:29 +02:00
Michael Niedermayer
1bad40ef27
Merge commit '70f9661542a581dfe93b636b1c55b5558e4a4e3c'
...
* commit '70f9661542a581dfe93b636b1c55b5558e4a4e3c':
jpeg2000dec: initialize static data just once
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 11:46:41 +02:00
Michael Niedermayer
aecb3421f6
Merge commit '45a1694fde251ee56e23aec073d73172c00aa470'
...
* commit '45a1694fde251ee56e23aec073d73172c00aa470':
jpeg2000dec: cleanup properly after decoding errors
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 11:41:54 +02:00
Christophe Gisquet
fc37cd4333
x86: sbrdsp: force PIC addressing for Win64
...
MSVC complains about the 32bits addressing, while mingw/gcc does not.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 03:07:03 +02:00
Stefano Sabatini
ae0ce99ca4
lavfi/unsharp: use verbal form in help message options
2013-05-08 01:39:12 +02:00
Stefano Sabatini
ee9794ed20
lavu/mem: fix potential int overflow and crash in av_dynarray_add()
...
Also extend documentation accordingly.
2013-05-08 01:39:12 +02:00
Stefano Sabatini
c773adee3f
lavu/mem: extend documentation for av_dynarray_add()
...
In particular, mention the fact that the amortized element addition cost
is constant.
2013-05-08 01:39:12 +02:00
Michael Niedermayer
c67bca2b5a
avcodec/mpegvideo: Fix edge emu with lowres
...
Fixes a few green artifacts at the top
Fixes rest of Ticket 2535
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 01:18:56 +02:00
Michael Niedermayer
bca50e5cd5
avcodec/mpegvideo: Fix block height for lowres 3 interlaced blocks
...
Fixes green trash
Fixes part of Ticket2535
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-08 01:17:45 +02:00
Diego Biurrun
ed880050ed
x86: dsputil: Group all assembly constants together in constants.c
2013-05-08 01:04:04 +02:00
Diego Biurrun
8761466760
x86: dsputil: Move ff_pd assembly constants to the only place they are used
2013-05-08 01:04:04 +02:00
Martin Storsjö
06122c2533
msvc: Move linker pragma from config.h to libavutil/internal.h
...
This makes linking succeed for tools that include config.h but
don't link to libavutil.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-08 01:28:25 +03:00
Michael Niedermayer
bc0cbaca62
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi: add comments to explain the negotiation loop.
lavfi: fix filter format negotiation loop.
ffmpeg: move a local variable definition later.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 23:52:39 +02:00
Michael Niedermayer
a527e69259
avformat/vqf: check number of channels before use.
...
Fixes division by zero
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 22:26:56 +02:00
Michael Niedermayer
9dd04f6d8c
sanm: Check dimensions before use
...
Fixes integer overflow and out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 21:59:05 +02:00
Michael Niedermayer
ad002e1a13
avcodec/cdgraphics: check buffer size before use
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 21:06:48 +02:00
Michael Niedermayer
ead590c256
dxa: check vectors of 2x2 motion blocks
...
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 20:33:46 +02:00
Michael Niedermayer
f96e0eb238
dxa: check vectors of 4x4 motion blocks
...
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 20:20:14 +02:00
Michael Niedermayer
89d998f1c1
shorten: allocate space for padding
...
Fixes array overread
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 20:05:53 +02:00
Diego Biurrun
bd392785a7
fate-run: Drop unnecessary regtest() indirection
...
The indirection was used to abstract from the different -regression.sh
scripts. Now that only one remains, this indirection is pointless.
2013-05-07 19:27:47 +02:00
Nicolas George
4582e4c086
lavfi: add comments to explain the negotiation loop.
2013-05-07 18:40:51 +02:00
Nicolas George
78d16b6a51
lavfi: fix filter format negotiation loop.
...
query_formats() returning EAGAIN is not considered a progress
in the format negotiation.
If the filter returns EAGAIN but did set some of its formats
lists, it could be considered a partial success and counted
as progress in the negotiation. Not counting it is not a
problem because it currently only happens in the first round,
where there will always be some progress on the other filters.
2013-05-07 18:40:51 +02:00
Nicolas George
449704b475
ffmpeg: move a local variable definition later.
...
Fix a segfault when using the -map option without input files.
2013-05-07 18:39:45 +02:00
Diego Biurrun
1b343cedd7
x86: dsputil: Remove unused ff_pb_3F constant
2013-05-07 18:03:35 +02:00
Diego Biurrun
63bac48f73
x86: dsputil: Move rv40-specific functions where they belong
2013-05-07 18:03:35 +02:00
Diego Biurrun
3334cbec0a
x86: dsputil: Remove unused MOVQ_BONE macro
2013-05-07 18:03:35 +02:00
Diego Biurrun
92f8e06ecb
x86: dsputil hpeldsp: Move shared template functions into separate object
2013-05-07 18:03:34 +02:00
Diego Biurrun
7edaf4edb5
x86: rnd_template: Eliminate pointless OP_AVG macro indirection
2013-05-07 18:03:34 +02:00
Michael Niedermayer
d23b8462b5
gifdec: reset previous Graphic Control Extension disposal type
...
This fixes out of array accesses.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 17:03:34 +02:00
Clément Bœsch
d3f7b98f87
lavfi/overlay: reindent fix.
2013-05-07 15:43:28 +02:00
Clément Bœsch
5043d8d213
lavfi/alphaextract: copy width and not linesize.
...
Padding data is not supposed to be copied.
2013-05-07 15:33:49 +02:00
Clément Bœsch
c3dcd3a255
sws: factorize rgb 9+ planar funcs declarations.
2013-05-07 15:23:27 +02:00
Luca Barbato
db9aee6ccf
oma: properly forward errors in oma_read_packet
...
Prevent spurios EIO on EOF.
CC:libav-stable@libav.org
2013-05-07 14:37:32 +02:00
Luca Barbato
6f98508e2b
oma: return meaningful errors
2013-05-07 14:37:32 +02:00
Luca Barbato
e55e8b2c36
lavc: do not leak frames in avcodec_decode_audio4
...
Notwithstanding the return value the frame should be freed if
is not going to be used.
Reported-by: Matthew Wolenetz <wolenetz@chromium.org >
2013-05-07 14:37:32 +02:00
Luca Barbato
e0c53c3408
nut: use meaningful error values
...
Fix the mispresented EINVAL for EOF on partial files, among the other.
2013-05-07 14:37:32 +02:00
Michael Niedermayer
144baf427a
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Support decoding of Lagarith frame type FRAME_SOLID_COLOR.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 14:21:49 +02:00
Gunther Piez
acc4a7e5b3
Ticket #2540 Enable threading when using -c:v libx264rgb
...
Signed-off-by: Gunther Piez <gupiez@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 13:38:15 +02:00
Michael Niedermayer
2efbbc4644
avutil/av_pix_fmt_swap_endianness: simplify and fix code
...
This makes the code also more robust, not having a hard-coded
table that can become (and was) incomplete.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 13:13:09 +02:00
Anton Khirnov
cd4bfe3a50
FATE: use a less ambiguous end time for filter-trim-time test
...
0.1 seconds at 25 fps is exactly 2.5 frames, which may be rounded either
to 2 or 3 on different platforms.
2013-05-07 12:33:13 +02:00
Anton Khirnov
9779f93066
configure: add dependencies to lavfi .pc file
...
The scale filter depends on sws, resample on lavr, and movie on lavf and
lavc.
Fixes Bug 502.
2013-05-07 12:32:14 +02:00
Anton Khirnov
bce70f8170
configure: make avconv select (a)trim filters
...
They are now used for -ss/-t
2013-05-07 12:32:03 +02:00
Anton Khirnov
481575d255
avconv: remove -deinterlace
...
It is incompatible with refcounted frames and since it's been deprecated
for a long time now, fixing it is not worth the effort.
2013-05-07 12:31:55 +02:00
Anton Khirnov
a97d8cc16e
indeo3: use unaligned reads on reference blocks.
...
They are not guaranteed to be aligned.
Fixes Bug 503.
CC:libav-stable@libav.org
2013-05-07 12:29:56 +02:00
Carl Eugen Hoyos
f381dc1d61
Support decoding of Lagarith frame type FRAME_SOLID_COLOR.
...
Fixes bug 459.
2013-05-07 11:46:35 +02:00
Michael Niedermayer
9276467bce
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate-jpeg2000-dcinema: force output to xyz12le
Conflicts:
tests/fate/video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 11:35:07 +02:00
Michael Niedermayer
fe5b089596
Merge commit '5f87c277bd5caa09cc4f9061d4ccdd58dc121110'
...
* commit '5f87c277bd5caa09cc4f9061d4ccdd58dc121110':
vf_scale: add endianness conversion pixel format in query_formats
Conflicts:
libavfilter/vf_scale.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 11:27:44 +02:00
Michael Niedermayer
dce12f6948
Merge commit '9cfa21c8c2b81146aab574f55c93f27e5c2d435c'
...
* commit '9cfa21c8c2b81146aab574f55c93f27e5c2d435c':
swscale: support endianness conversion for AV_PIX_FMT_XYZ12
Conflicts:
libswscale/swscale_unscaled.c
libswscale/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 11:13:46 +02:00
Michael Niedermayer
2060d94409
Merge commit 'c1eb3e7fecdc270e03a700d61ef941600a6af491'
...
* commit 'c1eb3e7fecdc270e03a700d61ef941600a6af491':
swscale: add support for endianness only conversion
Conflicts:
libswscale/utils.c
libswscale/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 11:04:07 +02:00
Michael Niedermayer
60fd88059a
Merge commit '74652af821d7e526a6541876a637fbf81261fa8e'
...
* commit '74652af821d7e526a6541876a637fbf81261fa8e':
pixdesc: add function to return pixel format with swapped endiannes
Conflicts:
libavutil/pixdesc.c
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 10:49:40 +02:00
Reimar Döffinger
399f6ef971
Add FATE test for matroska error recovery.
...
This is the first 2 MB of the official test7.mkv.
That length seems to be enough to detect the bugs
we had in our code so far.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-07 05:30:19 +02:00
Reimar Döffinger
762d4335ae
matroska: set "done" only during resync fail.
...
Fixes playback of test7.mkv validation test file.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-07 05:30:19 +02:00
Matt Wolenetz
004779cc59
avcodec/utils: Fix leak by dereferencing audio frame when side data causes whole frame skip
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-07 01:33:08 +02:00
Michael Niedermayer
974420a701
jpeg2000dec: fix memleaks in error cases in jpeg2000_decode_frame()
...
Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 22:56:22 +02:00
Clément Bœsch
a82cc54fb5
lavf/mpsub: remove sscanf from probing.
...
This should make probing faster.
2013-05-06 22:50:59 +02:00
Janne Grunau
70f9661542
jpeg2000dec: initialize static data just once
2013-05-06 22:45:47 +02:00
Janne Grunau
45a1694fde
jpeg2000dec: cleanup properly after decoding errors
...
Fixes memory leak in fate-redcode-demux.
2013-05-06 22:27:33 +02:00
Carl Eugen Hoyos
905e1e4b52
Cosmetics: Fix indentation and add braces after last commit.
2013-05-06 21:55:14 +02:00
Carl Eugen Hoyos
8b8fa09b65
vc1dec: Call ff_vdpau_vc1_decode_picture() once for each field.
...
Fixes mplayer -vc ffvc1vdpau for interlaced streams.
2013-05-06 21:55:14 +02:00
Rainer Hochecker
06d8fdb660
Fix vdpau vc1 interlace modes also when using decoder vc1_vdpau.
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at >
2013-05-06 21:55:14 +02:00
Janne Grunau
851465f9d9
fate-jpeg2000-dcinema: force output to xyz12le
...
Fixes Fate tests on big-endian configs.
2013-05-06 21:48:15 +02:00
Janne Grunau
5f87c277bd
vf_scale: add endianness conversion pixel format in query_formats
2013-05-06 21:48:15 +02:00
Janne Grunau
9cfa21c8c2
swscale: support endianness conversion for AV_PIX_FMT_XYZ12
2013-05-06 21:48:14 +02:00
Michael Niedermayer
b3e9fd1fe5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
swscale: Use alpha from the right row in yuva2rgba_c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 21:48:03 +02:00
Michael Niedermayer
050b48f397
Merge commit '6c5eac9a603a91a707d030d96ba97e2ef6b3ce50'
...
* commit '6c5eac9a603a91a707d030d96ba97e2ef6b3ce50':
swscale: Remove unnecessary backslashes
jpeg2000: Fix uninitialized data errors pointed out by valgrind/memcheck
Conflicts:
libavcodec/jpeg2000dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 21:23:29 +02:00
Nicolas Bertrand
a06f0cef5b
jpeg2000: fix for uninitialized data errors in valgrind/memcheck
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 21:14:19 +02:00
Michael Niedermayer
108e2ae829
Merge commit '110796739ab32854dc0b6b0a1c95e6ae98889062'
...
* commit '110796739ab32854dc0b6b0a1c95e6ae98889062':
x86: hpeldsp: Move avg_pixels8_x2_mmx() out of hpeldsp_rnd_template.c
Conflicts:
libavcodec/x86/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 21:00:40 +02:00
Michael Niedermayer
a6e782434a
Merge commit 'dc1b328d0df6e5ad5ff0ca4ae031e08466624f9c'
...
* commit 'dc1b328d0df6e5ad5ff0ca4ae031e08466624f9c':
x86: hpeldsp: Only compile MMX hpeldsp code if MMX is enabled
Conflicts:
libavcodec/x86/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 20:53:37 +02:00
Michael Niedermayer
32cc7dacde
Merge commit '9e5e76ef9ea803432ef2782a3f528c3f5bab621e'
...
* commit '9e5e76ef9ea803432ef2782a3f528c3f5bab621e':
x86: More specific ifdefs for dsputil/hpeldsp init functions
Conflicts:
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 20:46:27 +02:00
Janne Grunau
c1eb3e7fec
swscale: add support for endianness only conversion
...
Use bitfields in FormatEntry array to avoid wasting an int for each flag.
2013-05-06 18:55:58 +02:00
Janne Grunau
74652af821
pixdesc: add function to return pixel format with swapped endiannes
2013-05-06 18:51:47 +02:00
Michael Niedermayer
8cdf95d9b8
snow: add av_cold where appropriate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 16:58:17 +02:00
Michael Niedermayer
f4341c64be
avfilter: add av_cold to uninit()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 16:55:06 +02:00
Martin Storsjö
6e293d111f
swscale: Use alpha from the right row in yuva2rgba_c
...
Every other pixel had the alpha channel taken from the wrong
row.
This fixes bug 504.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-06 17:40:25 +03:00
Martin Storsjö
6c5eac9a60
swscale: Remove unnecessary backslashes
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-06 17:40:19 +03:00
Michael Niedermayer
d2bf8aecd3
j2kdec: frame multithreading support
...
This allows comparing the 2 decoders with threads
Based on:commit 2e2d24667a
By: Nicolas Bertrand <nicoinattendu@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 16:38:03 +02:00
highgod0401
b02f073ad4
lavfi/deshake_opencl: use ff_opencl_set_parameter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 16:30:22 +02:00
Nicolas Bertrand
28816f9db8
jpeg2000: Fix uninitialized data errors pointed out by valgrind/memcheck
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-06 13:07:00 +02:00
Michael Niedermayer
0b5f4fdc38
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Remove a superfluous include from libavcodec/options_table.h.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 12:43:08 +02:00
Carl Eugen Hoyos
76f43cbe26
Remove a superfluous include from libavcodec/options_table.h.
2013-05-06 12:16:50 +02:00
highgod0401
e215cb5e96
lavfi/unsharp_opencl: use av_opencl_errstr
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 12:08:22 +02:00
highgod0401
41aa199998
lavu/opencl_internal: use av_opencl_errstr
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 12:08:04 +02:00
highgod0401
9a09a9fc43
lavfi/unsharp: fix opencl crash on 64bit linux
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 11:45:40 +02:00
Diego Biurrun
110796739a
x86: hpeldsp: Move avg_pixels8_x2_mmx() out of hpeldsp_rnd_template.c
...
The function is only instantiated once, so there is no point
in keeping it in a template file.
2013-05-06 11:02:08 +02:00
Diego Biurrun
dc1b328d0d
x86: hpeldsp: Only compile MMX hpeldsp code if MMX is enabled
2013-05-06 11:02:08 +02:00
Diego Biurrun
9e5e76ef9e
x86: More specific ifdefs for dsputil/hpeldsp init functions
2013-05-06 11:02:07 +02:00
Michael Niedermayer
09602dbe7a
wav_seek_tag: fix integer overflow
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 10:58:31 +02:00
Michael Niedermayer
5cb9093aa8
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
wav: Always seek to an even offset
Conflicts:
libavformat/wavdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 10:47:49 +02:00
Michael Niedermayer
77c85cbd9d
Merge commit '46c1917350f58dfab84e41919e6c02d43950db8c'
...
* commit '46c1917350f58dfab84e41919e6c02d43950db8c':
nut: use a define for the nut version
bgmc: Do not mark ff_bgmc_decode_init() as av_cold
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 10:41:43 +02:00
Michael Niedermayer
b50ab3a4c7
Merge commit 'bd8ac882140a38868c33c000a430a1292a352533'
...
* commit 'bd8ac882140a38868c33c000a430a1292a352533':
avcodec: Add av_cold attributes to end functions missing them
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 10:28:27 +02:00
Michael Niedermayer
5c2ccf83df
Merge commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43'
...
* commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43':
avformat: Add av_cold attributes to init functions missing them
Conflicts:
libavformat/rtpdec_xiph.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 10:19:56 +02:00
Luca Barbato
ac87eaf856
wav: Always seek to an even offset
...
RIFF chunks are aligned to 16bit according to the specification.
Bug-Id:500
CC:libav-stable@libav.org
2013-05-06 09:14:43 +02:00
Luca Barbato
46c1917350
nut: use a define for the nut version
...
Ease switching version in the future and make evident why that value.
2013-05-06 09:14:43 +02:00
Paul B Mahol
f5846dc98c
id3v2: stop ignoring text encoding for chapter titles
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-06 00:54:13 +00:00
Michael Niedermayer
5a9e376049
h264: check mb_width/height
...
Fixes inconsistency that leads to out of array accesses with threads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 01:58:10 +02:00
Michael Niedermayer
edabbfbaf2
ff_h264_decode_seq_parameter_set: dont set h->sps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 00:37:47 +02:00
Michael Niedermayer
26482ae716
h264_sei/decode_picture_timing: do not depend on h->sps being set
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 00:35:25 +02:00
Michael Niedermayer
ccdaa31d86
ff_h264_decode_picture_parameter_set: fix return code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 00:01:47 +02:00
Michael Niedermayer
dc35b77b28
ff_h264_decode_picture_parameter_set: use the correct sps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-06 00:01:05 +02:00
Diego Biurrun
2d5fd7886a
bgmc: Do not mark ff_bgmc_decode_init() as av_cold
...
The function is possibly called once per block.
2013-05-05 20:51:52 +02:00
Diego Biurrun
bd8ac88214
avcodec: Add av_cold attributes to end functions missing them
2013-05-05 20:51:28 +02:00
Carl Eugen Hoyos
7c23922c2b
Cosmetics: Reindent Sierra vmd demuxer after last commit.
2013-05-05 19:56:46 +02:00
Carl Eugen Hoyos
4ec509ce3d
Support demuxing of audio-only vmd files.
...
Reviewed-by: Paul B Mahol
2013-05-05 19:52:30 +02:00
Carl Eugen Hoyos
a07ac1f788
Fix type of shared flac table ff_flac_blocksize_table[].
...
Fixes ticket #2533 .
2013-05-05 19:29:00 +02:00
Diego Biurrun
7abd35a1ff
avformat: Add av_cold attributes to init functions missing them
2013-05-05 18:33:04 +02:00
Michael Niedermayer
2d8dddd926
Merge branch 'vdpau' of https://github.com/FernetMenta/FFmpeg
...
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 16:28:18 +02:00
Michael Niedermayer
fb90e7b86d
configure: Use the tool specified with --valgrind instead of a hardcoded "valgrind"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 16:22:44 +02:00
Michael Niedermayer
54021aea57
configure: set valgrind-memcheck toolchain when --valgrind is specified
...
This avoids duplicating the default command line arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 16:21:57 +02:00
Rainer Hochecker
fe1f36547d
register AV_PIX_FMT_VDPAU for hwaccel
2013-05-05 16:15:41 +02:00
Rainer Hochecker
b37cc5995b
fix vdpau vc1 interlace modes
2013-05-05 15:12:59 +02:00
Michael Niedermayer
cdfa1c89b7
avcodec: Set frame.width/height on all exit pathes of ff_get_buffer()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 14:23:16 +02:00
highgod0401
548101b553
lavu/opencl: add opencl public error API
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 13:44:29 +02:00
Michael Niedermayer
097f668047
avformat: replace "AVPROBE_SCORE_MAX / X" by AVPROBE_SCORE_EXTENSION / Y
...
Demuxers where the changed code looked less readable where skiped
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 13:34:56 +02:00
Michael Niedermayer
a1f234be11
make the ordering of the return type and av_cold consistent
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 13:13:00 +02:00
Michael Niedermayer
35623d833e
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Check for getenv
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 13:05:45 +02:00
Michael Niedermayer
d5dbd84c9a
Merge commit '2b677ffca54a5fbef9c8860841c32f28ecd68f70'
...
* commit '2b677ffca54a5fbef9c8860841c32f28ecd68f70':
swscale: Add av_cold attributes to init functions missing them
Conflicts:
libswscale/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 13:00:21 +02:00
Michael Niedermayer
3c200aa693
Merge commit '1fda184a85178cfd7b98d9e308d18e1ded76a511'
...
* commit '1fda184a85178cfd7b98d9e308d18e1ded76a511':
avutil: Add av_cold attributes to init functions missing them
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 12:53:50 +02:00
Michael Niedermayer
e7f8493fd8
Merge commit '20c86571ccc71412781d4a4813e4693e0c42aec6'
...
* commit '20c86571ccc71412781d4a4813e4693e0c42aec6':
lavfi: let gcc realign the stack on public graph driving functions
Conflicts:
libavfilter/buffersink.c
libavfilter/buffersrc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 12:48:25 +02:00
Michael Niedermayer
fdccb84e3b
Merge commit 'c0c2b96c136ec2cbfd808eefc26de399f447d62f'
...
* commit 'c0c2b96c136ec2cbfd808eefc26de399f447d62f':
sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixes
avs: Increase magic value score above file extension score
Conflicts:
libavformat/avs.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 12:41:36 +02:00
Michael Niedermayer
f083b4c338
Merge commit 'e0f8be6413b6a8d334d6052e610af32935c310af'
...
* commit 'e0f8be6413b6a8d334d6052e610af32935c310af':
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Conflicts:
libavformat/ac3dec.c
libavformat/avformat.h
libavformat/avs.c
libavformat/m4vdec.c
libavformat/mov.c
libavformat/mp3dec.c
libavformat/mpeg.c
libavformat/mpegvideodec.c
libavformat/psxstr.c
libavformat/pva.c
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 12:31:03 +02:00
Michael Niedermayer
77570facdb
Merge commit '4d7ed3e73541983459a7913c2034eba69ebc113d'
...
* commit '4d7ed3e73541983459a7913c2034eba69ebc113d':
build: output-example: Add avutil to ELIBS in link command
Conflicts:
libavformat/Makefile
No change as our example build code doesnt have this bug
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 12:00:24 +02:00
Michael Niedermayer
b507c00dc0
Merge commit 'e445647b4fdf481b13b2743b303d84de4f43bedd'
...
* commit 'e445647b4fdf481b13b2743b303d84de4f43bedd':
avresample: Add av_cold attributes to init functions missing them
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 11:50:37 +02:00
Michael Niedermayer
a8ff830b79
Merge commit '093804a93cc5da3f95f98265a5df116912443cec'
...
* commit '093804a93cc5da3f95f98265a5df116912443cec':
avfilter: Add av_cold attributes to init/uninit functions
Conflicts:
libavfilter/af_ashowinfo.c
libavfilter/af_volume.c
libavfilter/src_movie.c
libavfilter/vf_lut.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 11:42:18 +02:00
Michael Niedermayer
0aa095483d
Merge commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487'
...
* commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487':
avcodec: Add av_cold attributes to init functions missing them
Conflicts:
libavcodec/aacpsy.c
libavcodec/atrac3.c
libavcodec/dvdsubdec.c
libavcodec/ffv1.c
libavcodec/ffv1enc.c
libavcodec/h261enc.c
libavcodec/h264_parser.c
libavcodec/h264dsp.c
libavcodec/h264pred.c
libavcodec/libschroedingerenc.c
libavcodec/libxvid_rc.c
libavcodec/mpeg12.c
libavcodec/mpeg12enc.c
libavcodec/proresdsp.c
libavcodec/rangecoder.c
libavcodec/videodsp.c
libavcodec/x86/proresdsp_init.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 11:34:29 +02:00
Michael Niedermayer
057c5d2e16
Merge commit '72e228b274a98af1aba9588415d0cd87fde44663'
...
* commit '72e228b274a98af1aba9588415d0cd87fde44663':
nut: K&R formatting cosmetics
Conflicts:
libavformat/nut.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 11:19:12 +02:00
Michael Niedermayer
86c9cf643b
configure: fix valgrind-memcheck arguments
...
They now match the --valgrind arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 10:52:39 +02:00
Michael Niedermayer
4451be5ce1
Merge commit 'b1ee8eec849f17fce2f411a297de9cbf2edaeb3a'
...
* commit 'b1ee8eec849f17fce2f411a297de9cbf2edaeb3a':
configure: Add basic valgrind-memcheck support
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 10:47:19 +02:00
Michael Niedermayer
336ffb8377
Merge commit '95e8ac60f8b7317ce23c648250fdc8fb68d65a07'
...
* commit '95e8ac60f8b7317ce23c648250fdc8fb68d65a07':
build: normalize coverage.info
Conflicts:
tests/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 10:36:23 +02:00
Michael Niedermayer
fbede75a25
Merge commit '768e44d044bc32de1e58c198a3708d186af7e966'
...
* commit '768e44d044bc32de1e58c198a3708d186af7e966':
build: tune down the output of lcov/gcov
Conflicts:
tests/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 10:18:41 +02:00
Reimar Döffinger
d82729e5d9
Detect and skip mj2-style jp2c header.
...
This this fixes one of the issues with
http://blogs.bu.edu/mhirsch/files/2012/08/Rotate180CCW-checkerboard.mj2_.zip
and at least allows to demux the file properly instead
of failing during probing.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-05 10:01:22 +02:00
Reimar Döffinger
3bb1c58e95
Avoid incorrect deprecated pixel format warning.
...
Should only be printed if a "JPEG" format was used,
not for e.g. XYZ.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-05-05 10:01:22 +02:00
Claudio Freire
1ef82cc60d
AAC encoder: Fix rate control on twoloop.
...
Fixes a case where multichannel bitrate isn't accurately
targetted by psy model alone, never achieving the target bitrate.
Now fixed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 04:19:34 +02:00
Claudio Freire
c545876d1b
AAC encoder: Fixed a rounding bug in psy's channel bitrate computation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 01:24:57 +02:00
Michael Niedermayer
adaa7743f5
src_movie: fix scanf string
...
Fixes out of array accesses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 00:56:39 +02:00
Michael Niedermayer
369a120826
xbmdec: fix off by one error in scanf()
...
Fixes out of array access
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-05 00:27:18 +02:00
Martin Storsjö
2cca96e670
configure: Check for getenv
...
When targeting the "windows store application" (metro) API subset
(or the windows phone API subset), the getenv function isn't
available. If it is unavailable, just define getenv to NULL.
The check uses check_func_headers, since the function actually
might exist in the libraries, but is hidden in the headers.
The fallback is in config.h since msvc can't do -D defines with
parameters on the command line, and it's used both within the
libraries and the frontend applications (so a libavutil internal
header wouldn't be enough).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-04 23:58:59 +03:00
Diego Biurrun
2b677ffca5
swscale: Add av_cold attributes to init functions missing them
2013-05-04 22:48:05 +02:00
Diego Biurrun
1fda184a85
avutil: Add av_cold attributes to init functions missing them
2013-05-04 22:48:05 +02:00
Hendrik Leppkes
20c86571cc
lavfi: let gcc realign the stack on public graph driving functions
...
The functions which actually drive the filter graph by pushing
frames through it need to ensure an aligned stack for SIMD functions.
This fixes a crash in YADIF filter when using a mingw build in a MSVC
application.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-04 23:40:13 +03:00
Diego Biurrun
c0c2b96c13
sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixes
2013-05-04 22:22:17 +02:00
Diego Biurrun
a8a45dfe25
avs: Increase magic value score above file extension score
...
This should fix misdetection of AVS files as AviSynth scripts
when AviSynth support is enabled (Bugzilla #357 ).
2013-05-04 21:51:00 +02:00
Diego Biurrun
e0f8be6413
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
2013-05-04 21:43:06 +02:00
Diego Biurrun
4d7ed3e735
build: output-example: Add avutil to ELIBS in link command
...
output-example links against swscale, which depends on avutil. In standard
configurations, by pure good luck, the libs before swscale pull in all of
swscale's dependencies and linking succeeds. However, in some configurations
like --disable-asm this is not the case and linking fails.
Hardcode the dependency to avoid a more general Makefile refactoring.
2013-05-04 21:19:49 +02:00
Diego Biurrun
e445647b4f
avresample: Add av_cold attributes to init functions missing them
2013-05-04 21:10:05 +02:00
Diego Biurrun
093804a93c
avfilter: Add av_cold attributes to init/uninit functions
2013-05-04 21:10:05 +02:00
Diego Biurrun
6fee1b90ce
avcodec: Add av_cold attributes to init functions missing them
2013-05-04 21:09:45 +02:00
Michael Niedermayer
c40f51e15b
h264: Always decode MMCOs into temprary array
...
When decoding succeeded the array is copied into the permanent one.
This prevents inconsistencies
Fixes assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 20:23:05 +02:00
Luca Barbato
72e228b274
nut: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-04 20:01:08 +02:00
Michael Niedermayer
30db867cb7
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavf/matroskaenc: return an error for unsupported types.
lavf/concatdec: remove invalid check for AVSEEK_FLAG_BACKWARD.
lavf: filter out AVSEEK_FLAG_BACKWARD in new API.
lavf: call the new seek API from the old.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 17:10:48 +02:00
Michael Niedermayer
c7a7605656
wmaprodec: Fix null pointer dereference in decode_frame()
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 16:51:01 +02:00
Michael Niedermayer
e9e207ece7
dfa: Put our pointer check back.
...
The reimplementation by Libav does not prevent out of array
writes, even though it looks like it does at a quick glance.
No FFmpeg releases are affected by this
See: d1c95d2ce3
3623589edc
740ebe468c
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 14:42:19 +02:00
Nicolas George
fa245e432b
lavf/matroskaenc: return an error for unsupported types.
2013-05-04 14:12:57 +02:00
Nicolas George
d608a27d9e
lavf/concatdec: remove invalid check for AVSEEK_FLAG_BACKWARD.
2013-05-04 14:11:53 +02:00
Nicolas George
3fc66dfef2
lavf: filter out AVSEEK_FLAG_BACKWARD in new API.
...
Also document that it has no effect.
2013-05-04 14:11:53 +02:00
Nicolas George
cc24afb45c
lavf: call the new seek API from the old.
...
If the demuxer implements read_seek2() and not read_seek(),
call avformat_seek_file() from av_seek_frame().
Allow to properly seek in formats that only implement the
new API from applications that use the old one.
Tested with mplayer and a concat script.
2013-05-04 14:11:53 +02:00
Hendrik Leppkes
d18341fb11
aacdec: free frame buffer if no audio was decoded
...
If no decoding error was detected, but still no audio was decoded, the
frame needs to be free'ed, or it will leak.
Fixes part of ticket #2095
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 13:20:19 +02:00
Reinhard Tartler
b1ee8eec84
configure: Add basic valgrind-memcheck support
...
With the parameter --valgrind-memcheck, the configure script sets
reasonable defaults that can be overridden as explained in the
documentation.
The idea of using set_defaults is from Luca Barbato.
2013-05-04 12:17:51 +02:00
Michael Niedermayer
23a7c32a7a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
wav: return meaningful errors
Conflicts:
libavformat/wavdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 10:33:50 +02:00
Michael Niedermayer
0104570fb6
Merge commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7'
...
* commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7':
silly typo fixes
Conflicts:
doc/protocols.texi
libavcodec/aacpsy.c
libavformat/utils.c
tools/patcheck
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 10:17:52 +02:00
Michael Niedermayer
711c8ee71d
Merge commit '4a7af92cc80ced8498626401ed21f25ffe6740c8'
...
* commit '4a7af92cc80ced8498626401ed21f25ffe6740c8':
sbrdsp: Unroll and use integer operations
sbrdsp: Unroll sbr_autocorrelate_c
x86: sbrdsp: Implement SSE2 qmf_deint_bfly
Conflicts:
libavcodec/sbrdsp.c
libavcodec/x86/sbrdsp.asm
libavcodec/x86/sbrdsp_init.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 10:07:43 +02:00
Reinhard Tartler
95e8ac60f8
build: normalize coverage.info
...
Without this, lcov sometimes misses to normalize paths that contain "/./".
Also, ignore uninteresting hits in system headers.
2013-05-04 09:34:58 +02:00
Reinhard Tartler
768e44d044
build: tune down the output of lcov/gcov
...
In the default settings, both tools produce a lot of unhelpful noise.
2013-05-04 09:34:58 +02:00
Michael Niedermayer
f18d2dff11
evrcdec: fix sign error
...
The specification wants round(abs(x))) * sign(x) which is
equivakent to round(x)
Fixes out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 02:50:30 +02:00
Michael Niedermayer
64819bfc7a
snow: Fix off by 1 error in reference picture management
...
Fixes out of array accesses
No release is affected by this bug
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-04 01:19:48 +02:00
Michael Niedermayer
e756635964
eamad: Check against minimum supported dimensions
...
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 23:17:37 +02:00
Paul B Mahol
b937d3694e
doc/filters: document asetpts in single place
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-03 18:22:29 +00:00
Luca Barbato
69467fb64b
wav: return meaningful errors
2013-05-03 19:56:06 +02:00
Paul B Mahol
e6d4e68755
lavu: add planar 16 bit and 8 bit rgb with alpha
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-03 16:58:22 +00:00
Stefano Sabatini
f51aa92b0f
lavfi/testsrc: add support for color interactive command
2013-05-03 18:37:54 +02:00
Paul B Mahol
ce322f4c19
extractplanes filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-03 16:30:39 +00:00
Diego Biurrun
a5f8873620
silly typo fixes
2013-05-03 18:26:12 +02:00
Christophe Gisquet
4a7af92cc8
sbrdsp: Unroll and use integer operations
...
This patch can be controversial, by assuming floats are IEEE-754 and
particular behaviour of the FPU will get in the way.
Timing on Arrandale and Win32 (thus, x87 FPU is used in the reference).
sbr_qmf_pre_shuffle_c: 115 to 76
sbr_neg_odd_64_c: 84 to 55
sbr_qmf_post_shuffle_c: 112 to 83
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-03 18:23:30 +02:00
Christophe Gisquet
8394d9a676
sbrdsp: Unroll sbr_autocorrelate_c
...
1410 cycles to 1148 on Arrandale/Win64
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-03 18:23:30 +02:00
Christophe Gisquet
5a97469a4f
x86: sbrdsp: Implement SSE2 qmf_deint_bfly
...
Sandybridge: 47 cycles
Having a loop counter is a 7 cycle gain.
Unrolling is another 7 cycle gain.
Working in reverse scan is another 6 cycles.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-03 18:23:14 +02:00
Michael Niedermayer
d29f9f4a0e
vc1dec: fix lutuv use in vc1_mc_4mv_chroma4()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 18:09:15 +02:00
Michael Niedermayer
7e30bfcb91
vc1dec: Fix mixed field/frame intensity compensation
...
Fixes Ticket2523
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 18:04:48 +02:00
Michael Niedermayer
90c2e40ebb
vc1dec: vc1_mc_4mv_chroma4: match addressing between compensation and MC
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 18:04:48 +02:00
Clément Bœsch
e85ea7d387
lavfi/frei0r: fix crash when parameters are not set.
2013-05-03 17:08:33 +02:00
Michael Niedermayer
760f7d3a90
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
compat: msvc: Make sure the object files are included when linking statically
id3v2: check for end of file while unescaping tags
Conflicts:
configure
libavformat/id3v2.c
Note, ffmpeg is not affected by the out of buffer write bug
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 15:50:01 +02:00
Michael Niedermayer
0966623604
ffmpeg: drop old non monotone dts workaround.
...
All bugs should now be fixed in the new so the old can be droped.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 15:04:47 +02:00
Michael Niedermayer
af2d964336
ffmpeg: set correct log context for non monotone dts workaround warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 15:03:35 +02:00
Michael Niedermayer
b2a1d92b7b
ffmpeg: port loglevel selection code to new dts workaround code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 15:02:43 +02:00
Michael Niedermayer
30c05f6b02
ffmpeg: fix pts handling in the non monotone dts workaround
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 15:00:21 +02:00
Michael Niedermayer
007ee09d7c
ffmpeg: fix the used maximum dts in the monotone dts workaround
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 14:58:28 +02:00
Michael Niedermayer
26b89f6274
ffmpeg: use a max variable to hold the maximum dts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 14:57:05 +02:00
Michael Niedermayer
6b2fbdb047
ffmpeg: Check dts before use in non monotone dts workaround
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 14:55:20 +02:00
Michael Niedermayer
ee3824f6f6
ffmpeg: limit non monotone workaround to audio & video streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 14:55:12 +02:00
Michael Niedermayer
9fe2a62cc4
ffmpeg: move non monotone prevention code down
...
This moves the code to after the bitstream filters
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 14:52:37 +02:00
Michael Niedermayer
2b7f595aca
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avconv: do not send non-monotonous DTS to the muxers.
Conflicts:
ffmpeg_opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 14:52:03 +02:00
Michael Niedermayer
22dc25cb29
Merge commit 'b4a5a292274f904f404f40f826c51e6fc9cfb8fe'
...
* commit 'b4a5a292274f904f404f40f826c51e6fc9cfb8fe':
avconv: improve -re implementation
Conflicts:
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 13:53:08 +02:00
Michael Niedermayer
6537827189
Merge commit 'e3b225a4fe0ff1e64a220b757c6f0a5cf9258521'
...
* commit 'e3b225a4fe0ff1e64a220b757c6f0a5cf9258521':
matroskaenc: add an option to put the index at the start of the file
Conflicts:
doc/muxers.texi
libavformat/matroskaenc.c
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 13:16:34 +02:00
Michael Niedermayer
2e0cc34292
Merge commit '0574bc06d23a6690a16c5926dddc9be359a3d7bb'
...
* commit '0574bc06d23a6690a16c5926dddc9be359a3d7bb':
matroskaenc: cosmetics, reorder the #includes
Conflicts:
libavformat/matroskaenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 13:09:23 +02:00
Michael Niedermayer
9fd5e75bdf
Merge commit 'accde1bd8756936e1757b42fc9bad2eb5d192f8a'
...
* commit 'accde1bd8756936e1757b42fc9bad2eb5d192f8a':
vc1_parser: Set field_order.
mpegvideo_parser: Set field_order.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 13:03:00 +02:00
Martin Storsjö
769d921f3e
compat: msvc: Make sure the object files are included when linking statically
...
If building libav with -MD in the cflags (for making the MSVC compiler
generate code for using a dynamically linked libc), the system headers
that declare strtod, snprintf and vsnprintf declare the functions as
imported from a DLL. To hook up wrappers of our own for these functions,
the function names are defined to avpriv_*, so that the calling code
within libav calls the wrappers instead. Since these functions
are declared to be imported from DLLs, the calling code expects to
load them from DLL import function pointers (creating references to
_imp__avpriv_strtod instead of directly to avpriv_strtod). If the
libav libraries are not built as DLLs, no such function pointers (as
the calling code expects) are created.
The linker can fix this up automatically in some cases (producing
warnings LNK4217 and LNK4049), if the object files are already
included. By telling the linker to try to include those symbols
(without the _imp prefix as the calling code ends up using),
we get the object files included, so that the linker can do the
automatic fixup. This is done via config.h, so that all (or at least
most) of the object files in our libraries force including the compat
files, to make sure they are included regardless of what files from our
static libraries actually are included.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-03 13:34:34 +03:00
Michael Niedermayer
6fc58a8cb6
Merge commit '507b1e454cf9953da3e18f33c9bd1fca78c97cb5'
...
* commit '507b1e454cf9953da3e18f33c9bd1fca78c97cb5':
avcodec: Add field order information to AVCodecParserContext.
Conflicts:
doc/APIchanges
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 12:15:01 +02:00
Michael Niedermayer
e91339cde2
Merge commit '566b7a20fd0cab44d344329538d314454a0bcc2f'
...
* commit '566b7a20fd0cab44d344329538d314454a0bcc2f':
x86: float dsp: butterflies_float SSE
Conflicts:
libavutil/x86/float_dsp.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 11:57:59 +02:00
Michael Niedermayer
550defe16e
Merge commit 'b333f3a22a4db4cf65d6a0457ac82ecbe7c7ac44'
...
* commit 'b333f3a22a4db4cf65d6a0457ac82ecbe7c7ac44':
lavf-regression: use -frames instead of -t for image tests
Conflicts:
tests/lavf-regression.sh
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 11:41:48 +02:00
Michael Niedermayer
2ee29b5fb9
avcodec: move lowres down with the next ABI bump and add accessors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 11:32:04 +02:00
Michael Niedermayer
88ef7f6d2b
Merge commit '803d21f38bdafe7c4e2571a9ae7052013a12923b'
...
* commit '803d21f38bdafe7c4e2571a9ae7052013a12923b':
lavc: schedule AVCodecContext.lowres for removal on next bump.
Conflicts:
libavcodec/avcodec.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 11:30:00 +02:00
Michael Niedermayer
6190aae90d
Merge commit 'ffb068ce8e99df121d18a5b9b1d820f3ea8697fb'
...
* commit 'ffb068ce8e99df121d18a5b9b1d820f3ea8697fb':
configure: Don't do enable_deep_weak on disabled variables
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 11:17:02 +02:00
Michael Niedermayer
085a4e6b16
Merge commit '4d810ad2e943a59658ddf00a397121c2b62f7157'
...
* commit '4d810ad2e943a59658ddf00a397121c2b62f7157':
configure: Use a different variable name in push/popvar
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 11:11:44 +02:00
Michael Niedermayer
482c1ac849
Merge commit '13f57a4d881ec669b87bf82f424bfff502433060'
...
* commit '13f57a4d881ec669b87bf82f424bfff502433060':
wav: K&R formatting cosmetics
Conflicts:
libavformat/wavdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 11:06:27 +02:00
Michael Niedermayer
1ba4cbf734
Merge commit '6b753015ca6f93d16a05e1a97da1fa42e4da60ec'
...
* commit '6b753015ca6f93d16a05e1a97da1fa42e4da60ec':
aac: Remove aacpsy.h header, unused since 78e65cd772
cavs: Remove cavsdata.h header, unused since 88386feefd
Conflicts:
libavcodec/aacpsy.h
libavcodec/cavsdata.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 10:55:43 +02:00
Michael Niedermayer
05599308e9
Merge commit 'bf7c3c6b157f7938578f964b62cffd5e504940be'
...
* commit 'bf7c3c6b157f7938578f964b62cffd5e504940be':
x86: dsputil: Move cavs and vc1-specific functions where they belong
Conflicts:
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 10:50:27 +02:00
Michael Niedermayer
35ef98013d
Merge commit '932806232108872655556100011fe369125805d3'
...
* commit '932806232108872655556100011fe369125805d3':
x86: dsputil: Move avg_pixels16_mmx() out of rnd_template.c
x86: dsputil: Move avg_pixels8_mmx() out of rnd_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 10:44:09 +02:00
Michael Niedermayer
ed1697ffcb
Merge commit '9b3a04d30691e85b77e63f75f5f26a93c3a000cd'
...
* commit '9b3a04d30691e85b77e63f75f5f26a93c3a000cd':
x86: Move duplicated put_pixels{8|16}_mmx functions into their own file
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 10:36:52 +02:00
Luca Barbato
af4cc2605c
id3v2: check for end of file while unescaping tags
...
Prevent a serious out of buffer bound write.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-05-03 10:21:27 +02:00
Anton Khirnov
76d23f4031
avconv: do not send non-monotonous DTS to the muxers.
...
Hack partially based on a commit by Michael Niedermayer <michaelni@gmx.at >
Should fix (or work around) bug 458.
2013-05-03 09:59:48 +02:00
Anton Khirnov
b4a5a29227
avconv: improve -re implementation
...
Integrate the code in the packet reading function, instead of inserting
sleeps in many places.
This is simpler to follow and should work better.
2013-05-03 09:57:13 +02:00
Anton Khirnov
e3b225a4fe
matroskaenc: add an option to put the index at the start of the file
2013-05-03 08:32:35 +02:00
Anton Khirnov
0574bc06d2
matroskaenc: cosmetics, reorder the #includes
2013-05-03 08:26:55 +02:00
Masaki Tanaka
accde1bd87
vc1_parser: Set field_order.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-03 08:20:19 +02:00
Masaki Tanaka
f43c14d046
mpegvideo_parser: Set field_order.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-03 08:20:11 +02:00
Masaki Tanaka
507b1e454c
avcodec: Add field order information to AVCodecParserContext.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-05-03 08:16:10 +02:00
Christophe Gisquet
566b7a20fd
x86: float dsp: butterflies_float SSE
...
97c -> 49c
Some codecs could benefit from more unrolling, but AAC doesn't.
2013-05-03 08:08:02 +02:00
Anton Khirnov
b333f3a22a
lavf-regression: use -frames instead of -t for image tests
...
-t 0.5 is 12.5 frames at 25 fps, which may round to either 12 or 13 on
different platforms.
2013-05-03 08:07:45 +02:00
Anton Khirnov
803d21f38b
lavc: schedule AVCodecContext.lowres for removal on next bump.
...
It has been deprecated some time ago, but was forgotten during the last
bump.
2013-05-03 08:07:35 +02:00
highgod0401
f685aee18f
lavu/opencl: fix the compile bug on linux
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 04:15:29 +02:00
Michael Niedermayer
2e2b6d7ab3
fate: Adjust filter-trim-time parameters
...
This should workaround rounding differences between platforms
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-03 00:26:35 +02:00
Michael Niedermayer
ae2132ac90
mmvideo/mm_decode_intra: check horizontal coordinate too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 22:12:19 +02:00
Michael Niedermayer
8d3c99e825
mmvideo/mm_decode_inter: check horizontal coordinate too
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 22:05:19 +02:00
Martin Storsjö
ffb068ce8e
configure: Don't do enable_deep_weak on disabled variables
...
This avoids cases where configure tries to weakly enable an item
which actually is disabled, ending up still enabling dependencies
of the item which itself is only enabled weakly.
More concretely, the h264 decoder suggests error resilience, which
is then enabled weakly (unless manually disabled). Previously,
dsputil, which is a dependency of error resilience, was enabled
even if error resilience wasn't enabled in the end.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-02 22:31:57 +03:00
Martin Storsjö
4d810ad2e9
configure: Use a different variable name in push/popvar
...
The variable name 'var' is commonly used to iterate through arguments
in other functions. When the pushvar function internally uses the
variable 'var', it makes pushing/popping the variable 'var' not
work as intended.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-05-02 22:31:55 +03:00
Luca Barbato
13f57a4d88
wav: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-02 19:04:22 +02:00
Michael Niedermayer
fd68371b07
nutdec: Implement duration parsing for indexed nuts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 18:57:29 +02:00
Diego Biurrun
6b753015ca
aac: Remove aacpsy.h header, unused since 78e65cd772
2013-05-02 18:16:06 +02:00
Diego Biurrun
153f31b1af
cavs: Remove cavsdata.h header, unused since 88386feefd
2013-05-02 18:15:37 +02:00
Michael Niedermayer
60ab448042
ape_decode_value_3860: check k before using it in get_bits()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 17:24:02 +02:00
Michael Niedermayer
8937230719
ape_decode_value_3900: check tmpk
...
Fixes division by 0
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 16:45:32 +02:00
Michael Niedermayer
49ec4c7e49
ffmpeg: fix segfault with random output
...
Found-by: <durandal_1707>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 16:01:28 +02:00
highgod0401
6354a6ce52
lavu/opencl: fix bug of opencl options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 14:42:02 +02:00
Paul B Mahol
a64c9afe3d
lavfi/blend: merge config_input_top into config_output
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-02 12:22:18 +00:00
Paul B Mahol
990b13806d
lavfi/blend: use correct way to check number of planes
...
This fix crash with gray, as its marked as pseudopal,
and thus have extra plane.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-02 12:22:18 +00:00
Michael Niedermayer
89b5039ff2
avutil/mem: add av_memdup()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 13:44:05 +02:00
Paul B Mahol
663794f63d
vmdav: unbreak decoding of samples from game The Last Dynasty
...
This fixes video output with samples HG060808.VMD and
HG060810.VMD. Regression since c0cbe36b18 .
While here show warning if decoding is aborted for some reason.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-02 11:37:59 +00:00
Paul B Mahol
cdada4f639
vmdav: return meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-05-02 11:34:14 +00:00
Michael Niedermayer
4d4ec18b21
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Add wmv2 dependency to vc1 compilation.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 13:02:09 +02:00
Michael Niedermayer
0beff42823
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
id3v2: K&R formatting cosmetics
ppc: Only compile AltiVec FFT assembly when AltiVec is enabled
Conflicts:
libavformat/id3v2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 12:49:23 +02:00
Diego Biurrun
bf7c3c6b15
x86: dsputil: Move cavs and vc1-specific functions where they belong
2013-05-02 11:45:37 +02:00
Diego Biurrun
9328062321
x86: dsputil: Move avg_pixels16_mmx() out of rnd_template.c
...
The function does not do any rounding, so there is no point in
keeping it in a round template file.
2013-05-02 11:45:37 +02:00
Diego Biurrun
9c112a6158
x86: dsputil: Move avg_pixels8_mmx() out of rnd_template.c
...
The function is only instantiated once, so there is no point
in keeping it in a template file.
2013-05-02 11:45:37 +02:00
Diego Biurrun
9b3a04d306
x86: Move duplicated put_pixels{8|16}_mmx functions into their own file
2013-05-02 11:16:45 +02:00
Carl Eugen Hoyos
d0a661d48a
Add wmv2 dependency to vc1 compilation.
...
Fixes compilation with --disable-everything --enable-decoder=vc1.
2013-05-02 11:04:57 +02:00
Luca Barbato
0671adbb18
id3v2: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-05-02 11:02:45 +02:00
Diego Biurrun
a650c906cb
ppc: Only compile AltiVec FFT assembly when AltiVec is enabled
2013-05-02 10:25:30 +02:00
Michael Niedermayer
6021615bbe
avcodec/ansi: Fix right/bottom end checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 02:16:41 +02:00
Michael Niedermayer
e91fd754c6
avcodec/ansi: Check x/y
...
This prevents out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-02 02:15:40 +02:00
Michael Niedermayer
c1f2c4c3b4
vmdav: Try to fix unpack_rle()
...
This fixes out of array accesses
The code prior to this commit could not have worked, thus obviously
was untested. I was also not able to find a valid sample that uses this
code.
This fix is thus only based on the description of the format
If someone has a sample that uses unpack_rle(), please mail me.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 23:51:05 +02:00
Michael Niedermayer
d602f16a37
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavc: copy subtitle_header when copying context.
lavf: data muxer and demuxer.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 20:16:26 +02:00
Michael Niedermayer
67731ef40f
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avutil: doxy: Small clarification for av_buffer_create()
avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2()
avcodec: doxy: Clarify what get_buffer2 must fill in buf[]
Conflicts:
libavutil/buffer.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 18:33:30 +02:00
Michael Niedermayer
a5ba4e186b
Merge commit 'e926b5ceb1962833f0c884a328382bc2eca67aff'
...
* commit 'e926b5ceb1962833f0c884a328382bc2eca67aff':
avformat: Drop unnecessary ff_ name prefixes from static functions
Conflicts:
libavformat/audiointerleave.c
libavformat/mux.c
libavformat/mxfenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 18:28:48 +02:00
Michael Niedermayer
dbcf7e9ef7
Merge commit '7f75f2f2bd692857c1c1ca7f414eb30ece3de93d'
...
* commit '7f75f2f2bd692857c1c1ca7f414eb30ece3de93d':
ppc: Drop unnecessary ff_ name prefixes from static functions
x86: Drop unnecessary ff_ name prefixes from static functions
arm: Drop unnecessary ff_ name prefixes from static functions
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 18:21:35 +02:00
Michael Niedermayer
04fa818779
Merge commit '088f38a4f9f54bb923405c67c9e72d96d90aa284'
...
* commit '088f38a4f9f54bb923405c67c9e72d96d90aa284':
avcodec: Drop unnecessary ff_ name prefixes from static functions
Conflicts:
libavcodec/ass.c
libavcodec/h264_parser.c
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 18:16:32 +02:00
Michael Niedermayer
cae8f469fe
Merge commit '38282149b6ce8f4b8361e3b84542ba9aa8a1f32f'
...
* commit '38282149b6ce8f4b8361e3b84542ba9aa8a1f32f':
ppc: More consistent arch initialization
Conflicts:
libavcodec/fft.h
libavcodec/mpegaudiodsp.c
libavcodec/mpegaudiodsp.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 18:08:13 +02:00
Michael Niedermayer
ebd99ff112
Merge commit '42b9150b0d4f0a130c1d93dc991fd5412743a8cf'
...
* commit '42b9150b0d4f0a130c1d93dc991fd5412743a8cf':
fft: Remove pointless #ifdefs around function declarations
ppc: Move AltiVec utility headers out of AltiVec ifdefs
Conflicts:
libavcodec/fft.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 18:02:36 +02:00
Michael Niedermayer
148f69eb4e
Merge commit 'f5eecee865a731d2412fde2f73c29f8f8115c499'
...
* commit 'f5eecee865a731d2412fde2f73c29f8f8115c499':
ppc: util_altivec: Surround AltiVec-related code by appropriate ifdefs
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 17:57:55 +02:00
Michael Niedermayer
3ad5d8694c
Merge commit '6b110d3a739c31602b59887ad65c67025df3f49d'
...
* commit '6b110d3a739c31602b59887ad65c67025df3f49d':
ppc: More consistent names for H.264 optimizations files
mpegaudiosp: More consistent names for ppc/x86 optimization files
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 17:53:33 +02:00
Michael Niedermayer
2514b80045
sws: share xyzgamma tables.
...
They are currently always constant and thus theres no point to
store them in the context.
This makes the context 16kb smaller
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 17:52:18 +02:00
Michael Niedermayer
4818388e6c
Merge commit '8cd472d3f947a6233e7dc628f0dc71c74e62413a'
...
* commit '8cd472d3f947a6233e7dc628f0dc71c74e62413a':
avconv: make output -ss insert trim/atrim filters.
Conflicts:
Changelog
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 17:24:43 +02:00
Michael Niedermayer
76c1f9200f
Merge commit 'a83c0da539fb07260310bc3b34056239d2b138b2'
...
* commit 'a83c0da539fb07260310bc3b34056239d2b138b2':
avconv: make -t insert trim/atrim filters.
The filter insertion code is merged but disabled as it is buggy.
For example it fails in various ways when used with -s with some files.
Also the trimming is arguably less accurate than the default without
filters in some cases.
These issues should be fixed before auto inserting the filters,
until then the user can explicitly add a trim/atrim filter when one is
wanted.
Conflicts:
Changelog
ffmpeg.c
ffmpeg_filter.c
tests/ref/fate/bethsoft-vid
tests/ref/lavf/aiff
tests/ref/lavf/asf
tests/ref/lavf/au
tests/ref/lavf/avi
tests/ref/lavf/dpx
tests/ref/lavf/ffm
tests/ref/lavf/gxf
tests/ref/lavf/jpg
tests/ref/lavf/mkv
tests/ref/lavf/mmf
tests/ref/lavf/mov
tests/ref/lavf/mpg
tests/ref/lavf/nut
tests/ref/lavf/ogg
tests/ref/lavf/pcx
tests/ref/lavf/png
tests/ref/lavf/rm
tests/ref/lavf/ts
tests/ref/lavf/voc
tests/ref/lavf/voc_s16
tests/ref/lavf/wav
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 14:23:52 +02:00
Michael Niedermayer
1a94d7c7c8
avfilter/trim: improve rounding precission
...
Note, the design is still flawed, dont expect this to be frame
accurate. float/double first needs to be removed and frames
itself trimmed instead of drop vs nodrop
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 13:55:30 +02:00
Clément Bœsch
24939d567b
fate/pixfmts: use the appropriate variable names for temporary files.
...
${1} is now the filter args and is inappropriate as a unique name for
the test (and causes some FATE issues because of the ':' in them).
${filter} is not used either to replace the ${1} because ${outfile}
already contains a unique name for the test.
2013-05-01 13:25:42 +02:00
Michael Niedermayer
1924a61a0a
Merge commit '3d624420086ed3cd0c74f4510f0285968e21c117'
...
* commit '3d624420086ed3cd0c74f4510f0285968e21c117':
avconv_opt: allocate an OutputFile before the streams.
Conflicts:
ffmpeg_opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 12:09:07 +02:00
Nicolas George
ceb33f3aee
lavc: copy subtitle_header when copying context.
...
Fix trac ticket #2489 .
2013-05-01 11:56:34 +02:00
Nicolas George
276fcbde6c
lavf: data muxer and demuxer.
...
Allow to use tools designed to work with demuxers, muxers
and packets (for example ffmpeg itself) to process raw byte
streams (like aviocat).
2013-05-01 11:56:34 +02:00
Michael Niedermayer
3319679d0a
Merge commit 'a1e05b0487a1939334c2920fc7f9936bc9efe876'
...
* commit 'a1e05b0487a1939334c2920fc7f9936bc9efe876':
lavfi: add trim and atrim filters.
Conflicts:
Changelog
doc/filters.texi
libavfilter/Makefile
libavfilter/allfilters.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 11:34:34 +02:00
Michael Niedermayer
1cba7fa364
Merge commit 'b472938233b98178ed6c1353c37e0dc7ab585902'
...
* commit 'b472938233b98178ed6c1353c37e0dc7ab585902':
lavfi: add an asetpts filter
Conflicts:
Changelog
doc/filters.texi
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/f_setpts.c
libavfilter/setpts.c
libavfilter/version.h
libavfilter/vf_setpts.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 10:59:21 +02:00
Michael Niedermayer
0061ba044a
Merge commit '2548834b2248ad4d7da9bd0afed09d7d0cddeeb0'
...
* commit '2548834b2248ad4d7da9bd0afed09d7d0cddeeb0':
vf_setpts: cosmetics, reformat
Conflicts:
libavfilter/f_setpts.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 10:24:45 +02:00
Michael Niedermayer
e41d3aba01
Merge commit 'c22263d3e813d442df8fa5f5ba8993573fe775d8'
...
* commit 'c22263d3e813d442df8fa5f5ba8993573fe775d8':
graphparser: only print filter arguments if they are non-NULL
af_channelmap: ensure the output channel layout is valid.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 10:16:31 +02:00
Michael Niedermayer
a1b8879714
Merge commit '949c603ed9210df0e1b8e1aa82c71b93543d8071'
...
* commit '949c603ed9210df0e1b8e1aa82c71b93543d8071':
af_channelmap: remove now unnecessary goto
vf_split: fix description
Conflicts:
libavfilter/split.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 10:11:01 +02:00
Michael Niedermayer
52fa2945b5
Merge commit 'e036bb7899d0faca9159206be9bf5552e76e7633'
...
* commit 'e036bb7899d0faca9159206be9bf5552e76e7633':
lavc: clear AVBuffers on decoded frames if refcounted_frames is not set
FATE: add an additional indeo3 test
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 10:00:08 +02:00
Michael Niedermayer
d8b6557c86
Merge commit 'bda9e6d923df6d46cc5cafb30a59a01d2514fa61'
...
* commit 'bda9e6d923df6d46cc5cafb30a59a01d2514fa61':
indeo3: use put_pixels instead of put_no_rnd_pixels in copy_cell()
Conflicts:
libavcodec/indeo3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 09:51:37 +02:00
Michael Niedermayer
71091698a2
Merge commit '95220be1faac628d849a004644c0d102df0aa98b'
...
* commit '95220be1faac628d849a004644c0d102df0aa98b':
indeo3: fix off by one in MV validity check
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 09:45:09 +02:00
Clément Bœsch
14f45bcbe7
doc/filters: fix scale example equivalence.
...
scale=w=200:h=100 and scale=w=200:h=100 are of course equivalent...
2013-05-01 04:46:14 +02:00
Clément Bœsch
e3e66568cc
doc/filters: replace hqdn3d with smartblur in timeline section.
...
hqdn3d needs some adjustements before timeline support can be restored
(patch welcome).
2013-05-01 04:44:27 +02:00
Michael Niedermayer
fbaf75b166
h264: Use the correct croping values.
...
This fixes returning pictures with corrupted data pointers.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-01 00:06:26 +02:00
Michael Niedermayer
5299ee54a7
h264: assert that croping values at slice level are consistent
...
These values where checked before already.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-30 23:49:56 +02:00
Michael Niedermayer
c3bd306e78
h264_ps: check croping values
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-30 23:48:53 +02:00
Michael Niedermayer
7edb984dd0
avutil/log: Fix context pointer used for get_category()
...
Fixes calling a random pointer
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-30 20:06:24 +02:00
Derek Buitenhuis
af8a47905a
avutil: doxy: Small clarification for av_buffer_create()
...
Explicitly saying it can't hurt.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-04-30 13:33:43 -04:00
Derek Buitenhuis
00b8e650e8
avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2()
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-04-30 13:33:43 -04:00
Derek Buitenhuis
4cdb3c50b5
avcodec: doxy: Clarify what get_buffer2 must fill in buf[]
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-04-30 13:32:58 -04:00
Diego Biurrun
e926b5ceb1
avformat: Drop unnecessary ff_ name prefixes from static functions
2013-04-30 16:16:23 +02:00
Diego Biurrun
7f75f2f2bd
ppc: Drop unnecessary ff_ name prefixes from static functions
2013-04-30 16:10:06 +02:00
Diego Biurrun
f2e9d44a57
x86: Drop unnecessary ff_ name prefixes from static functions
2013-04-30 16:02:03 +02:00
Diego Biurrun
383fd4d478
arm: Drop unnecessary ff_ name prefixes from static functions
2013-04-30 16:02:03 +02:00
Diego Biurrun
088f38a4f9
avcodec: Drop unnecessary ff_ name prefixes from static functions
2013-04-30 16:02:02 +02:00
Michael Niedermayer
53efb2fa09
gif: Fix little endian specific code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-30 13:35:14 +02:00
Michael Niedermayer
147a45fca4
framecrcenc: workaround design flaw in sidedata palette
...
This should be reverted once palettes are dealt with in a endian independant way
in packets
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-30 13:35:14 +02:00
Paul B Mahol
a0adeb1f9f
fate: add test for separatefields filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-30 10:22:16 +00:00
Diego Biurrun
38282149b6
ppc: More consistent arch initialization
2013-04-30 12:19:45 +02:00
Diego Biurrun
42b9150b0d
fft: Remove pointless #ifdefs around function declarations
2013-04-30 12:19:44 +02:00
Diego Biurrun
f5eecee865
ppc: util_altivec: Surround AltiVec-related code by appropriate ifdefs
...
This prevents non-AltiVec-enabled compilers from choking.
2013-04-30 12:19:44 +02:00
Diego Biurrun
a053dbfcfb
ppc: Move AltiVec utility headers out of AltiVec ifdefs
...
Now that the headers themselves have ifdef protection this is no
longer necessary and more consistent with normal include handling.
2013-04-30 12:19:44 +02:00
Diego Biurrun
6b110d3a73
ppc: More consistent names for H.264 optimizations files
2013-04-30 12:19:43 +02:00
Diego Biurrun
643e433bf7
mpegaudiosp: More consistent names for ppc/x86 optimization files
2013-04-30 12:19:43 +02:00
Paul B Mahol
468ec1714c
fate: add test for swapuv filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-30 10:18:45 +00:00
Paul B Mahol
e85f02e3f5
fate: add test for telecine filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-30 10:10:23 +00:00
Anton Khirnov
8cd472d3f9
avconv: make output -ss insert trim/atrim filters.
...
This makes output -ss sample-accurate for audio and will allow further
simplication in the future.
2013-04-30 12:00:55 +02:00
Anton Khirnov
a83c0da539
avconv: make -t insert trim/atrim filters.
...
This makes -t sample-accurate for audio and will allow further
simplication in the future.
Most of the FATE changes are due to audio now being sample accurate. In
some cases a video frame was incorrectly passed with the old code, while
its was over the limit.
2013-04-30 11:53:12 +02:00
Anton Khirnov
3d62442008
avconv_opt: allocate an OutputFile before the streams.
...
This way OutputFile variables like recording time can be used when
creating the streams.
2013-04-30 11:48:23 +02:00
Anton Khirnov
a1e05b0487
lavfi: add trim and atrim filters.
2013-04-30 11:24:57 +02:00
Anton Khirnov
b472938233
lavfi: add an asetpts filter
2013-04-30 11:17:57 +02:00
Anton Khirnov
2548834b22
vf_setpts: cosmetics, reformat
2013-04-30 11:17:23 +02:00
Anton Khirnov
c22263d3e8
graphparser: only print filter arguments if they are non-NULL
2013-04-30 11:16:57 +02:00
Anton Khirnov
8aaab1113c
af_channelmap: ensure the output channel layout is valid.
2013-04-30 11:16:37 +02:00
Anton Khirnov
949c603ed9
af_channelmap: remove now unnecessary goto
...
Options are freed from the generic code now, there is no need to call
av_opt_free() from the filter.
2013-04-30 11:16:22 +02:00
Anton Khirnov
1012155722
vf_split: fix description
...
It now allows an arbitrary number of inputs, not just two.
2013-04-30 11:16:16 +02:00
Anton Khirnov
e036bb7899
lavc: clear AVBuffers on decoded frames if refcounted_frames is not set
...
Otherwise some code might mistakenly think it is allowed to unref those
buffers, which would lead to double unref.
2013-04-30 11:15:32 +02:00
Paul B Mahol
2bdd434931
lavfi/stereo3d: add support for alternating frames input & output format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-30 09:13:36 +00:00
Anton Khirnov
bda9e6d923
indeo3: use put_pixels instead of put_no_rnd_pixels in copy_cell()
...
They are the same in this case, except put_pixels also has blocksizes
smaller than 8.
2013-04-30 11:06:03 +02:00
Anton Khirnov
95220be1fa
indeo3: fix off by one in MV validity check
...
CC:libav-stable@libav.org
2013-04-30 11:06:03 +02:00
Anton Khirnov
3d10614529
FATE: add an additional indeo3 test
...
It is a part of the sample that got broken by recent indeo3 changes.
2013-04-30 11:06:03 +02:00
Michael Niedermayer
01a5a3a2e8
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: dsputil: Remove a set of pointless #ifs around function declarations
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-30 08:42:10 +02:00
Michael Niedermayer
a3030d47e7
Merge commit '85f2f82af66fade2f5af2a03c5011d7de1b6e295'
...
* commit '85f2f82af66fade2f5af2a03c5011d7de1b6e295':
x86: dsputil: cosmetics: Group ff_{avg|put}_pixels16_mmxext() declarations
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-30 08:25:24 +02:00
Clément Bœsch
2609434b45
fate: remove forgotten transpose filter results from old system.
2013-04-30 02:12:47 +02:00
Clément Bœsch
45734dea9e
fate: port remaining filters to new system.
...
Merge of b963f021b6 is now complete.
2013-04-30 02:12:45 +02:00
Clément Bœsch
93aede41ce
fate: move kerndeint test to the new system.
2013-04-30 01:47:53 +02:00
Clément Bœsch
1e0a0aafba
fate: port our pixfmts change to fate-run.sh.
...
This patch is the same as 52b23cbf1c .
2013-04-30 01:47:53 +02:00
Clément Bœsch
e881057c98
fate: add a rule for pixfmts tests.
2013-04-30 01:47:53 +02:00
Diego Biurrun
97c56ad796
x86: dsputil: Remove a set of pointless #ifs around function declarations
2013-04-30 01:42:32 +02:00
Diego Biurrun
85f2f82af6
x86: dsputil: cosmetics: Group ff_{avg|put}_pixels16_mmxext() declarations
2013-04-30 01:41:05 +02:00
Clément Bœsch
a466c2c470
fate: fix filtfmts-test dependency after 9a5924f.
2013-04-30 01:19:24 +02:00
Clément Bœsch
d558e46469
lavfi: add two opencl headers to SKIPHEADERS.
...
Fix make checkheaders.
2013-04-30 00:34:58 +02:00
Clément Bœsch
6b222ea963
fate: add bitexact flags to alphaextract/alphamerge tests.
...
Should fix a FATE failure.
2013-04-29 22:28:37 +02:00
Clément Bœsch
9a5924f862
fate: add filters dependencies to pixfmts tests.
2013-04-29 22:25:04 +02:00
Clément Bœsch
15d6436a2a
fate: move a few simple pixfmts tests to the new system.
2013-04-29 22:25:04 +02:00
Michael Niedermayer
16b2472d20
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: hpeldsp: Remove unused macro definitions
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-29 22:01:53 +02:00
Clément Bœsch
3ae44df18f
fate: move lavd filters tests to the new system.
...
Also make life test a bit more useful.
2013-04-29 21:48:49 +02:00
Clément Bœsch
6ea013fb62
fate: remove '#' in filter parameters.
...
It was considered a comment.
2013-04-29 21:48:48 +02:00
Paul B Mahol
c645659988
lavfi/showwaves: fix crash in case of negative linesize
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-29 19:28:12 +00:00
Paul B Mahol
32d4641219
lavfi/showspectrum: fix crash in case of negative linesize
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-29 19:27:15 +00:00
Clément Bœsch
22a86492ec
fate: move alphaextract and alphamerge tests to the new system.
...
The standalone alphaextract tests are removed since already the filters
are already tested by the alphamerge tests.
2013-04-29 21:10:13 +02:00
Michael Niedermayer
affd5018ac
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Recognize j2k as file suffix for the image2 muxer.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-29 20:25:23 +02:00
Clément Bœsch
9a0e40ec8c
fate: move colormatrix tests to the new system.
2013-04-29 20:20:13 +02:00
Clément Bœsch
80bcbed157
fate: restore our settings for drawtext/fade/unsharp.
2013-04-29 20:00:49 +02:00
Clément Bœsch
c703f7bdbd
fate: move more tests from lavfi-regression.sh to filter-video.mak.
2013-04-29 20:00:49 +02:00
Diego Biurrun
20784aa678
x86: hpeldsp: Remove unused macro definitions
2013-04-29 15:57:00 +02:00
Carl Eugen Hoyos
00a61ac755
Recognize j2k as file suffix for the image2 muxer.
2013-04-29 13:11:32 +02:00
Michael Niedermayer
e92862e75f
avfilter/vf_tinterlace: fix handling of not so even sizes
...
Fixes green bottom line
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-29 12:26:15 +02:00
Michael Niedermayer
b691bc424f
copy_packet_data: fix memleak
...
This should fix gif fate memleaks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-29 03:08:50 +02:00
highgod0401
df9117921a
lavu/opencl: add check version and platform
...
Reviewed-by: Hanspeter Niederstrasser <niederstrasser@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 23:42:58 +02:00
Michael Niedermayer
cb23b06e5e
sws: fix typo in xyz2rgb matrix use.
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 19:57:45 +02:00
Michael Niedermayer
54429142c5
fate: re-enable jpeg2000 test with rgb48le
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 19:31:52 +02:00
Michael Niedermayer
24ec7a5e04
sws: Check for malloc failure of rgb0_tmp
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 19:31:16 +02:00
Michael Niedermayer
0c47c9028b
sws: support xyz input
...
The implementation is heavily based on Matthias Buerchers and Nicolas Bertrands vf_xyz2rgb.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 19:30:01 +02:00
Michael Niedermayer
45f1cf88a8
sws: remove hack to support partial convert / xyz bswaping
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 19:20:06 +02:00
Michael Niedermayer
42a7938cca
fate: temporary disable jpeg2000 test to avoid fate breakage from next commits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 19:19:03 +02:00
Michael Niedermayer
b4fc2a10df
fate: fix jpeg2000 on big endian
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 15:54:02 +02:00
Michael Niedermayer
2fa08abdb6
sws: enable xyz12, this for now is just for swaping between le and be
...
Needed for fixing fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 15:53:20 +02:00
Michael Niedermayer
7f17e0ff6a
sws: add 16bit gbrp formats to packed_16bpc_bswap()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 15:35:04 +02:00
Michael Niedermayer
f5cca47fde
sws: extend packed_16bpc_bswap code to handle planar formats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 15:28:00 +02:00
Michael Niedermayer
5149407731
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
aac: check the maximum number of channels
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 13:54:56 +02:00
Michael Niedermayer
65af5e815a
Merge commit '1b6f84a98665a15130e969fd6b460a05d50090c1'
...
* commit '1b6f84a98665a15130e969fd6b460a05d50090c1':
h264_refs: Do not print check_opcodes() return value
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 13:40:47 +02:00
Michael Niedermayer
124244ec48
Merge commit 'b963f021b603509b5159873de4919dec441d0782'
...
* commit 'b963f021b603509b5159873de4919dec441d0782':
fate: Invoke pixfmts lavfi tests through fate-run.sh
Conflicts:
tests/fate/avfilter.mak
tests/lavfi-regression.sh
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 13:34:23 +02:00
Stefano Sabatini
0400176772
lavfi/mp: remove mp=tinterlace wrapper
...
From various tests, there is no evidence that the filter is faster than
the native tinterlace, and it has several more limitations and a few
bugs.
See thread:
Subject: [FFmpeg-devel] [NOPATCH] lavfi/mp: drop tinterlace wrapper
Date: Wed, 5 Sep 2012 00:26:01 +0200
2013-04-28 13:16:40 +02:00
Stefano Sabatini
75070d9fa0
lavfi/transpose: apply grammar consistency fixes to transpose dir option
2013-04-28 13:16:40 +02:00
Stefano Sabatini
dfb3de21d8
doc/filters: apply various general fixes to vidstabdetect docs
...
Adopt generally used conventions, extend and clarify explanations.
2013-04-28 13:16:40 +02:00
Michael Niedermayer
191430a28f
Merge commit '28663511c99b3cdaf9387a15032259879474f5f4'
...
* commit '28663511c99b3cdaf9387a15032259879474f5f4':
fate: Invoke pixdesc lavfi tests through fate-run.sh
Conflicts:
tests/fate/avfilter.mak
tests/lavfi-regression.sh
tests/ref/fate/filter-pixdesc
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 13:00:04 +02:00
Michael Niedermayer
506ebdac2a
Merge commit '03b052c023e1f58d879cb7eeb6421ed39262d39d'
...
* commit '03b052c023e1f58d879cb7eeb6421ed39262d39d':
fate: Invoke standard lavfi tests through fate-run.sh
Conflicts:
tests/fate/avfilter.mak
tests/lavfi-regression.sh
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 12:34:55 +02:00
Michael Niedermayer
2ac6d6b7cd
Merge commit 'c14010541035454b4d3ad08399d70423be4e0c87'
...
* commit 'c14010541035454b4d3ad08399d70423be4e0c87':
oma: K&R formatting cosmetics
Conflicts:
libavformat/omadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 12:18:18 +02:00
Michael Niedermayer
5fd254c4f6
Merge commit '26a44143efb513a602542fb59aee87b1fc62af51'
...
* commit '26a44143efb513a602542fb59aee87b1fc62af51':
avplay: remove a warning
Conflicts:
ffplay.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 12:03:41 +02:00
Michael Niedermayer
54056c1493
Merge commit 'cf679b9476727a237c8006c685ace18acba149ab'
...
* commit 'cf679b9476727a237c8006c685ace18acba149ab':
hls, segment: fix splitting for audio-only streams.
Conflicts:
libavformat/hlsenc.c
libavformat/segment.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 11:48:40 +02:00
Michael Niedermayer
0fb64da63f
avformat: Add black ops audio demuxer
...
Fixes Ticket2064
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-28 04:21:29 +02:00
Luca Barbato
a943a132f3
aac: check the maximum number of channels
...
Broken bitstreams could report a larger than specified number of
channels and cause outbound writes.
CC:libav-stable@libav.org
2013-04-28 00:40:33 +02:00
Michael Niedermayer
7f138310fb
ffv1enc: favor version 3 over 2 unless -strict -2 is set
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-27 22:48:13 +02:00
Stefano Sabatini
1c1a2d1319
lavu/mem: remove redundant comment from av_dynarray_add()
...
The function is documented in mem.h.
2013-04-27 20:34:10 +02:00
Stefano Sabatini
9f3d873f5f
doc/filters: update/extend transpose filter documentation
...
In particular, deprecate numerical values for the dir option.
2013-04-27 20:34:02 +02:00
Stefano Sabatini
028c73358a
lavfi/transpose: reindent constants
2013-04-27 20:33:54 +02:00
Stefano Sabatini
d33c77b14a
lavfi/transpose: restore validity of values in range 4-7
...
They were lost in commit a4e0defa75 .
2013-04-27 20:33:48 +02:00
Diego Biurrun
1b6f84a986
h264_refs: Do not print check_opcodes() return value
...
The return value provides no useful information and removing the printing
avoids the following warning:
libavcodec/h264_refs.c:788:15: warning: 'i' may be used uninitialized in this function [-Wuninitialized]
2013-04-27 19:13:45 +02:00
Stefano Sabatini
1e4f75debd
doc/filters: readjust w/h option descriptions
2013-04-27 18:47:51 +02:00
Stefano Sabatini
efff09418d
doc/filters: fix grammar for removelogo filter doc sentence
2013-04-27 18:47:45 +02:00
Diego Biurrun
b963f021b6
fate: Invoke pixfmts lavfi tests through fate-run.sh
2013-04-27 16:53:42 +02:00
Diego Biurrun
28663511c9
fate: Invoke pixdesc lavfi tests through fate-run.sh
2013-04-27 16:53:42 +02:00
Diego Biurrun
03b052c023
fate: Invoke standard lavfi tests through fate-run.sh
2013-04-27 16:53:42 +02:00
Michael Niedermayer
d4868a960b
ffv1dec: remove redundant error message.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-27 16:36:05 +02:00
Michael Niedermayer
ff0b4c08ca
ffv1dec: add code to support frame threading with gop=1 ffv1
...
CODEC_CAP_FRAME_THREADS is not added yet because that would
unconditionally enable it, breaking gop>1 files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-27 16:20:42 +02:00
Michael Niedermayer
1a392fc550
ffv1: Store a flag in the global header that indicates if all frames are keyframes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-27 16:17:29 +02:00
Paul B Mahol
cc5c155959
astats filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-27 12:40:34 +00:00
Michael Niedermayer
3fa6c992d9
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: ac3dsp: Remove 3dnow version of ff_ac3_extract_exponents
Conflicts:
tests/fate/ac3.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-27 11:35:03 +02:00
Luca Barbato
c140105410
oma: K&R formatting cosmetics
2013-04-27 10:53:24 +02:00
Luca Barbato
26a44143ef
avplay: remove a warning
...
Set the data field in the flush_pkt to the pointer to the actual packet.
The field needs to contain a valid unique pointer, no read nor writes
are ever made to it.
2013-04-27 10:51:28 +02:00
Anton Khirnov
cf679b9476
hls, segment: fix splitting for audio-only streams.
...
CC:libav-stable@libav.org
2013-04-27 10:19:04 +02:00
Paul B Mahol
785eb5fc57
lavfi/negate: unbreak negate alpha
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 23:45:24 +00:00
Paul B Mahol
7becddd5f3
doc/filters: remove non-existent ft_load_flags entry
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 23:37:37 +00:00
Michael Niedermayer
24bb01f038
avcodec_string: Print the used codec if it differs from the codec_id name.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-27 00:49:14 +02:00
Michael Niedermayer
59a3b6b751
avcodec_string: remove the "(hq)" listing
...
printing "hq" depending on a single video encoding parameter makes
little sense
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-27 00:49:12 +02:00
Michael Niedermayer
a057552212
avutil/log: dont count&print repeats for empty strings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 23:41:29 +02:00
Michael Niedermayer
9a0aa8d02a
avcodec/intrax8: fix regression with wmv3
...
This also decreases dependancies between intrax8 and the outside
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 23:04:15 +02:00
Clément Bœsch
039c2b7828
lavfi/hqdn3d: remove timeline flag.
...
The filter stores some temporal data, which needs to be done with the
passthrough callback system when timeline is enabled. Until then,
timeline support is disabled.
2013-04-26 21:27:02 +02:00
Diego Biurrun
7c00e9d8ae
x86: ac3dsp: Remove 3dnow version of ff_ac3_extract_exponents
...
The function requires increasing the fuzz factor for the ac3/eac3 encode
tests and even so makes fate fail. It only provides a slight encoding
speedup for legacy CPUs that do not support SS2. Thus its benefit is not
worth the trouble it creates and fixing it would be a waste of time.
2013-04-26 21:06:52 +02:00
Michael Niedermayer
74b1c32a80
avutil/log: leave prefix printing state on empty input.
...
Fixes printing the prefix after an empty string was printed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 20:31:25 +02:00
Michael Niedermayer
d78329700d
vc1dec: make sure next_use_ic is set correctly
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 15:50:32 +02:00
Michael Niedermayer
ee4c01bef6
vc1dec: factor lut clean code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 15:39:32 +02:00
Michael Niedermayer
ba323d67fa
avformat/write_packet: drop disabled code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 14:57:56 +02:00
Michael Niedermayer
eba33396f0
avformat/mux: set avoid_negative_ts based on flags if not overridden by user or muxer
...
This changes the default to avoid negative timestamps.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 14:51:47 +02:00
Michael Niedermayer
e5891a2337
avformat/movenc: mov/mp4 should support negative timestamps through edit lists
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 14:51:47 +02:00
Michael Niedermayer
647f306b46
avformat/mux: assert that timestamps are positive after offsetting them
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 14:51:47 +02:00
Michael Niedermayer
c329195a27
avformat/mux: use a local variable for offset
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 14:51:47 +02:00
Michael Niedermayer
060f14f493
avformat/mux: change avoid_negative_ts code to support later addition of AVStreams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 14:51:47 +02:00
Paul B Mahol
30579b7ef0
dcaenc: silence address sanitizer warning
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 11:41:00 +00:00
Paul B Mahol
6a8d05061f
lavfi/stereo3d: avoid division when changing aspect ratio
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 10:13:50 +00:00
Paul B Mahol
42d61fd968
lavfi/afade: fix AVOptions descriptions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 10:04:16 +00:00
Paul B Mahol
e0a636fadf
doc/filters: fix afade 2nd example
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 09:39:10 +00:00
Paul B Mahol
09250e3445
lavfi/curves: add support for more rgb formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 09:37:28 +00:00
Paul B Mahol
1a530f9ed8
lavfi: support timeline for colorbalance and colorchannelmixer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-26 09:37:28 +00:00
Michael Niedermayer
721ffc691a
Merge remote-tracking branch 'qatar/master'
...
* commit '74685f6783e77f2545d48bd2124945ad5be39982':
x86: Rename dsputil_rnd_template.c to rnd_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 11:10:57 +02:00
Michael Niedermayer
c4bf740225
Merge commit 'c2cb01d418dd18e1cf997c038d37378d773121be'
...
* commit 'c2cb01d418dd18e1cf997c038d37378d773121be':
lavf: introduce AVFMT_TS_NEGATIVE
Conflicts:
libavformat/avformat.h
libavformat/mux.c
tests/ref/lavf/asf
tests/ref/lavf/mkv
tests/ref/lavf/mpg
tests/ref/lavf/ts
tests/ref/seek/lavf-asf
tests/ref/seek/lavf-mkv
tests/ref/seek/lavf-mpg
tests/ref/seek/lavf-ts
This commit does not change the default ts behaviour, such
change will, if its done, be done separately.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 10:59:45 +02:00
Michael Niedermayer
05f4c05061
vc1dec: remove interlaced warning
...
While not yet bugfree, the warning is IMHO no longer appropriate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 03:44:05 +02:00
highgod0401
cd134963e8
lavfi/unsharp: add opencl unsharp filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 03:05:26 +02:00
highgod0401
f31247cf47
lavu/opencl:add opencl set param function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-26 03:04:42 +02:00
Michael Niedermayer
667159e718
fate: re-enable fate-acodec-dca2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 23:23:12 +02:00
Michael Niedermayer
688fc4ac56
vc1dec: Try to fix vc1_mc_4mv_chroma4() parameters
...
This fixes several chroma artifacts in several videos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 22:39:19 +02:00
Michael Niedermayer
9b49d3974e
vc1dec: add avg & variable direction support to vc1_mc_4mv_chroma4()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 22:39:19 +02:00
Michael Niedermayer
dd6e291e40
vc1dsp: add avg_no_rnd_vc1_chroma_mc4_c()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 22:39:19 +02:00
Michael Niedermayer
5183365aeb
vc1dec: fix doxy for vc1_mc_4mv_chroma4()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 22:39:19 +02:00
Paul B Mahol
2c5700c5e2
vima: add @file doxy
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 20:17:05 +00:00
Paul B Mahol
da22760364
vima: generate predict_table once, and share it with all decoders
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 20:15:33 +00:00
Paul B Mahol
77570a390d
lavc/cdxl: add @file doxy
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 20:06:13 +00:00
Martin Storsjö
74685f6783
x86: Rename dsputil_rnd_template.c to rnd_template.c
...
This makes it less confusing when this template is shared both by
dsputil and by hpeldsp.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-25 23:03:09 +03:00
Paul B Mahol
084709f6a5
fate: update dca test and disable dca2 test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 18:39:30 +00:00
Paul B Mahol
89b5ed5f15
lavfi/noise: remove get_video_buffer, its redundant now
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 17:05:42 +00:00
Paul B Mahol
e86ed98f43
lavfi/noise: add missing emms_c()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 17:01:40 +00:00
Paul B Mahol
00acfdd926
lavfi/telecine: show time base change too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 16:52:29 +00:00
Paul B Mahol
e1ba5fc968
dcaenc: update
...
Long story short: previous code was useless and was port of older
dcaenc, this commit just "sync" with current dcaenc, hopefuly
making this encoder more useful.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-25 14:21:00 +00:00
Michael Niedermayer
8f0db04b08
avcodec/pthread: use THREAD_SAFE_CALLBACKS() to simplifx more code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 16:01:42 +02:00
Michael Niedermayer
94b3a666fa
avcodec/pthread: Make sure ff_thread_finish_setup() conditions match
...
Prevents warning from being shown due to multiple calls.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 15:55:01 +02:00
Michael Niedermayer
32a6dfeb12
vc1dec: drop mv_f_last, simplify code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 13:51:44 +02:00
Stefano Sabatini
16cecf9c3d
doc/filters: put vidstab filters documentation in a sensible order
2013-04-25 11:26:33 +02:00
Stefano Sabatini
cb23de1904
doc/filters: remove "q" constant docs for noise mode
...
It was removed in 62447248f3 .
2013-04-25 11:19:53 +02:00
Stefano Sabatini
f40cf96ec0
doc: remove all-components.texi, include its content verbatim
...
Force re-generation of the manuals when an included file is modified.
The current dependency generation system is enable to track nested
inclusions.
The drawback is that the files will be generated even when there is no
strict need (for example if filters.texi is modified, ffmpeg.1 is
rebuilt), thus it trades a false negative with a false positive.
2013-04-25 11:19:53 +02:00
Luca Barbato
c2cb01d418
lavf: introduce AVFMT_TS_NEGATIVE
...
Most formats do not support negative timestamps, shift them to avoid
unexpected behaviour and a number of bad crashes.
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-04-25 10:13:27 +02:00
Michael Niedermayer
575399c7e1
Merge commit 'fc18cc44ebfae07da153dc782572e7ce2f6fe47d'
...
* commit 'fc18cc44ebfae07da153dc782572e7ce2f6fe47d':
fate: add CVFC1_Sony_C to h264 conformance tests
doc/APIchanges: add missing hashes and dates
Conflicts:
doc/APIchanges
tests/fate/h264.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-25 09:54:11 +02:00
Paul B Mahol
aa96439fae
lavc: remove unused put_bits.h headers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-24 23:17:09 +00:00
Clément Bœsch
035a3792c2
lavfi/subtitles: zero-init AVSubtitle.
...
This avoids invalid free when the stream id doesn't match the packet
stream index.
Ticket #2501
2013-04-25 00:56:38 +02:00
Michael Niedermayer
d382170c5d
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavc: check decoded subtitles encoding.
lavu: fix GET_UTF8 macro.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 23:56:48 +02:00
Michael Niedermayer
12e3c1bee4
vc1dec: drop old use_ic code from vc1_b_mc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 21:56:34 +02:00
Michael Niedermayer
100184ccff
vc1: use use_ic instead of shuffling mv_mode around
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 21:08:17 +02:00
Michael Niedermayer
84c0ec92ae
vc1dec: Implement intensity compensation for vc1_interp_mc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 21:08:17 +02:00
Michael Niedermayer
782ebd6118
vc1dec: redesign the intensity compensation
...
The existing implementation had little to do with VC1.
This could be implemented by adjusting the reference frames
ithemselfs but that would make frame multi-threading difficult.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 21:07:26 +02:00
Clément Bœsch
73050df240
lavfi: add timeline support in {de,remove}logo.
...
Both don't change anything in the context between frames.
2013-04-24 20:13:01 +02:00
Nicolas George
70feca926b
lavc: check decoded subtitles encoding.
...
Address trac ticket #2431 .
2013-04-24 19:41:27 +02:00
Nicolas George
29ebb7ba8d
lavu: fix GET_UTF8 macro.
...
Prevent 0xFE and 0xFF from being considered the start of
non-standard 7-bytes sequences. No noticeable effect on speed.
2013-04-24 19:41:27 +02:00
Clément Bœsch
1f6aa7de3e
lavfi: add vidstabutils.h to SKIPHEADERS.
...
Fix checkheaders when vid.stab is not available.
2013-04-24 19:38:06 +02:00
Clément Bœsch
c7d2a3abf0
lavfi/vidstabdetect: fix direct path.
...
The frame must be writable if the show option is set, otherwise pass the
frame unchanged.
2013-04-24 18:30:43 +02:00
Clément Bœsch
c82f6e58da
lavfi/vidstab: remove mention of defaults for consistency with other filters.
2013-04-24 18:30:43 +02:00
Clément Bœsch
111ac10b60
lavfi/vidstab: make use of direct variable.
2013-04-24 18:30:42 +02:00
Clément Bœsch
9273cc8eb5
lavfi/vidstab: add missing flags for 2 options.
2013-04-24 18:30:42 +02:00
Clément Bœsch
c857c21a8c
doc/filters: reword vidstab options intro.
2013-04-24 18:30:42 +02:00
Clément Bœsch
cdc48775aa
lavfi/vidstab: consistent descriptions.
2013-04-24 18:30:42 +02:00
Clément Bœsch
017051266b
lavfi/vidstab: miscelenaous cosmetics and typo fixes.
2013-04-24 18:30:42 +02:00
Georg Martius
4364e1f150
lavfi: add video stabilization plugins using vid.stab library
...
vidstabdetect and vidstabtransform common functions for interfacing
vid.stab are in libavfilter/vidstabutils.c
Signed-off-by: Georg Martius <martius@mis.mpg.de >
2013-04-24 18:30:42 +02:00
Stefano Sabatini
6f1716c4b6
doc/filters: amend documentation for the hue filter
...
Make clear that the options accept an expression.
2013-04-24 17:47:10 +02:00
Stefano Sabatini
18144950d4
doc/filters: introduce example in vflip filter
2013-04-24 17:47:03 +02:00
Stefano Sabatini
892af3eb47
doc/filters: split luma/chroma descriptions for unsharp option
...
Honour declaration order in filter implementation, for shorthand
consistency.
2013-04-24 17:46:56 +02:00
Vittorio Giovara
fc18cc44eb
fate: add CVFC1_Sony_C to h264 conformance tests
...
The sample is already included in the FATE suite, but is not tested
because cropping wasn't fully supported before.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-04-24 17:44:11 +02:00
Nicolas Bertrand
69c02b520b
MAINTAINERS: add jpeg2000 maintainer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 16:42:47 +02:00
Michael Niedermayer
c560437e95
vc1: make INIT_LUT() self contained
...
factorize variable declarations
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 15:33:11 +02:00
Michael Niedermayer
c5669f3c59
vc1dec: fix current ptr selection in vc1_mc_4mv_chroma()
...
No sample tried shows a difference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 15:05:25 +02:00
Michael Niedermayer
236b0c4084
vc1dec: factorize picture pointer selection in vc1_mc_4mv_chroma()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 14:59:49 +02:00
Michael Niedermayer
72e5d91908
vc1dec: factorize picture pointer selection code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 14:50:41 +02:00
Michael Niedermayer
3fdd0979ac
vc1dec: Fix mv_f shuffling
...
Avoid a (confusing) memcpy()
Simpler code
Fixes a small number of artifacts in black_screen_VC-1.mkv
and several more artifacts in other videos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 14:06:07 +02:00
Michael Niedermayer
1d0f817b17
vc1dec: Fix mv_f shuffling
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 13:16:27 +02:00
Michael Niedermayer
62d9445396
vc1: simplify code use INIT_LUT()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 12:52:52 +02:00
Michael Niedermayer
2e789d165b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: Get rid of duplication between *_rnd_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 10:17:28 +02:00
Michael Niedermayer
8d86cf4cfa
Merge commit 'feec9349d35b3a46d0c6a05e3b23626050b76a77'
...
* commit 'feec9349d35b3a46d0c6a05e3b23626050b76a77':
mpegvideo: unref cur/next/prev frames when flushing
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 10:11:34 +02:00
Michael Niedermayer
c2a0833c09
Merge commit '6a8561dbd7c078eb75985f7011ad1ad3fda9e223'
...
* commit '6a8561dbd7c078eb75985f7011ad1ad3fda9e223':
x86: Factorize duplicated inline assembly snippets
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 10:01:15 +02:00
Michael Niedermayer
03b81df9e6
Merge commit '2e2d24667a2c5cc7af94cfa7b63bb9ec1c04224b'
...
* commit '2e2d24667a2c5cc7af94cfa7b63bb9ec1c04224b':
jpeg2000: Add mutlti-threading support to decoder
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 09:55:59 +02:00
Anton Khirnov
35386fbf41
doc/APIchanges: add missing hashes and dates
2013-04-24 09:48:57 +02:00
Michael Niedermayer
fc69033371
avcodec/x86/sbrdsp_init: disable using the noise code in x86_64 MSVC, Try #2
...
This should fix building with MSVC until someone can change the
code so it works with MSVC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-24 02:02:25 +02:00
Stefano Sabatini
dfdee6cab3
doc/filters: sort multimedia filters by name
...
Also favor the video filter name for indexing, in case there is an a*
audio filter variant.
2013-04-23 22:48:47 +02:00
Stefano Sabatini
638ffb2413
lavfi/hue: rework logic for setting commands
...
In particular, fix h/H commands in case h and H are not specified as
initial parameters.
2013-04-23 22:33:53 +02:00
Martin Storsjö
486f76f029
x86: Get rid of duplication between *_rnd_template.c
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-23 23:30:17 +03:00
Hendrik Leppkes
feec9349d3
mpegvideo: unref cur/next/prev frames when flushing
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-04-23 19:11:59 +02:00
Michael Niedermayer
b21b2ca95b
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Read block_align from extradata when decoding qclp in aiff.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 16:58:31 +02:00
Carl Eugen Hoyos
9526c9ccc3
Read block_align from extradata when decoding qclp in aiff.
...
Fixes ticket #1287 .
2013-04-23 16:19:26 +02:00
Michael Niedermayer
488c760091
doc/filters: document geq rgb mode
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 16:13:53 +02:00
Michael Niedermayer
8f04220df8
avfilter/geq: rgb support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 16:06:37 +02:00
Paul B Mahol
ad56535dd1
avformat: fix orig_pos type to match pkt->pos
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-23 13:56:34 +00:00
Martin Storsjö
6a8561dbd7
x86: Factorize duplicated inline assembly snippets
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-23 15:07:31 +02:00
Michael Niedermayer
7a617d6c17
avcodec/x86/sbrdsp_init: disable using the noise code in x86_64 MSVC
...
This should fix building with MSVC until someone can change the
code so it works with MSVC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 12:46:28 +02:00
Nicolas Bertrand
2e2d24667a
jpeg2000: Add mutlti-threading support to decoder
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-23 11:53:04 +02:00
Michael Niedermayer
0a73803c86
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: Move some conditional code around to avoid unused variable warnings
Conflicts:
libavcodec/x86/dsputil_mmx.c
libavfilter/x86/vf_yadif_init.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 11:01:46 +02:00
Michael Niedermayer
5056cff125
Merge commit '10f1a4d9bd8239ac64f364e0d3b6423c28230d6d'
...
* commit '10f1a4d9bd8239ac64f364e0d3b6423c28230d6d':
jpeg2kdec: output is native endian AV_PIX_FMT_XYZ12
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 10:24:49 +02:00
Michael Niedermayer
7c49c8b0ac
Merge commit '94660c35249e11c53b9a9f0c2f85c4335b21eda7'
...
* commit '94660c35249e11c53b9a9f0c2f85c4335b21eda7':
threads: always call thread_finish_setup for intra codecs
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 10:12:58 +02:00
Michael Niedermayer
a9a537b154
avfilter/drawtext: add pict_type support
...
Fixes Ticket2470
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-23 03:35:28 +02:00
Clément Bœsch
15d2f26998
lavfi/overlay: support timeline through the new system.
2013-04-23 01:02:28 +02:00
Clément Bœsch
38853169ce
lavfi: add 'enable' command injection to filters supporting timeline.
2013-04-23 01:02:28 +02:00
Clément Bœsch
fdd93eabfb
lavfi: add timeline support.
...
Flag added in a few simple filters. A bunch of other filters can likely
use the feature as well.
2013-04-23 01:02:27 +02:00
Clément Bœsch
b8a5c76131
lavfi: add frame counter into AVFilterLink and use it in filters.
2013-04-23 01:02:27 +02:00
Piotr Bandurski
f4596e8bb6
mjpegdec: Add support for 4:1:1 YUV
...
Fixes part of ticket 2004
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 22:03:09 +02:00
Michael Niedermayer
2ae91c86f3
avcodec_get_context_defaults3: set codec_id
...
Fixes Ticket1996
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 21:44:05 +02:00
Michael Niedermayer
e2e9bee2da
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avcodec: Bump minor for JPEG 2000 decoder
JPEG 2000 decoder for DCinema
The mqc code is merged, the rest is added independent of
the existing jpeg2000 decoder and encoder.
Conflicts:
Changelog
doc/general.texi
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/mqc.c
libavcodec/mqc.h
libavcodec/mqcdec.c
libavcodec/version.h
tests/fate/video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 20:00:54 +02:00
Michael Niedermayer
c1c2b0b339
avcodec: rename jpeg2000 decoder to j2k
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 19:28:33 +02:00
Michael Niedermayer
7a556ebccf
Merge commit '0c15a9aa7e1654a19144eb594f9639a57fd47482'
...
* commit '0c15a9aa7e1654a19144eb594f9639a57fd47482':
sh4: Remove dubious aligned dsputil code
Conflicts:
libavcodec/sh4/dsputil_align.c
libavcodec/sh4/h264chroma_init.c
libavcodec/sh4/hpeldsp.c
libavcodec/sh4/qpel.c
If someone wants to maintain the sh4 code in ffmpeg, wants to
add more optimizations, or volunteers to maintain any of
what is removed here and can confirm that they are faster.
Then please contact us!
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 18:59:23 +02:00
Michael Niedermayer
430d69c942
Merge commit 'b4ad7c54c878dead7dfa4838b912a530c1debe85'
...
* commit 'b4ad7c54c878dead7dfa4838b912a530c1debe85':
x86: cavs: Refactor duplicate dspfunc macro
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 18:37:44 +02:00
Michael Niedermayer
74e1aa17df
Merge commit 'a0d5ca4f0a8e2c34d784d503a12af6303424ac6a'
...
* commit 'a0d5ca4f0a8e2c34d784d503a12af6303424ac6a':
mxfenc: Use correct printf format specifier for int64_t
h264: Drop unused variable
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 18:33:37 +02:00
Michael Niedermayer
f84e373797
Merge commit '78fa0bd0f7067868943c0899907e313414492426'
...
* commit '78fa0bd0f7067868943c0899907e313414492426':
x86: cavs: Put mmx-specific code into its own init function
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 18:29:05 +02:00
Diego Biurrun
c1ad70c3cb
x86: Move some conditional code around to avoid unused variable warnings
2013-04-22 17:50:02 +02:00
Janne Grunau
10f1a4d9bd
jpeg2kdec: output is native endian AV_PIX_FMT_XYZ12
2013-04-22 17:11:21 +02:00
Janne Grunau
94660c3524
threads: always call thread_finish_setup for intra codecs
...
Intra codecs do not need an update_thread_context() function and never
call ff_thread_finish_setup(). They rely on ff_thread_get_buffer()
calling it. So call it even if the get_buffer2 function pointer is
avcodec_default_get_buffer2 and it has not been called before.
2013-04-22 17:11:20 +02:00
Diego Biurrun
f13888afcc
avcodec: Bump minor for JPEG 2000 decoder
2013-04-22 15:52:43 +02:00
Nicolas Bertrand
c81a706381
JPEG 2000 decoder for DCinema
...
Based on the 2007 GSoC project from Kamil Nowosad <k.nowosad@students.mimuw.edu.pl >
Updated to current programming standards, style and many more small
fixes by Diego Biurrun <diego@biurrun.de >.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-22 15:38:29 +02:00
highgod0401
6d7ec4fc2e
lavu/opencl:optimize compile kernel operation
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 15:07:54 +02:00
Michael Niedermayer
80d4d3a41d
fate: re-enable af_join test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 14:54:38 +02:00
Paul B Mahol
2f11aa141a
lavfi: remove mp=down3dright
...
Same funcionality is provided by stereo3d=ab[2]{l,r}:sbs[2]{l,r}.
Additional "features" are barely useful and cause crash or artifacts.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-22 11:49:13 +00:00
Paul B Mahol
0327400ee3
doc/filters: add examples for stereo3d
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-22 11:49:13 +00:00
Michael Niedermayer
2288c77689
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: Remove some duplicate function declarations
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 13:07:20 +02:00
Michael Niedermayer
e4c0f258d3
Merge commit '9bfc6e02bae9de354fb9ba09a8a140e83eeadf7d'
...
* commit '9bfc6e02bae9de354fb9ba09a8a140e83eeadf7d':
afifo: fix request_samples on the last frame in certain cases
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 13:02:29 +02:00
Michael Niedermayer
645d0384e8
Merge commit 'b845f5e97b655de0a191f736594777fec9754cf5'
...
* commit 'b845f5e97b655de0a191f736594777fec9754cf5':
riff: Factor out WAVEFORMATEX parsing
Conflicts:
libavformat/riff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 12:53:58 +02:00
Michael Niedermayer
51286aaffc
Merge commit '516089d5d86b6809a9458f9cf171f2bc9a8e2a25'
...
* commit '516089d5d86b6809a9458f9cf171f2bc9a8e2a25':
riff: Add ACTRAC3+ guid
No change, this commit was in ffmpeg already with this formating
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 12:41:08 +02:00
Michael Niedermayer
05deb05fe9
Merge commit 'a3bf80a5aea577663354bd538e345b283bcb73de'
...
* commit 'a3bf80a5aea577663354bd538e345b283bcb73de':
riff: Perform full lookup on WAVEFORMATEXTENSIBLE subformat guid
Conflicts:
libavformat/riff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 12:36:29 +02:00
Michael Niedermayer
52e40155a8
Merge commit 'e544782623caf1eb4b2429e9c4f35d6b627accba'
...
* commit 'e544782623caf1eb4b2429e9c4f35d6b627accba':
riff: Move guid structs and helper functions into riff
Conflicts:
libavformat/asf.h
libavformat/riff.c
libavformat/wtv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 12:20:04 +02:00
Diego Biurrun
0c15a9aa7e
sh4: Remove dubious aligned dsputil code
...
The code represents a considerable maintenance burden and it is not
clear that it gives a noticeable benefit to outweigh this after 10
years of improvements in compiler technology since its creation.
2013-04-22 12:12:24 +02:00
Diego Biurrun
b4ad7c54c8
x86: cavs: Refactor duplicate dspfunc macro
2013-04-22 12:05:09 +02:00
Diego Biurrun
a0d5ca4f0a
mxfenc: Use correct printf format specifier for int64_t
...
libavformat/mxfenc.c:1861:9: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' [-Wformat]
2013-04-22 12:05:09 +02:00
Diego Biurrun
fce99322b0
h264: Drop unused variable
2013-04-22 12:05:09 +02:00
Michael Niedermayer
369e5dcfc5
Merge commit '8e329dba378cef0ff6400c7df9c51da167d5a1f0'
...
* commit '8e329dba378cef0ff6400c7df9c51da167d5a1f0':
riff: check for eof if chunk size and code are 0
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 11:46:22 +02:00
Michael Niedermayer
e381cc3e4e
Merge commit '1c88617b9421c9af8ae961c05d2381b19c585026'
...
* commit '1c88617b9421c9af8ae961c05d2381b19c585026':
riff: K&R formatting cosmetics
Conflicts:
libavformat/riff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 10:50:05 +02:00
Diego Biurrun
78fa0bd0f7
x86: cavs: Put mmx-specific code into its own init function
...
Before, this code was labeled as mmxext and enabled both for the
3dnow and the mmxext case.
2013-04-22 10:42:50 +02:00
Diego Biurrun
311a592dfc
x86: Remove some duplicate function declarations
2013-04-22 02:29:57 +02:00
Anton Khirnov
9bfc6e02ba
afifo: fix request_samples on the last frame in certain cases
...
The current code can fail to return the last frame if it contains
exactly the requested number of samples.
Fixes the join filter test, which previously did not include the last
408 samples in most cases.
CC:libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-22 02:29:56 +02:00
Michael Niedermayer
de9fbf3dc4
indeo4: implement haar 8x1 and 1x8 transforms
...
Fixes Ticket1984
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-22 02:29:12 +02:00
Andy Martin
4ac2da3793
lavfi/fade: Added ability to do video fade based on timestamp
2013-04-21 20:57:02 +02:00
Michael Niedermayer
ebea370dc3
ismindex: check mkdir()s return code
...
Fixes CID733724
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 19:53:18 +02:00
Michael Niedermayer
bc7330a840
tools/ismindex: dont ignore return code of write_fragments()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 19:49:22 +02:00
Michael Niedermayer
047716bbd8
ffplay: check av_samples_get_buffer_size() return
...
Fixes CID1005310
Reviewed-by: Marton Balint <cus@passwd.hu >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 18:56:18 +02:00
Stefano Sabatini
3e40b85683
lavfi: add interleave filters
2013-04-21 18:24:04 +02:00
Luca Barbato
b845f5e97b
riff: Factor out WAVEFORMATEX parsing
...
Makes the code simpler to follow.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-21 18:20:30 +02:00
Peter Ross
516089d5d8
riff: Add ACTRAC3+ guid
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-21 18:20:30 +02:00
Peter Ross
a3bf80a5ae
riff: Perform full lookup on WAVEFORMATEXTENSIBLE subformat guid
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-21 18:20:30 +02:00
Peter Ross
e544782623
riff: Move guid structs and helper functions into riff
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-21 18:20:30 +02:00
Luca Barbato
8e329dba37
riff: check for eof if chunk size and code are 0
...
Prevent an infinite loop.
Inspired by a patch from Michael Niedermayer
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-21 18:20:30 +02:00
Luca Barbato
1c88617b94
riff: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-21 18:20:12 +02:00
Stefano Sabatini
df766673e5
lavfi/sendcmd: drop now pointless sendcmd/asendcmd_init() wrappers
2013-04-21 17:27:32 +02:00
Stefano Sabatini
5e893df7ae
lavfi/sendcmd: fix various "in in" rerepepetitions in messages
2013-04-21 17:27:25 +02:00
Nicolas George
fd7a7e11b9
lavfi/buffersink: fix possible leaks after allocation failures.
...
Should fix Coverity CID 1005313, 1005314, 1005315.
2013-04-21 16:11:36 +02:00
Nicolas George
b57c23f8c8
lavfi: add asetrate filter.
2013-04-21 15:20:50 +02:00
Michael Niedermayer
14369f59c5
ffmpeg_filter: fix leak on error
...
Fixes: CID1005311
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 11:59:34 +02:00
Michael Niedermayer
83330cf5fa
init_vlc_sparse: fix leak on error
...
Fixes CID1005312
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 11:55:19 +02:00
Pavel Koshevoy
0c77cdb491
libavfilter/af_atempo: Avoid round-off error build-up, ticket #2484
...
Current method for constraining fragment position drift suffers from
round-off error build up.
Instead of calculating cumulative drift as a sum of input fragment
position corrections, it is more accurate to calculate drift as the
difference between current fragment position and the ideal position
specified by the tempo scale factor.
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 10:46:52 +02:00
Pavel Koshevoy
5a2a060378
libavfilter/af_atempo: Fix uninitialized memory access
...
valgrind reported uninitialized memory access which was caused by
incorrect number of samples being passed to push_samples(..)
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 10:45:57 +02:00
Michael Niedermayer
2d23493020
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
ppc: hpeldsp: Include attributes.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 09:54:02 +02:00
Roberto Togni
8017683647
qdm2: initialize coeff_per_sb_select from bit_rate
...
The value of coeff_per_sb_select depends on the bit rate, not on
sub_sampling.
Also remove the calculation of tmp, no longer needed.
Fixes tickets #1868 and #742 (only audio part)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 02:00:06 +02:00
Michael Niedermayer
578d9cf7cc
mxf_timestamp_to_str: dont leave uninitilaized fields in time.
...
Fixes CID1005318
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 00:26:20 +02:00
Michael Niedermayer
63090842df
av_samples_alloc_array_and_samples: Fix sizeof type.
...
Fixes CID1005317
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-21 00:26:17 +02:00
Michael Niedermayer
eda61abc84
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: only do early frame drop if video queue is not empty
ffplay: use AV_NOPTS_VALUE video frame pts instead of using 0
ffplay: simplify aspect ratio calculation
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 22:01:05 +02:00
Michael Niedermayer
4824aea7af
avcodec/mpegvideo: change asserts to av_asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 21:31:19 +02:00
highgod0401
fdad04e756
avfilter/deshake_kernel: fix reset value bug of deshake kernel
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 19:55:58 +02:00
Paul B Mahol
a56fd051ee
lavfi/stereo3d: support more formats for non-anaglyph outputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-20 17:45:54 +00:00
Marton Balint
b8facbeecb
ffplay: only do early frame drop if video queue is not empty
...
Fixes ticket #2446 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-04-20 18:32:09 +02:00
Marton Balint
d148339d19
ffplay: use AV_NOPTS_VALUE video frame pts instead of using 0
...
Assuming 0 pts may lead to bad framedrop decisions...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-04-20 18:32:09 +02:00
Marton Balint
40693ba3ac
ffplay: simplify aspect ratio calculation
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-04-20 18:32:09 +02:00
Michael Niedermayer
0dd25e4699
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: Remove unused inline asm instruction defines
vc1: Remove now unused variables
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 16:24:15 +02:00
Michael Niedermayer
0e3d2b2c8d
Merge commit '287c8db39e71af7047e551bbfd1264d771cccbc9'
...
* commit '287c8db39e71af7047e551bbfd1264d771cccbc9':
cosmetics: bfin: Fix indentation in the dsputil init function
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 16:19:59 +02:00
Michael Niedermayer
9ae56b85b6
Merge commit 'd4d186d185df98492d8935a87c5b5cf369db9748'
...
* commit 'd4d186d185df98492d8935a87c5b5cf369db9748':
dsputil: Remove non-8bpp draw_edge
Conflicts:
libavcodec/dsputil.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 16:07:20 +02:00
Michael Niedermayer
bf66016e4c
Merge commit 'c9f5fcd08c3a33bfb1b473705c792ab051e7428d'
...
* commit 'c9f5fcd08c3a33bfb1b473705c792ab051e7428d':
dsputil: Merge 9-10 bpp functions for get_pixels and draw_edge
Conflicts:
libavcodec/dsputil.c
No difference as this has been part of ffmpeg since a while and
the rebased commit does also not introduce new changes.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 16:03:32 +02:00
Michael Niedermayer
f6dcd844ee
Merge commit '619e0da19119bcd683f135fe9a164f37c0ca70d1'
...
* commit '619e0da19119bcd683f135fe9a164f37c0ca70d1':
dsputil: Remove unused 32-bit functions
Conflicts:
libavcodec/dsputil.c
libavcodec/dsputil_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 15:55:29 +02:00
Michael Niedermayer
c3624cfe76
Merge commit 'c443117f25e034c1e3ef35334b61b937e1e208ff'
...
* commit 'c443117f25e034c1e3ef35334b61b937e1e208ff':
dsputil: Remove dct_bits
Conflicts:
libavcodec/dsputil.c
libavcodec/h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 15:43:33 +02:00
Martin Storsjö
6d0fbebf94
ppc: hpeldsp: Include attributes.h
...
This fixes building in configurations where altivec is disabled.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-20 16:43:01 +03:00
Michael Niedermayer
d2d2c309e8
Merge commit '54cd5e4f92de6bd0fb8e24069153b0156c8136bc'
...
* commit '54cd5e4f92de6bd0fb8e24069153b0156c8136bc':
dsputil: Remove hpel functions (moved to hpeldsp)
Conflicts:
libavcodec/hpeldsp.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 15:36:23 +02:00
Michael Niedermayer
6ec26157b9
Merge commit '2957d29f0531ccd8a6f4378293424dfd92db3044'
...
* commit '2957d29f0531ccd8a6f4378293424dfd92db3044':
alpha: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Conflicts:
libavcodec/alpha/dsputil_alpha.c
libavcodec/alpha/hpeldsp_alpha.c
libavcodec/alpha/hpeldsp_alpha.h
libavcodec/alpha/hpeldsp_alpha_asm.S
libavcodec/hpeldsp.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 15:24:25 +02:00
Michael Niedermayer
fdb1f7eb7a
Merge commit '78ce568e43a7f3993c33100aa8f5d56c4c4bd493'
...
* commit '78ce568e43a7f3993c33100aa8f5d56c4c4bd493':
sparc: hpeldsp: Move vis half-pel assembly from dsputil to hpeldsp
Conflicts:
libavcodec/hpeldsp.h
libavcodec/sparc/dsputil_vis.c
libavcodec/sparc/hpeldsp_vis.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 15:11:06 +02:00
Michael Niedermayer
4bdec0e71e
Merge commit '278bd2054ca61ab70dfe38f1774409cda2da5359'
...
* commit '278bd2054ca61ab70dfe38f1774409cda2da5359':
sh4: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Conflicts:
libavcodec/hpeldsp.c
libavcodec/hpeldsp.h
libavcodec/sh4/dsputil_align.c
libavcodec/sh4/dsputil_sh4.h
libavcodec/sh4/hpeldsp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 15:04:06 +02:00
Michael Niedermayer
c5a11ab6d1
Merge commit 'bfb41b5039e36b7f873d6ea7d24b31bf3e1a8075'
...
* commit 'bfb41b5039e36b7f873d6ea7d24b31bf3e1a8075':
bfin: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Conflicts:
libavcodec/bfin/Makefile
libavcodec/bfin/hpel_pixels_bfin.S
libavcodec/bfin/hpeldsp_bfin.c
libavcodec/bfin/hpeldsp_bfin.h
libavcodec/hpeldsp.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 14:31:11 +02:00
Michael Niedermayer
c4010972c4
Merge commit '7384b7a71338d960e421d6dc3d77da09b0a442cb'
...
* commit '7384b7a71338d960e421d6dc3d77da09b0a442cb':
arm: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Conflicts:
libavcodec/arm/Makefile
libavcodec/arm/hpeldsp_arm.S
libavcodec/arm/hpeldsp_arm.h
libavcodec/arm/hpeldsp_armv6.S
libavcodec/arm/hpeldsp_init_arm.c
libavcodec/arm/hpeldsp_init_armv6.c
libavcodec/arm/hpeldsp_init_neon.c
libavcodec/arm/hpeldsp_neon.S
libavcodec/hpeldsp.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 14:19:08 +02:00
Michael Niedermayer
055e5c8e01
Merge commit '47e5a98174eb9c07ad17be71df129719d60ec8b7'
...
* commit '47e5a98174eb9c07ad17be71df129719d60ec8b7':
ppc: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Conflicts:
libavcodec/hpeldsp.h
libavcodec/ppc/hpeldsp_altivec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 13:52:58 +02:00
Michael Niedermayer
d0aa60da10
Merge commit '8db00081a37d5b7e23918ee500bb16bc59b57197'
...
* commit '8db00081a37d5b7e23918ee500bb16bc59b57197':
x86: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
Conflicts:
libavcodec/hpeldsp.c
libavcodec/hpeldsp.h
libavcodec/x86/Makefile
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/hpeldsp_init.c
libavcodec/x86/hpeldsp_rnd_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 13:42:51 +02:00
Michael Niedermayer
3fee9fa022
Merge commit '28bc406c84b04a5f1458b90ff52ddbec73e46202'
...
* commit '28bc406c84b04a5f1458b90ff52ddbec73e46202':
mjpeg: Use hpeldsp instead of dsputil for half-pel functions
svq1enc: Use hpeldsp instead of dsputil for half-pel functions
Conflicts:
configure
libavcodec/mjpegdec.c
libavcodec/svq1enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 13:21:18 +02:00
Michael Niedermayer
ab4ba6b74d
Merge commit '2f6bc5f7c193477c2ebc0acce8f2d5551445e129'
...
* commit '2f6bc5f7c193477c2ebc0acce8f2d5551445e129':
svq3: Use hpeldsp instead of dsputil for half-pel functions
mpegvideo: Use hpeldsp instead of dsputil for half-pel functions
svq1: Use hpeldsp instead of dsputil for half-pel functions
mimic: Use hpeldsp instead of dsputil for half-pel functions
Conflicts:
configure
libavcodec/motion_est.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 10:12:07 +02:00
Michael Niedermayer
3c6621708b
Merge commit '8071264f2196d71ff49c3944c33f8d3d83f548f1'
...
* commit '8071264f2196d71ff49c3944c33f8d3d83f548f1':
interplayvideo: Use hpeldsp instead of dsputil for half-pel functions
bink: Use hpeldsp instead of dsputil for half-pel functions
indeo3: Use hpeldsp instead of dsputil for half-pel functions
vp56: Use hpeldsp instead of dsputil for half-pel functions
vp3: Use hpeldsp instead of dsputil for half-pel functions
Conflicts:
libavcodec/bink.c
libavcodec/indeo3.c
libavcodec/vp56.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 10:01:54 +02:00
Michael Niedermayer
23de9e91df
Merge commit '68d8238cca52e50e8cc81bf2edcaf8088c52d4c0'
...
* commit '68d8238cca52e50e8cc81bf2edcaf8088c52d4c0':
hpeldsp: Add half-pel functions (currently copies of dsputil)
Conflicts:
libavcodec/hpeldsp.c
libavcodec/hpeldsp.h
libavcodec/hpeldsp_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 09:42:07 +02:00
Michael Niedermayer
6c9d28a229
vc1dec: Fix tff == 0 handling in init_block_index()
...
This fixes several files from VLC ticket5887
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 02:22:32 +02:00
Michael Niedermayer
a0fbc28c38
vc1dec: Fix non pullup tff
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 02:22:32 +02:00
Michael Niedermayer
8ebfd7c49e
h264: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-20 02:22:32 +02:00
Clément Bœsch
67cc31d6c7
lavf/gif: add final_delay option.
2013-04-20 00:11:04 +02:00
Clément Bœsch
a16c20569d
lavf/gifdec: add loop support.
...
Loop is ignored by default.
2013-04-20 00:05:35 +02:00
Clément Bœsch
f5ede48fbb
lavc/gif: miscellaneous cosmetics.
2013-04-19 23:59:22 +02:00
Clément Bœsch
7004cad36d
Changelog: notify GIF improvements.
2013-04-19 23:59:22 +02:00
Clément Bœsch
5927ebab51
doc/general: animated GIF are now compressed.
2013-04-19 23:59:21 +02:00
Clément Bœsch
e1b35bdde2
lavc/gif: add flag to enable transparency detection between frames.
...
While this is not always optimal, in practice most of the common cases are.
ffmpeg -i big_buck_bunny_1080p_h264.mov -ss 45 -vf scale=320:160 -gifflags -transdiff -frames:v 50 -y bbb-notrans.gif
ffmpeg -i big_buck_bunny_1080p_h264.mov -ss 45 -vf scale=320:160 -gifflags +transdiff -frames:v 50 -y bbb-trans.gif
-rw-r--r-- 1 ubitux ubitux 1.1M Apr 19 19:00 bbb-notrans.gif
-rw-r--r-- 1 ubitux ubitux 378K Apr 19 19:00 bbb-trans.gif
2013-04-19 23:59:21 +02:00
Clément Bœsch
0f1250b7e5
lavc/gif: make possible to disable offsetting.
2013-04-19 23:59:21 +02:00
Martin Storsjö
b71a0507b0
x86: Remove unused inline asm instruction defines
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-20 00:44:54 +03:00
Martin Storsjö
a60136ee57
vc1: Remove now unused variables
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-20 00:44:49 +03:00
Michael Niedermayer
8f116bf71b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: cosmetics: More sensible order for entries in video filter file
Conflicts:
tests/fate/filter-video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 23:34:58 +02:00
Michael Niedermayer
e07e8882ae
Merge commit 'a77aed142cade3beb0cd43f879d4f47daae23b8a'
...
* commit 'a77aed142cade3beb0cd43f879d4f47daae23b8a':
fate: Rename video filters file and add separate video filters target
Conflicts:
tests/fate/filter-video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 23:26:55 +02:00
Michael Niedermayer
6c5989cce9
Merge commit 'b357f1d1d3dd1d6672df6a397a31be425d31b6d1'
...
* commit 'b357f1d1d3dd1d6672df6a397a31be425d31b6d1':
fate: Split audio filters into their own separate file
Conflicts:
tests/Makefile
tests/fate/filter.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 23:13:20 +02:00
Michael Niedermayer
4cb59ad84b
Merge commit '3eec1d41b4a947ba497f528e68da14a8befb85b9'
...
* commit '3eec1d41b4a947ba497f528e68da14a8befb85b9':
fate: Reuse VREF and AREF variables where appropriate
Conflicts:
tests/fate/filter.mak
tests/fate/video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 22:55:21 +02:00
Michael Niedermayer
f4b05cd841
Merge commit '5e83d9aced2fc2b2e1360452794c58aba55d497c'
...
* commit '5e83d9aced2fc2b2e1360452794c58aba55d497c':
h264: fully support cropping.
Conflicts:
doc/APIchanges
libavcodec/h264.c
libavcodec/h264_ps.c
libavcodec/options_table.h
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 22:46:51 +02:00
Martin Storsjö
287c8db39e
cosmetics: bfin: Fix indentation in the dsputil init function
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Ronald S. Bultje
d4d186d185
dsputil: Remove non-8bpp draw_edge
...
It is never used.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Ronald S. Bultje
c9f5fcd08c
dsputil: Merge 9-10 bpp functions for get_pixels and draw_edge
...
These only care about pixel storage unit size, not actual bits
used (i.e. they don't clip).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Ronald S. Bultje
619e0da191
dsputil: Remove unused 32-bit functions
...
Previously, if dct_bits was set to 32, we used separate 32-bit
versions of these functions. Since dct_bits now is removed,
remove the unused 32-bit versions of the functions.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Ronald S. Bultje
c443117f25
dsputil: Remove dct_bits
...
dct_bits is never set except in h264, where it is never used,
thus remove it.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Ronald S. Bultje
54cd5e4f92
dsputil: Remove hpel functions (moved to hpeldsp)
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Ronald S. Bultje
2957d29f05
alpha: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Ronald S. Bultje
78ce568e43
sparc: hpeldsp: Move vis half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:22 +03:00
Michael Niedermayer
278bd2054c
sh4: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:29:21 +03:00
Ronald S. Bultje
bfb41b5039
bfin: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:19:13 +03:00
Ronald S. Bultje
7384b7a713
arm: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:19:08 +03:00
Ronald S. Bultje
47e5a98174
ppc: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:59 +03:00
Ronald S. Bultje
8db00081a3
x86: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:53 +03:00
Ronald S. Bultje
28bc406c84
mjpeg: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:38 +03:00
Ronald S. Bultje
1277dc07fb
svq1enc: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:32 +03:00
Ronald S. Bultje
2f6bc5f7c1
svq3: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:27 +03:00
Ronald S. Bultje
f4fed5a2f9
mpegvideo: Use hpeldsp instead of dsputil for half-pel functions
...
This also converts vc1, since that is mpegvideo-based.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:21 +03:00
Ronald S. Bultje
6caa44aa7d
svq1: Use hpeldsp instead of dsputil for half-pel functions
...
This makes svq1 independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:14 +03:00
Ronald S. Bultje
c10470035e
mimic: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:08 +03:00
Ronald S. Bultje
8071264f21
interplayvideo: Use hpeldsp instead of dsputil for half-pel functions
...
This makes interplayvideo independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:18:02 +03:00
Ronald S. Bultje
0f0a11d576
bink: Use hpeldsp instead of dsputil for half-pel functions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:17:56 +03:00
Ronald S. Bultje
8f992dc8c7
indeo3: Use hpeldsp instead of dsputil for half-pel functions
...
This makes the Indeo 3 decoder independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:17:50 +03:00
Ronald S. Bultje
cb7ecb7563
vp56: Use hpeldsp instead of dsputil for half-pel functions
...
This makes vp5 and vp6 independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:17:33 +03:00
Ronald S. Bultje
3bd062bf7f
vp3: Use hpeldsp instead of dsputil for half-pel functions
...
This makes vp3 independent of dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:17:26 +03:00
Ronald S. Bultje
68d8238cca
hpeldsp: Add half-pel functions (currently copies of dsputil)
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-19 23:17:17 +03:00
Michael Niedermayer
05b2c998c7
avcodec: Fix lowres handling in buffer allocation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 21:49:36 +02:00
Michael Niedermayer
a8b05dde0d
Merge commit 'a7f46586bf47174b5fa00a905b767b1781ec8b72'
...
* commit 'a7f46586bf47174b5fa00a905b767b1781ec8b72':
ff_get_buffer(): allocate the frame for max(coded,display) dimensions
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 21:49:29 +02:00
Michael Niedermayer
194d0399a2
Merge commit '505642f18276aed03278ac91b1f334ea888eac6a'
...
* commit '505642f18276aed03278ac91b1f334ea888eac6a':
mp3dec: fallback to generic seeking when a TOC is not present
Conflicts:
libavformat/mp3dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 21:36:23 +02:00
Diego Biurrun
bc7fbd36ea
fate: cosmetics: More sensible order for entries in video filter file
2013-04-19 18:07:48 +02:00
Diego Biurrun
a77aed142c
fate: Rename video filters file and add separate video filters target
2013-04-19 18:07:48 +02:00
Diego Biurrun
b357f1d1d3
fate: Split audio filters into their own separate file
2013-04-19 18:07:48 +02:00
Diego Biurrun
3eec1d41b4
fate: Reuse VREF and AREF variables where appropriate
2013-04-19 18:07:48 +02:00
Michael Niedermayer
833bc6678f
avformat: change seeking index consistency asserts to av_asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 17:44:07 +02:00
Michael Niedermayer
42bcc4082d
avcodec/mpegvideo_motion: Use a field from the current frame if the last is unavailable in DMV & 16x8
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 14:48:01 +02:00
Clément Bœsch
30e6a02c23
lavf/http: remove duplicated dec flag.
2013-04-19 14:44:58 +02:00
Christophe Gisquet
76c7277385
x86: sbrdsp: implement SSE2 hf_apply_noise
...
233 to 105 cycles on Arrandale and Win64.
Replacing the multiplication by s_m[m] by a pand and a pxor with
appropriate vectors is slower. Unrolling is a 15 cycles win.
A SSE version was 4 cycles slower.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 13:19:45 +02:00
Clément Bœsch
380cfce2b2
lavc: add AV_CODEC_PROP_TEXT_SUB.
...
CC are not marked. Also allow potential mixed types later.
2013-04-19 13:15:54 +02:00
Clément Bœsch
6189ff3679
lavf/gif: avoid forward declaration.
2013-04-19 12:11:10 +02:00
Clément Bœsch
a7c5b7a676
lavf/gif: correct the delay after the first frame.
...
To define accurately the delay between two frames, it is necessary to
have both available. Before this commit, the first frame had a delay of
0; while in practice the problem is not visible in most situation, it is
problematic with low frame rate and large scene change.
This commit notably fixes output generated with commands such as:
ffmpeg -i big_buck_bunny_1080p_h264.mov
-vf "select='gt(scene,0.4)',scale=320:-1,setpts=N/TB"
-frames:v 5 -y out.gif
Also, to avoid odd loop delays, the N-1 delay is duplicated for the last
frame.
2013-04-19 12:02:19 +02:00
Anton Khirnov
5e83d9aced
h264: fully support cropping.
...
Based on a patch by Vittorio Giovara <vittorio.giovara@gmail.com >
Fixes Bug 378.
2013-04-19 09:28:08 +02:00
Anton Khirnov
a7f46586bf
ff_get_buffer(): allocate the frame for max(coded,display) dimensions
...
Needed e.g. for h264 cropping to work properly.
2013-04-19 09:26:53 +02:00
Michael Niedermayer
505642f182
mp3dec: fallback to generic seeking when a TOC is not present
...
Fixes seeking without a Xing/Info header.
CC: libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-04-19 09:26:34 +02:00
Paul B Mahol
b63f7b3ac7
lavfi/afade: use AV_OPT_TYPE_DURATION
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-19 00:56:55 +00:00
Clément Bœsch
7e57adb464
lavf/gif: fix timing.
...
pkt->duration can not be used since the values are only based on frame
rate.
2013-04-19 02:15:57 +02:00
Clément Bœsch
13478b270a
gif: use only one graphic control extension block per image.
...
The encoder now doesn't produce any extra graphic control extension
block anymore. Only the image is encoded, and the muxer writing
its own GCE containing notably the timing information now includes the
optional palette transmitted through packet side data.
This commit avoid setting clashes between the two GCE, and reduce the
size of the generated file with pal8 output.
2013-04-19 02:10:59 +02:00
Clément Bœsch
7b80b3cef0
lavc/utils: merge side data after video encode.
...
This allows encoders to communicate side data to the muxers.
2013-04-19 02:10:12 +02:00
Clément Bœsch
3d786591b8
fate/gif: create meaningful gif encoding tests.
2013-04-19 02:05:01 +02:00
Marton Balint
007989c7a2
mxfdec: fix return variable type for avio_seek
...
Signed-off-by: Marton Balint <cus@passwd.hu >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 01:29:35 +02:00
Reimar Döffinger
a39cd8766f
Fix multithreaded MPEG-4 decoding.
...
Regression since c10d498bfd .
Unfortunately ff_thread_get_format can only be called from
a separate decode thread, running it during init will fail.
Fixes for that are welcome, for now just revert back to
calling avctx->get_format directly, which is correct
but having to decide on a case-by-case basis which approach
to use is a bit messy.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-04-19 01:26:54 +02:00
Michael Niedermayer
7254afdf1c
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
ffmpeg: make -aspect work with -vcodec copy.
lavfi/vf_aspect: improve compatibility of parsing.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-19 01:02:21 +02:00
Michael Niedermayer
020c287f5e
avformat: Dont stop probing before the whole id3 tag is read
...
When a file appears to start with a id3 tag and appears to
also be something else, then try to increase the probe buffer
size if its below its limit.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 23:48:32 +02:00
Stefano Sabatini
c6a43a7244
lavfi/mptestsrc: fix invalid access in case of negative linesize
...
In particular, fix crash with:
ffplay -f lavfi mptestsrc,vflip
2013-04-18 23:47:44 +02:00
Clément Bœsch
7c1a002c78
subtitles: introduce ASS codec id and use it.
...
Currently, we have a AV_CODEC_ID_SSA, which matches the way the ASS/SSA
markup is muxed in a standalone .ass/.ssa file. This means the AVPacket
data starts with a "Dialogue:" string, followed by a timing information
(start and end of the event as string) and a trailing CRLF after each
line. One packet can contain several lines. We'll refer to this layout
as "SSA" or "SSA lines".
In matroska, this markup is not stored as such: it has no "Dialogue:"
prefix, it contains a ReadOrder field, the timing information is not in
the payload, and it doesn't contain the trailing CRLF. See [1] for more
info. We'll refer to this layout as "ASS".
Since we have only one common codec for both formats, the matroska
demuxer is constructing an AVPacket following the "SSA lines" format.
This causes several problems, so it was decided to change this into
clean ASS packets.
Some insight about what is changed or unchanged in this commit:
CODECS
------
- the decoding process still writes "SSA lines" markup inside the ass
fields of the subtitles rectangles (sub->rects[n]->ass), which is
still the current common way of representing decoded subtitles
markup. It is meant to change later.
- new ASS codec id: AV_CODEC_ID_ASS (which is different from the
legacy AV_CODEC_ID_SSA)
- lavc/assdec: the "ass" decoder is renamed into "ssa" (instead of
"ass") for consistency with the codec id and allows to add a real
ass decoder. This ass decoder receives clean ASS lines (so it starts
with a ReadOrder, is followed by the Layer, etc). We make sure this
is decoded properly in a new ass-line rectangle of the decoded
subtitles (the ssa decoder OTOH is doing a simple straightforward
copy). Using the packet timing instead of data string makes sure the
ass-line now contains the appropriate timing.
- lavc/assenc: just like the ass decoder, the "ssa" encoder is renamed
into "ssa" (instead of "ass") for consistency with the codec id, and
allows to add a real "ass" encoder.
One important thing about this encoder is that it only supports one
ass rectangle: we could have put several dialogue events in the
AVPacket (separated by a \0 for instance) but this would have cause
trouble for the muxer which needs not only the start time, but also
the duration: typically, you have merged events with the same start
time (stored in the AVPacket->pts) but a different duration. At the
moment, only the matroska do the merge with the SSA-line codec.
We will need to make sure all the decoders in the future can't add
more than one rectangle (and only one Dialogue line in it
obviously).
FORMATS
-------
- lavf/assenc: the .ass/.ssa muxer can take both SSA and ASS packets.
In the case of ASS packets as input, it adds the timing based on the
AVPacket pts and duration, and mux it with "Dialogue:", trailing
CRLF, etc.
- lavf/assdec: unchanged; it currently still only outputs SSA-lines
packets.
- lavf/mkv: the demuxer can now output ASS packets without the need of
any "SSA-lines" reconstruction hack. It will become the default at
next libavformat bump, and the SSA support will be dropped from the
demuxer. The muxer can take ASS packets since it's muxed normally,
and still supports the old SSA packets. All the SSA support and
hacks in Matroska code will be dropped at next lavf bump.
[1]: http://www.matroska.org/technical/specs/subtitles/ssa.html
2013-04-18 23:23:59 +02:00
Nicolas George
b1cc12d0e3
ffmpeg: make -aspect work with -vcodec copy.
2013-04-18 22:59:54 +02:00
Nicolas George
b42827ffd9
lavfi/vf_aspect: improve compatibility of parsing.
...
Try to accept both the old "num:den" and the new "num/den"
syntax. Fix "aspect=2" being ignored due to a missing den.
Also remove a duplicated #include.
2013-04-18 20:51:55 +02:00
Michael Niedermayer
5b9675b5ac
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
examples/filtering_audio: fix frame leak.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 20:15:47 +02:00
Michael Niedermayer
23daee0dcc
avcodec/mpegvideo_motion: Check P field references
...
If a reference is unavailable use a field from the current
picture
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 20:13:22 +02:00
Michael Niedermayer
4c8ce750ab
svq3: use memmove to avoid overlap in memcpy.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 17:56:45 +02:00
Paul B Mahol
212960eea4
colorchannelmixer filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-18 15:31:35 +00:00
Paul B Mahol
449cdd547b
colorbalance filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-18 15:30:10 +00:00
Nicolas George
300ca0763b
examples/filtering_audio: fix frame leak.
...
The frame is not used after being added to the filter
graph, there is no need to keep the reference.
2013-04-18 17:03:01 +02:00
Paul B Mahol
3e9c0217fd
lavu: add av_clipd_c
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-18 14:38:21 +00:00
Michael Niedermayer
5ae484e350
evrcdec: use memmove() instead of memcpy() when regions can overlap.
...
This occurs also with valid files.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 16:20:49 +02:00
Clément Bœsch
90a56ebbe5
lavc/gif: avoid encoding 0x0 images.
...
It seems browsers don't like it very much.
2013-04-18 15:30:02 +02:00
Clément Bœsch
9db1c6455e
lavf/gif: support only GIF codec.
2013-04-18 13:53:47 +02:00
Clément Bœsch
01367b0fca
lavf/gif: merge gif_write_{packet,video}.
...
Avoid a pointless split.
2013-04-18 13:42:26 +02:00
Clément Bœsch
b7a3f14360
lavf/gif: trim unnecessarily long netscape ext code.
...
Extension description comments are now placed along the avio calls, the
always defined macro removed, and the always true loop_count check as
well (loop option is bound to 0-65535).
2013-04-18 13:42:14 +02:00
Clément Bœsch
0a0e6877ff
lavf/gif: remove unused fields.
2013-04-18 13:40:45 +02:00
Clément Bœsch
28f9858c91
lavf/gif: simplify streams type checking.
2013-04-18 13:40:45 +02:00
Michael Niedermayer
978e373499
cmdutils: make the "-help filter=" output less confusing
...
Example:
Filter overlay
Overlay a video source on top of the input.
Inputs:
#0 : main (video)
#1 : overlay (video)
Outputs:
#0 : default (video)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 13:03:00 +02:00
Carl Eugen Hoyos
99818ac4d3
Fix libswscale compilation with --disable-optimizations on x86-32.
...
Fixes ticket #2477 .
2013-04-18 12:47:16 +02:00
Michael Niedermayer
ee94362c8a
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Fix pgc compilation with --disable-optimizations.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 03:00:31 +02:00
Michael Niedermayer
6998af4a40
avcodec/bitstream: check codes in ff_init_vlc_sparse()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 02:57:03 +02:00
Michael Niedermayer
fb3e3808ae
avcodec/bitstream: Check bits in ff_init_vlc_sparse()
...
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 02:47:50 +02:00
Carl Eugen Hoyos
2ade23a7ad
Fix pgc compilation with --disable-optimizations.
...
-O1 disables dead code elimination on pgc, use -O instead.
2013-04-18 02:20:04 +02:00
Michael Niedermayer
bdfe60c769
xan: Check for overlapping copies
...
No valid samples i found use such copies
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-18 01:55:42 +02:00
Clément Bœsch
32cc7ba8a7
fate: hot fix for gif failure.
2013-04-18 01:41:23 +02:00
Clément Bœsch
b6408ffc45
lavf/gif: fix assert in avio API after dfb3231.
2013-04-18 01:13:17 +02:00
Clément Bœsch
91a5b4d480
gif: remove outdated comments.
2013-04-18 00:43:38 +02:00
Clément Bœsch
8694e87127
lavc/gif: return more meaningful error code.
2013-04-18 00:24:25 +02:00
Clément Bœsch
71411b69a2
lavc/gif: merge two allocation checks.
2013-04-18 00:24:25 +02:00
Clément Bœsch
dfb323109c
lavf/gif: simplify palette writing.
2013-04-18 00:24:25 +02:00
Clément Bœsch
7b972d82b6
gif: reindent after previous commits.
2013-04-18 00:24:25 +02:00
Clément Bœsch
e065e8a4ea
lavc/gif: crop image when possible.
...
Increase compression when pictures are similar.
-f lavfi testsrc=300: 61M -> 21M
2013-04-18 00:24:25 +02:00
Clément Bœsch
635389ccfa
Cleanse GIF muxer and encoder.
...
This commit removes the badly duplicated code between the encoder and
the muxer. That may sound surprising, but the encoder is now responsible
from the encoding of the picture when muxing to a .gif file. It also
does not require anymore a manual user intervention such as a -pix_fmt
rgb24 to work properly. To summarize, output gif are now easier to
generate, code is saner and simpler, and files are smaller (thanks to
the lzw encoding which was unused so far with the default .gif output).
We can certainly make things even better, but this is the first step.
FATE is updated because of the output being produced by the encoder and
not the muxer (no lzw in the muxer), and in the seek test only the size
mismatches.
Fixes Ticket #2262
2013-04-18 00:24:25 +02:00
Stefano Sabatini
1efcab02b6
lavfi/aspect: apply hot fix for NUM:DEN syntax
2013-04-17 23:37:22 +02:00
Stefano Sabatini
f04ec05f0e
lavfi/setdar: fix num/den swapping in log message
2013-04-17 23:37:22 +02:00
Stefano Sabatini
f212c2380a
lavfi/setsar: remove spurious #if FF_API_OLD_FILTER_OPTS around init field
2013-04-17 23:37:05 +02:00
Michael Niedermayer
c25224737c
avutil/intfloat_readwrite: include common.h for isinf()
...
Solution based on rational.c, which uses isinf() too
This should fix compilation with msvc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 23:22:22 +02:00
Stefano Sabatini
e252460c9b
lavfi/mptestsrc: remove unused size field
2013-04-17 22:40:08 +02:00
Stefano Sabatini
db84088e99
lavfi/mptestsrc: use AV_OPT_TYPE_DURATION
...
Simplify.
2013-04-17 22:40:02 +02:00
Stefano Sabatini
bbf003e949
lavfi/mptestsrc: reindent option constants
2013-04-17 22:39:51 +02:00
Stefano Sabatini
3933963d7b
lavfi/testsrc: fix style
2013-04-17 22:39:44 +02:00
Stefano Sabatini
7ab6312610
lavfi/testsrc: use int in place of unsigned
...
Avoid implicit int->unsigned conversion, causing invalid access in case
of negative linesize.
Fix crash with:
ffplay -f lavfi testsrc,vflip
2013-04-17 22:39:34 +02:00
Stefano Sabatini
5229b78371
lavfi/aspect: extend verbose feedback, show old SAR and DAR values
2013-04-17 22:39:26 +02:00
Stefano Sabatini
fe5ca6b913
lavfi/aspect: restore ratio parsing
...
Allow to set a ratio as "a:b" (with proper escaping), and correctly
honour the max parameter.
2013-04-17 22:39:20 +02:00
Stefano Sabatini
8bfd878151
lavfi/select: factorize options definition between select and aselect
2013-04-17 22:39:04 +02:00
Stefano Sabatini
dcc1b32361
lavfi/select: add support for dynamic number of outputs
2013-04-17 22:34:05 +02:00
Stefano Sabatini
565c50ac7b
lavfi/select: make select_frame() return void
...
Set select->select internally to the function, avoid lossy double->int
conversion causing spurious frame drop (e.g. in case the evaluation
result is positive and less than 1).
2013-04-17 22:28:56 +02:00
Michael Niedermayer
0b3bd78714
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi/buffersrc: fix failed requests count.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 21:32:13 +02:00
Michael Niedermayer
3220083c11
ra144: Try to fix int16/uint16 warnings from pgc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 21:31:11 +02:00
Michael Niedermayer
cc6f848dba
avutil/intfloat_readwrite: avoid comparission with INFINITY, use isinf()
...
Should fix pgc warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 21:25:41 +02:00
Michael Niedermayer
45741dd81f
vf_lut: fix simplification / off by 1 error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 21:25:41 +02:00
Paul B Mahol
1de7dcb457
lavfi/stereo3d: fix interleave row output modes
...
Linesizes that did not match output width produced several artifacts.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-17 17:34:17 +00:00
Clément Bœsch
7ee2daed9b
lavfi/interlace: remove exec permissions.
2013-04-17 19:27:33 +02:00
Clément Bœsch
4c6fa4ef45
lavfi/lut: simplify nested component stepping.
2013-04-17 19:18:08 +02:00
Clément Bœsch
45f5bf917b
lavfi/lut: reindent after previous commit.
2013-04-17 19:18:08 +02:00
Clément Bœsch
3db3b278f2
lavfi/lut: add direct path.
2013-04-17 19:18:08 +02:00
Michael Niedermayer
7f2253078d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
indeo3: check motion vectors.
Conflicts:
libavcodec/indeo3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 17:30:07 +02:00
Paul B Mahol
716588188d
lavfi/stereo3d: check input width & height
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-17 15:16:48 +00:00
Michael Niedermayer
2787f7b188
Merge commit '34e6af9e204ca6bb18d8cf8ec68fe19b0e083e95'
...
* commit '34e6af9e204ca6bb18d8cf8ec68fe19b0e083e95':
indeo3: fix data size check
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 16:57:45 +02:00
Michael Niedermayer
4029a5ebc2
Merge commit '66531d634e75b834e89e4a6a0f7470ca018712a1'
...
* commit '66531d634e75b834e89e4a6a0f7470ca018712a1':
indeo3: switch parsing the header to bytestream2
Conflicts:
libavcodec/indeo3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 16:50:34 +02:00
Michael Niedermayer
e5dc5095f9
Merge commit '01d376f598fe95478036f5d1e3e5e14ffe32d4bf'
...
* commit '01d376f598fe95478036f5d1e3e5e14ffe32d4bf':
rv10: check that extradata is large enough
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 16:20:49 +02:00
Michael Niedermayer
4916e220a6
Merge commit 'bac8d38c0a716c8bdfdecf0ae545015c68f5df36'
...
* commit 'bac8d38c0a716c8bdfdecf0ae545015c68f5df36':
rv10: return meaningful error codes.
Conflicts:
libavcodec/rv10.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 16:10:23 +02:00
Michael Niedermayer
8cff853b23
Merge commit '69f6f03cd16a09e4e848b4e82bae4993bc361cd0'
...
* commit '69f6f03cd16a09e4e848b4e82bae4993bc361cd0':
rv10: cosmetics, reformat
qdm2: check that the FFT size is a power of 2
Conflicts:
libavcodec/rv10.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 16:04:38 +02:00
Michael Niedermayer
0a946599f8
Merge commit 'ecff5acb5a738fcb4f9e206a12070dac4bf259b3'
...
* commit 'ecff5acb5a738fcb4f9e206a12070dac4bf259b3':
svq1dec: clip motion vectors to the frame size.
Conflicts:
libavcodec/svq1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 15:52:10 +02:00
Michael Niedermayer
251f283b9d
Merge commit 'b1bb8fb860b47e90dd67f0c5740698128fc82dcc'
...
* commit 'b1bb8fb860b47e90dd67f0c5740698128fc82dcc':
svq1dec: check that the reference frame has the same dimensions as the current one
Conflicts:
libavcodec/svq1dec.c
See: 3b57bb478f
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 15:40:47 +02:00
Michael Niedermayer
f60ba6c524
Merge commit 'c0771a1ac6da697f86e3b10c8fe5dbc2ee92e347'
...
* commit 'c0771a1ac6da697f86e3b10c8fe5dbc2ee92e347':
af_channelmap: cosmetics, use an extra local variable to shorten the code
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 15:13:14 +02:00
Michael Niedermayer
74e86d3147
Merge commit 'aafed1175df76603e94c99a7748968780d6548d2'
...
* commit 'aafed1175df76603e94c99a7748968780d6548d2':
af_channelmap: sanity check input channel indices in all cases.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 15:04:22 +02:00
Paul B Mahol
b725202546
lavfi/stereo3d: fix output width for sbsl/sbs2l
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-17 12:21:47 +00:00
Paul B Mahol
f0a149e538
lavfi: remove bad inverse telecine filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-17 11:51:16 +00:00
Anton Khirnov
a0a872d073
indeo3: check motion vectors.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-04-17 12:10:42 +02:00
Anton Khirnov
34e6af9e20
indeo3: fix data size check
...
The data offsets are relative to the bistream header, which is 16 bytes
after the start of the data.
Fixes invalid reads with corrupted files.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-04-17 12:09:36 +02:00
Anton Khirnov
66531d634e
indeo3: switch parsing the header to bytestream2
...
Also add an additional sanity check to the alt_quant table.
Fixes invalid reads with corrupted files.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-04-17 12:08:49 +02:00
Clément Bœsch
a5ebd2d987
cmdutils: slightly better -filters output.
2013-04-17 11:57:37 +02:00
Nicolas George
e3e6aa7afb
lavfi/buffersrc: fix failed requests count.
...
The line was lost during the AVFrame transition.
It causes programs relying on the failed requests count,
especially ffmpeg, to add frames to the wrong input.
Fix trac ticket #2467 .
2013-04-17 11:32:03 +02:00
Pavel Koshevoy
e5644313c5
examples/filtering_audio: get rid of AVABufferSinkParams
...
AVABufferSinkParams are ignored by avfilter_graph_create_filter,
therefore the example is misleading. Use av_opt_set_int_list to
configure abuffersink directly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 11:11:57 +02:00
Michael Niedermayer
f2619cbd61
examples/filtering_audio: enable ref counted frames
...
Fixes accessing freed memory
Signe-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 11:11:57 +02:00
Clément Bœsch
9db6aaeb2c
ffplay: use format title metadata to set window caption.
2013-04-17 11:08:49 +02:00
Anton Khirnov
01d376f598
rv10: check that extradata is large enough
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-04-17 11:01:52 +02:00
Anton Khirnov
bac8d38c0a
rv10: return meaningful error codes.
...
Also improve some error messages.
2013-04-17 11:01:17 +02:00
Anton Khirnov
69f6f03cd1
rv10: cosmetics, reformat
2013-04-17 10:58:29 +02:00
Anton Khirnov
34f87a5853
qdm2: check that the FFT size is a power of 2
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-04-17 10:56:11 +02:00
Anton Khirnov
ecff5acb5a
svq1dec: clip motion vectors to the frame size.
...
Fixes invalid reads for corrupted files.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-04-17 10:55:51 +02:00
Anton Khirnov
b1bb8fb860
svq1dec: check that the reference frame has the same dimensions as the current one
...
They can be different if the last keyframe failed to decode correctly.
Fixes possible invalid reads in such a case.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-04-17 10:55:30 +02:00
Anton Khirnov
c0771a1ac6
af_channelmap: cosmetics, use an extra local variable to shorten the code
2013-04-17 08:37:59 +02:00
Anton Khirnov
aafed1175d
af_channelmap: sanity check input channel indices in all cases.
...
Fixes invalid reads from non-existing channels.
CC:libav-stable@libav.org
2013-04-17 08:37:59 +02:00
Paul B Mahol
b8edf91657
lavfi/histeq: fix out of array write
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-17 00:24:16 +00:00
Michael Niedermayer
161dee4321
rmdec: dont return uninitialized data
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 02:16:58 +02:00
Carl Eugen Hoyos
fe1de12faf
Remove two anonymous arrays.
...
Fixes compilation of pngenc.c and flvdec.c with PGC 13.4-0.
2013-04-17 00:37:05 +02:00
Carl Eugen Hoyos
9802f56684
ass_split: Do not use the function name as a parameter name in a declaration.
...
Fixes compilation of srtenc.o with PGC 13.4-0.
2013-04-17 00:35:00 +02:00
Michael Niedermayer
92218aad00
butterflies_float: replace 2 lea by 2 add
...
adds are simpler instructions and should be faster or equally fast
on all cpus
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 00:10:06 +02:00
Christophe Gisquet
1a4007964c
x86: float dsp: butterflies_float SSE
...
97c -> 49c
Some codecs could benefit from more unrolling, but AAC doesn't.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-17 00:03:25 +02:00
Paul B Mahol
295ce83e2f
lavfi/il: remove pointless store
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 21:45:34 +00:00
Paul B Mahol
9bd1b1c1e7
lavfi/earwax: remove pointless store
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 21:32:26 +00:00
Michael Niedermayer
0ea97a1c5b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
cmdutils: Fix build with lavfi disabled
flvenc: do not mux more than one stream per type
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 23:23:16 +02:00
Paul B Mahol
c1fe41ed47
libaacpluc: remove unused code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 21:13:51 +00:00
Paul B Mahol
83253431b7
lavfi/stereo3d: remove pointless store
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 21:07:21 +00:00
Paul B Mahol
9429408cc1
sgirledec: remove unused headers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 20:46:45 +00:00
Paul B Mahol
b05d8d4cf4
lavc: avcodec_open2(): pass context to av_log()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 20:46:34 +00:00
Stefano Sabatini
dc11acdf2d
doc/filters: fix sentence in setsar/setdar docs
2013-04-16 22:15:40 +02:00
Stefano Sabatini
30926a1f1f
lavfi/aspect: fix weird copyright notice
2013-04-16 22:15:34 +02:00
Stefano Sabatini
ba32afd70e
lavfi/split: use AVFILTER_DEFINE_CLASS to define class
2013-04-16 22:15:24 +02:00
Anton Khirnov
7f1fd97636
cmdutils: Fix build with lavfi disabled
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-16 21:44:26 +02:00
Michael Niedermayer
bec402b502
mjpegdec: fix overlapping memcpy with upscale_v
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 20:15:24 +02:00
Paul B Mahol
6575539176
libaacplus: support for float sample format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 16:14:05 +00:00
Michael Niedermayer
13bbfb8fda
sws: Skip ff_yuv2rgb_c_init_tables() when the output is YUV
...
Fixes "20bpp not supported by yuv2rgb" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 17:50:43 +02:00
Michael Niedermayer
6b657ac788
avcodec/c93: Check for block overlap.
...
Fixes overlapping memcpy()
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 17:04:16 +02:00
Michael Niedermayer
e701cd96c2
avutil/avutil_version: Run checks just once
...
This ensures that applications that call avutil_version() often
would not run the checls every time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 17:04:16 +02:00
Paul B Mahol
65efa1dbd9
lavfi/interlace: remove now unused av_opt_free() call
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 14:32:49 +00:00
Michael Niedermayer
2d8a3cf4c1
avutil/pixdesc: check for component overlap
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 15:10:13 +02:00
Michael Niedermayer
f807d6d200
avutil/pixdesc: check step/depth against each other
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 14:36:49 +02:00
Michael Niedermayer
20e99a9c10
avutil/pixdesc: support for self-checking the descriptors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 14:27:14 +02:00
Michael Niedermayer
1314f534e5
avutil/pixdesc: fix rgb0 descriptors
...
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 14:27:14 +02:00
Paul B Mahol
0b06bd1c7a
libaacplus: set supported profiles
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 10:20:17 +00:00
Paul B Mahol
82082695de
libaacplus: set supported channel_layouts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 10:20:17 +00:00
Michael Niedermayer
f05cfb654f
sws/fill_rgb2yuv_table: use ROUNDED_DIV
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 11:33:40 +02:00
Michael Niedermayer
bcf643486f
sws/fill_rgb2yuv_table: increase precission to 32bit
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 11:33:40 +02:00
Michael Niedermayer
2fa11a94a3
sws/fill_rgb2yuv_table: avoid 2 divisions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 11:13:20 +02:00
Paul B Mahol
97b2865aa2
libaacplus: remove FF_API_OLD_ENCODE_AUDIO cruft
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-16 08:44:56 +00:00
Rafaël Carré
5b27c307e7
flvenc: do not mux more than one stream per type
...
FLV does not support multiple audio or video streams.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-04-16 10:31:38 +02:00
Michael Niedermayer
003bf33747
sws: fix alignment of rgb2yuv
...
This should fix mingw32 fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 05:59:47 +02:00
Michael Niedermayer
7e20f80d2c
fate: fix histogram test, try #2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 03:52:51 +02:00
Michael Niedermayer
7ed691e2db
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: Set the bitexact flag for vp3/vp5/vp6 tests
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 01:02:14 +02:00
Michael Niedermayer
d98c3adef2
Merge commit '015821229f96bf7e677f2a711a58dbea3009f574'
...
* commit '015821229f96bf7e677f2a711a58dbea3009f574':
vp3: Use full transpose for all IDCTs
Conflicts:
libavcodec/vp3.c
libavcodec/vp3dsp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 00:56:15 +02:00
Michael Niedermayer
05bea44393
Merge commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9'
...
* commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9':
vp3: bfin: Transpose the IDCTs
Conflicts:
libavcodec/bfin/vp3_bfin.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 00:50:33 +02:00
Michael Niedermayer
d5c31403aa
Merge commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3'
...
* commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3':
x86: Move constants to the only place where they are used
Conflicts:
libavcodec/x86/vp3dsp.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 00:44:20 +02:00
Michael Niedermayer
398b9ed28f
Merge commit 'c0dcf89887f7fbdd7a8502bc7c715f50157562cb'
...
* commit 'c0dcf89887f7fbdd7a8502bc7c715f50157562cb':
bfin: Match DEFUN_END macros to the right functions
Conflicts:
libavcodec/bfin/pixels_bfin.S
This bug seems not to have existed in our bfin code, thus
no change in this merge
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-16 00:40:57 +02:00
Stefano Sabatini
41985cb0ab
doc/filters: merge asplit and split documentation
...
Also move them to multimedia filters section.
2013-04-15 23:40:05 +02:00
Stefano Sabatini
3453b0196f
lavfi/split: fix minor documentation issues
...
Use verbal form to describe "outputs" options, and mention it in the
manual.
2013-04-15 23:35:49 +02:00
Clément Bœsch
de656ea91e
lavfi/drawtext: make options array more readable.
2013-04-15 21:49:18 +02:00
Michael Niedermayer
3950236332
sws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 21:44:50 +02:00
Michael Niedermayer
7a2a421d73
vf_histogram: avoid floats, unbreak fate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 21:44:50 +02:00
Clément Bœsch
34186832de
doc/filters: add a curves example with psfile.
2013-04-15 21:18:17 +02:00
Michael Niedermayer
6e29f39252
swr/rematrix: use av_calloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 20:31:06 +02:00
Michael Niedermayer
8a11114a79
pca: use av_calloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 20:31:06 +02:00
Michael Niedermayer
003d497d31
pca: use sizeof(variable) instead of sizeos(TYPE)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 20:31:06 +02:00
Paul B Mahol
a4f03f082b
FATE: add a test for the histogram filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-15 16:40:26 +00:00
Paul B Mahol
9e6dd24fa1
doc/filters: move aphaser to right(audio) chapter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-15 16:23:08 +00:00
Paul B Mahol
8281791d07
lavfi/histogram: remove pointless store
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-15 16:07:51 +00:00
Paul B Mahol
7770975979
lavfi/noise: remove pointless store
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-15 15:57:31 +00:00
Clément Bœsch
9ecdd76679
lavfi/curves: fix memleak after master component dition.
2013-04-15 18:04:35 +02:00
Michael Niedermayer
aba678ab9d
deshake: fix off by 2 error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 16:23:28 +02:00
Michael Niedermayer
3d8afb23bc
vf_deshake: Fix crash with r*=64
...
Replace literal numbers by named R_MAX and correct their value
Fixes half of Ticket2443
Based on patch by: João Bernardo <jbvsmo@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 14:28:19 +02:00
Martin Storsjö
6add6272da
fate: Set the bitexact flag for vp3/vp5/vp6 tests
...
This is required since there are bit-inexact implementations
of the vp3 idct (for bfin).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-15 14:19:16 +03:00
Michael Niedermayer
1557f34b10
dfa: support decoding version=1.0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 12:13:41 +02:00
Clément Bœsch
1cb02d4fbc
lavfi/curves: add support for Photoshop curves files (.acv).
2013-04-15 11:35:46 +02:00
Clément Bœsch
99dac39339
lavfi/curves: add support for master component.
2013-04-15 11:35:06 +02:00
Ronald S. Bultje
015821229f
vp3: Use full transpose for all IDCTs
...
This way, the special IDCT permutations are no longer needed. This
is similar to how H264 does it, and removes the dsputil dependency
imposed by the scantable code.
Also remove the unused type == 0 cases from the plain C version
of the idct.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-15 12:32:05 +03:00
Martin Storsjö
5941978e71
vp3: bfin: Transpose the IDCTs
...
While this change isn't bitexact, the IDCTs weren't bitexact to
start with either.
This simplifies decoupling vp3 from dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-15 12:31:52 +03:00
Ronald S. Bultje
c46819f229
x86: Move constants to the only place where they are used
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-15 12:17:39 +03:00
Martin Storsjö
c0dcf89887
bfin: Match DEFUN_END macros to the right functions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-15 12:13:26 +03:00
Michael Niedermayer
357da7ed42
sws: remove forgotten FAST_BGR2YV12 define
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 11:04:52 +02:00
Reimar Döffinger
c10d498bfd
Add thread-safe wrapper for get_format().
...
Just like get_buffer, get_format should not be called from a different
thread if thread_safe_callbacks is not set.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-04-15 09:04:07 +02:00
Reimar Döffinger
8067f55edf
Fix compilation on ARM with android gcc 4.7
...
With the current code it fails due to running out
of registers.
So code the store offsets manually into the assembler
instead.
Passes "make fate-dts".
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-04-15 09:04:07 +02:00
Michael Niedermayer
920dd84bf1
sws/x86: remove 8bit rgb2yuv coefficient case for rgb24toyv12 special converter
...
This simplifies the code and improves quality at the expense of a slight
slowdown of a rarely used function (no fate test uses it).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 03:19:52 +02:00
Michael Niedermayer
a37fd7f957
sws: Update rgb24toyv12_c() to user supplied rgb2yuv tables
...
As the function arguments change, we also change the function name
to ensure that anyone using this (non public) function doesnt end
with hard to debug crashes. The new name also has a proper prefix.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 03:08:37 +02:00
Michael Niedermayer
8e27c6ebbb
sws/"rgb2rgb": drop RGB2YUV_SHIFT
...
Fixes a warning and increases the precission the coefficients
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 02:27:14 +02:00
Michael Niedermayer
2a5d1cb2d9
sws/x86: update rgba->yuv to use user supplied table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 01:31:01 +02:00
Michael Niedermayer
17ad06c753
sws/x86: update rgb/bgr->yuv code to use provided coefficient table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 01:31:01 +02:00
Michael Niedermayer
9aafb95ae2
sws: init input_rgb2yuv_table depending on yuv colorspace
...
For the default table we keep using the exact previous
coefficients, this way individual functions can be updated seperately
without breaking fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 01:30:15 +02:00
Michael Niedermayer
3662e49dde
sws: move RGB2YUV_SHIFT to swscale_internal.h
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-15 01:23:29 +02:00
Clément Bœsch
e66a10689b
lavf/libquvi: fix error reporting.
2013-04-15 01:18:11 +02:00
Clément Bœsch
da1bb21c13
lavfi/aphaser: silence uninitialized variable warnings.
2013-04-15 01:12:26 +02:00
Paul B Mahol
977ee8afd6
lavfi/negate: stop calling lut_init() as that function does nothing now
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-14 22:22:16 +00:00
Paul B Mahol
6ffe911302
lavfi/testsrc: unbreak smptebars only build
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-14 21:13:39 +00:00
Clément Bœsch
8de9bb6e5e
lavf: remove some flushing in write_packet muxers callbacks.
...
Since 4f112a8e3 , this is not necessary anymore. Also, it allows to
actually disable the flushing.
2013-04-14 21:16:53 +02:00
Stefano Sabatini
bc1847addf
doc/filters: remove mention to telecine mp filter
...
It was removed in 32a7b858c9 .
2013-04-14 21:11:31 +02:00
Clément Bœsch
dfac37afd2
lavfi: add missing periods in filter descriptions.
2013-04-14 20:58:31 +02:00
Stefano Sabatini
f6c9a325b7
ffmpeg: show error message in case of av_buffersrc_add_frame_flags() failure
2013-04-14 20:30:37 +02:00
Stefano Sabatini
fba3a3bbfb
doc: document -opencl_options option in ff* tools manuals
2013-04-14 20:30:34 +02:00
Clément Bœsch
1e3104cd3c
Add avpriv_dsputil_init() and use it in lavfi where relevant.
...
dsputil_init() is deprecated and not meant to be exported.
ff_dsputil_init() is internal to libavcodec and thus can not be used.
avpriv_dsputil_init() is the version shared between libraries.
This commit fixes 3 unjustified libavfilter deprecated warnings.
2013-04-14 20:15:54 +02:00
Michael Niedermayer
d4956b0bfb
sws/input: replace hardcoded rgb2yuv coefficients by table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-14 20:04:55 +02:00
Michael Niedermayer
41ebb64511
swscale/output: fix alpha scale in the new functions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-14 16:57:09 +02:00
Michael Niedermayer
a4b5e45e2b
sws/output: add yuv2rgb_full_1_c_template()
...
7500->4500 cycles on sandybridge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-14 16:57:09 +02:00
Clément Bœsch
458d956b09
doc/filters: move mpdecimate doc to a more appropriate position.
2013-04-14 15:59:37 +02:00
Clément Bœsch
7a92ec93c6
lavfi: port IVTC filters from vapoursynth.
2013-04-14 15:59:37 +02:00
Clément Bœsch
ab0ad6eccf
lavfi: rename decimate to mpdecimate.
...
The next commit will introduce a proper decimation filter to be used
along with the field matching filter. To avoid confusion with this
filter which has currently a very limited usage (and will not work
properly with the fieldmatching filter), the new decimation filter will
take the decimate name, and this filter is renamed to mpdecimate.
2013-04-14 15:59:37 +02:00
Michael Niedermayer
9204a7dc8e
sws/output: add +yuv2rgb_full_2_c_template()
...
8100 cycles -> 5800 cycles on sandybridge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-14 15:32:11 +02:00
Michael Niedermayer
662664551c
sws/output: factor yuv2rgb_write_full() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-14 13:29:58 +02:00
Clément Bœsch
f359be96ca
lavfi/smptehdbars: fix priv_class pointer.
...
Fix Ticket2468.
2013-04-14 10:32:35 +02:00
Clément Bœsch
d9be6e69cf
lavfi/testsrc: grammar fix in comment after 03e2ec32.
2013-04-14 03:27:48 +02:00
Paul B Mahol
03e2ec32b8
lavfi: add smptehdbars source
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-14 00:25:09 +00:00
Paul B Mahol
2952ed2b60
doc/filters: move telecine from audio to video filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-13 23:17:38 +00:00
Clément Bœsch
28ac8426e6
lavu/dict: cosmetic realign.
2013-04-13 23:48:26 +02:00
James Almer
572e38a513
log: Remove redundant va_list creation from missing_feature_sample()
...
avpriv_request_sample() and avpriv_report_missing_feature() were printing bogus values for the extra arguments.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 21:14:34 +02:00
Michael Niedermayer
38e66af43b
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavu/opt: check int lists length for overflow.
lavu: add parens to macro argument.
lavu: add av_pure to av_int_list_length_for_size.
lavfi/buffersink: factor checks for lists sizes.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 20:38:31 +02:00
Michael Niedermayer
536baf6cc5
oggenc: Fix pref_duration AVOption type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 20:30:03 +02:00
Nicolas George
9e8e03de38
lavu/opt: check int lists length for overflow.
...
Also add parens on macro arguments.
2013-04-13 20:19:24 +02:00
Nicolas George
2a1d7ea5f8
lavu: add parens to macro argument.
2013-04-13 20:19:24 +02:00
Nicolas George
76c8060654
lavu: add av_pure to av_int_list_length_for_size.
2013-04-13 20:19:24 +02:00
Nicolas George
6fbb21d685
lavfi/buffersink: factor checks for lists sizes.
2013-04-13 20:19:24 +02:00
Michael Niedermayer
ded2f187a2
avcodec: fix ignorecrop AVOption offset
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 20:17:37 +02:00
Clément Bœsch
8137ea358c
doc/filters: use common options introduction string.
2013-04-13 20:09:22 +02:00
Clément Bœsch
2b44195fc9
cmdutils: print if filters are sources or sinks.
2013-04-13 19:48:10 +02:00
Clément Bœsch
73180f5b0e
lavfi: flag more dynamic i/o filters.
2013-04-13 19:43:17 +02:00
Hendrik Leppkes
423089e964
lavf/mxfdec: validate month/day before date formatting
...
Some implementations of strftime do not like invalid values for
month/day, so ensure it doesn't happen.
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 18:07:08 +02:00
Matthieu Bouron
c8b3644494
lavf/mxf: fix parsing of timestamps
...
Correct bit mask for month/day/hour/min/sec values.
For reference the timestamp format specified in S377M is as follow:
year (int16), month (uint8), day (uint8), hour (uint8), sec (uint8),
msec (uint8).
A value of 0 for every fields means timestamp "unknown".
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 17:26:16 +02:00
Hendrik Leppkes
8da2a3aba3
lavf/mxfdec: use more widely supported time format string
...
MSVC lacks support for %T and %F, but the standard specifies them
only as shorthands to the long variants.
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 16:45:56 +02:00
Hendrik Leppkes
cac309611c
lavf/mxf: fix parsing of the month from mxf timestamps
...
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 16:02:52 +02:00
Michael Niedermayer
9b672d4017
vf_mp: mp buffers are not compatible with the reference count system
...
We thus must copy each frame on the vf_mp output.
This fixes artifacts with "ffplay -threads 1 dnxhdconv.mov -vf mp=eq2=1:1"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 15:02:51 +02:00
Stefano Sabatini
87dd62e141
lavfi/testsrc: make use of AV_OPT_TYPE_DURATION
...
Simplify.
2013-04-13 14:09:16 +02:00
Clément Bœsch
dcea58502c
lavfi: drop now unused shorthand field from AVFilter.
2013-04-13 00:45:30 +02:00
highgod0401
8f99494c1c
avutil/opencl: merge opencl env to opencl context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 23:54:40 +02:00
Michael Niedermayer
34b78ad04f
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: dsputil: Move some ifdefs to avoid unused variable warnings
Conflicts:
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 23:38:41 +02:00
Michael Niedermayer
ed3680bc9b
Merge commit '2004c7c8f763280ff3ba675ea21cf25396528fd3'
...
* commit '2004c7c8f763280ff3ba675ea21cf25396528fd3':
x86: dsputil: cosmetics: Remove two pointless variable indirections
Conflicts:
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 23:28:23 +02:00
Clément Bœsch
0bc34ef02e
doc/utils: use @code markup for opencl function names.
2013-04-12 23:10:59 +02:00
Michael Niedermayer
694fa0035a
Merge commit 'c51a3a5bd9a5b404176ff343ecadb80b2553b256'
...
* commit 'c51a3a5bd9a5b404176ff343ecadb80b2553b256':
x86: dsputil: Refactor some ff_{avg|put}_pixels function declarations
Conflicts:
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 22:36:31 +02:00
Michael Niedermayer
43bf4ee9a9
Merge commit 'e027032fc6a49db5a4ce12fc3e09ffb86ff20522'
...
* commit 'e027032fc6a49db5a4ce12fc3e09ffb86ff20522':
x86: dsputil: ff_h263_*_loop_filter declarations to a more suitable place
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 22:29:30 +02:00
Michael Niedermayer
52bda1d903
Merge commit 'a89c05500f68d94a0269e68bc522abfd420c5497'
...
* commit 'a89c05500f68d94a0269e68bc522abfd420c5497':
x86: h264qpel: int --> ptrdiff_t for some line_size parameters
Conflicts:
libavcodec/x86/qpelbase.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 22:22:27 +02:00
Paul B Mahol
a47288f6dc
lavfi/hue: add support for more alpha formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-12 19:46:19 +00:00
Michael Niedermayer
9b595e86e3
avdevice/lavfi: add error checking for av_opt_set_int_list()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 20:39:07 +02:00
Michael Niedermayer
e87c1cdbb5
ffplay: replace opaque/params for buffersinks
...
This fixes a regression caused by droping opaque.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 20:39:07 +02:00
Paul B Mahol
047a027d0b
lavfi/hue: copy alpha plane too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-12 18:32:46 +00:00
Clément Bœsch
72ad0d56a1
lavfi/hue: make do while (0) form meaningful.
2013-04-12 20:10:58 +02:00
Stefano Sabatini
9fa3b5b8a8
lavfi/crop: log pos in debug message
2013-04-12 19:16:28 +02:00
Stefano Sabatini
1d86fe6970
lavfi/crop: restore pos constant, and fix "t" variable misplacement in variable array
...
Fix evaluation of expressions containing the t variable.
2013-04-12 19:15:06 +02:00
Stefano Sabatini
9ae9ae10f9
doc/utils: apply misc fixes to OpenCL docs
2013-04-12 18:21:57 +02:00
Stefano Sabatini
949c8627b6
doc: merge syntax.texi, eval.texi and opencl.texi into utils.texi
2013-04-12 18:21:57 +02:00
Stefano Sabatini
b59aa00707
doc/libavutil: remove include of opencl.texi
...
This is inconsistent with the rest of the docs.
2013-04-12 18:21:57 +02:00
Michael Niedermayer
227b4458fb
vf_interlace: fix frame rate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 16:40:35 +02:00
Michael Niedermayer
ebbd4fd5f0
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
FATE: add a test for the interlace filter
lavfi: new interlace filter
Conflicts:
Changelog
configure
doc/filters.texi
libavfilter/Makefile
libavfilter/allfilters.c
tests/fate/filter.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 16:32:33 +02:00
Michael Niedermayer
7e68491367
Merge commit '921046008f5335601f9d76dc3a768eb5cd91e1b9'
...
* commit '921046008f5335601f9d76dc3a768eb5cd91e1b9':
cmdutils: allow -h filter=<name> to print information about a filter.
Conflicts:
cmdutils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 16:16:21 +02:00
Michael Niedermayer
608d86013a
Merge commit 'e19e8aeeaaff3d4bc8f6065764c93f0298782ac6'
...
* commit 'e19e8aeeaaff3d4bc8f6065764c93f0298782ac6':
avtools: move media_type_string() from avprobe to cmdutils.
Conflicts:
avprobe.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:56:20 +02:00
Michael Niedermayer
3dedcef8b8
avfilter: add missing AV_OPT_FLAG_FILTERING_PARAM
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:47:16 +02:00
Michael Niedermayer
1007de7033
asetpts: add AVOptions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:46:52 +02:00
Michael Niedermayer
292f68154b
avfilter: Filter options that are used for both video and audio should have both flags
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:45:28 +02:00
Michael Niedermayer
f81a8e89a1
Merge commit 'dc574658d15ad8f171dbdecbdce7197acf9424a0'
...
* commit 'dc574658d15ad8f171dbdecbdce7197acf9424a0':
avconv: print filter options in -h full output.
Conflicts:
ffmpeg_opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:33:37 +02:00
Michael Niedermayer
7b6c0bda9e
Merge commit 'bee2d75b66e2f02e0877796c01202299a4b56cfb'
...
* commit 'bee2d75b66e2f02e0877796c01202299a4b56cfb':
avconv: update to the new options syntax.
Conflicts:
ffmpeg_filter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:19:32 +02:00
Michael Niedermayer
9a91c67478
Merge commit 'f160c6a18a574b4c7d063e0a748037cbbd9912ee'
...
* commit 'f160c6a18a574b4c7d063e0a748037cbbd9912ee':
lavfi: do not segfault on NULL passed to avfilter_get_by_name()
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:14:08 +02:00
Michael Niedermayer
835cc0f2e7
Merge commit 'fa2a34cd40d124161c748bb0f430dc63c94dd0da'
...
* commit 'fa2a34cd40d124161c748bb0f430dc63c94dd0da':
lavfi: change the filter registering system to match the other libraries
Conflicts:
cmdutils.c
ffplay.c
libavfilter/avfilter.c
libavfilter/avfilter.h
This removes the ability to put AVFilters in read only memory and having
them shareable.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 15:08:40 +02:00
Michael Niedermayer
f4db6bfeb8
Merge commit '7e8fe4be5fb4c98aa3c6a4ed3cec999f4e3cc3aa'
...
* commit '7e8fe4be5fb4c98aa3c6a4ed3cec999f4e3cc3aa':
lavfi: add a function for counting elements in AVFilterPad arrays.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 14:49:30 +02:00
Michael Niedermayer
16fc24b240
Merge commit '7cdd737ba81b5c2c9521c4509edf0ac315fabc65'
...
* commit '7cdd737ba81b5c2c9521c4509edf0ac315fabc65':
lavfi: mark filters with dynamic number of inputs or outputs with special flags
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 14:30:34 +02:00
Michael Niedermayer
46de9ba598
Merge commit '1ba95a9cca57b023b9b9de071a5671fc05b05e58'
...
* commit '1ba95a9cca57b023b9b9de071a5671fc05b05e58':
lavfi: add avfilter_init_dict() for initializing a filter with a dict.
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 14:25:27 +02:00
Clément Bœsch
6b5ec76283
lavfi: fix forgotten chunk in eb0f774d.
2013-04-12 14:08:04 +02:00
Michael Niedermayer
0acf7e268b
avfilter: remove opaque passing hacks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 13:56:03 +02:00
Michael Niedermayer
3fc7b47145
buffersink: switch from opaque to AVOptions for params
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 13:47:40 +02:00
Michael Niedermayer
a1e7e02eaf
abuffersink: switch from opaque to AVOptions for params
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 13:38:00 +02:00
Clément Bœsch
f16a6f667c
lavfi/ocv: fix crash with no dilate arguments.
2013-04-12 13:01:17 +02:00
Clément Bœsch
490786c02e
lavfi/ocv: fix crash with no filter name specified.
2013-04-12 12:44:23 +02:00
Clément Bœsch
51e71d6e11
lavfi/ocv: fix build after fd6228e65.
2013-04-12 12:37:33 +02:00
Michael Niedermayer
4a88989254
buffersink: remove shorthand
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 12:25:03 +02:00
Michael Niedermayer
f1e62af0e0
avfilter: remove mixed args hack for scale.
...
Our option handling code does not need this hack.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 12:19:48 +02:00
Nicolas George
62d888ef0e
ffmpeg: use options for abuffersink.
...
Also remove unused buffersink_params.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 12:11:10 +02:00
Nicolas George
e48ded8551
lavfi/buffersink: accept parameters as options.
...
Move validation from init to query_formats().
Accept the formats lists as binary options.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 12:12:51 +02:00
Nicolas George
af0d270aac
lavu: add helper functions for integer lists.
...
Add av_int_list_length() to compute a list length.
Add av_opt_set_int_list() to set a binary option.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 12:09:51 +02:00
Michael Niedermayer
3d7d819aad
avfilter/asrc_aevalsrc: fix return code, 2nd try
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 12:02:06 +02:00
Michael Niedermayer
fd6228e657
lavfi: remove now unused args parameter from AVFilter.init and init_opaque
...
This is mostly automated global search and replace
The deprecated aconvert filter is disabled, if it still has users
it should be updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 11:54:39 +02:00
Anton Khirnov
d69a4177b9
lavfi: remove now unused args parameter from AVFilter.init
...
Conflicts:
libavfilter/avfilter.c
libavfilter/vf_drawtext.c
libavfilter/vf_lut.c
libavfilter/vf_select.c
libavfilter/vf_setpts.c
libavfilter/vsrc_color.c
libavfilter/vsrc_movie.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 11:54:39 +02:00
Michael Niedermayer
491d261ade
avfilter/asrc_aevalsrc: check correct variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 11:54:39 +02:00
Clément Bœsch
dee2db523d
doc/filters: update volume options description.
2013-04-12 11:51:54 +02:00
Paul B Mahol
ae8d435ba8
doc/filters: add quick emboss example
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-12 09:47:41 +00:00
Michael Niedermayer
04924bc923
avfilter: remove old shorthand system
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 10:59:12 +02:00
Clément Bœsch
9c5f392cbc
doc/cropdetect: update boxblur options description.
2013-04-12 10:59:05 +02:00
Clément Bœsch
9811b7942d
doc/crop: update boxblur options description.
2013-04-12 10:59:05 +02:00
Clément Bœsch
fc15ad408c
doc/filters: update boxblur options description.
2013-04-12 10:59:05 +02:00
Clément Bœsch
8876b0816d
doc/filters: update blackframe options description.
2013-04-12 10:59:05 +02:00
Michael Niedermayer
80116b6e67
af_pan: avoid spaces before % to avoid possible issues with MSVC
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 10:52:55 +02:00
Michael Niedermayer
3c821e7550
af_pan: switch to an AVOptions-based shorthand system.
...
TODO: The first argument can be seperated into its own AVOption
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 10:35:45 +02:00
Серж Нискородов
9470b541e5
af_pan: fix parsing arguments from the example in the documentation
...
pan=stereo: FL < FL + 0.5*FC + 0.6*BL + 0.6*SL : FR < FR + 0.5*FC +
0.6*BR + 0.6*SR
didn't actually work ('Expected out channel name, got " FL < FL"')
2013-04-12 10:02:01 +02:00
Michael Niedermayer
c378ba19b5
abuffer: switch to an AVOptions-based shorthand system.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 09:55:01 +02:00
Michael Niedermayer
16e5e13c7e
buffersrc: switch to an AVOptions-based shorthand system.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 09:53:09 +02:00
Diego Biurrun
a3cb865310
x86: dsputil: Move some ifdefs to avoid unused variable warnings
2013-04-12 09:36:47 +02:00
Diego Biurrun
2004c7c8f7
x86: dsputil: cosmetics: Remove two pointless variable indirections
2013-04-12 09:36:47 +02:00
Diego Biurrun
c51a3a5bd9
x86: dsputil: Refactor some ff_{avg|put}_pixels function declarations
2013-04-12 09:36:46 +02:00
Diego Biurrun
e027032fc6
x86: dsputil: ff_h263_*_loop_filter declarations to a more suitable place
2013-04-12 09:36:46 +02:00
Pavel Koshevoy
8f3c440a39
lavfi/atempo: switch to an AVOptions-based system.
...
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 09:31:33 +02:00
Diego Biurrun
a89c05500f
x86: h264qpel: int --> ptrdiff_t for some line_size parameters
2013-04-12 09:30:12 +02:00
Michael Niedermayer
9ab796127a
avfilter: Update scale to dictionary based options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 02:34:40 +02:00
Michael Niedermayer
710b0aa801
Merge commit '48a5adab62bd2a553f5069d41fa632a0701835e5'
...
* commit '48a5adab62bd2a553f5069d41fa632a0701835e5':
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
avfilter_graph_create_filter() opaque is still passed to avfilter_init_filter()
which continues to pass it to init_opaque as its still used in the buffer sinks
the sinks should be changed and the opaque passing removed
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 01:31:55 +02:00
Michael Niedermayer
eb0f774d4b
Merge commit '1565cbc65cbb9f95c11367314a080068895e0cf0'
...
* commit '1565cbc65cbb9f95c11367314a080068895e0cf0':
lavfi: make avfilter_free() remove the filter from its graph.
Conflicts:
libavfilter/avfilter.c
libavfilter/avfiltergraph.c
libavfilter/graphparser.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 00:54:05 +02:00
Michael Niedermayer
4fde705396
Merge commit '111367263af41c88a44bd763ceefc11d53a7f655'
...
* commit '111367263af41c88a44bd763ceefc11d53a7f655':
lavfi: add AVFilterContext.graph.
Conflicts:
libavfilter/avfilter.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 00:44:18 +02:00
Michael Niedermayer
5c68e14e42
Merge commit 'c2c9801bc9bce688d51d1a96f5f3ea93933e2dee'
...
* commit 'c2c9801bc9bce688d51d1a96f5f3ea93933e2dee':
lavfi: deprecate avfilter_graph_add_filter().
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 00:39:09 +02:00
Michael Niedermayer
86070b8e5a
Merge commit 'bc1a985ba030e9861d24965d42792850b43a43ea'
...
* commit 'bc1a985ba030e9861d24965d42792850b43a43ea':
lavfi: replace avfilter_open() with avfilter_graph_alloc_filter().
Conflicts:
libavfilter/avfiltergraph.c
libavfilter/internal.h
libavfilter/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-12 00:31:44 +02:00
Stefano Sabatini
9da369604e
lavfi/overlay: improve feedback in case of invalid expression
...
Based on vf_hue.c code.
2013-04-12 00:18:39 +02:00
Stefano Sabatini
fdedfc029b
doc/filters: rework Commands section for overlay filter
2013-04-12 00:18:39 +02:00
Stefano Sabatini
b2e22731e4
doc/filters: apply minor fixes to hue Commands section
2013-04-12 00:18:32 +02:00
Stefano Sabatini
aff6cebb41
lavfi/overlay: fix crash in case of invalid expression
2013-04-12 00:09:41 +02:00
Stefano Sabatini
ed2c827575
lavfi/overlay: add repeatlast option
2013-04-12 00:09:19 +02:00
Stefano Sabatini
a77454ec14
lavfi/overlay: reindent constants in option list
...
Wanted-By: ubitux
2013-04-12 00:07:46 +02:00
Michael Niedermayer
231fd4411f
Merge commit '38f0c0781a6e099f11c0acec07f9b8be742190c4'
...
* commit '38f0c0781a6e099f11c0acec07f9b8be742190c4':
lavfi: merge avfiltergraph.h into avfilter.h
Conflicts:
doc/APIchanges
ffmpeg_filter.c
libavfilter/avfilter.h
libavfilter/avfiltergraph.h
libavfilter/version.h
tools/graph2dot.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 23:50:39 +02:00
Clément Bœsch
9110f95985
doc/filters: use -af and -filter_complex instead of amovie for two examples.
2013-04-11 23:47:12 +02:00
Michael Niedermayer
9f3ae7aafd
Merge commit '4a37d4b3f8137a4c2bbbca043de076af966b9446'
...
* commit '4a37d4b3f8137a4c2bbbca043de076af966b9446':
lavfi: add const to the pads parameter of avfilter_pad_get_name/type
lavfi: add const to AVFilterContext.filter.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 23:31:01 +02:00
Clément Bœsch
838d803155
lavfi/mp: switch to an AVOptions-based system.
2013-04-11 23:27:12 +02:00
Michael Niedermayer
70b72ca6f3
doc/encoders: Clarify that there are 2 prores encoders
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 23:13:34 +02:00
Michael Niedermayer
b3c3996212
avcodec: rename prores encoders
...
Using the first names of authors sounds somewhat unprofessional
and might be considered offensive which is not intended.
The new names use the initials of the authors due to simplicity
and the possibility to apply it consistently without the need
to find political correct names for each future case where
alternative codecs might exist. Also its shorter ...
If someone has a better idea, like maybe 2 random letters
and people prefer it then iam happy to switch to that ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 23:13:34 +02:00
Stefano Sabatini
d980641ec4
doc/filters: fix fade-out hue saturation expression in sendcmd example
2013-04-11 23:03:18 +02:00
Stefano Sabatini
9ad27cd447
doc/filters: update hue command syntax after recent update
2013-04-11 23:03:18 +02:00
Clément Bœsch
7bd014eaec
lavfi/aspect: fix d2q convert in init.
...
Regression since git 71ef1ec7b .
2013-04-11 22:46:47 +02:00
Michael Niedermayer
97104aa011
Merge commit 'f223ad1e000d56ef5231a3b1fc00495b538a9ed6'
...
* commit 'f223ad1e000d56ef5231a3b1fc00495b538a9ed6':
doc: document the prores encoder options
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 22:36:12 +02:00
Michael Niedermayer
b2175b0f2a
Merge commit '93e65e9a6c0895f869752a66731d9b2ec3916467'
...
* commit '93e65e9a6c0895f869752a66731d9b2ec3916467':
Cosmetics, restore alphabetic order in atomics lists.
Conflicts:
libavutil/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 22:22:06 +02:00
Clément Bœsch
9ab221f8d8
lavfi: deprecate aconvert.
...
This filter is not required anymore with aformat. Drop it at next bump.
2013-04-11 22:13:45 +02:00
Clément Bœsch
71ef1ec7b4
lavfi/aspect: switch to an AVOptions-based system.
...
This is heavily based on 2831b307 by Anton Khirnov <anton@khirnov.net >
2013-04-11 22:05:03 +02:00
Michael Niedermayer
647fe2e777
Merge commit '9e6b5e61a0c91e25e298d0a21b189c4c95443795'
...
* commit '9e6b5e61a0c91e25e298d0a21b189c4c95443795':
img2enc: add an option for overwriting one file with subsequent images
Conflicts:
doc/muxers.texi
libavformat/img2enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 21:50:53 +02:00
Stefano Sabatini
976e3439ed
lavfi/flite: switch to AVOption-based system
2013-04-11 21:37:48 +02:00
Stefano Sabatini
160ed967f4
lavfi/hue: extend debugging message
...
In particular, show h value in degrees.
2013-04-11 21:37:43 +02:00
Stefano Sabatini
3411aba82c
lavfi/hue: reindent after last commit
2013-04-11 21:37:35 +02:00
Stefano Sabatini
e4fd58f472
lavfi/hue: apply major simplifications, and switch to AVOption-based system
...
This also drops support for "flat syntax" and "reinit" command.
"reinit" command is not very robust and complicates the logic more than
necessary, since requires to reset all the options in the command.
*This is a syntax break*.
2013-04-11 21:37:19 +02:00
Vittorio Giovara
25882a7ff6
FATE: add a test for the interlace filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-04-11 21:33:58 +02:00
Vittorio Giovara
3fce136798
lavfi: new interlace filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-04-11 21:33:07 +02:00
Clément Bœsch
c36ab01cd2
lavfi/ebur128: remove now unused av_opt_free call.
2013-04-11 20:52:41 +02:00
Anton Khirnov
921046008f
cmdutils: allow -h filter=<name> to print information about a filter.
2013-04-11 20:46:11 +02:00
Anton Khirnov
e19e8aeeaa
avtools: move media_type_string() from avprobe to cmdutils.
...
It will be useful outside of avprobe.
2013-04-11 20:46:04 +02:00
Anton Khirnov
dc574658d1
avconv: print filter options in -h full output.
2013-04-11 20:45:55 +02:00
Anton Khirnov
bee2d75b66
avconv: update to the new options syntax.
...
The separators were changed from ',' to '|' in all the filters.
2013-04-11 20:44:45 +02:00
Anton Khirnov
f160c6a18a
lavfi: do not segfault on NULL passed to avfilter_get_by_name()
2013-04-11 20:44:35 +02:00
Anton Khirnov
fa2a34cd40
lavfi: change the filter registering system to match the other libraries
...
Removes an arbitrary hardcoded limit on the number of filters.
2013-04-11 20:44:03 +02:00
Anton Khirnov
7e8fe4be5f
lavfi: add a function for counting elements in AVFilterPad arrays.
...
The caller needs to know what valid indices can be passed to
avfilter_pad_get_name/type.
2013-04-11 20:43:47 +02:00
Anton Khirnov
7cdd737ba8
lavfi: mark filters with dynamic number of inputs or outputs with special flags
...
This will be useful in avtools in the following commits.
Any other caller might also want to know this information.
2013-04-11 20:42:41 +02:00
Michael Niedermayer
4f43e9b4af
avfilter/aresample: use init_dict system and set child AVOption context correctly
...
Parts of this commit are based on: 4fa1f52e
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 20:40:59 +02:00
Michael Niedermayer
f6bfeef7fa
avfilter: fix handing of child context options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 20:40:30 +02:00
Anton Khirnov
1ba95a9cca
lavfi: add avfilter_init_dict() for initializing a filter with a dict.
2013-04-11 20:40:20 +02:00
Anton Khirnov
48a5adab62
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
...
Drop the unused opaque parameter from its signature.
2013-04-11 20:39:13 +02:00
Anton Khirnov
1565cbc65c
lavfi: make avfilter_free() remove the filter from its graph.
2013-04-11 20:38:48 +02:00
Anton Khirnov
111367263a
lavfi: add AVFilterContext.graph.
...
It will be useful in the following commits.
2013-04-11 20:38:23 +02:00
Anton Khirnov
c2c9801bc9
lavfi: deprecate avfilter_graph_add_filter().
...
Since this function adds a standalone filter to a filter graph and we do
not support creating such filters, there is no reason for this function
to exist.
2013-04-11 20:36:42 +02:00
Anton Khirnov
bc1a985ba0
lavfi: replace avfilter_open() with avfilter_graph_alloc_filter().
...
Since we do not support "standalone" filters not attached to an
AVFilterGraph, we should not have a public function to create such
filters. In addition that function is horribly named, the action it does
cannot be possibly described as "opening" a filter.
2013-04-11 20:34:14 +02:00
Anton Khirnov
38f0c0781a
lavfi: merge avfiltergraph.h into avfilter.h
...
We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do.
2013-04-11 20:33:33 +02:00
Anton Khirnov
4a37d4b3f8
lavfi: add const to the pads parameter of avfilter_pad_get_name/type
2013-04-11 20:33:23 +02:00
Anton Khirnov
91d2efa7d6
lavfi: add const to AVFilterContext.filter.
...
lavfi should never modify the filter through that pointer.
2013-04-11 20:32:39 +02:00
Clément Bœsch
c1907bd732
lavfi/removelogo: switch to an AVOptions-based system.
2013-04-11 18:49:46 +02:00
Tobias Rapp
7f09b888e8
avienc: fix overflow of audio sample count
...
Fixes an overflow of the sample count field within the audio stream header
chunk if audio stream data exceeds 2GB.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 18:33:24 +02:00
Michael Niedermayer
865e20daf3
avfilter/f_select: use AVFrame metadata accessor function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 18:33:24 +02:00
Clément Bœsch
c74b0eda34
lavfi/amerge: switch to an AVOptions-based system.
2013-04-11 18:31:01 +02:00
Clément Bœsch
eabc0c733d
ffmpeg: insert format filter with the appropriate separator.
...
Similar to 937325f3 .
2013-04-11 18:05:46 +02:00
Clément Bœsch
23a750c994
lavfi: do not warn inappropriately with aevalsrc.
2013-04-11 18:01:12 +02:00
Clément Bœsch
937325f3db
ffmpeg: insert aformat filter with the appropriate separator.
...
The ',' separator is deprecated with aformat, and thus causes various
arnings when transcoding audio.
2013-04-11 17:51:22 +02:00
Clément Bœsch
64ce15b9f4
lavfi/aevalsrc: switch to an AVOptions-based system.
2013-04-11 17:28:02 +02:00
James Almer
94d13df34c
Fix compilation with --disable-everything --enable-filter=deshake
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 16:33:02 +02:00
Stephen Hutchinson
ff99b42e04
avformat/avisynth: Don't insert null frames or samples at the start of a stream.
...
This is the last remaining issue from ticket #2412
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 16:32:14 +02:00
Paul B Mahol
d185343687
libshine fixed point MP3 encoding support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 14:27:59 +00:00
Michael Niedermayer
fb78b94c3a
cmdutils_common_opts: fix indention of #if
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 16:07:46 +02:00
Michael Niedermayer
0a95449d2f
cmdutils: remove unneeded #if
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 16:07:11 +02:00
highgod0401
d757f7510b
cmdutils: add opencl command line options to ffmpeg
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 16:05:19 +02:00
Paul B Mahol
567feaafa8
lavfi/bbox: remove unused variables and functions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 14:02:59 +00:00
Michael Niedermayer
580a0600ef
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
Move misplaced file author information where it belongs
Conflicts:
libavcodec/adpcm.c
libavcodec/adpcmenc.c
libavcodec/gif.c
libavcodec/x86/dsputilenc_mmx.c
libavcodec/x86/fmtconvert_init.c
libavformat/au.c
libavformat/gif.c
libavformat/mov.c
libavformat/nsvdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 15:56:18 +02:00
Clément Bœsch
ad9e66a565
lavfi: add pp to the ':'-to-'|' compat layer.
2013-04-11 15:52:46 +02:00
Michael Niedermayer
cf7d3846fc
Merge commit '9de9b828ef005dec37052548c195a6b4f18fc701'
...
* commit '9de9b828ef005dec37052548c195a6b4f18fc701':
lavc: don't overwrite display dimensions with coded dimensions.
lavc: extend / update the [coded_]{width,height} doxy
Conflicts:
libavcodec/avcodec.h
libavcodec/utils.c
The change to the w/h handling is not merged as it breaks lowres
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 15:42:32 +02:00
Clément Bœsch
e2e992c077
lavfi/asetnsamples: switch to an AVOptions-based system.
2013-04-11 15:40:15 +02:00
Clément Bœsch
1c0feee059
lavfi/anullsrc: switch to an AVOptions-based system.
2013-04-11 15:21:40 +02:00
Clément Bœsch
7464b9e319
lavfi: remove bbox from the filters left to update.
...
The filter doesn't take any option and thus works with the new system.
2013-04-11 15:14:07 +02:00
Paul B Mahol
11f6174a91
lavfi/blend: support more yuv pixel formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 13:10:11 +00:00
Clément Bœsch
7fdebb116c
lavfi/astreamsync: switch to an AVOptions-based system.
2013-04-11 15:09:25 +02:00
Clément Bœsch
2fb8ca7d2c
lavfi/astreamsync: fix eval memleak.
2013-04-11 15:09:25 +02:00
Michael Niedermayer
5ec016ad0b
Merge commit '20429ba96e55db17ac57f6c0e330914287f1f614'
...
* commit '20429ba96e55db17ac57f6c0e330914287f1f614':
h261: Move encoder/decoder shared table init to common code
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 14:48:27 +02:00
Clément Bœsch
ab4afcb85b
lavfi/blackdetect: switch to an AVOptions-based system.
2013-04-11 14:48:19 +02:00
Clément Bœsch
7eb1ea2ae6
lavfi/sendcmd: switch to an AVOptions-based system.
2013-04-11 14:40:02 +02:00
Clément Bœsch
389eb0a919
lavfi/testsrc: remove useless args/NULL passing.
2013-04-11 14:36:50 +02:00
Michael Niedermayer
dd97736d4f
avfilter: add missing ,
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 14:31:10 +02:00
Michael Niedermayer
567616c1b3
Merge commit '8a776ad90e00ab2b98e8683ac6182d641a383c3a'
...
* commit '8a776ad90e00ab2b98e8683ac6182d641a383c3a':
h261: Move shared data tables from a header to a proper C file
Conflicts:
libavcodec/Makefile
libavcodec/h261data.c
libavcodec/h261dec.c
libavcodec/h261enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 14:25:38 +02:00
Paul B Mahol
38d1a5a270
lavfi/smptebars: switch to AVOptions-based system
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 12:22:42 +00:00
Clément Bœsch
3c2e4c2a9b
lavfi/showwaves: switch to an AVOptions-based system.
2013-04-11 14:18:44 +02:00
Clément Bœsch
38788f2de5
lavfi: replace new filter list with filters left to update.
2013-04-11 14:06:39 +02:00
highgod0401
d83c481dc0
MAINTAINERS: add opencl maintainer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 13:42:07 +02:00
Marton Balint
f1e606c762
mxfdec: update current edit unit when seeking in mxf files without index tables
...
Fixes audio packet pts values in some files generated by AVID TRMG 3.01.
Signed-off-by: Marton Balint <cus@passwd.hu >
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 13:35:58 +02:00
Michael Niedermayer
eeb6efcd58
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
fate: add tests for unknown channel layouts.
lavfi/buffersrc: update for compatibility with the fork.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 13:28:24 +02:00
Paul B Mahol
32a7b858c9
lavfi: remove telecine libmpcodecs wrapper
...
Native, with more features, filter is available.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 11:22:11 +00:00
Paul B Mahol
10b1cc63c2
lavfi: remove double .priv_class initializers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 11:13:42 +00:00
Paul B Mahol
661e284b4a
telecine filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 11:12:39 +00:00
Nicolas George
08dd2c9df1
fate: add tests for unknown channel layouts.
2013-04-11 13:09:33 +02:00
Nicolas George
0d58bbb28d
lavfi/buffersrc: update for compatibility with the fork.
...
Merge and adapt commit d28cb84 by Anton Khirnov.
2013-04-11 13:09:10 +02:00
Clément Bœsch
2844ea86c8
lavfi/curves: introduce "all" field in presets and use it.
2013-04-11 13:05:06 +02:00
Clément Bœsch
7e7dc1489f
lavfi/curves: make possible to customize presets.
2013-04-11 13:05:06 +02:00
Clément Bœsch
a1e798ef0a
lavfi/curves: fix a spacing weirdness.
2013-04-11 13:05:06 +02:00
Michael Niedermayer
c66c92add6
doc/opencl: speling and gramer fixes
...
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 13:00:04 +02:00
highgod0401
9d442b9cc0
opencl: add spec opencl device APIs 20130411
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 12:46:34 +02:00
Anton Khirnov
f223ad1e00
doc: document the prores encoder options
...
Adapted from the author's blag.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-04-11 12:42:09 +02:00
Clément Bœsch
4c9b031559
lavfi/smartblur: cleanup unused shorthand and doc.
2013-04-11 12:41:13 +02:00
Clément Bœsch
fcaea2170f
lavfi/overlay: cleanup unused shorthand.
2013-04-11 12:41:13 +02:00
Clément Bœsch
3417280b57
lavfi/field: cleanup unused shorthand and doc.
2013-04-11 12:41:13 +02:00
Paul B Mahol
310bf28354
mss4: make code independent of sizeof(AVFrame)
...
Also fixes #2455 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 10:40:15 +00:00
Paul B Mahol
b6d5a948f9
mss4: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 10:40:15 +00:00
Michael Niedermayer
742c392885
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
dsputil: Make dsputil selectable
Conflicts:
configure
libavcodec/Makefile
libavcodec/x86/Makefile
libavcodec/x86/constants.c
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_mmx.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 12:32:29 +02:00
Anton Khirnov
93e65e9a6c
Cosmetics, restore alphabetic order in atomics lists.
2013-04-11 12:31:14 +02:00
Anton Khirnov
9e6b5e61a0
img2enc: add an option for overwriting one file with subsequent images
...
Based on a patch by Michael Niedermayer <michaelni@gmx.at >.
2013-04-11 12:30:44 +02:00
Michael Niedermayer
65120f628c
Merge commit '85deb51a01f1ecc5ac5faa52ad8ea141c384e23a'
...
* commit '85deb51a01f1ecc5ac5faa52ad8ea141c384e23a':
h264: Only initialize dsputil if error resilience is enabled
Conflicts:
libavcodec/h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 12:00:05 +02:00
Michael Niedermayer
a87e85fa72
Merge remote-tracking branch 'ubitux/shorthand-cleanup'
...
* ubitux/shorthand-cleanup:
lavfi/setfield: switch to an AVOptions-based system.
lavfi/asettb: switch to an AVOptions-based system.
lavfi/aselect: switch to an AVOptions-based system.
lavfi/sine: switch to an AVOptions-based system.
lavfi/deshake: switch to an AVOptions-based system.
lavfi/tinterlace: switch to an AVOptions-based system.
lavfi/tile: switch to an AVOptions-based system.
lavfi/concat: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 11:54:10 +02:00
Clément Bœsch
77add967a5
lavfi/setfield: switch to an AVOptions-based system.
2013-04-11 11:53:53 +02:00
Clément Bœsch
73c1a00e73
lavfi/asettb: switch to an AVOptions-based system.
2013-04-11 11:53:53 +02:00
Michael Niedermayer
0724b4a16d
Merge commit '62844c3fd66940c7747e9b2bb7804e265319f43f'
...
* commit '62844c3fd66940c7747e9b2bb7804e265319f43f':
h264: Integrate clear_blocks calls with IDCT
Conflicts:
libavcodec/arm/h264idct_neon.S
libavcodec/h264idct_template.c
libavcodec/x86/h264_idct.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 11:53:19 +02:00
Clément Bœsch
cb2327e88d
lavfi/aselect: switch to an AVOptions-based system.
2013-04-11 11:51:48 +02:00
Clément Bœsch
bca4cafaf2
lavfi/sine: switch to an AVOptions-based system.
2013-04-11 11:51:48 +02:00
Clément Bœsch
9ceb7bdf6f
lavfi/deshake: switch to an AVOptions-based system.
2013-04-11 11:51:48 +02:00
Clément Bœsch
c85f56bb4f
lavfi/tinterlace: switch to an AVOptions-based system.
2013-04-11 11:51:48 +02:00
Clément Bœsch
64a103138c
lavfi/tile: switch to an AVOptions-based system.
2013-04-11 11:51:47 +02:00
Clément Bœsch
35a27402ad
lavfi/concat: switch to an AVOptions-based system.
2013-04-11 11:51:47 +02:00
Michael Niedermayer
944ad46182
Merge commit 'e8cafd2773bc56455c8816593cbd9368f2d69a80'
...
* commit 'e8cafd2773bc56455c8816593cbd9368f2d69a80':
h264: Clear the mb members via memset instead of using dsputil
Conflicts:
libavcodec/h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 11:40:05 +02:00
Michael Niedermayer
3bc3c78a59
Merge commit '6d25c9db11e87ec58652de6588448225137b0c57'
...
* commit '6d25c9db11e87ec58652de6588448225137b0c57':
dsputil: Make square put/avg_pixels functions local to h264qpel
Conflicts:
libavcodec/dsputil.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 11:26:43 +02:00
Michael Niedermayer
cb20ca14a3
Merge commit '2e81acc687e64d15dd93c74793060bb5a233f44d'
...
* commit '2e81acc687e64d15dd93c74793060bb5a233f44d':
x86inc: Fix number of operands for cmp* instructions
af_channelmap: fix uninitialized variable use introduced in ba8efac977
lavfi: add a bump and docs entries for the AVOptions switch
Conflicts:
Changelog
doc/APIchanges
libavfilter/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 11:20:55 +02:00
Michael Niedermayer
d7e8b3d831
Merge remote-tracking branch 'ubitux/lavfi-mixed-short-long'
...
* ubitux/lavfi-mixed-short-long:
lavfi: restore mixed short/long option support with the new system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 11:09:51 +02:00
Michael Niedermayer
44d4488301
Merge commit '8114c101607843a86960bd3e0e9c40487dc2a961'
...
* commit '8114c101607843a86960bd3e0e9c40487dc2a961':
lavfi: add avfilter_get_class().
Conflicts:
libavfilter/avfilter.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 10:59:06 +02:00
Clément Bœsch
b89ce54e74
lavfi: restore mixed short/long option support with the new system.
...
process_unnamed_options() is renamed to process_options() and its code
is heavily based on av_opt_set_from_string().
2013-04-11 10:48:58 +02:00
Michael Niedermayer
0965be00fe
Merge commit '4d1f31ea44f82adfb2b712534d71e27233a4f785'
...
* commit '4d1f31ea44f82adfb2b712534d71e27233a4f785':
lavfi: make AVFilterContext export filter options.
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 10:42:49 +02:00
Michael Niedermayer
c7b0a84e1f
Merge commit '62549f9655c48f0ec061087fa33a96040ce01145'
...
* commit '62549f9655c48f0ec061087fa33a96040ce01145':
lavfi: error out when options are provided to a filter that does not take any
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 10:34:05 +02:00
Michael Niedermayer
31428240ec
Merge commit 'c43a7ecad997fc527af34b952334f3d030709a1b'
...
* commit 'c43a7ecad997fc527af34b952334f3d030709a1b':
lavfi: remove now unused args parameter from AVFilter.init
Conflicts:
libavfilter/avfilter.c
libavfilter/buffersrc.c
libavfilter/f_select.c
libavfilter/src_movie.c
libavfilter/vf_alphamerge.c
libavfilter/vf_drawtext.c
libavfilter/vf_lut.c
Not merged (yet) because there are still many filters that use the args
parameter.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 10:25:42 +02:00
Michael Niedermayer
ef29a95a4d
Merge commit '7b3eb745b98b04dd8a4970b9fd6c98998e858fc1'
...
* commit '7b3eb745b98b04dd8a4970b9fd6c98998e858fc1':
vsrc_testsrc: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vsrc_testsrc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 10:02:07 +02:00
highgod0401
db2de94e95
avutil/opencl: add opencl device list APIs 20130411
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 03:48:57 +02:00
Michael Niedermayer
3a3d984445
Merge commit 'a42d6e6c4c19912b73cae8ca9133b4202667c303'
...
* commit 'a42d6e6c4c19912b73cae8ca9133b4202667c303':
vsrc_movie: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/src_movie.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 03:41:08 +02:00
Michael Niedermayer
670e0f7f66
Merge commit 'b7b3302f8f2c7d9f6e08e0a976890eefe3edcc9e'
...
* commit 'b7b3302f8f2c7d9f6e08e0a976890eefe3edcc9e':
vsrc_nullsrc: switch to an AVOptions-based system.
Conflicts:
libavfilter/vsrc_nullsrc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 03:20:43 +02:00
Michael Niedermayer
8bafd83aaa
Merge commit '7bc1a883c9158bb6e383d86fc76bdf2541e9a9fe'
...
* commit '7bc1a883c9158bb6e383d86fc76bdf2541e9a9fe':
vsrc_color: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vsrc_color.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 03:10:43 +02:00
Michael Niedermayer
7f2198a2f1
Merge commit '73d5d405d424c06f3f354337cfdb24794932094d'
...
* commit '73d5d405d424c06f3f354337cfdb24794932094d':
split: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 02:50:21 +02:00
Michael Niedermayer
ae6634da8b
Merge commit 'b13623e184759f37348b8fdb1276b1bb408f3e59'
...
* commit 'b13623e184759f37348b8fdb1276b1bb408f3e59':
af_volume: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 02:44:13 +02:00
Diego Biurrun
ac9362c5d9
Move misplaced file author information where it belongs
2013-04-11 02:42:11 +02:00
Michael Niedermayer
8905a811b7
Merge remote-tracking branch 'richardpl/biquads'
...
* richardpl/biquads:
lavfi/biquads: switch to an AVOptions-based system
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 02:38:05 +02:00
Michael Niedermayer
42c70b3584
Merge commit 'dd7fc37c71955b78a2687f29e871f714d18de386'
...
* commit 'dd7fc37c71955b78a2687f29e871f714d18de386':
af_join: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/af_join.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 02:37:43 +02:00
Paul B Mahol
e6067acc8d
lavfi/biquads: switch to an AVOptions-based system
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 00:34:19 +00:00
Michael Niedermayer
5e5ef6e8ae
Merge remote-tracking branch 'richardpl/framestep'
...
* richardpl/framestep:
lavfi/framestep: remove request_frame hack
lavfi/framestep: switch to an AVOptions-based system
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 02:31:14 +02:00
Paul B Mahol
7c79ec66b6
lavfi/framestep: remove request_frame hack
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 00:18:28 +00:00
Paul B Mahol
f77db72965
lavfi/framestep: switch to an AVOptions-based system
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-11 00:18:28 +00:00
Michael Niedermayer
f17651bd16
Merge commit '3f14febbdf7c93bbd186399da27991180e5916b6'
...
* commit '3f14febbdf7c93bbd186399da27991180e5916b6':
af_channelsplit: switch to an AVOptions-based system.
Conflicts:
libavfilter/af_channelsplit.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 02:17:28 +02:00
Michael Niedermayer
d9d7c54960
Merge commit 'ba8efac977f4276f05274947b2b67d144cbc965a'
...
* commit 'ba8efac977f4276f05274947b2b67d144cbc965a':
af_channelmap: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/af_channelmap.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 02:10:12 +02:00
Michael Niedermayer
5714812237
Merge remote-tracking branch 'mbouron/shorthand-cleanup'
...
* mbouron/shorthand-cleanup:
lavfi/aphaser: switch to AVOption-based system
lavfi/apad: switch to AVOption-based system
lavfi/afade: switch to AVOption-base system
lavfi/blend: switch to AVOption-based system
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 01:53:08 +02:00
Michael Niedermayer
ac217bda30
Merge commit 'b2b25b0659fa047da6266d2ce165d43011136b30'
...
* commit 'b2b25b0659fa047da6266d2ce165d43011136b30':
af_asyncts: switch to an AVOptions-based system.
Conflicts:
libavfilter/af_asyncts.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 01:42:28 +02:00
Matthieu Bouron
f43da3def7
lavfi/aphaser: switch to AVOption-based system
2013-04-11 01:37:57 +02:00
Michael Niedermayer
314be1933e
Merge commit 'ac20e3ab8ed497549ee2a62754f01eee5e7a5066'
...
* commit 'ac20e3ab8ed497549ee2a62754f01eee5e7a5066':
af_amix: switch to an AVOptions-based system.
Conflicts:
libavfilter/af_amix.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 01:32:08 +02:00
Matthieu Bouron
a5ce5ac9fb
lavfi/apad: switch to AVOption-based system
2013-04-11 01:31:08 +02:00
Matthieu Bouron
2b17e58163
lavfi/afade: switch to AVOption-base system
2013-04-11 01:25:02 +02:00
Matthieu Bouron
6afed2aec1
lavfi/blend: switch to AVOption-based system
2013-04-11 01:25:02 +02:00
Michael Niedermayer
ab6091f8e2
Merge commit '7536c671040f1f3ebc9f0d3b7831dac71436b775'
...
* commit '7536c671040f1f3ebc9f0d3b7831dac71436b775':
vf_yadif: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_yadif.c
libavfilter/yadif.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 01:18:18 +02:00
Michael Niedermayer
8ac7090c23
Merge remote-tracking branch 'ubitux/shorthand-cleanup'
...
* ubitux/shorthand-cleanup:
lavfi/idet: switch to an AVOptions-based system.
lavfi/histogram: switch to an AVOptions-based system.
lavfi/stereo3d: switch to an AVOptions-based system.
lavfi/noise: switch to an AVOptions-based system.
lavfi/histeq: switch to an AVOptions-based system.
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 01:05:14 +02:00
Clément Bœsch
7668b6832d
lavfi/idet: switch to an AVOptions-based system.
2013-04-11 01:04:45 +02:00
Clément Bœsch
b2d589188f
lavfi/histogram: switch to an AVOptions-based system.
2013-04-11 01:04:45 +02:00
Clément Bœsch
d5226fc575
lavfi/stereo3d: switch to an AVOptions-based system.
2013-04-11 01:04:45 +02:00
Clément Bœsch
a689a6b698
lavfi/noise: switch to an AVOptions-based system.
2013-04-11 01:04:45 +02:00
Clément Bœsch
e4bd1db88e
lavfi/histeq: switch to an AVOptions-based system.
2013-04-11 01:04:44 +02:00
Michael Niedermayer
72ce979f10
Merge remote-tracking branch 'mbouron/shorthand-cleanup'
...
* mbouron/shorthand-cleanup:
lavfi/kerndeint: switch to AVOption-based system
lavfi/il: switch to AVOption-based system
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 01:03:08 +02:00
Michael Niedermayer
c2696dabbb
Merge commit 'b83e9efc53e5491716625aa31c69006b1119b280'
...
* commit 'b83e9efc53e5491716625aa31c69006b1119b280':
vf_unsharp: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_unsharp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 01:02:07 +02:00
Matthieu Bouron
531158e6be
lavfi/kerndeint: switch to AVOption-based system
2013-04-11 00:55:45 +02:00
Michael Niedermayer
b4ffc35e76
Merge remote-tracking branch 'ubitux/shorthand-cleanup'
...
* ubitux/shorthand-cleanup:
lavfi/mptestsrc: switch to an AVOptions-based system.
lavfi/mandelbrot: switch to an AVOptions-based system.
lavfi/life: switch to an AVOptions-based system.
lavfi/cellauto: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 00:37:32 +02:00
Michael Niedermayer
a4e0defa75
Merge commit '0c2466dec719b933d161f5d680a57fde38aa5daa'
...
* commit '0c2466dec719b933d161f5d680a57fde38aa5daa':
vf_transpose: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_transpose.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 00:33:31 +02:00
Matthieu Bouron
6f46403cb0
lavfi/il: switch to AVOption-based system
2013-04-11 00:31:25 +02:00
Clément Bœsch
4ecee69b20
lavfi/mptestsrc: switch to an AVOptions-based system.
2013-04-11 00:21:47 +02:00
Clément Bœsch
791da4706c
lavfi/mandelbrot: switch to an AVOptions-based system.
2013-04-11 00:21:47 +02:00
Clément Bœsch
bd85fee914
lavfi/life: switch to an AVOptions-based system.
2013-04-11 00:21:47 +02:00
Clément Bœsch
169880e31d
lavfi/cellauto: switch to an AVOptions-based system.
2013-04-11 00:21:47 +02:00
Stefano Sabatini
cff8f91ddf
lavfi/decimate: switch to an AVOption-based system
2013-04-11 00:20:01 +02:00
Stefano Sabatini
2040b428b4
lavfi/field: switch to AVOption-based system
...
Also remove mention to syntax explanation which is or will be redundant
and possibly confusing.
2013-04-11 00:16:25 +02:00
Michael Niedermayer
6a2fb5b90c
Merge commit 'ffea3b00c39caa8ad78456ae08c8353929974dfd'
...
* commit 'ffea3b00c39caa8ad78456ae08c8353929974dfd':
vf_settb: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/f_settb.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 00:10:59 +02:00
Stefano Sabatini
8695d9de47
lavfi/smarblur: add missing newline at end of verbose message
2013-04-11 00:04:27 +02:00
Stefano Sabatini
2ffee3ec14
lavfi/smartblur: switch to AVOption-based system
2013-04-11 00:04:27 +02:00
Michael Niedermayer
f42635a50b
Merge commit '33b97faaba2744f0a2fd65c0ef9ecc2de3fad7ff'
...
* commit '33b97faaba2744f0a2fd65c0ef9ecc2de3fad7ff':
vf_setpts: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/f_setpts.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 23:49:58 +02:00
Michael Niedermayer
270d3c96ec
Merge remote-tracking branch 'ubitux/shorthand-cleanup'
...
* ubitux/shorthand-cleanup:
lavfi/subtitles: switch to an AVOptions-based system.
lavfi/pp: switch to an AVOptions-based system.
lavfi/geq: switch to an AVOptions-based system.
lavfi/edgedetect: switch to an AVOptions-based system.
lavfi/curves: switch to an AVOptions-based system.
lavfi/colormatrix: switch to an AVOptions-based system.
lavfi/perms: switch to an AVOptions-based system.
lavfi/ebur128: switch to an AVOptions-based system.
lavfi/showspectrum: switch to an AVOptions-based system.
lavfi/silencedetect: switch to an AVOptions-based system.
lavfi/thumbnail: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 23:29:05 +02:00
Michael Niedermayer
b3fb2d8cec
Merge commit '95f1f56a21bc2f824af6fb97ca7ab35cdd0c401e'
...
* commit '95f1f56a21bc2f824af6fb97ca7ab35cdd0c401e':
vf_select: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/f_select.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 23:24:48 +02:00
Clément Bœsch
e2b0edb6ac
lavfi/subtitles: switch to an AVOptions-based system.
2013-04-10 23:16:03 +02:00
Clément Bœsch
8da1fff85a
lavfi/pp: switch to an AVOptions-based system.
...
Also add and use the '|' separator instead of ':' since it's
incompatible with the new option system...
2013-04-10 23:16:03 +02:00
Clément Bœsch
f8eabab04d
lavfi/geq: switch to an AVOptions-based system.
2013-04-10 23:16:03 +02:00
Clément Bœsch
1cdb9f48db
lavfi/edgedetect: switch to an AVOptions-based system.
2013-04-10 23:16:03 +02:00
Clément Bœsch
34610e11e7
lavfi/curves: switch to an AVOptions-based system.
2013-04-10 23:16:03 +02:00
Clément Bœsch
8da1f1f208
lavfi/colormatrix: switch to an AVOptions-based system.
2013-04-10 23:16:02 +02:00
Clément Bœsch
8388e1e2b3
lavfi/perms: switch to an AVOptions-based system.
2013-04-10 23:16:02 +02:00
Clément Bœsch
5afd58fbb4
lavfi/ebur128: switch to an AVOptions-based system.
2013-04-10 23:16:02 +02:00
Clément Bœsch
4964ec2cd4
lavfi/showspectrum: switch to an AVOptions-based system.
2013-04-10 23:16:02 +02:00
Clément Bœsch
1b1688bfc6
lavfi/silencedetect: switch to an AVOptions-based system.
2013-04-10 23:16:02 +02:00
Clément Bœsch
7c11c21669
lavfi/thumbnail: switch to an AVOptions-based system.
2013-04-10 23:16:02 +02:00
Michael Niedermayer
7e99ccf5d8
Merge commit '40c885c589808455a1c4b473509f1e6cd4908f55'
...
* commit '40c885c589808455a1c4b473509f1e6cd4908f55':
vf_pad: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_pad.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 22:50:32 +02:00
Paul B Mahol
16f1e832ba
lavfi/overlay: remove dupe initializer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-10 20:44:11 +00:00
Michael Niedermayer
e434ddd4c6
Merge commit '9087eaf193b8ce99c41352064a81916fa66adb49'
...
* commit '9087eaf193b8ce99c41352064a81916fa66adb49':
vf_overlay: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_overlay.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 22:27:20 +02:00
Michael Niedermayer
8bdb119197
Merge commit '20b46f8f4fff6aeeab9ea418dc359eda8887ced6'
...
* commit '20b46f8f4fff6aeeab9ea418dc359eda8887ced6':
vf_lut: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_lut.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 22:13:34 +02:00
Michael Niedermayer
94ec709e3b
Merge commit 'ee0e8d4b15a87932ab6066cd6eae3cab08726319'
...
* commit 'ee0e8d4b15a87932ab6066cd6eae3cab08726319':
vf_libopencv: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 21:25:01 +02:00
Michael Niedermayer
f780a90355
Merge commit '8c747d46f721cffa8ea51990805ad1d3a3a4fd0a'
...
* commit '8c747d46f721cffa8ea51990805ad1d3a3a4fd0a':
vf_hqdn3d: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 21:14:30 +02:00
Michael Niedermayer
1ee9eacaa4
Merge commit '7ed833d78ea661d619124fd898547a900f6480bc'
...
* commit '7ed833d78ea661d619124fd898547a900f6480bc':
vf_gradfun: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/gradfun.h
libavfilter/vf_gradfun.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 21:09:06 +02:00
Anton Khirnov
9de9b828ef
lavc: don't overwrite display dimensions with coded dimensions.
2013-04-10 20:54:27 +02:00
Anton Khirnov
2d6edb2b7e
lavc: extend / update the [coded_]{width,height} doxy
2013-04-10 20:54:22 +02:00
Michael Niedermayer
85f115b5d8
Merge commit 'c334c113d4d9e9a41bc38a3e4458d7ab21010401'
...
* commit 'c334c113d4d9e9a41bc38a3e4458d7ab21010401':
vf_scale: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/avfilter.c
libavfilter/vf_scale.c
scale keeps using our shorthand system due to the alternative not
supporting the more complex syntactical things like 1 parameter
dimensions
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 20:40:37 +02:00
Michael Niedermayer
da3f89988f
Merge commit '5aa1a668cfae7f617e1a06efad20f87283badd8a'
...
* commit '5aa1a668cfae7f617e1a06efad20f87283badd8a':
vf_frei0r: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_frei0r.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 19:51:02 +02:00
Michael Niedermayer
9280fc7da1
vf_curves: add option to set all curves at once
...
Reviewed-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 19:29:11 +02:00
Michael Niedermayer
81c1ed748b
Merge commit 'f13ab29925883b4245da4129694af3af378d67be'
...
* commit 'f13ab29925883b4245da4129694af3af378d67be':
vf_fps: switch to an AVOptions-based system.
Conflicts:
libavfilter/vf_fps.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 19:21:59 +02:00
Michael Niedermayer
b8a1f8b4e2
Merge commit 'a39c154049a2d0c4fb02a5c74f58d6986ec21cec'
...
* commit 'a39c154049a2d0c4fb02a5c74f58d6986ec21cec':
vf_fieldorder: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_fieldorder.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 19:03:30 +02:00
Michael Niedermayer
0c3d706bdb
Merge commit 'b9dfee9fa259dfc885508179a359dccc9e7840bd'
...
* commit 'b9dfee9fa259dfc885508179a359dccc9e7840bd':
vf_fade: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_fade.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 18:48:07 +02:00
Michael Niedermayer
d70b494422
Merge commit '8ec464c61c46a5d088b43d24e384d6c37b7ef14a'
...
* commit '8ec464c61c46a5d088b43d24e384d6c37b7ef14a':
vf_drawtext: switch to an AVOptions-based system.
Conflicts:
libavfilter/vf_drawtext.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 18:31:14 +02:00
Michael Niedermayer
0726d516dc
Merge commit '335c31293baec6e6cf5907bd29840af3de8ff735'
...
* commit '335c31293baec6e6cf5907bd29840af3de8ff735':
vf_drawbox: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_drawbox.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 18:11:15 +02:00
Stefano Sabatini
215ca86475
doc/filters: review introductory example and explanation
...
In particular, fix wrong vertical mirroring command, and clarify
and extend explanation.
Based on a patch by littlebat <dashing.meng@gmail.com >.
Should fix trac ticket #2413 .
2013-04-10 18:02:00 +02:00
Stefano Sabatini
e62fca11a8
lavfi/amerge: drop duplicated "Buffer queue overflow" message
...
The same message is shown already by the called function
ff_bufqueue_is_full().
2013-04-10 18:02:00 +02:00
Stefano Sabatini
270217908b
ffmpeg: update error message, and make use of av_err2str() to simplify
2013-04-10 18:02:00 +02:00
Michael Niedermayer
eebe0b0224
Merge commit '63e58c55c17d7f8b5eec9c082fe0f8edc305a24e'
...
* commit '63e58c55c17d7f8b5eec9c082fe0f8edc305a24e':
vf_delogo: switch to an AVOptions-based system.
Conflicts:
libavfilter/vf_delogo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 17:54:20 +02:00
Michael Niedermayer
1c3cdf533b
Merge commit '460e7b4f6d473d9f03ed45501221f9cb209b28fd'
...
* commit '460e7b4f6d473d9f03ed45501221f9cb209b28fd':
vf_cropdetect: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_cropdetect.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 17:36:29 +02:00
Michael Niedermayer
200e04c70f
Merge commit 'fba0156af77b11ec99edf4ee8f511b7aaa6b1891'
...
* commit 'fba0156af77b11ec99edf4ee8f511b7aaa6b1891':
vf_crop: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_crop.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 16:56:33 +02:00
Michael Niedermayer
eb6d58d23c
Merge commit '51def31dbe5b6e857536de8fa428f263d64f3ae5'
...
* commit '51def31dbe5b6e857536de8fa428f263d64f3ae5':
vf_boxblur: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_boxblur.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 16:34:44 +02:00
Michael Niedermayer
a3cb303a4c
avfilter/blackframe: add "thres" back as alternative
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 15:48:41 +02:00
Michael Niedermayer
90efdf98b1
avfilter: support alternative keys in the alternative shorthand system
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 15:47:18 +02:00
Michael Niedermayer
43bac121d3
Merge commit '62dcdb028cc84845fd263bb09304c4c6500bda7a'
...
* commit '62dcdb028cc84845fd263bb09304c4c6500bda7a':
vf_blackframe: switch to an AVOptions-based system.
vf_aspect: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/vf_aspect.c
libavfilter/vf_blackframe.c
In the aspect filter most changes are merged but not the final
switch to the libav API because that is too restrictive and has
difficulty handling the syntax.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 15:37:21 +02:00
Michael Niedermayer
2a2a643c90
Merge commit 'e67a87eac814c7805d18c983c43033a8a1bd62af'
...
* commit 'e67a87eac814c7805d18c983c43033a8a1bd62af':
vf_(no)format: switch to an AVOptions-based system.
af_aformat: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/af_aformat.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 13:59:45 +02:00
Michael Niedermayer
451315830a
Merge commit 'd28cb849899abd98bf2dd72f5a3dd56d441aeb27'
...
* commit 'd28cb849899abd98bf2dd72f5a3dd56d441aeb27':
buffersrc: switch to an AVOptions-based system.
Conflicts:
doc/filters.texi
libavfilter/buffersrc.c
Commit not merged, merge left to maintainer.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 13:43:19 +02:00
Diego Biurrun
20429ba96e
h261: Move encoder/decoder shared table init to common code
2013-04-10 13:32:04 +02:00
Diego Biurrun
8a776ad90e
h261: Move shared data tables from a header to a proper C file
2013-04-10 13:32:04 +02:00
Michael Niedermayer
828044aca2
Merge commit '4fa1f52e33b70029e2b621852f3af7c1ef9aecff'
...
* commit '4fa1f52e33b70029e2b621852f3af7c1ef9aecff':
af_resample: switch to an AVOptions-based system.
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 13:30:17 +02:00
Stefano Sabatini
d2752ef061
lavfi/overlay: add process_command callback
2013-04-10 13:11:27 +02:00
Stefano Sabatini
006e20bd36
lavfi/overlay: add enable expression
...
This expression is useful to enable/disable overlaying on the fly.
Note that this can't be easily done relying on the filtergraph structure,
since this implies caching issues or a null frame overlaying in the best
case, which is better avoided for performance and convenience reasons.
2013-04-10 13:11:27 +02:00
Stefano Sabatini
cc3edd99a6
lavfi/overlay: add dynamic expression evaluation support
...
Add support for dynamic x, y expressions evaluation.
Also add support for an evaluation mode which allows to disable per-frame
evaluation, so that there is no speedloss in case the expression does not
depend on frame variables.
2013-04-10 13:11:27 +02:00
Stefano Sabatini
8afcaaeb75
lavu/eval: rename "new_eval_expr()" to "make_eval_expr()"
...
The new name is more semantically and stilistically consistent.
2013-04-10 13:11:27 +02:00
Michael Niedermayer
0594ef0dea
Merge commit 'b439c992c23f3e0f3832fffd2a34a664b236c525'
...
* commit 'b439c992c23f3e0f3832fffd2a34a664b236c525':
lavfi: switch to an AVOptions-based system.
dfa: implement missing TDLT coding method
Conflicts:
libavcodec/dfa.c
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 12:41:06 +02:00
Clément Bœsch
2a7f885fe1
lavf: add libquvi demuxer.
2013-04-10 12:09:20 +02:00
Ronald S. Bultje
b93b27edb0
dsputil: Make dsputil selectable
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-10 11:04:05 +03:00
Ronald S. Bultje
85deb51a01
h264: Only initialize dsputil if error resilience is enabled
...
It is only used for error resilience. This allows building the
h264 decoder without dsputil, if error resilience is disabled.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-10 11:03:53 +03:00
Ronald S. Bultje
62844c3fd6
h264: Integrate clear_blocks calls with IDCT
...
The non-intra-pcm branch in hl_decode_mb (simple, 8bpp) goes from 700
to 672 cycles, and the complete loop of decode_mb_cabac and hl_decode_mb
(in the decode_slice loop) goes from 1759 to 1733 cycles on the clip
tested (cathedral), i.e. almost 30 cycles per mb faster.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-10 11:03:06 +03:00
Martin Storsjö
e8cafd2773
h264: Clear the mb members via memset instead of using dsputil
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-10 11:01:21 +03:00
Ronald S. Bultje
6d25c9db11
dsputil: Make square put/avg_pixels functions local to h264qpel
...
Put a copy of the 8bit functions only in dsputil, where they are
used for some other things (e.g. mpeg4qpel, mspel, cavsqpel).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-10 10:59:14 +03:00
James Almer
89388a953a
Replace all occurrences of PRI in sscanf() calls with SCN
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-04-10 09:56:48 +02:00
Christophe Gisquet
2383068cbf
x86: sbrdsp: implement SSE2 qmf_pre_shuffle
...
From 253 to 51 cycles on Arrandale and Win64.
44 cycles on SandyBridge.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 02:42:22 +02:00
Clément Bœsch
d2e051e30c
lavfi/separatefields: adjust tb to avoid rounding errors.
...
Since the PTS need double accuracy, the timebase denominator is doubled
as well, and this new time base is used for the timestamp unit.
2013-04-10 02:38:54 +02:00
d s
685617ac29
avformat/avisynth: Cosmetics
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 02:25:34 +02:00
d s
ca3cef719e
avformat/avisynth: Fix off-by-one error in avisynth demuxer.
...
Fixes ticket #2412 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 02:25:34 +02:00
Paul B Mahol
d0073c7a0b
separatefields filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-10 00:08:57 +00:00
Michael Niedermayer
f1c0c6b7de
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
ffmpeg: use a rational for -aspect option.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 01:49:39 +02:00
Michael Niedermayer
6a78ec180e
ffmpeg: print frame decoding error statistic
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 01:47:03 +02:00
Michael Niedermayer
eedcac68f3
ffmpeg: dont exit 0 if fewer than 1/3 of the input could be decoded.
...
Fixes Ticket2405
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-10 01:40:06 +02:00
Christophe Gisquet
2e81acc687
x86inc: Fix number of operands for cmp* instructions
...
cmp{p,s}{s,d} instructions do take an imm8 operand.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-09 23:55:30 +02:00
Michael Niedermayer
62a1181015
h264: wait for missing slices only on frames
...
The EC code does not support fields currently thus it makes no
sense to wait for these cases (which also the check doesnt handle
correctly)
Fixes Ticket 2454
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-09 23:12:24 +02:00
Anton Khirnov
837112c0c8
af_channelmap: fix uninitialized variable use introduced in ba8efac977
2013-04-09 22:01:34 +02:00
Clément Bœsch
1043cb8e80
lavc/ass: use bprint API in ff_ass_add_rect().
2013-04-09 21:43:44 +02:00
Nicolas George
de38e7c8c3
ffmpeg: use a rational for -aspect option.
2013-04-09 20:16:20 +02:00
Anton Khirnov
cdac3acb11
lavfi: add a bump and docs entries for the AVOptions switch
2013-04-09 19:13:27 +02:00
Anton Khirnov
8114c10160
lavfi: add avfilter_get_class().
...
Useful for examining options, the same as the corresponding functions
for the other libs.
2013-04-09 19:13:19 +02:00
Anton Khirnov
4d1f31ea44
lavfi: make AVFilterContext export filter options.
2013-04-09 19:13:10 +02:00
Anton Khirnov
62549f9655
lavfi: error out when options are provided to a filter that does not take any
2013-04-09 19:12:59 +02:00
Anton Khirnov
c43a7ecad9
lavfi: remove now unused args parameter from AVFilter.init
2013-04-09 19:12:38 +02:00
Anton Khirnov
7b3eb745b9
vsrc_testsrc: switch to an AVOptions-based system.
2013-04-09 19:12:06 +02:00
Anton Khirnov
a42d6e6c4c
vsrc_movie: switch to an AVOptions-based system.
2013-04-09 19:11:27 +02:00
Anton Khirnov
b7b3302f8f
vsrc_nullsrc: switch to an AVOptions-based system.
2013-04-09 19:11:12 +02:00
Anton Khirnov
7bc1a883c9
vsrc_color: switch to an AVOptions-based system.
2013-04-09 19:11:03 +02:00
Anton Khirnov
73d5d405d4
split: switch to an AVOptions-based system.
2013-04-09 19:10:41 +02:00
Anton Khirnov
b13623e184
af_volume: switch to an AVOptions-based system.
2013-04-09 19:10:27 +02:00
Anton Khirnov
dd7fc37c71
af_join: switch to an AVOptions-based system.
...
Change the mappings separator from comma to '|' to avoid excessive
escaping, since comma is already used for separating filters in the
filtergraph description.
2013-04-09 19:10:12 +02:00
Anton Khirnov
3f14febbdf
af_channelsplit: switch to an AVOptions-based system.
2013-04-09 19:10:00 +02:00
Anton Khirnov
ba8efac977
af_channelmap: switch to an AVOptions-based system.
2013-04-09 19:09:40 +02:00
Anton Khirnov
b2b25b0659
af_asyncts: switch to an AVOptions-based system.
2013-04-09 19:09:33 +02:00
Anton Khirnov
ac20e3ab8e
af_amix: switch to an AVOptions-based system.
2013-04-09 19:09:26 +02:00
Anton Khirnov
7536c67104
vf_yadif: switch to an AVOptions-based system.
2013-04-09 19:09:03 +02:00
Anton Khirnov
b83e9efc53
vf_unsharp: switch to an AVOptions-based system.
2013-04-09 19:08:42 +02:00
Anton Khirnov
0c2466dec7
vf_transpose: switch to an AVOptions-based system.
2013-04-09 19:08:04 +02:00
Anton Khirnov
ffea3b00c3
vf_settb: switch to an AVOptions-based system.
2013-04-09 19:07:44 +02:00
Anton Khirnov
33b97faaba
vf_setpts: switch to an AVOptions-based system.
2013-04-09 19:07:28 +02:00
Anton Khirnov
95f1f56a21
vf_select: switch to an AVOptions-based system.
2013-04-09 19:06:51 +02:00
Anton Khirnov
40c885c589
vf_pad: switch to an AVOptions-based system.
2013-04-09 19:06:29 +02:00
Anton Khirnov
9087eaf193
vf_overlay: switch to an AVOptions-based system.
2013-04-09 19:06:13 +02:00
Anton Khirnov
20b46f8f4f
vf_lut: switch to an AVOptions-based system.
2013-04-09 19:05:32 +02:00
Anton Khirnov
ee0e8d4b15
vf_libopencv: switch to an AVOptions-based system.
2013-04-09 19:05:22 +02:00
Anton Khirnov
8c747d46f7
vf_hqdn3d: switch to an AVOptions-based system.
2013-04-09 19:05:12 +02:00
Anton Khirnov
7ed833d78e
vf_gradfun: switch to an AVOptions-based system.
2013-04-09 19:04:57 +02:00
Anton Khirnov
c334c113d4
vf_scale: switch to an AVOptions-based system.
2013-04-09 19:04:45 +02:00
Anton Khirnov
5aa1a668cf
vf_frei0r: switch to an AVOptions-based system.
2013-04-09 19:04:28 +02:00
Anton Khirnov
f13ab29925
vf_fps: switch to an AVOptions-based system.
2013-04-09 19:04:15 +02:00
Anton Khirnov
a39c154049
vf_fieldorder: switch to an AVOptions-based system.
2013-04-09 19:03:56 +02:00
Anton Khirnov
b9dfee9fa2
vf_fade: switch to an AVOptions-based system.
2013-04-09 19:03:43 +02:00
Anton Khirnov
8ec464c61c
vf_drawtext: switch to an AVOptions-based system.
2013-04-09 19:03:23 +02:00
Anton Khirnov
335c31293b
vf_drawbox: switch to an AVOptions-based system.
2013-04-09 19:03:08 +02:00
Anton Khirnov
63e58c55c1
vf_delogo: switch to an AVOptions-based system.
2013-04-09 19:02:43 +02:00
Anton Khirnov
460e7b4f6d
vf_cropdetect: switch to an AVOptions-based system.
2013-04-09 19:02:32 +02:00
Anton Khirnov
fba0156af7
vf_crop: switch to an AVOptions-based system.
2013-04-09 19:00:54 +02:00
Anton Khirnov
51def31dbe
vf_boxblur: switch to an AVOptions-based system.
2013-04-09 19:00:39 +02:00
Anton Khirnov
62dcdb028c
vf_blackframe: switch to an AVOptions-based system.
2013-04-09 19:00:26 +02:00
Anton Khirnov
2831b307e6
vf_aspect: switch to an AVOptions-based system.
2013-04-09 18:58:30 +02:00
Anton Khirnov
e67a87eac8
vf_(no)format: switch to an AVOptions-based system.
2013-04-09 18:56:39 +02:00
Anton Khirnov
0af7fe1f95
af_aformat: switch to an AVOptions-based system.
2013-04-09 18:55:45 +02:00
Anton Khirnov
d28cb84989
buffersrc: switch to an AVOptions-based system.
2013-04-09 18:48:16 +02:00
Anton Khirnov
4fa1f52e33
af_resample: switch to an AVOptions-based system.
2013-04-09 18:45:50 +02:00
Anton Khirnov
b439c992c2
lavfi: switch to an AVOptions-based system.
2013-04-09 18:45:37 +02:00
Kostya Shishkov
56c1b92576
dfa: implement missing TDLT coding method
2013-04-09 18:32:00 +02:00
Michael Niedermayer
b4eb06d325
msmpeg4: ignore negative DC overflow
...
Fixes second half of Ticket2414
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-09 16:27:49 +02:00
Michael Niedermayer
c03dc44070
msmpeg4: fix asm code in ff_msmpeg4_pred_dc()
...
Fixes first half of Ticket2414
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-09 16:26:52 +02:00
Michael Niedermayer
4e0130faed
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
srtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH
rtpdec: Increase max rtp packet size to 8192
lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500
h264pred: Add a few missing const declarations for ff_cropTbl derived pointers
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-09 11:36:39 +02:00
Martin Storsjö
fc792308c5
srtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH
...
This was missed from 350ad50b - this fixes building the fate-srtp
test.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-09 12:04:39 +03:00
Andrew Van Til
0e729b2290
rtpdec: Increase max rtp packet size to 8192
...
This fixes connecting to "Ceton InfiniTV4 PCIe & USB".
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-09 10:36:56 +03:00
Andrew Van Til
350ad50bf4
lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-09 10:36:43 +03:00
Michael Niedermayer
93e8fcb94b
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: simplify video pts calculation
ffplay: fix indentation
ffplay: handle audio buffersink output properly with buffering filters
ffplay: set time_base of audio filter buffer src
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-09 04:50:00 +02:00
Michael Niedermayer
5fbf9c12aa
avfilter/vf_noise: fix build without mmx*inline
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-09 04:44:32 +02:00
Paul B Mahol
9dc88ac367
lavfi: remove noise libmpcodecs wrapper
...
Native filter have reached similar performance.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-08 20:57:59 +00:00
Paul B Mahol
6934244414
lavfi/noise: copy inline asm from mp=noise
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-08 20:28:57 +00:00
Marton Balint
85b9bf5693
ffplay: simplify video pts calculation
...
Also use frame->pts instead of a standalone variable
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-04-08 22:21:45 +02:00
Marton Balint
5dacf7b1ab
ffplay: fix indentation
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-04-08 22:21:45 +02:00
Marton Balint
0b24e341ed
ffplay: handle audio buffersink output properly with buffering filters
...
Fixes cases when the audio filter generates less or more frames than the input.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-04-08 22:21:45 +02:00
Marton Balint
325846aac0
ffplay: set time_base of audio filter buffer src
...
Fixes ticket #2408 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-04-08 22:21:45 +02:00
Paul B Mahol
ed8373e7db
lavfi: always check return value of ff_get_{audio,video}_buffer()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-08 19:24:09 +00:00
Clément Bœsch
e82f562fa5
lavfi/mandelbrot: reindent after 51bcd5cd.
2013-04-08 20:40:54 +02:00
Martin Storsjö
bc0522dffa
h264pred: Add a few missing const declarations for ff_cropTbl derived pointers
...
The pointers that get assigned ff_cropTbl were made const in
9e0f14f1 , but other variables that transitively are assigned
based on these variables were missed.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-08 21:39:15 +03:00
Clément Bœsch
51bcd5cd65
lavfi/mandelbrot: fix speedloss with default config after morphing introduction.
...
Morphing was introduced in 0d6e5a171 and forced cos/sin computations
with some mult all the time. This commit makes sure these are computed
only when morphing is enabled.
2013-04-08 20:35:18 +02:00
Matthieu Bouron
1f2ce32825
lavf/wavdec: skip padding byte
...
WAV chunks must be even aligned. This patch skip the extra padding byte
if chunk size is odd.
Fixes ticket #2417 .
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 20:13:40 +02:00
Michael Niedermayer
0678c388ba
rtsp: add option to set the socket timeout of the lower protocol.
...
Fixes Ticket2294
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 17:45:13 +02:00
Michael Niedermayer
c6ae7f64a0
avio.h: fix indention
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 14:15:10 +02:00
Paul B Mahol
9fce2b8854
lavfi/il: use standard option parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-08 12:10:37 +00:00
Michael Niedermayer
8a97f6acc8
Merge remote-tracking branch 'mbouron/master'
...
* mbouron/master:
lavf/mxfdec: handle identification metadata
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 13:57:36 +02:00
Michael Niedermayer
7cfaf727a1
flvenc: dont call avio_flush() unconditional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 13:31:53 +02:00
Michael Niedermayer
a286940da1
mux: also call avio_flush() when flushing the muxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 13:31:12 +02:00
Michael Niedermayer
ad6a50c0ed
avformat: add writeout_count statistic
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 13:30:40 +02:00
Michael Niedermayer
0138fe5656
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables
Conflicts:
libavcodec/mathtables.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 12:54:18 +02:00
Michael Niedermayer
024a5f72ee
Merge commit '9e0f14f16cfc9456a691655fda7d01090bffe47e'
...
* commit '9e0f14f16cfc9456a691655fda7d01090bffe47e':
lavc: Make pointers to ff_cropTbl const
vp3: Embed idct_permutation array directly in VP3DecoderContext
Conflicts:
libavcodec/bit_depth_template.c
libavcodec/vp3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 12:47:49 +02:00
Michael Niedermayer
5f49e92eb9
Merge commit '610b18e2e3d8ef5eca3e78f33a0625689b8d2bb9'
...
* commit '610b18e2e3d8ef5eca3e78f33a0625689b8d2bb9':
x86: qpel: Move fullpel and l2 functions to a separate file
bfin: Make vp3 functions static
Conflicts:
libavcodec/bfin/vp3_bfin.c
libavcodec/x86/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 12:40:26 +02:00
Michael Niedermayer
1090f69386
Merge commit 'aa8d89536d35af0a0c8d8bac2b452ffe7b82cae5'
...
* commit 'aa8d89536d35af0a0c8d8bac2b452ffe7b82cae5':
bfin: Don't use the vp3 idct functions if bitexact behaviour is expected
Conflicts:
libavcodec/bfin/vp3_bfin.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 12:18:29 +02:00
Ronald S. Bultje
d2ec6ea6c6
lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables
...
These are widely used throughout libavcodec, nothing dsputil-specific.
Change ff_cropTbl to a statically initialized table, to avoid
initializing it with a function call.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-08 12:38:33 +03:00
Martin Storsjö
9e0f14f16c
lavc: Make pointers to ff_cropTbl const
...
There's no point in these pointers not being const.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-08 12:38:33 +03:00
Ronald S. Bultje
610b18e2e3
x86: qpel: Move fullpel and l2 functions to a separate file
...
This way, they can be shared between mpeg4qpel and h264qpel without
requiring either one to be compiled unconditionally.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-08 12:38:33 +03:00
Ronald S. Bultje
18df366a18
vp3: Embed idct_permutation array directly in VP3DecoderContext
...
This makes the vp3 decoder less dependent on dsputil, and will aid
in making it (eventually) dsputil-independent.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-08 12:38:33 +03:00
Martin Storsjö
0f59845708
bfin: Make vp3 functions static
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-08 12:29:40 +03:00
Martin Storsjö
aa8d89536d
bfin: Don't use the vp3 idct functions if bitexact behaviour is expected
...
In the non-bitexact mode, vp3 currently decodes to the same
frame crcs as before 28f9ab702 (and the output visually looks
correct).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-04-08 12:28:52 +03:00
Matthieu Bouron
25b143aa7b
lavf/mxfdec: handle identification metadata
2013-04-08 11:16:56 +02:00
Paul B Mahol
018cc6f026
lavfi/histogram: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-08 09:04:02 +00:00
Paul B Mahol
1f97dfb77f
lavfi/blend,noise: remove unedeed av_opt_free() call
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-08 09:02:03 +00:00
Christophe Gisquet
e2946e5c34
x86: sbrdsp: implement SSE qmf_deint_bfly
...
From 312 to 89/68 (sse/sse2) cycles on Arrandale and Win64.
Sandybridge: 68/47 cycles.
Having a loop counter is a 7 cycle gain.
Unrolling is another 7 cycle gain.
Working in reverse scan is another 6 cycles.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-08 02:26:34 +02:00
Paul B Mahol
1adf54de56
dfa: implement tdlt chunk decoding
...
Sample & pseudo code provided by Vladimir "VAG" Gneushev.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-07 21:48:22 +00:00
Michael Niedermayer
4bcb75cc48
ffmpeg: Print a warning when -frames is affecting non video frames
...
Fixes Ticket2395
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-07 22:13:58 +02:00
Michael Niedermayer
2f284c0170
dpxdec: Fix decoding of RGBA10
...
Fixes Ticket2392
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-07 21:39:51 +02:00
Nicolas George
0884d04dc3
lavc: fix recoded subtitles end.
...
Text subtitles packets are not 0-terminated (and if they are,
it is handled by the recoding process since 0 is a valid
Unicode code point). The terminating 0 would overwrite the
last payload octet.
OTOH, packets must be 0-padded.
Fix a problem reported in trac ticket #2431 .
2013-04-07 13:25:24 +02:00
Michael Niedermayer
38665efcc7
asfenc: convert asserts to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-07 03:59:44 +02:00
Clément Bœsch
1fabd95035
lavf/http: use a more compatible default user agent.
...
Fixes Ticket 2265.
2013-04-06 21:08:32 +02:00
Michael Niedermayer
28943c4d31
vf_noise: Fix av_lfg_get() maximum value
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 19:58:30 +02:00
Michael Niedermayer
62447248f3
vf_noise: remove low quality mode
...
It produces vissible correlation between lines
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 19:54:36 +02:00
Michael Niedermayer
21f4fc2e40
avfilter/vf_mp: fix x86 cpu caps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 18:23:59 +02:00
Christophe Gisquet
11774169ae
sbrdsp: unroll and use integer operations
...
This patch can be controversial, by assuming floats are IEEE-754 and
particular behaviour of the FPU will get in the way.
Timing on Arrandale and Win32 (thus, x87 FPU is used in the reference).
sbr_qmf_pre_shuffle_c: 115 to 76
sbr_neg_odd_64_c: 84 to 55
sbr_qmf_post_shuffle_c: 112 to 83
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 15:52:42 +02:00
Christophe Gisquet
f4ac80227b
sbrdsp: unroll sbr_autocorrelate_c
...
1410 cycles to 1148 on Arrandale/Win64.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 15:52:42 +02:00
Michael Niedermayer
ff50b08304
coverage: filter /usr/include out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 13:47:17 +02:00
Michael Niedermayer
32bac65ba0
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: sbrdsp: Implement SSE neg_odd_64
Conflicts:
libavcodec/x86/sbrdsp.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 13:30:19 +02:00
Michael Niedermayer
84bfa8beb7
Merge commit 'a862c7d3368241e72a465ab944afa38ea62a6640'
...
* commit 'a862c7d3368241e72a465ab944afa38ea62a6640':
Integrate lcov/gcov into Libav
Conflicts:
Makefile
common.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-06 13:23:38 +02:00
Paul B Mahol
11d7bbb47a
fate: add coverage for background disposal in gif decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-06 11:20:27 +00:00
Stefano Sabatini
7775992c65
doc/filters: fix main/over mismatch in movie examples
...
Found-By: littlebat <dashing.meng@gmail.com >
2013-04-06 00:54:46 +02:00
Christophe Gisquet
f4b0d12f5b
x86: sbrdsp: Implement SSE neg_odd_64
...
Timing on Arrandale:
C SSE
Win32: 57 44
Win64: 47 38
Unrolling and not storing mask both save some cycles.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-05 22:47:04 +02:00
Michael Niedermayer
37f080f6f6
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
h261: Move mvmap table to the only place it is used
Conflicts:
libavcodec/h261data.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 22:09:10 +02:00
Michael Niedermayer
473d129742
Merge commit '0404ec619d43f27b87c424aa1a572a6699fe6a31'
...
* commit '0404ec619d43f27b87c424aa1a572a6699fe6a31':
h261: cosmetics: Move functions to avoid forward declarations
Conflicts:
libavcodec/h261dec.c
libavcodec/h261enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 22:00:38 +02:00
Michael Niedermayer
04b0fd7e91
Merge commit 'b78f81c8033904e2e75add0c9a603df6df514a30'
...
* commit 'b78f81c8033904e2e75add0c9a603df6df514a30':
h261: K&R formatting and prettyprinting cosmetics
Conflicts:
libavcodec/h261_parser.c
libavcodec/h261data.h
libavcodec/h261dec.c
libavcodec/h261enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 21:53:57 +02:00
Michael Niedermayer
e7c801d9d3
Merge commit '66ac3dbf1e60c27d0f1d779a424c0b33b7ca3780'
...
* commit '66ac3dbf1e60c27d0f1d779a424c0b33b7ca3780':
h261: Move function declarations to h261.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 21:31:14 +02:00
Michael Niedermayer
3d73be071d
Merge commit 'ed16c2dbf47cdd7c48825b4da6e7036698e5dde1'
...
* commit 'ed16c2dbf47cdd7c48825b4da6e7036698e5dde1':
h261: Remove H.261 loop filter from dsputil
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 21:25:49 +02:00
Michael Niedermayer
fa871b1bde
Merge commit 'ae35d91d44c5e676af3d146bf8d05b241c467675'
...
* commit 'ae35d91d44c5e676af3d146bf8d05b241c467675':
h261: Move ff_h261_rl_table_store declaration to header file
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 21:09:04 +02:00
highgod0401
99186f1fd2
fix bug of finding CPU device
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 20:47:21 +02:00
Reinhard Tartler
a862c7d336
Integrate lcov/gcov into Libav
...
The gcov/lcov are a common toolchain for visualizing code coverage with
the GNU/Toolchain. The documentation and implementation of this
integration was heavily inspired from the blog entry by Mike Melanson:
http://multimedia.cx/eggs/using-lcov-with-ffmpeg/
2013-04-05 18:55:11 +02:00
Paul B Mahol
9a8f1e7295
img2dec: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 15:42:25 +00:00
Paul B Mahol
1d5b4f9fe9
img2dec: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 15:42:25 +00:00
Paul B Mahol
d343848de2
rawvideodec: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 15:42:24 +00:00
Paul B Mahol
9f5bb44021
rawvideodec: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 15:42:24 +00:00
Paul B Mahol
4c76600a8c
rawdec: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 15:42:24 +00:00
Paul B Mahol
3d9a789b0d
bintext: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 15:42:24 +00:00
Paul B Mahol
33b6d215fa
bintext: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 15:42:24 +00:00
Christophe Gisquet
37a9708391
x86: sbrdsp: implement SSE neg_odd_64
...
Timing on Arrandale:
C SSE
Win32: 57 44
Win64: 47 38
Unrolling and not storing mask both save some cycles.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 16:42:12 +02:00
Christophe Gisquet
0b467a6e83
x264asm: fix cmp* number of arguments
...
cmp{p,s}{s,d} instructions do take an imm8 operand.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 16:42:12 +02:00
Paul B Mahol
8c43fd8654
tty: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 14:30:56 +00:00
Paul B Mahol
20343219d2
tty: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 14:24:40 +00:00
Michael Niedermayer
29a4221ad3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames
Conflicts:
libavcodec/libopenjpegdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 12:52:23 +02:00
Stefano Sabatini
029cca6fb3
doc/filters: clarify example explanation
2013-04-05 12:47:10 +02:00
Stefano Sabatini
89d581f15e
doc/filters: fix old broken syntax of color source in overlay example
...
Found-By: littlebat <dashing.meng@gmail.com >
2013-04-05 12:47:10 +02:00
Michael Niedermayer
8e85b69d71
Merge commit '8c65264595d5a82c56ae5043320e4b875a414229'
...
* commit '8c65264595d5a82c56ae5043320e4b875a414229':
pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values
img2: Add j2k file extension for JPEG 2000
Conflicts:
libavutil/pixfmt.h
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 12:39:06 +02:00
Diego Biurrun
52cd84d4d4
h261: Move mvmap table to the only place it is used
2013-04-05 12:25:12 +02:00
Diego Biurrun
0404ec619d
h261: cosmetics: Move functions to avoid forward declarations
2013-04-05 12:25:12 +02:00
Diego Biurrun
b78f81c803
h261: K&R formatting and prettyprinting cosmetics
2013-04-05 12:25:12 +02:00
Diego Biurrun
66ac3dbf1e
h261: Move function declarations to h261.h
2013-04-05 12:25:12 +02:00
Diego Biurrun
ed16c2dbf4
h261: Remove H.261 loop filter from dsputil
...
There is no arch-optimized version of the H.261 loop filter and there
likely will never be, so the dsputil overhead does not give any benefit.
2013-04-05 12:24:28 +02:00
Diego Biurrun
ae35d91d44
h261: Move ff_h261_rl_table_store declaration to header file
2013-04-05 12:24:28 +02:00
Stefano Sabatini
495ed19b5b
cmdutils: remove error message from opt_default() in case of missing option
...
A similar error message is generated by the calling function, avoid
duplication and spurious error message occurring with negated boolean
options introduced in 8bb5680 , which can be reproduced for example with
the command:
ffmpeg -f lavfi -i testsrc=d=0.1 -nostdin -f null -
2013-04-05 10:48:32 +02:00
Stefano Sabatini
9b4d9d8795
doc: enable compilation of -all tool pages
...
In particular, add documentation configuration system, through the
doc/config.texi file.
Fix trac issue #2374 .
2013-04-05 10:11:57 +02:00
Stefano Sabatini
702e743827
doc: move ffmpeg-scaler.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
a6cd26fc93
doc: move ffmpeg-resampler.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
a7990287aa
doc: move ffmpeg-devices.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
2086c7e173
doc: move ffmpeg-formats.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
d5f3a0c221
doc: move ffmpeg-codecs.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Paul B Mahol
2b26077c95
lavfi/blend: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 00:14:55 +00:00
Paul B Mahol
a95e683867
lavfi/noise: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 00:14:55 +00:00
Paul B Mahol
659672f3ee
lavfi/afade: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-05 00:14:55 +00:00
Andrew Van Til
8df46c65cf
rtpdec: Increase max rtp packet size to 8192
...
Fixes Ticket2314
Fixes connecting to "Ceton InfiniTV4 PCIe & USB"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 01:48:55 +02:00
Andrew Van Til
5ed9eebc24
rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-05 01:48:55 +02:00
Stefano Sabatini
c430eb2d58
doc/filters: fix erroneously truncated comment on a scale example
2013-04-05 01:18:06 +02:00
Stefano Sabatini
e80bc76e9e
doc/filters: put separated geq variables in separate lines
...
Make clear that they are not aliases for the same variable.
2013-04-05 01:18:06 +02:00
Paul B Mahol
faf689c7eb
xbmenc: remove unused code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-04 22:43:26 +00:00
Paul B Mahol
08b31a72db
xwdenc: remove unused code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-04 22:43:25 +00:00
Paul B Mahol
77535bb3c3
bmpenc: get rid of BMPContext as it is unused
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-04 22:43:25 +00:00
Paul B Mahol
bd252ff6fa
lavfi/smptebars: fix invalid writes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-04 22:10:42 +00:00
Michael Niedermayer
0f8435c089
doc: document -v repeat
...
Thanks-to: Derek Buitenhuis
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 23:36:57 +02:00
Michael Niedermayer
0a512e347f
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavc: use packet duration for subtitles if necessary.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 21:19:45 +02:00
Nicolas Bertrand
28a807e28b
libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-04 19:53:07 +02:00
Nicolas Bertrand
8c65264595
pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-04 19:50:59 +02:00
Nicolas Bertrand
5e46f6b5b7
img2: Add j2k file extension for JPEG 2000
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-04-04 19:47:05 +02:00
highgod0401
cfaffb1ab7
avutil/opencl: replace assert by check and error message in av_opencl_init()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 19:27:45 +02:00
highgod0401
322428c851
avutil/opencl: check strtol for failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 19:26:16 +02:00
highgod0401
39406ea321
avutil/opencl: add check for the program number to create kernel
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 19:25:22 +02:00
Paul B Mahol
b1dea2c0d8
lavfi/blend: add N variable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-04 15:30:06 +00:00
Paul B Mahol
6a08ccd61d
lavfi/smptebars: fix output for subsampled yuv
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-04 14:32:49 +00:00
Michael Niedermayer
3b93bea9e3
matroskadec: Check EBML lace sizes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 15:51:04 +02:00
Michael Niedermayer
115c3bc41f
matroskadec: Check for overflows in xiph lace decoding
...
This also detects errors earlier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 15:17:57 +02:00
Michael Niedermayer
14de77d677
matroskadec: fix return code for too long xiph laces
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 15:13:53 +02:00
Michael Niedermayer
740ebe468c
dfa: remove redundant check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 14:49:00 +02:00
Michael Niedermayer
7ad359b394
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
xmv: do not leak memory in the error paths in xmv_read_header()
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 14:35:40 +02:00
Michael Niedermayer
208be6b54a
Merge commit 'd1016dccdcb10486245e5d7c186cc31af54b2a9c'
...
* commit 'd1016dccdcb10486245e5d7c186cc31af54b2a9c':
xmv: check audio track parameters validity.
bmv: check for len being valid in bmv_decode_frame().
Conflicts:
libavformat/xmv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 14:20:51 +02:00
Nicolas George
83affcde51
lavc: use packet duration for subtitles if necessary.
...
Fix trac ticket #2397 .
2013-04-04 14:04:51 +02:00
Michael Niedermayer
cdafcf838c
Merge commit '8d617b11cfc87b2c6056fee029ac5bc760af874a'
...
* commit '8d617b11cfc87b2c6056fee029ac5bc760af874a':
id3v2: pad the APIC packets as required by lavc.
dfa: check for invalid access in decode_wdlt().
Conflicts:
libavformat/id3v2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 13:41:01 +02:00
Michael Niedermayer
ab2989378f
Merge commit 'dbb1425811a672eddf4acf0513237cdf20f83756'
...
* commit 'dbb1425811a672eddf4acf0513237cdf20f83756':
lavf: make sure stream probe data gets freed.
avfiltergraph: set deprecated filter_count.
Conflicts:
libavformat/utils.c
See: 44a7a6300d
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 13:24:33 +02:00
Michael Niedermayer
e7389ed5d0
Merge commit 'bcc94328980e6c56546792ab08b0756abdce310b'
...
* commit 'bcc94328980e6c56546792ab08b0756abdce310b':
opt: check the return values of av_get_token for ENOMEM.
doc: Fix best_nb_channells typo
matroska: pass the lace size to the matroska_parse_rm_audio
Conflicts:
libavformat/matroskadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 13:00:59 +02:00
Michael Niedermayer
534b292102
Merge commit '8a96df7b70be509dae9ceec82d2c10a20361356d'
...
* commit '8a96df7b70be509dae9ceec82d2c10a20361356d':
matroska: fix a corner case in ebml-lace parsing
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 12:46:47 +02:00
Michael Niedermayer
57b191b82a
Merge commit 'fc43c19a567aa945398dccb491d972c11ec2a065'
...
* commit 'fc43c19a567aa945398dccb491d972c11ec2a065':
matroska: Update the available size after lace parsing
clang: use -fsantize=address and -fsanitize=thread
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 12:39:18 +02:00
Stefano Sabatini
d344b99954
doc/ffprobe: fix references in See Also section
2013-04-04 10:13:30 +02:00
Anton Khirnov
f8080bd13b
xmv: do not leak memory in the error paths in xmv_read_header()
...
CC: libav-stable@libav.org
2013-04-04 07:54:45 +02:00
Anton Khirnov
d1016dccdc
xmv: check audio track parameters validity.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-04-04 07:54:35 +02:00
Anton Khirnov
b88f902125
bmv: check for len being valid in bmv_decode_frame().
...
It can be 0 or -1 for invalid files, which may result in invalid memory
access.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-04-04 07:54:27 +02:00
Anton Khirnov
8d617b11cf
id3v2: pad the APIC packets as required by lavc.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-04-04 07:54:15 +02:00
Anton Khirnov
3623589edc
dfa: check for invalid access in decode_wdlt().
...
This can happen when the number of skipped lines is not consistent with
the number of coded lines.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-04-04 07:54:07 +02:00
Anton Khirnov
dbb1425811
lavf: make sure stream probe data gets freed.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-04-04 07:54:00 +02:00
Anton Khirnov
6d0546bbaf
avfiltergraph: set deprecated filter_count.
2013-04-04 07:52:32 +02:00
Anton Khirnov
bcc9432898
opt: check the return values of av_get_token for ENOMEM.
2013-04-04 07:51:53 +02:00
Peter Meerwald
dfcbe8cbd7
doc: Fix best_nb_channells typo
...
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-04-04 07:51:28 +02:00
Michael Niedermayer
e278500181
oggdec: Support byte based seeking
...
Fixed Ticket2317
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 04:04:24 +02:00
Michael Niedermayer
e10f5bd05c
avformat: Add a mechanism to allow demuxers to detect byte based seeking.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-04 04:04:24 +02:00
Carl Eugen Hoyos
1c0d8f2563
Add a work-around for msvc compilation until c99-to-c89 issue 7 is fixed.
...
Tested-by: Nevcairiel
2013-04-04 00:01:34 +02:00
Michael Niedermayer
f51ce34e5e
matroskadec: fix display_width/height = 0 handling
...
Fixes Ticket2424
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 23:45:32 +02:00
Stefano Sabatini
36babfdc39
doc/fate.texi: fix typo
2013-04-03 21:07:15 +02:00
Paul B Mahol
9cb25440b3
doc/filters: fix error in blend description
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-03 17:06:25 +00:00
Michael Niedermayer
5c6f7ed667
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavc: do not init frame with guessed layout.
lavfi/af_atempo: simplify request_frame loop.
lavfi/af_asetnsamples: simplify request_frame loop.
lavfi/f_ebur128: remove request_frame hack.
lavfi/vf_tile: simplify request_frame loop.
lavfi: reindent after last commit.
lavfi: loop on request_frame if necessary.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 18:29:23 +02:00
Nicolas George
464f94b206
lavc: do not init frame with guessed layout.
...
It is breaking support from files with unknown layout.
2013-04-03 17:44:10 +02:00
Nicolas George
d38c173dfb
lavfi/af_atempo: simplify request_frame loop.
2013-04-03 17:44:10 +02:00
Nicolas George
b570f24d76
lavfi/af_asetnsamples: simplify request_frame loop.
2013-04-03 17:44:10 +02:00
Nicolas George
9566ba91ab
lavfi/f_ebur128: remove request_frame hack.
2013-04-03 17:44:10 +02:00
Nicolas George
77fa554b6e
lavfi/vf_tile: simplify request_frame loop.
2013-04-03 17:44:10 +02:00
Nicolas George
69d67fb622
lavfi: reindent after last commit.
2013-04-03 17:44:10 +02:00
Nicolas George
79d8cfacf0
lavfi: loop on request_frame if necessary.
...
Some filters need several input frames before producing output.
For these filter, it becomes simpler to return 0 in
request_frame() and let the framework call it again until
output has been produced.
2013-04-03 17:33:27 +02:00
Carl Eugen Hoyos
db2d3a9082
Skip padding in an id3 tag in aiff files.
...
Fixes ticket #2430 .
Reviewed-by: Matthieu Bouron
2013-04-03 15:45:46 +02:00
Michael Niedermayer
c208576cef
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Fix make checkheaders without opencl headers.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 15:35:23 +02:00
Carl Eugen Hoyos
c484b3af15
Fix make checkheaders without opencl headers.
2013-04-03 15:28:29 +02:00
Michael Niedermayer
d3fc2db47e
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avfiltergraph: check for sws opts being non-NULL before using them.
Conflicts:
libavfilter/avfiltergraph.c
libavfilter/graphparser.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 15:20:05 +02:00
Michael Niedermayer
4d636947b4
Merge commit '817dff578f13ce97576c609ab141508b9dc782e9'
...
* commit '817dff578f13ce97576c609ab141508b9dc782e9':
configure: Check for the atomic.h functions used in the suncc atomics header
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 15:08:21 +02:00
Paul B Mahol
e3cc92a623
smacker: fix off by one error
...
Regression since a93b572ae4 .
Fixes #2426 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-03 13:01:38 +00:00
Michael Niedermayer
6ce1d87355
Merge commit 'f9f6402e9c9ce3642df981b48507df3a2d956f65'
...
* commit 'f9f6402e9c9ce3642df981b48507df3a2d956f65':
configure: prettify atomics handling.
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 14:46:48 +02:00
Paul B Mahol
6fcb4ae1d8
lavfi/afade * biquads: call av_frame_copy_props()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-03 11:10:00 +00:00
Paul B Mahol
0ab10f69ef
lavfi/earwax: clip sample, this is what sox does
...
Fixes #1884 .
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-03 10:55:13 +00:00
Carl Eugen Hoyos
6e90d9e206
vf_deshake: Reorder constant arguments in an if() statement.
...
Fixes compilation with clang on netbsd with --disable-optimizations.
Tested-by: Paul B Mahol
2013-04-03 12:52:38 +02:00
Luca Barbato
25a80a931a
matroska: pass the lace size to the matroska_parse_rm_audio
...
Each lace must be independent according to the specification.
Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.
Stricter check than fc43c19a56
CC: libav-stable@libav.org
2013-04-03 12:34:38 +02:00
Luca Barbato
8a96df7b70
matroska: fix a corner case in ebml-lace parsing
...
Make sure we notice when the lace_size[n] is a negative value.
CC: libav-stable@libav.org
2013-04-03 12:33:15 +02:00
Dale Curtis
fc43c19a56
matroska: Update the available size after lace parsing
...
Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-04-03 12:33:01 +02:00
Luca Barbato
19f251a288
clang: use -fsantize=address and -fsanitize=thread
...
The previous syntax is deprecated.
2013-04-03 12:23:43 +02:00
Paul B Mahol
bf65752848
aphaser filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-03 08:33:59 +00:00
Anton Khirnov
6e3c13a559
avfiltergraph: check for sws opts being non-NULL before using them.
...
Avoid snprintfing a NULL pointer.
CC: libav-stable@libav.org
2013-04-03 09:29:55 +02:00
Martin Storsjö
817dff578f
configure: Check for the atomic.h functions used in the suncc atomics header
...
The "suncc" atomics implementation uses a suncc specific memory
barrier, but also relies on a few atomic functions from atomic.h,
that are not suncc specific but specific to solaris. This made
the current implementation fail on suncc on linux.
2013-04-03 09:23:04 +02:00
Anton Khirnov
f9f6402e9c
configure: prettify atomics handling.
...
Add simpler names and a shorthand for native atomics (as opposed to
pthreads fallback).
2013-04-03 09:22:31 +02:00
Michael Niedermayer
83e2217221
flvdec: fix seeking in audio only files
...
Fixes Seeking with the file in Ticket2283
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 03:57:37 +02:00
Michael Niedermayer
aa7d9809c1
h264pred: fix "warning: initialization discards const qualifier from pointer target type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-03 03:14:09 +02:00
Clément Bœsch
e7692a9bac
lavfi/edgedetect: reindent after previous commit.
2013-04-03 00:31:19 +02:00
Clément Bœsch
e366aec030
lavfi/edgedetect: add direct path.
2013-04-03 00:30:48 +02:00
Michael Niedermayer
ccc25378bd
avformat: fix atomatic format selection for (s)segment
...
Fixes Ticket2236
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-02 21:52:40 +02:00
Michael Niedermayer
356363c898
ffmpeg: Fix forcing of the framerate for stream copy on input
...
Fixes Ticket2211
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-02 18:19:23 +02:00
highgod0401
9079359141
deshake opencl based on comments on 20130402 3rd
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-02 15:57:44 +02:00
Michael Niedermayer
c09da45ffb
dsputil: Fix "warning: initialization discards const qualifier from pointer target type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-02 14:52:18 +02:00
Paul B Mahol
1de11a7cab
libmp3lame: allow joint stereo to be disabled
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-04-02 12:14:14 +00:00
Michael Niedermayer
4dd31f88f5
cavs: fix "warning: initialization discards const qualifier from pointer target type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-02 05:12:10 +02:00
Michael Niedermayer
7f4b588fdf
ffplay: use seek per time for ogg by default
...
Fixes Ticket2383
Reviewed-by: Marton Balint <cus@passwd.hu >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-02 01:36:45 +02:00
Stefano Sabatini
064acc9743
lavu/opencl: use consistent inclusion header guard name
2013-04-01 23:54:29 +02:00
Stefano Sabatini
57d77b3963
lavu/opencl: apply misc cosmetics fixes
...
Split long lines, reindent code, add missing spaces between operators,
remove possibly confusing comment from av_opencl_buffer_read_image()
doxy, and use designated initializers for openclutils_class.
2013-04-01 23:54:21 +02:00
Michael Niedermayer
4394528d2d
cavsdsp: fix "warning: initialization discards const qualifier from pointer target type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-01 20:47:48 +02:00
Michael Niedermayer
f7a02d5d69
ffmpeg: initialize got_output, this silences a compiler warning from icc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-01 20:47:48 +02:00
Clément Bœsch
6278bc8a6c
lavfi/curves: make use of options to store the preset names.
2013-04-01 20:37:45 +02:00
Clément Bœsch
2208a46f8f
cmdutils: fix build with --disable-avfilter.
2013-04-01 19:56:59 +02:00
Michael Niedermayer
599866f5d5
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi/af_asetnsamples: fix EOF handling.
lavu/opt: make sure av_opt_set_bin() handles NULL/0.
lavd/v4l2: fully init an ioctl argument.
lavfi: detect merge failure for unknown layouts.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-01 15:13:07 +02:00
Michael Niedermayer
ce841bc032
Changelog: add entry for OpenCL
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-01 13:32:34 +02:00
Michael Niedermayer
76071322a3
opencl: fix double ;
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-01 13:01:17 +02:00
highgod0401
189cbc1a03
opencl wrapper based on comments on 20130401
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-01 12:52:13 +02:00
Michael Niedermayer
24f822c3ab
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
oma: Validate sample rates
Conflicts:
libavformat/oma.c
See: a30165c4a8
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-01 12:48:04 +02:00
Nicolas George
52853077ee
lavfi/af_asetnsamples: fix EOF handling.
...
Only filter one buffered frame.
Correctly return EOF if there is none.
2013-04-01 10:38:52 +02:00
Nicolas George
983d04dd40
lavu/opt: make sure av_opt_set_bin() handles NULL/0.
2013-04-01 10:38:38 +02:00
Nicolas George
9dd54d7422
lavd/v4l2: fully init an ioctl argument.
...
Silence a valgrind warning about uninitialized memory.
2013-04-01 10:38:14 +02:00
Nicolas George
f810ca63f8
lavfi: detect merge failure for unknown layouts.
...
Detect when filtering known layouts from an explicit list
results in an empty list.
Fix erratic behavior.
2013-04-01 10:37:48 +02:00
Derek Buitenhuis
7d05751581
doc: Grammar fixes for strem specifiers section
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:09 -04:00
Derek Buitenhuis
0cb2d32453
doc: Fix broken English in the common options description
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:09 -04:00
Derek Buitenhuis
a034cdf49d
doc: Grammar fixes for stream selection
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:09 -04:00
Derek Buitenhuis
9db706206d
doc: Consistently use 'filtergraph'
...
We used to use 'filtergraph' or 'filter graph' randomly.
'filtergraph' was chosen due to having 57 occurrences in
the documentation, whereas 'filter graph' had only 19.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:08 -04:00
Derek Buitenhuis
9249b28e79
doc: Grammar fixes for FFmpeg's detailed description
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:08 -04:00
Derek Buitenhuis
fe64b88950
doc: Consistently use 'frame rate' everywhere
...
We used to use 'framerate' or 'frame rate' randomly.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:08 -04:00
Derek Buitenhuis
91b5ee6699
doc: Grammar fixes for FFmpeg description
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:08 -04:00
Derek Buitenhuis
9f597052d4
doc: Fix grammar in -n description
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:08 -04:00
Derek Buitenhuis
876fe11e32
doc: Small grammar fix in -f description
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:08 -04:00
Derek Buitenhuis
e54a15b681
doc: Document which cpuflags exist
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:08 -04:00
Derek Buitenhuis
4c79367e9b
doc: Explain the various logevel settings
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:22:02 -04:00
Derek Buitenhuis
1fb8ecb498
doc: Remove list of format fields
...
These are available in the output of -formats.
Similarily, we do not list the fields for e.g. -codecs.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-31 18:02:18 -04:00
Michael Niedermayer
a9f8182a9d
doxygen: dont strip code comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-31 22:34:13 +02:00
Michael Niedermayer
ac126a98e5
dvdec: fix lowres=3 with yuv 4:1:1
...
Fixes Ticket2390
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-31 20:37:49 +02:00
Clément Bœsch
d00dcb8c9f
opt: attempt to improve options dump output.
...
Add some indent and remove the '-' prefix for filters.
2013-03-31 18:22:23 +02:00
Clément Bœsch
999a46b12c
cmdutils: support filters in the help topic system.
2013-03-31 18:22:23 +02:00
Clément Bœsch
7d8ad6c1fa
cmdutils: avtool -> fftool
2013-03-31 18:22:23 +02:00
Michael Niedermayer
5c13ae280f
cmdutils: allow forcing log line repeation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-31 18:06:18 +02:00
Michael Niedermayer
cb16d433a9
cmdutils_common_opts: fix loglevel help text as its inaccurate
...
ffmpeg and ffplay use the loglevel as well as libpostproc, libswscale
and libswresample.
Also this makes the text shorter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-31 18:06:18 +02:00
Stefano Sabatini
66c92a1575
examples/resampling_audio: make use of av_samples_alloc_array_and_samples()
...
Simplify.
2013-03-31 18:00:45 +02:00
Stefano Sabatini
5c73645d91
lavu/samplefmt: add av_samples_alloc_array_and_pointers()
2013-03-31 18:00:44 +02:00
Stefano Sabatini
39aad43465
lavfi/overlay: fix debug PTS output in try_filter_frame()
...
The PTS of the input frames must be interpreted according to the input
timebase, which is not the same as the output timebase.
2013-03-31 18:00:44 +02:00
Luca Barbato
0933fd1533
oma: Validate sample rates
...
The sample rate index is 3 bits even if currently index 5, 6 and 7 are
not supported.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-03-31 16:10:52 +02:00
Timothy Gu
874173002e
doc/filters: fix width/height typo in crop filter.
...
Signed-off-by: Clément Bœsch <ubitux@gmail.com >
2013-03-31 12:20:17 +02:00
Clément Bœsch
01b2d1288a
lavfi/volume: use designated initializers for the sample_fmts declaration.
2013-03-31 11:58:20 +02:00
Clément Bœsch
4dae804d3c
lavfi/volume: use copy props helper instead of incomplete manual code.
2013-03-31 11:58:20 +02:00
Clément Bœsch
eb054a9693
fate/filter: use aperms to test volume filter.
2013-03-31 11:58:20 +02:00
Michael Niedermayer
f8201cc18b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
doc/platform: Remove part about dllimport
vp8: Fix pthread_cond and pthread_mutex leaks
Conflicts:
doc/platform.texi
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-31 11:31:19 +02:00
Clément Bœsch
29667a2c20
decimate: check for avctx ptr before closing.
...
Fixes a crash init failed before setting avctx.
2013-03-31 10:00:32 +02:00
Stephen Hutchinson
8cd7aab1bb
Use PIX_FMT_BGR24 for the AviSynth demuxer, instead of RGB24.
...
Partial fix for ticket #2412 in that using PIX_FMT_BGR24 fixes the
swapped channels issue when using scripts serving RGB24.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-31 01:09:33 +01:00
Michael Niedermayer
34ea5f418e
h264_refs: check for multiple mismatching long term ref assignments
...
Fixes failure of the assert added a few hours ago.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-31 00:18:23 +01:00
Michael Niedermayer
8b9059cfdd
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: always queue attachment pictures after flushing the video packet queue
ffplay: fix early frame dropped pts serial
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 22:25:00 +01:00
Michael Niedermayer
3d68f5e032
h264_direct: assert the validity of the spatial ref
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 21:13:19 +01:00
Michael Niedermayer
285c5f6838
h264: move last_slice_type reset into decode_slice_header
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 20:57:31 +01:00
Michael Niedermayer
11c3381ce3
h264: move the default_ref_list_done check down after its inputs have been written
...
Fixes out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 20:28:00 +01:00
Michael Niedermayer
3f2ce24f59
h264_refs: assert that the references are not deallocated
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 20:28:00 +01:00
Michael Niedermayer
fbb6741a84
h264_refs: assert that long ref fields have not been inserted multiple times
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 20:28:00 +01:00
Michael Niedermayer
dc92464aee
avutil: add av_buffer_get_ref_count()
...
This function is quite usefull for debuging
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 20:28:00 +01:00
Michael Niedermayer
746016598d
h264: Move slice_table clean out of frame_start
...
Fixes inconsistency ultimately leading to an out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 20:28:00 +01:00
Derek Buitenhuis
f2f57d1679
doc/platform: Remove part about dllimport
...
Only deprecated things need this at all anymore, as we have functions
to access them or they are no longer needed.
The document should not encourage use of deprecated APIs.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-30 13:52:02 -04:00
Marton Balint
1c2ac44947
ffplay: always queue attachment pictures after flushing the video packet queue
...
Requeue them after seeking and also after opening a video stream. Also don't
fill the video queue in case of an attached picture video stream since there
will be no more than one packet from that stream.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-03-30 16:44:19 +01:00
Marton Balint
de81d8da47
ffplay: fix early frame dropped pts serial
...
Fixes early frame drop which was kind of broken since
26c208cf0f .
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-03-30 16:44:19 +01:00
Matt Wolenetz
1d6e618939
vp8: Fix pthread_cond and pthread_mutex leaks
...
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-30 16:08:50 +01:00
Carl Eugen Hoyos
b448c0a68d
Write broken aac frames to mov files instead of skipping them.
...
Fixes decoding with picky media players.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 14:29:15 +01:00
Michael Niedermayer
89ec4f4d5e
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Fix compilation with --enable-decoder=webp --disable-decoder=vp8
Do not show "Estimating duration from bitrate" warning if no duration was estimated.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 13:41:43 +01:00
Michael Niedermayer
612d9cdbe9
ffplay: use av_guess_frame_rate()
...
Reviewed-by: Marton Balint <cus@passwd.hu >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 13:30:37 +01:00
Michael Niedermayer
ee53777e70
fate: Print correct error message for reference generation too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 11:41:58 +01:00
Michael Niedermayer
6c8aa2035d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: add an option to generate the references
Conflicts:
doc/fate.texi
tests/fate-run.sh
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-30 11:21:15 +01:00
Carl Eugen Hoyos
670bb1c979
Fix compilation with --enable-decoder=webp --disable-decoder=vp8
2013-03-30 08:25:44 +01:00
Carl Eugen Hoyos
4d3c5d3b65
Do not show "Estimating duration from bitrate" warning if no duration was estimated.
2013-03-30 08:24:51 +01:00
Paul B Mahol
95c7cad70c
lavc: remove empty function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-30 03:23:02 +00:00
Stefano Sabatini
c838701ce4
doc/texi2pod.pl: skip printing chapter names if they are disabled
2013-03-30 16:58:45 +01:00
Stefano Sabatini
37fce84e27
lavc/libtheoraenc: clarify comment about global_quality to quality conversion
2013-03-30 16:58:40 +01:00
Matt Wolenetz
65340c976c
Fix pthread_cond and pthread_mutex leaks in vp8
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 21:36:04 +01:00
Paul B Mahol
1c11ab82d6
paf_video: make code independent of sizeof(AVFrame)
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-29 20:19:10 +00:00
Michael Niedermayer
66e9716a36
aacps: correct opdipd code to match spec
...
This fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 21:03:59 +01:00
Paul B Mahol
a345b7f906
vmdav: use more unchecked bytestream2 variants where it makes sense
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-29 19:48:45 +00:00
Paul B Mahol
67f9bbbb3f
noise_bsf: check if allocation failed
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-29 19:00:16 +00:00
Paul B Mahol
8263726c69
lavc: fix typo
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-29 18:59:56 +00:00
Xidorn Quan
c7269e3a26
vda_h264_dec: fit the new API
...
It fixes a memory leak in this decoder caused by the API change.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 17:55:48 +01:00
Michael Niedermayer
ef7b6b489a
ffmpeg/avformat: factor av_guess_frame_rate() out
...
This will be used in ffplay
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 17:40:28 +01:00
Xidorn Quan
c81d2fa96d
avutil/buffer: add get_opaque
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 17:31:16 +01:00
Luca Barbato
b01b60a29d
fate: add an option to generate the references
...
Useful to add or update fate tests.
2013-03-29 15:41:26 +01:00
Michael Niedermayer
774a268497
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
flvdec: read audio sample size and channels metadata
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 11:02:25 +01:00
Michael Niedermayer
8ed9d34aa7
Merge commit 'c3d015775388882b8a122afc337ea35108f652be'
...
* commit 'c3d015775388882b8a122afc337ea35108f652be':
flvdec: use the correct audio codec id when parsing metadata
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 10:56:36 +01:00
Michael Niedermayer
24cfe91a22
id3v2: allocate large enough buffer
...
Fixes array overread
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 05:01:38 +01:00
Michael Niedermayer
aa28c42534
mjpegdec: check buffer before using it
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 05:00:15 +01:00
Michael Niedermayer
551f683861
yop: Do not keep a copy of parts of the returned packet
...
Fixes double free
Regression since the new buffer references, thus no FFmpeg
releases should be affected
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 02:11:34 +01:00
Michael Niedermayer
6ae03353de
mpegvideo: Make the table reallocation more robust.
...
This fixes out of array writes after resolution changes
No FFmpeg releases are known to be affected by this
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-29 02:11:34 +01:00
Clément Bœsch
0fb9f77a39
LICENSE: add libutvideo in the GPL libraries list.
2013-03-29 02:08:20 +01:00
Michael Niedermayer
3969b4b861
gmc: Always use edge emu
...
The gmc functions access more pixels than there is allocated memory.
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 22:24:33 +01:00
Michael Niedermayer
8fc52a5ef9
wmv2: drop non emu edge mode
...
slightly (~ 0.5%) faster, tested with time ./ffmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 21:59:23 +01:00
Michael Niedermayer
76e6b1eba1
wmv2: Use emu edge mode when the edge is too small
...
Fixes out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 21:50:53 +01:00
Michael Niedermayer
92002db3eb
h264_refs: Check for attempts to assign pictures to short & long.
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 21:09:47 +01:00
Clément Bœsch
dd17843b8a
fate/filter: make overlay test bitexact.
2013-03-28 17:55:02 +01:00
Clément Bœsch
ef4020ca7d
fate/filter: move gradfun filtergraph to a dedicated script.
2013-03-28 17:44:22 +01:00
Clément Bœsch
0adc93ba2b
fate/filter: move concat filtergraph to a dedicated script.
2013-03-28 17:44:22 +01:00
Clément Bœsch
b1213c911c
fate/filter: move some CMD below deps for consistency.
2013-03-28 17:44:22 +01:00
Clément Bœsch
7f19fc99e0
fate/filter: remove pointless indirections for gradfun and hqdn3d.
2013-03-28 17:44:22 +01:00
Clément Bœsch
4694af1088
fate/filter: rename 'ubitux' rules to 'sample'.
2013-03-28 17:44:18 +01:00
Clément Bœsch
ac00755e0a
fate/filter: stick delogo test with its deps (cosmetics).
2013-03-28 17:37:53 +01:00
Michael Niedermayer
27b7bfc7b5
avidec: Fix demuxing of non seekable avis with multiple RIFFs
...
This solution uses the size of the first RIFF if its valid
to check frame size validity when the filesize could not be determined.
Feedback is welcome, other ideas and improvments as well!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 17:30:42 +01:00
Giorgio Vazzana
5009863ab5
lavd/v4l2: fix printing of list_formats table
...
In particular we needed a '\n' at the end of the line when the format is emulated.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 16:17:42 +01:00
Giorgio Vazzana
b97f7d9d24
lavd/v4l2: replace ioctl() with v4l2_ioctl()
...
This is consistent with the rest of the file and makes listing of
emulated formats possible when ffmpeg is compiled with libv4l2.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 16:17:04 +01:00
Michael Niedermayer
e14f8bd07e
fate: Disable af_join test, as its output is not deterministic currently
...
The reason for the failure is unknown, this needs to be debuged and fixed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 15:29:21 +01:00
Michael Niedermayer
e0dd8cadcc
af_join: fix channel count and format
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 15:29:14 +01:00
Michael Niedermayer
37bdf33cff
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
vmdav: convert to bytestream2
FATE: add a test for the join filter
FATE: add a test for the volume filter
Conflicts:
libavcodec/vmdav.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 15:02:49 +01:00
Michael Niedermayer
acaee26008
af_channelsplit: set output channels, fix assertion failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 14:29:11 +01:00
Michael Niedermayer
7a14564b2d
Merge commit '43a8333a16c796b3d855fb3aaa742103cb62731f'
...
* commit '43a8333a16c796b3d855fb3aaa742103cb62731f':
FATE: add a test for the channelsplit filter
FATE: add a test for the channelmap filter
FATE: add a test for the negate filter
FATE: add a test for the overlay filter
Conflicts:
tests/fate/filter.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 14:29:01 +01:00
Michael Niedermayer
8823ec4f9e
Merge commit 'ea290d919a52f0f8c7e30d69328bb011ed13f61a'
...
* commit 'ea290d919a52f0f8c7e30d69328bb011ed13f61a':
FATE: add a test for the setpts filter
FATE: add a test for the hqdn3d filter
FATE: add a test for the transpose filter
FATE: add a test for the unsharp filter
Conflicts:
tests/ref/fate/filter-hqdn3d
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 14:05:22 +01:00
Michael Niedermayer
6f1a6a9f6b
Merge commit '1a6d4bd7b60761bd7d955011ce7df4dd6b87b497'
...
* commit '1a6d4bd7b60761bd7d955011ce7df4dd6b87b497':
FATE: add a test for the fade filter
FATE: add a test for the drawbox filter
FATE: add a test for the boxblur filter
FATE: add a test for the gradfun filter
Conflicts:
tests/fate/filter.mak
tests/ref/fate/filter-gradfun
our gradfun test is renamed to gradfun-ubitux as its name conflicts and
it was requested to be kept. Feel free to rename, change, finetune ...
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 13:48:05 +01:00
Michael Niedermayer
ac1a1fd708
Merge commit '1ae44c87c924b69a0657256fbaa8ad140df2f27c'
...
* commit '1ae44c87c924b69a0657256fbaa8ad140df2f27c':
lavfi/gradfun: remove rounding to match C and SSE code.
lavfi/gradfun: fix dithering in MMX code.
lavfi/gradfun: fix rounding in MMX code.
lavfi/gradfun: do not increment DC pointer for odd values.
fate: filter: Add dependencies
avconv: add options for reading filtergraphs from a file.
Conflicts:
Changelog
doc/ffmpeg.texi
doc/filters.texi
ffmpeg.h
ffmpeg_opt.c
libavfilter/vf_gradfun.c
tests/fate/filter.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 13:00:39 +01:00
Paul B Mahol
705b607db8
lavfi/biquads: fix min allowed option value
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-28 11:52:11 +00:00
Michael Niedermayer
fd37a7dc3c
Merge commit 'cf53704c55378cc0dcfc16637cdac7d58f0b3107'
...
* commit 'cf53704c55378cc0dcfc16637cdac7d58f0b3107':
AVOptions: make av_set_options_string() forward options to child objects
win32: Use 64-bit fstat/lseek variants for MSVC as well
win32: Make ff_win32_open more robust
Conflicts:
libavformat/os_support.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 12:26:36 +01:00
Michael Niedermayer
e63ebaca16
Merge commit 'e9cc98839574c7e8d546e890ebbf57d1766e5d8a'
...
* commit 'e9cc98839574c7e8d546e890ebbf57d1766e5d8a':
win32: Allow other programs to open the same files
configure: Add error_resilience as dependency to the eatqi decoder
Conflicts:
configure
libavformat/os_support.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 12:20:41 +01:00
Michael Niedermayer
dac1d92cb7
Merge commit '472391b9a7e15e3bff33b016e7b6dbfa6a555975'
...
* commit '472391b9a7e15e3bff33b016e7b6dbfa6a555975':
ape: use correct context for the bit table printed in debug
build: Move setting of SRC_DIR to the only place it is used
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 12:12:38 +01:00
Michael Niedermayer
2b6185cac9
Merge commit 'b4d24b471bc52f1f78a43ee330199e70483e51c3'
...
* commit 'b4d24b471bc52f1f78a43ee330199e70483e51c3':
build: Remove configure-generated .config file on distclean
msmpeg4: Split decoding related functions to a separate file
Conflicts:
Makefile
libavcodec/Makefile
libavcodec/msmpeg4.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 12:07:38 +01:00
Michael Niedermayer
2bfcd74ad3
Merge commit 'e557584aa7df6ac9f52af7ee7e5c963437da2e2f'
...
* commit 'e557584aa7df6ac9f52af7ee7e5c963437da2e2f':
mpeg12: Move Mpeg1Context declaration to the only place it is used
Conflicts:
libavcodec/mpeg12.h
libavcodec/mpeg12dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 11:56:05 +01:00
Michael Niedermayer
016c00cf68
Merge commit '1b6d66745ac1768adb387c2227cdcf4452271149'
...
* commit '1b6d66745ac1768adb387c2227cdcf4452271149':
Split MPEG-1/2 decoder code off from MPEG-1/2 common code
Conflicts:
libavcodec/Makefile
libavcodec/mpeg12.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 11:45:50 +01:00
Michael Niedermayer
385ffc7650
Merge commit 'eee2000b41234ae9465c314e18bfec1700181f32'
...
* commit 'eee2000b41234ae9465c314e18bfec1700181f32':
mpeg12: Move some ff_mpeg1_* function declarations to a more suitable place
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 11:30:29 +01:00
Justin Ruggles
e46a2a7309
flvdec: read audio sample size and channels metadata
...
This is needed in order for the FLV demuxer not to detect a codec change when
using the "flv_metadata" option.
2013-03-28 06:27:28 -04:00
Justin Ruggles
c3d0157753
flvdec: use the correct audio codec id when parsing metadata
2013-03-28 06:27:28 -04:00
Michael Niedermayer
63a97d5674
Merge commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa'
...
* commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa':
cosmetics: Remove unnecessary extern keywords from function declarations
Conflicts:
libswscale/x86/swscale.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 11:20:41 +01:00
Michael Niedermayer
b1064dd783
Merge commit '1db6a080bddd14fed6b29140ecd2e21e42b1c022'
...
* commit '1db6a080bddd14fed6b29140ecd2e21e42b1c022':
dca: Move ff_dca_convert_bitstream() to the DCA common code
vdpau: wrap codec specific functions in appropiate #ifs
Conflicts:
libavcodec/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 11:18:23 +01:00
Michael Niedermayer
7609d42d0f
Merge commit '757d85868b77c4fdec7b77a3b7de1faf16c031e8'
...
* commit '757d85868b77c4fdec7b77a3b7de1faf16c031e8':
vdpau: fix obsolete mpeg1 vdpau decoder when mpeg2 is disabled
Conflicts:
libavcodec/mpeg12.c
Nothing changes as the buggy code is not in ffmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 11:07:48 +01:00
Michael Niedermayer
021547bfcc
Merge commit 'd767e2f969933b4e450ed4e69ea2bf8ca864838c'
...
* commit 'd767e2f969933b4e450ed4e69ea2bf8ca864838c':
configure: fix dependencies of XvMC and old vdpau mpeg2 decoders
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 10:54:17 +01:00
Alexandra Khirnova
0afcf97e1e
vmdav: convert to bytestream2
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-28 08:30:38 +01:00
Anton Khirnov
8a2f5f0c63
FATE: add a test for the join filter
2013-03-28 08:03:43 +01:00
Anton Khirnov
9e9cd98aed
FATE: add a test for the volume filter
2013-03-28 08:03:31 +01:00
Anton Khirnov
43a8333a16
FATE: add a test for the channelsplit filter
2013-03-28 08:03:12 +01:00
Anton Khirnov
33942b7bde
FATE: add a test for the channelmap filter
2013-03-28 08:02:55 +01:00
Anton Khirnov
f917420378
FATE: add a test for the negate filter
2013-03-28 08:02:47 +01:00
Anton Khirnov
3d8c80b611
FATE: add a test for the overlay filter
2013-03-28 08:01:58 +01:00
Anton Khirnov
ea290d919a
FATE: add a test for the setpts filter
2013-03-28 08:01:46 +01:00
Anton Khirnov
71f3ede24e
FATE: add a test for the hqdn3d filter
2013-03-28 08:01:41 +01:00
Anton Khirnov
0bdbd85e47
FATE: add a test for the transpose filter
2013-03-28 08:01:34 +01:00
Anton Khirnov
ad85e8d9a5
FATE: add a test for the unsharp filter
2013-03-28 08:01:26 +01:00
Anton Khirnov
1a6d4bd7b6
FATE: add a test for the fade filter
2013-03-28 08:01:13 +01:00
Anton Khirnov
feb4922b25
FATE: add a test for the drawbox filter
2013-03-28 08:01:07 +01:00
Anton Khirnov
a222997650
FATE: add a test for the boxblur filter
2013-03-28 08:00:58 +01:00
Anton Khirnov
7cec12748a
FATE: add a test for the gradfun filter
2013-03-28 08:00:24 +01:00
Clément Bœsch
1ae44c87c9
lavfi/gradfun: remove rounding to match C and SSE code.
...
There is no noticable benefit for such precision.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-28 07:59:29 +01:00
Clément Bœsch
38a2f88d39
lavfi/gradfun: fix dithering in MMX code.
...
Current dithering only uses the first 4 instead of the whole 8 random values.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-28 07:59:18 +01:00
Clément Bœsch
2d66fc543b
lavfi/gradfun: fix rounding in MMX code.
...
Current code divides before increasing precision.
Also reduce upper bound for strength from 255 to 64. This will prevent
an overflow in the SSSE3 and MMX filter_line code: delta is expressed as
an u16 being shifted by 2 to the left. If it overflows, having a
strength not above 64 will make sure that m is set to 0 (making the
m*m*delta >> 14 expression void).
A value above 64 should not make any sense unless gradfun is used as
a blur filter.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-28 07:59:04 +01:00
Clément Bœsch
8b9a153ef3
lavfi/gradfun: do not increment DC pointer for odd values.
...
First DC is only used once otherwise. This also makes the code
consistent with ASM versions.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-28 07:58:55 +01:00
Diego Biurrun
f2a59722d1
fate: filter: Add dependencies
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-28 07:58:44 +01:00
Anton Khirnov
a4208b9b7d
avconv: add options for reading filtergraphs from a file.
2013-03-28 07:55:48 +01:00
Anton Khirnov
cf53704c55
AVOptions: make av_set_options_string() forward options to child objects
2013-03-28 07:55:38 +01:00
Michael Niedermayer
e234daa518
mlpdec: Fix reading state with 0 bit elements.
...
This fixes an assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 04:01:34 +01:00
Michael Niedermayer
10ece44d09
h264_cavlc: fix assertion failure due to reading too long vlc
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 04:01:34 +01:00
Michael Niedermayer
ea9a6709a9
estimate_timings_from_bit_rate: Check timebase and bitrate
...
Fixes integer overflow and assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 01:45:01 +01:00
Michael Niedermayer
1831274ff1
electronicarts: check timebase, fix assertion failure
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 01:08:46 +01:00
Michael Niedermayer
a56d963f11
vp3: Check fps validity more completely
...
Fix assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 00:56:12 +01:00
Michael Niedermayer
c6831e2a70
wavpack: check K, fix assertion failure
...
Instead of this it would be possible to change the code to support
larger K but that would make the code slower and probably still need
checks on K.
This variant is choosen as there are no known valid files that need
larger K
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-28 00:54:45 +01:00
Dale Curtis
81e85bc95c
Fix heap-buffer-overflow in matroska_parse_block
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 23:51:44 +01:00
Michael Niedermayer
e9d3b40052
snow: drop commented out asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 23:06:29 +01:00
Michael Niedermayer
460d30406b
avformat: change some seeking related assert to av_asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 22:53:57 +01:00
Michael Niedermayer
0d6e5a1712
vsrc_mandelbrot: Mandel morphing support
...
Example: ffplay -f lavfi "mandelbrot=outer=outz:morphamp=1:end_scale=2:maxiter=100"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 19:27:37 +01:00
Hendrik Leppkes
85a46ad685
win32: Use 64-bit fstat/lseek variants for MSVC as well
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-27 19:05:58 +02:00
Reimar Döffinger
ad04025987
win32: Make ff_win32_open more robust
...
- Make MultiByteToWideChar fail when it encounters invalid encoding.
Without this, invalid characters might just be skipped
- When MultiByteToWideChar fails, assume the file name is in CP_ACP
and open it via normal open function, even when the file will be
written
- When malloc fails return error instead of crashing
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-27 18:54:46 +02:00
Reimar Döffinger
e9cc988395
win32: Allow other programs to open the same files
...
In order to match Linux behaviour better our Windows-specific
open() replacement should disable Windows default file locking.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-27 18:51:51 +02:00
Martin Storsjö
cfe5908a72
configure: Add error_resilience as dependency to the eatqi decoder
...
This makes standalone compilation of the eatqi decoder
succeed. The dependency comes from the shared mpeg12dec.o file.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-27 17:37:15 +02:00
Michael Niedermayer
79938a4e97
mandelbrot: add outer coloring method showing bailouted z
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 16:21:44 +01:00
Kostya Shishkov
472391b9a7
ape: use correct context for the bit table printed in debug
2013-03-27 16:20:08 +01:00
Michael Niedermayer
a2b5825649
vsrc_mandelbrot: support coloring the outside white
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 16:00:18 +01:00
Diego Biurrun
b4d24b471b
build: Remove configure-generated .config file on distclean
2013-03-27 14:49:13 +01:00
Diego Biurrun
7c22d0489f
build: Move setting of SRC_DIR to the only place it is used
2013-03-27 14:49:13 +01:00
Martin Storsjö
3891a270f5
msmpeg4: Split decoding related functions to a separate file
...
This fixes standalone compilation of the msmpeg4v2, msmpeg4v3
and wmv2 encoders, that previously failed to link due to the
decoder codepaths requiring error_resilience.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-27 15:45:56 +02:00
Diego Biurrun
e557584aa7
mpeg12: Move Mpeg1Context declaration to the only place it is used
2013-03-27 14:26:11 +01:00
Diego Biurrun
1b6d66745a
Split MPEG-1/2 decoder code off from MPEG-1/2 common code
2013-03-27 14:26:11 +01:00
Diego Biurrun
eee2000b41
mpeg12: Move some ff_mpeg1_* function declarations to a more suitable place
2013-03-27 14:21:45 +01:00
Diego Biurrun
b6649ab503
cosmetics: Remove unnecessary extern keywords from function declarations
2013-03-27 14:21:45 +01:00
Diego Biurrun
1db6a080bd
dca: Move ff_dca_convert_bitstream() to the DCA common code
...
This makes the DCA parser and decoder independent.
2013-03-27 14:21:45 +01:00
Janne Grunau
b247253929
vdpau: wrap codec specific functions in appropiate #ifs
...
Fixes linking when only a subset of the deprecated vdpau decoders is
enabled.
2013-03-27 13:20:13 +01:00
Michael Niedermayer
ace0cfea60
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
hwaccel: fix use with frame based multithreading
Conflicts:
libavcodec/h263dec.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 11:51:33 +01:00
Michael Niedermayer
12f203a098
Merge commit 'c24469e812501903a46a06eff9722a82e136e841'
...
* commit 'c24469e812501903a46a06eff9722a82e136e841':
utils: add workaround for AVHWAccel in ff_get_buffer compat code
configure: Remove a stray msmpeg4v1 encoder declaration
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 11:42:15 +01:00
Michael Niedermayer
ef8ab2f953
Merge commit '3b2d0ec473b036bdd0a5bc0d896fd5292915f44d'
...
* commit '3b2d0ec473b036bdd0a5bc0d896fd5292915f44d':
configure: Remove the mpegvideo dependency from svq1
x86: vc1dsp: Fix indentation
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 11:32:45 +01:00
d s
914f48ddf0
Update MAINTAINERS with information about avisynth demuxer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 03:47:56 +01:00
d s
444001bda6
Fix avisynth_context_create constructor error handling.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 03:47:49 +01:00
Carl Eugen Hoyos
92a9a3020d
Support pcm_mulaw in Hikvision CCTV mpeg program streams.
...
Fixes decoding the sample from videolan trac ticket #8344 .
2013-03-27 02:32:26 +01:00
Carl Eugen Hoyos
7857ddceec
Fix a typo in the Monkey's Audio demuxer.
2013-03-27 01:55:11 +01:00
Clément Bœsch
1a3f7ded14
doc: "av* tools" -> "ff* tools".
...
Spotted-by: Timothy Gu <timothygu99@gmail.com >
2013-03-27 01:44:20 +01:00
Michael Niedermayer
e370b65897
tests/tiny_ssim: include the 2 macros instead of a header
...
Should fix compilation on open solaris
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-27 01:38:18 +01:00
Janne Grunau
757d85868b
vdpau: fix obsolete mpeg1 vdpau decoder when mpeg2 is disabled
2013-03-26 22:53:29 +01:00
Janne Grunau
d767e2f969
configure: fix dependencies of XvMC and old vdpau mpeg2 decoders
2013-03-26 22:53:18 +01:00
Michael Niedermayer
46c48d546d
mpegvideo: fix null pointer dereference on switching streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 21:54:36 +01:00
Janne Grunau
05fa79b844
hwaccel: fix use with frame based multithreading
...
Allows use of AVHWAccel based decoders with frame based multithreading.
The decoders will be forced into an non-concurrent mode by delaying
ff_thread_finish_setup() calls after decoding of the current frame
is finished.
This wastes memory by unnecessarily using multiple threads and thus
copies of the decoder context but allows seamless switching between
hardware accelerated and frame threaded software decoding when the
hardware decoder does not support the stream.
2013-03-26 19:44:50 +01:00
Janne Grunau
c24469e812
utils: add workaround for AVHWAccel in ff_get_buffer compat code
...
Since c977039e58 plane count for
PIX_FMT_HWACCEL pixel formats is 0 instead of 1. The created dummy
AVBuffers are still bogus since AVFrame does not hold frame data when
AVHWAccels are used.
2013-03-26 19:44:50 +01:00
Michael Niedermayer
7b3ca7ae8b
mpegvideo/h264: drop period_since_free
...
This should not be needed anymore
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 19:27:32 +01:00
Michael Niedermayer
4c587b4f30
tiny_ssim: Avoid "for(int ..."
...
This should avoid issues with old compilers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 19:26:44 +01:00
Loren Merritt
064146480b
tools: add tiny_ssim
...
Taken from:
http://lists.mplayerhq.hu/pipermail/mencoder-users/2006-August/003801.html
and
x264
See: [FFmpeg-devel] [PATCH] tools: add tiny_ssim
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 17:31:41 +01:00
Martin Storsjö
2ece5bf3ec
configure: Remove a stray msmpeg4v1 encoder declaration
...
No such encoder exists currently.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-26 16:17:00 +02:00
Carl Eugen Hoyos
1741fece70
Only test the first frame for missing aac_adtstoasc bistream filter.
...
Many players ignore broken aac frames, so don't abort mov or flv
muxing when encountering one, just print a warning instead.
Fixes ticket #2380 .
2013-03-26 15:16:07 +01:00
Carl Eugen Hoyos
8af593dd80
mpegtsenc: Only test the first frame for missing h264_mp4toannexb filter.
...
Many video players accept broken frames in a transport stream, so there
is no reason to abort remuxing when encountering one, just print a
warning instead.
Fixes ticket #1758 .
2013-03-26 15:15:46 +01:00
Martin Storsjö
3b2d0ec473
configure: Remove the mpegvideo dependency from svq1
...
The svq1 decoder can be built standalone without mpegvideo.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-26 15:50:00 +02:00
Martin Storsjö
a2acadd058
x86: vc1dsp: Fix indentation
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-26 15:49:42 +02:00
Michael Niedermayer
07d405cc9e
configure: mpegvideo should not depend on error resilience
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 14:43:12 +01:00
Michael Niedermayer
79c845659a
configure: the snow encoder is not supposed to depend on error resilience
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 14:41:55 +01:00
Michael Niedermayer
365ad0042a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
h264: Make it possible to compile without error_resilience
Conflicts:
configure
libavcodec/h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 14:36:00 +01:00
Paul B Mahol
62d36abef4
lavfi/mptestsrc: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-26 13:23:42 +00:00
Paul B Mahol
401f9c95e9
lavfi/cellauto: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-26 13:23:42 +00:00
Paul B Mahol
8c5b37b402
lavfi/life: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-26 13:23:42 +00:00
Paul B Mahol
975efc8864
lavfi/mandelbrot: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-26 13:23:42 +00:00
Paul B Mahol
54056c6655
lavfi/testsrc: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-26 13:23:41 +00:00
Paul B Mahol
7606f4a1af
lavfi/fps: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-26 13:23:41 +00:00
Michael Niedermayer
b19604cc4b
Merge commit 'f1e9398621af0bc9d166014e4ce6996bb4f141d0'
...
* commit 'f1e9398621af0bc9d166014e4ce6996bb4f141d0':
lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo
Conflicts:
libavcodec/h264_parser.c
libavcodec/internal.h
libavcodec/mpeg12.c
libavcodec/utils.c
libavformat/mpegtsenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 13:44:09 +01:00
Michael Niedermayer
7834bb092a
Revert "Fix compilation with --disable-everything --enable-parser=h264."
...
This reverts commit e0e8c20559 .
The mpegvideo dependancy should not be needed anymore
2013-03-26 13:23:01 +01:00
Michael Niedermayer
2cdedcbcea
Merge commit '75644335b907919057960716508477239c26fed4'
...
* commit '75644335b907919057960716508477239c26fed4':
lavc: Move start code finding to utils.c
Conflicts:
configure
libavcodec/mpegvideo.c
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 13:22:48 +01:00
Michael Niedermayer
795b911bd8
Merge commit '613a37eca4c7b8eefceaa3e0231c23ad090ca94f'
...
* commit '613a37eca4c7b8eefceaa3e0231c23ad090ca94f':
ape: 3.80-3.92 decoding support
h264: Remove an unused variable
Conflicts:
libavcodec/apedec.c
libavformat/ape.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 13:14:16 +01:00
Michael Niedermayer
9b9205e760
x86/dsputil.asm: make unaligned bswap actually work
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 13:07:46 +01:00
Michael Niedermayer
cb69a9dbf4
Merge commit 'e5c2794a7162e485eefd3133af5b98fd31386aeb'
...
* commit 'e5c2794a7162e485eefd3133af5b98fd31386aeb':
x86: consistently use unaligned movs in the unaligned bswap
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 13:07:37 +01:00
Ronald S. Bultje
0b499c9b06
h264: Make it possible to compile without error_resilience
...
Error resilience is enabled by the h264 decoder, unless explicitly
disabled. --disable-everything --enable-decoder=h264 will produce
a h264 decoder with error resilience enabled, while
--disable-everything --enable-decoder=h264 --disable-error-resilience
will produce a h264 decoder with error resilience disabled.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-26 09:55:05 +02:00
Martin Storsjö
f1e9398621
lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo
...
Also move the declaration to internal.h, and add restrict qualifiers
to the declaration (as in the implementation).
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-26 09:50:02 +02:00
Martin Storsjö
75644335b9
lavc: Move start code finding to utils.c
...
This allows dropping the mpegvideo dependency from a number of
components.
This also fixes standalone building of the h264 parser, which
was broken in 64e438697 .
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-26 09:48:12 +02:00
Michael Niedermayer
ea7b96af96
avcodec/x86/dsputil_qns_template: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 04:08:28 +01:00
Clément Bœsch
e32cbd0f54
lavfi/perms: add myself to the copyright header.
2013-03-26 02:41:05 +01:00
Clément Bœsch
9371467d9d
lavfi/perms: add seed option.
2013-03-26 02:39:55 +01:00
Clément Bœsch
e600d0628e
lavfi/perms: remove unecessary indirection after f7324c06.
2013-03-26 02:24:03 +01:00
Michael Niedermayer
bd03afb5bb
ffmpeg_opt: avoid strcpy()
...
This fixes a warning on openbsd and is more robust
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-26 01:51:19 +01:00
Clément Bœsch
ec1ef0838c
tools: add audio normalize script example.
2013-03-26 01:50:13 +01:00
Clément Bœsch
133035c40d
lavfi/curves: add forgotten strong_contrast preset.
2013-03-26 01:05:26 +01:00
Clément Bœsch
183f3450fd
lavfi/curves: support preset shorthand.
2013-03-26 00:04:06 +01:00
Clément Bœsch
dc65d784df
lavfi/curves: add presets support.
...
Except for the vintage preset, the values are defined by Lou Logan based
on the ones found in Adobe Photoshop CS6.
Signed-off-by: Clément Bœsch <ubitux@gmail.com >
Signed-off-by: Lou Logan <lou@lrcd.com >
2013-03-25 23:48:51 +01:00
Michael Niedermayer
4a595cff79
ffserver/ctime1: avoid using strcpy()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 23:31:34 +01:00
Michael Niedermayer
ea4c99de4c
dshow_pin: dont return a value from a void function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 22:12:07 +01:00
Michael Niedermayer
a2f7314ba2
libpostproc: silence valgrind/fate warning about using uninitialized data
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 21:48:45 +01:00
Kostya Shishkov
613a37eca4
ape: 3.80-3.92 decoding support
2013-03-25 18:40:56 +01:00
Michael Niedermayer
67607e20e8
xxan: make code independent of sizeof(AVFrame)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 17:35:58 +01:00
Michael Niedermayer
8097e5b212
yop: Fix return type
...
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 15:14:20 +01:00
Martin Storsjö
ccd349e555
h264: Remove an unused variable
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-25 15:00:05 +02:00
Michael Niedermayer
afdfff485b
avcodec/gifdec: Add av_log() to workaround gcc 4.2 miscompiling the code
...
It appears gcc forgets to increment the byte stream pointer at -O3
I was not able to spot a reason/excuse for it to do that. It
also disappears if the function isnt inlined.
This should fix the gif fate failures on open & free bsd
See: [FFmpeg-devel] [PATCH] gifdec: workaround old gcc 4.2 mis-compiling code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 13:32:45 +01:00
Michael Niedermayer
ad438f450b
xan: make decoder independent of sizeof(AVFrame)
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 13:30:30 +01:00
James Almer
45013b365e
lavc/flacdec: Propagate and return meaningful error codes
...
Signed-off-by: James Almer <jamrial@gmail.com >
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 13:16:33 +01:00
Björn S
f248b8a902
blend: Adding yuvj pixelformats to the blend effect
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 13:14:38 +01:00
Michael Niedermayer
4ce9e4e9c9
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
sndio_dec: Add missing includes for av_gettime()
no change, as this has already been fixed in FFmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 12:20:44 +01:00
Janne Grunau
e5c2794a71
x86: consistently use unaligned movs in the unaligned bswap
...
Fixes fate errors in asv1, ffvhuff and huffyuv on x86_32.
2013-03-25 12:11:11 +01:00
Michael Niedermayer
ae65327e5e
vsrc_testsrc: avoid floats and non bit exactness
...
The round to zero behavior is maintained, possibly this should
be changed to round to nearest.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 03:11:43 +01:00
Michael Niedermayer
01df2a13c3
avcodec/utils: initialize pixel buffer pool
...
This should silence many valgrind warnings about use of uninitialized
data, all the warnings i looked at where false positives having their
uninitialized data not actually used.
The same effect could be achieved by listing all code that touches
the pixel buffer in the valgrind suppression file.
Note, valgrind also fails to trace the origins correctly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 00:43:14 +01:00
Nicolas George
4f112a8e34
lavf/mux: add the flush_packets option.
...
Note: a lot of muxers already do the flushing explicitly.
2013-03-24 23:19:07 +01:00
Nicolas George
125acd2152
lavfi: support multiple rounds of format negotiation.
...
Remove the temporary hack for amerge and replace it with a
generic solution.
2013-03-24 23:17:47 +01:00
Nicolas George
00da527b44
lavfi/af_amerge: return EAGAIN if the input layouts are not known.
...
Also downgrade the error to a warning.
2013-03-24 23:17:47 +01:00
Nicolas George
57cb4fb075
lavfi: add test for concat.
2013-03-24 23:16:40 +01:00
Michael Niedermayer
e2b30194bb
h264/field_end move progress report code after error concealment.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 22:34:17 +01:00
Clément Bœsch
386dc9a3a8
lavfi/thumbnail: add support for named options.
2013-03-24 20:38:12 +01:00
Stefano Sabatini
3b811bcf67
lavfi/colormatrix: reword error message in init
...
Change:
"source and destination color space are identical"
which is a true fact, but doesn't tell nothing about what's wrong, to:
"Source and destination color space must not be identical"
which tells more explicitly what the problem is.
2013-03-24 20:21:35 +01:00
Stefano Sabatini
1b140835b6
lavfi/colormatrix: add support for named options
2013-03-24 20:21:20 +01:00
Clément Bœsch
cbf224b631
lavfi/tinterlace: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
9e21c89841
lavfi/subtitles: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
06784b737a
lavfi/smartblur: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
15878b2b5b
lavfi/setfield: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
e62587bc5e
lavfi/overlay: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
5dc074d321
lavfi/kerndeint: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
ab228f9163
lavfi/idet: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
552c02f20f
lavfi/histeq: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
b27a8ba13c
lavfi/gradfun: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
b595819cde
lavfi/geq: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
cb0fb4d04d
lavfi/fieldorder: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
a733481d0a
lavfi/field: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
7edda1a935
lavfi/deshake: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
1341dd2dd0
lavfi/cropdetect: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
a36d903601
lavfi/boxblur: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
3f8072886b
lavfi/blackframe: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
67ad9fd098
lavfi/settb: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
8b994c8c1c
lavfi/select: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
f7324c068f
lavfi/perms: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
07b7c2a217
lavfi/sine: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
3ac77f67af
lavfi/apad: use standard options parsing.
2013-03-24 12:26:24 +01:00
Martin Storsjö
fdaacc5932
sndio_dec: Add missing includes for av_gettime()
...
This is necessary after the old av_gettime in libavformat was
dropped.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-24 13:20:53 +02:00
Michael Niedermayer
4c6f08bd8f
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: Change a missed occurrance of int to ptrdiff_t for strides
x86: Remove win64 xmm clobbering wrappers for the now removed avcodec_encode_video function
bktr: Add missing includes for av_gettime()
fate: use little endian yuv444p10 in h264-reinit tests
Nothing changes through this merge as the 3 bugfixes already exist
in ffmpeg and the clobbering wraper is still in use as we did not
yet remove avcodec_encode_video
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 11:53:47 +01:00
Martin Storsjö
285ff14413
x86: Change a missed occurrance of int to ptrdiff_t for strides
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-24 12:06:53 +02:00
Michael Niedermayer
01a334e885
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: avoid frame data leak on early frame drop
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 04:35:44 +01:00
Michael Niedermayer
8e062fd169
rawdec: fix memleak
...
Fixes fate-lavf-flm under valgrind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 04:09:04 +01:00
Michael Niedermayer
8e944891ce
avutil/buffer: remove redundant memory poisoning
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 02:21:42 +01:00
Michael Niedermayer
058c002932
avutil/buffer: support memory poisoning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 01:44:48 +01:00
Michael Niedermayer
d6f9610853
yop: use reget_buffer() as the previous contents are used
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 01:41:49 +01:00
Michael Niedermayer
7239b36059
fate: dont try to filter partial frames with yadif.
...
The partial frames leak a few uninitialized pixels through
due to incomplete interlaced error concealment support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-24 01:30:11 +01:00
Michael Niedermayer
62f56fd7ea
buffersink/uninit: use av_frame_free() not unref
...
Fixes memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 23:49:33 +01:00
Martin Storsjö
352dbdb96c
x86: Remove win64 xmm clobbering wrappers for the now removed avcodec_encode_video function
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-23 23:37:27 +02:00
Martin Storsjö
fe2661121e
bktr: Add missing includes for av_gettime()
...
This is necessary after the old av_gettime in libavformat was
dropped.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-23 23:36:58 +02:00
Janne Grunau
70db0c9156
fate: use little endian yuv444p10 in h264-reinit tests
...
Fixes fate big endian configs.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 22:33:11 +01:00
Michael Niedermayer
644092c8e8
h264: dont report rows as finished after a missing slice
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 21:07:57 +01:00
Stefano Sabatini
a42d15a3a0
lavfi/anullsrc: add missing checks
2013-03-23 16:53:25 +01:00
Stefano Sabatini
4e8062c2d7
lavfi/anullsrc: remove extra parentheses
2013-03-23 16:53:19 +01:00
Stefano Sabatini
fe2cfd50f0
lavfi/anullsrc: simplify logging code in config_props
2013-03-23 16:53:13 +01:00
Stefano Sabatini
5373a2a221
lavfi/anullsrc: fix format negotiation
...
Samplerate and channel layouts must be set in query_formats.
2013-03-23 16:53:08 +01:00
Bojan Zivkovic
e54eb8db9c
mips: Optimization of AAC psychoacoustic model functions
...
Signed-off-by: Bojan Zivkovic <bojan@mips.com >
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 16:19:38 +01:00
Piotr Bandurski
e26b066cd8
libspeex: support ZygoAudio (quality 10 mode)
...
Fixes "quality 10" mode from Ticket1873
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 15:45:58 +01:00
Giorgio Vazzana
785b849f1c
lavd/v4l2: honor previously selected input channel
...
An input channel could have been previously set with another application, like
v4l2-ctl, so if no input channel is specified use the previosly selected one.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 13:43:56 +01:00
Michael Bradshaw
2a97c5915b
Make audio FIFO read/write contracts more strict
...
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 13:33:45 +01:00
Janne Grunau
535c247b57
fate: use little endian yuv444p10 in h264-reinit tests
...
Fixes fate big endian configs.
2013-03-23 13:12:36 +01:00
Thierry Foucu
fcf73f9c01
Call do_video_stats when duplicating frame
...
When multiple frame are encoded during vsync, current code only
do_video_stats once. This need to do it every frame.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 12:29:12 +01:00
Michael Niedermayer
8b63eeb6b1
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: add test for cropping h264 to container dimensions
FATE: add a tscc2 test.
tscc2: allocate AVFrame properly.
Conflicts:
libavcodec/tscc2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 12:26:08 +01:00
Michael Niedermayer
9bb6504e3b
Merge commit '20a8ee3061e6d777600c13db731bee3c25878991'
...
* commit '20a8ee3061e6d777600c13db731bee3c25878991':
af_asyncts: fix compensation and PTS monotonicity
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 12:16:32 +01:00
Michael Niedermayer
6efe61486d
Merge commit '1e8b9738fa70e20967ddb542d2f9d5552fc51ec6'
...
* commit '1e8b9738fa70e20967ddb542d2f9d5552fc51ec6':
avutil/frame: add all remaining frame properties to av_frame_copy_props
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 12:08:01 +01:00
Michael Niedermayer
4c1f61b1e8
ffmpeg: Correct inter stream timestamp discontinuities
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-23 04:53:44 +01:00
Marton Balint
c46a8c613e
ffplay: avoid frame data leak on early frame drop
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-03-23 02:25:33 +01:00
Michael Niedermayer
dda04a5899
Changelog: add WebP
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 23:19:07 +01:00
Clément Bœsch
89b4e758d3
lavfi/blend: always peek the first frame of each queue.
...
Before the change, filter_frame() always waited for 2 samples in the
bottom frames queue. This notably fixes commands such as
./ffplay tests/lena.pnm -vf split,blend=c0_mode=addition
2013-03-22 23:09:08 +01:00
Clément Bœsch
859f7da543
lavc/prores: restore pict_type and key_frame setting.
2013-03-22 23:05:50 +01:00
Michael Niedermayer
b3e9f266e8
x86/mpegvideo: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 22:57:23 +01:00
Michael Niedermayer
cdbf8409ef
x86/h264_qpel: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 22:57:08 +01:00
Janne Grunau
3f15b301fa
fate: add test for cropping h264 to container dimensions
...
Tests the workaround added for 1080 videos created with Canon cameras
in 30f515091c .
2013-03-22 21:58:01 +01:00
Carl Eugen Hoyos
1ed10bd89c
Fix typo in dvvideo decoder dependencies.
...
Fixes compilation with --disable-everything --enable-decoder=dvvideo
2013-03-22 21:37:17 +01:00
Anton Khirnov
93eaeb0244
FATE: add a tscc2 test.
2013-03-22 20:10:56 +01:00
Anton Khirnov
4e33582a0b
tscc2: allocate AVFrame properly.
2013-03-22 20:10:48 +01:00
Jindřich Makovička
20a8ee3061
af_asyncts: fix compensation and PTS monotonicity
...
This patch improves af_asyncts behavior on streams with bogus PTS, which
are either non-monotonic, or contain PTS jitter, and trigger the
non-monotonicity error. With this patch, af_asyncts is able to correct
these streams and avoid the error.
Firstly, it fixes resample compensation calculation by supplying proper
units to avresample_set_compensation (sample count per second instead
of sample count per some arbitrary frame size). Also, the calculation of
the compensation itself is fixed - delta is proportional to an adjustment
of the compensation, not the compensation itself. Ideally, the compensation
should converge to a value that keeps delta at zero.
To be able to deal with sources with PTS jitter even without resampling,
small PTS errors are adjusted, so the output frames do not overlap.
Finally, one more monotonicity check is added.
The FATE reference changes because now there is 8 less samples of
silence because of the pts jitter.
Signed-off-by: Jindřich Makovička <makovick@gmail.com >
2013-03-22 20:09:34 +01:00
Hendrik Leppkes
1e8b9738fa
avutil/frame: add all remaining frame properties to av_frame_copy_props
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-22 20:05:37 +01:00
Michael Niedermayer
428e9dafab
h263dec: switch to av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 18:07:26 +01:00
Michael Niedermayer
ac75e0c755
matroskadec: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 18:04:17 +01:00
Michael Niedermayer
076c1c956c
vp8: WebP decoding support
...
VP8L, padding and bounds checks by Pascal Massimino
Reviewed-by: Pascal Massimino <pascal.massimino@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 14:57:56 +01:00
Michael Niedermayer
c0ff2aaa49
img2: WebP support
...
Reviewed-by: Pascal Massimino <pascal.massimino@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 14:57:27 +01:00
Carl Eugen Hoyos
e0e8c20559
Fix compilation with --disable-everything --enable-parser=h264.
2013-03-22 13:32:35 +01:00
Carl Eugen Hoyos
d98a5318fd
Fix compilation with --disable-mmx.
2013-03-22 13:00:50 +01:00
Michael Niedermayer
abbc34c372
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Enable hwaccels without external dependencies by default.
doc/developer: Clarify symbol naming prefixes section.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-22 12:58:22 +01:00
Clément Bœsch
77f60f0011
lavu/eval: add between() function.
2013-03-22 09:20:45 +01:00
Carl Eugen Hoyos
ac9b056ddb
Do not fail in get_buffer_internal() if pix_fmt planes == 0.
...
Fixes VDPAU decoding, reported by Ilja Sekler
2013-03-22 01:03:07 +01:00
Michael Niedermayer
21a5f5ea5d
error_resilience: fix const correctness, silence warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 23:32:37 +01:00
Michael Niedermayer
732b2fde1c
vdpau.h: change vdpau_render_state layout to match fork if AV_HAVE_INCOMPATIBLE_FORK_ABI
...
This might fix a compatibility issue.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 23:22:33 +01:00
Andrew Euell
f8217daa8e
vda_h264: fix for VDA compile
...
the VDA code needs to be updated to use the CHROMA(h) macros
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 19:56:19 +01:00
Michael Niedermayer
4aa8503399
sonicdec: update to new buffer API
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 16:01:53 +01:00
Michael Niedermayer
85d7f54662
sonicenc: fix mono decorrelation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 15:49:22 +01:00
Michael Niedermayer
6ec037c5a9
sonicdec: fix frame size
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 15:46:16 +01:00
Michael Niedermayer
1426291eb8
sonicdec: check decorrelation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 15:45:59 +01:00
Michael Niedermayer
8251c05320
g729dec: switch to buffer refs style
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 14:48:56 +01:00
Michael Niedermayer
a728a28dac
v308dec: remove unneeded self assignment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 14:43:09 +01:00
Diego Biurrun
2e2ec66741
configure: Enable hwaccels without external dependencies by default.
2013-03-21 14:19:03 +01:00
Diego Biurrun
72ad96c854
doc/developer: Clarify symbol naming prefixes section.
2013-03-21 14:17:37 +01:00
Michael Niedermayer
4257b804e2
ffmpeg: Replace -deinterlace (which was broken by the buffer ref stuff) with yadif injection
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 13:54:04 +01:00
Michael Niedermayer
f3980b75f8
h264: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 13:17:55 +01:00
Michael Niedermayer
de8049d27c
h264: add an argument to CHROMA for consistency
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 13:17:19 +01:00
Michael Niedermayer
881050d229
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
h264: remove redundant freeing of DPB in h264_decode_end
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 13:10:57 +01:00
Michael Niedermayer
86d9d349cc
Merge commit '23e85be58fc64b2e804e68b0034a08a6d257e523'
...
* commit '23e85be58fc64b2e804e68b0034a08a6d257e523':
h264: add a parameter to the CHROMA444 macro.
h264: add a parameter to the CHROMA422 macro.
Conflicts:
libavcodec/h264.c
libavcodec/h264.h
libavcodec/h264_cavlc.c
libavcodec/h264_loopfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 13:06:14 +01:00
Michael Niedermayer
92656787cf
Merge commit '6d2b6f21eb45ffbda1103c772060303648714832'
...
* commit '6d2b6f21eb45ffbda1103c772060303648714832':
h264: add a parameter to the CABAC macro.
h264: add a parameter to the FIELD_OR_MBAFF_PICTURE macro.
Conflicts:
libavcodec/h264.c
libavcodec/h264_cabac.c
libavcodec/h264_cavlc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 12:58:00 +01:00
Michael Niedermayer
bf4d0f8328
Merge commit '7fa00653a550c0d24b3951c0f9fed6350ecf5ce4'
...
* commit '7fa00653a550c0d24b3951c0f9fed6350ecf5ce4':
h264: add a parameter to the FIELD_PICTURE macro.
h264: add a parameter to the FRAME_MBAFF macro.
Conflicts:
libavcodec/h264.c
libavcodec/h264_loopfilter.c
libavcodec/h264_refs.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 12:50:18 +01:00
Michael Niedermayer
e168b50816
Merge commit 'da6be8fcec16a94d8084bda8bb8a0a411a96bcf7'
...
* commit 'da6be8fcec16a94d8084bda8bb8a0a411a96bcf7':
h264: add a parameter to the MB_FIELD macro.
h264: add a parameter to the MB_MBAFF macro.
Conflicts:
libavcodec/h264.c
libavcodec/h264_cabac.c
libavcodec/h264_cavlc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 12:43:32 +01:00
Michael Niedermayer
137df692fc
Merge commit '48d0fd2d62a476e1db9298163f1fc0abae26cc67'
...
* commit '48d0fd2d62a476e1db9298163f1fc0abae26cc67':
h264: merge common_init() into ff_h264_decode_init.
Conflicts:
libavcodec/h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 12:34:59 +01:00
Michael Niedermayer
bbc0f6f978
Merge commit '25408b2a0660c1e6c8555559c4ed71dff2ede31e'
...
* commit '25408b2a0660c1e6c8555559c4ed71dff2ede31e':
h264: make ff_h264_frame_start static.
Conflicts:
libavcodec/h264.c
libavcodec/h264.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 12:05:13 +01:00
Michael Niedermayer
6c8ac2d782
Merge commit '1c4073efd24164ac6eaa52c544f5cdb0e5f6aee5'
...
* commit '1c4073efd24164ac6eaa52c544f5cdb0e5f6aee5':
fate: add tests for h264 decoder reinit
h264: fix bit depth changes with frame threading
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 11:56:29 +01:00
Michael Niedermayer
82f95d7fd7
h264: drop special case for 9bit chroma422
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 11:51:26 +01:00
Anton Khirnov
fcf75022d7
h264: remove redundant freeing of DPB in h264_decode_end
...
free_tables() frees it already.
2013-03-21 10:21:11 +01:00
Anton Khirnov
23e85be58f
h264: add a parameter to the CHROMA444 macro.
...
This way it does not look like a constant.
2013-03-21 10:21:02 +01:00
Anton Khirnov
e962bd08ee
h264: add a parameter to the CHROMA422 macro.
...
This way it does not look like a constant.
2013-03-21 10:20:58 +01:00
Anton Khirnov
6d2b6f21eb
h264: add a parameter to the CABAC macro.
...
This way it does not look like a constant.
2013-03-21 10:20:52 +01:00
Anton Khirnov
a6931d8ece
h264: add a parameter to the FIELD_OR_MBAFF_PICTURE macro.
...
This way it does not look like a constant.
2013-03-21 10:20:48 +01:00
Anton Khirnov
7fa00653a5
h264: add a parameter to the FIELD_PICTURE macro.
...
This way it does not look like a constant.
2013-03-21 10:20:44 +01:00
Anton Khirnov
7bece9b22f
h264: add a parameter to the FRAME_MBAFF macro.
...
This way it does not look like a constant.
2013-03-21 10:20:39 +01:00
Anton Khirnov
da6be8fcec
h264: add a parameter to the MB_FIELD macro.
...
This way it does not look like a constant.
2013-03-21 10:20:35 +01:00
Anton Khirnov
82313eaa34
h264: add a parameter to the MB_MBAFF macro.
...
This way it does not look like a constant.
2013-03-21 10:20:30 +01:00
Anton Khirnov
48d0fd2d62
h264: merge common_init() into ff_h264_decode_init.
...
There is no point in keeping those separate.
2013-03-21 10:20:10 +01:00
Anton Khirnov
25408b2a06
h264: make ff_h264_frame_start static.
...
It is not called from outside h264.c
2013-03-21 10:19:54 +01:00
Paul B Mahol
c5b484e616
lavfi/vf_stereo3d: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-21 09:17:32 +00:00
Stephen Hutchinson
cedf27651d
Provide local copies of AviSynth's and AvxSynth's requisite headers in compat/avisynth/.
...
The versions of the headers are the same as those provided with x264
for consistency's sake.
2013-03-21 04:23:24 +01:00
d s
b9ad009475
AviSynth demuxer rewrite.
...
Dynamically loads the library itself, rather than through VfW.
Supports AvxSynth on Linux and OS X.
Supports the new colorspaces added in AviSynth 2.6 when used
with AviSynth 2.6.
2013-03-21 04:11:22 +01:00
Michael Niedermayer
47540c8a68
avformat/avs: increase probe score to preempt conflict with avxsynth
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 04:05:51 +01:00
Clément Bœsch
4331484b8d
lavc/utils: fix metadata audio frame memleak in case of non refcounted frames.
...
The metadata must be set before saving the frame to avci->to_free,
otherwise it will leak.
Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: Clément Bœsch <ubitux@gmail.com >
2013-03-21 01:07:51 +01:00
Michael Niedermayer
76fdced109
asrc_sine: avoid use of INFINITY as it might be a non constant
...
This should fix compilation on openbsd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-21 00:53:57 +01:00
Michael Niedermayer
426ebdf923
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi/vf_yadif: use standard options parsing.
lavfi/vf_unsharp: use standard options parsing.
lavfi/vf_transpose: use standard options parsing.
lavfi/vf_pad: use standard options parsing.
lavfi/vf_fps: use standard options parsing.
lavfi/vf_fade: use standard options parsing.
lavi/vf_drawbox: use standard options parsing.
lavfi/vf_delogo: use standard options parsing.
lavfi/vf_decimate: use standard options parsing.
lavfi/vf_crop: use standard options parsing.
lavfi/af_volume: use standard options parsing.
lavfi/vf_tile: use standard options parsing.
lavfi/avf_concat: use standard options parsing.
lavfi: add common code to handle options parsing.
lavf/vobsub: free index pseudo-packet.
ffmpeg: fix freeing of sub2video frame.
lavfi: add sine audio source.
lavu/opt: add AV_OPT_TYPE_DURATION.
lavfi/concat: fix silence duration computation.
lavf/concatdec: support seeking.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 21:41:26 +01:00
Frank Galligan
b853103fe0
matroskadec: Add support for parsing Matroska ContentEncKeyID
...
This patch adds the enums for the ContentEncryption elements.
This patch also adds support for parsing the ContentEncKeyID. The
ContentEncKeyID is then base64 encoded and stored in the stream's
metadata.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 21:29:55 +01:00
Nicolas George
2753d4ebf0
lavfi/vf_yadif: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
8d4d11cd89
lavfi/vf_unsharp: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
769cc30072
lavfi/vf_transpose: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
392ec7ec1c
lavfi/vf_pad: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
b201c167d0
lavfi/vf_fps: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
4e2bcec95f
lavfi/vf_fade: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
80580b405a
lavi/vf_drawbox: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
37438d0a72
lavfi/vf_delogo: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
40ecd44f00
lavfi/vf_decimate: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
6202cf5dd8
lavfi/vf_crop: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
e9ca55aedd
lavfi/af_volume: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
e9f45a833d
lavfi/vf_tile: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
8c6c811b21
lavfi/avf_concat: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
befbcc374d
lavfi: add common code to handle options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
cdd78a65f4
lavf/vobsub: free index pseudo-packet.
2013-03-20 21:13:55 +01:00
Nicolas George
6a90f6d789
ffmpeg: fix freeing of sub2video frame.
2013-03-20 21:13:55 +01:00
Nicolas George
21b092de7c
lavfi: add sine audio source.
2013-03-20 21:04:28 +01:00
Nicolas George
8d928a9d99
lavu/opt: add AV_OPT_TYPE_DURATION.
2013-03-20 21:04:28 +01:00
Nicolas George
68fb7e260b
lavfi/concat: fix silence duration computation.
...
Inside send_silence(), delta_ts was used inconsistently:
sometimes as the new value, sometimes as the old value.
Consistently use it as the new value, and add an argument
to know the last segment duration.
2013-03-20 20:59:45 +01:00
Nicolas George
de1a71595d
lavf/concatdec: support seeking.
2013-03-20 20:59:24 +01:00
Michael Niedermayer
710cd0fddf
avformat: Fix infinite probing that reads the whole file
...
Fixes: otonajoshi_avformat_tries_to_load_whole.ts
Reported-by: JEEB (on IRC)
Thanks-to: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 17:57:00 +01:00
Michael Niedermayer
06a43baecd
av_find_stream_info: change read_size to 64bit
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 17:23:23 +01:00
Janne Grunau
1c4073efd2
fate: add tests for h264 decoder reinit
2013-03-20 16:04:27 +01:00
Michael Niedermayer
9ea6c14820
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavu/frame: use channels rather than channel_layout.
lavf: avformat_seek_file(): validate stream_index.
lavf/concatdec: fix possible leak in case of malloc failure.
lavfi/buffersink: check av_frame_ref() failure.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 13:58:04 +01:00
Nedeljko Babic
271f95940b
libavcodec/mips: fix for mips optimized fp fft with hard coded tables disabled
...
Floating point FFT (nips optimized) breaks when hard coded tables are
not enabled because MIPS optimization of floating point FFT uses only
ff_init_ff_cos_tabs(16) which is not enabled by default in that case.
This patch is fixing it.
Signed-off-by: Nedeljko Babic <nbabic@mips.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 13:48:05 +01:00
Michael Niedermayer
b274703493
avutil/atomic: use av_assert0()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 13:45:30 +01:00
Michael Niedermayer
eaa5882e71
avutil: fix compilation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 13:45:30 +01:00
Nicolas George
a964d6a8a2
lavu/frame: use channels rather than channel_layout.
2013-03-20 13:35:24 +01:00
Nicolas George
0d09aa9d8e
lavf: avformat_seek_file(): validate stream_index.
2013-03-20 13:35:24 +01:00
Nicolas George
de1568a452
lavf/concatdec: fix possible leak in case of malloc failure.
...
Fix CID 747737.
2013-03-20 13:35:24 +01:00
Nicolas George
5eb273b2e7
lavfi/buffersink: check av_frame_ref() failure.
2013-03-20 13:35:24 +01:00
Paul B Mahol
ac44e52f50
lavfi/showwaves: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-20 12:29:54 +00:00
Paul B Mahol
7aa9af51db
lavu/opt: add AV_OPT_VIDEO_RATE option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-20 12:29:54 +00:00
Janne Grunau
a157c7f2b8
h264: fix bit depth changes with frame threading
...
AVCodecContext.bits_per_raw_sample is updated from the previous thread
in the generic update function before the codec specific update_thread
function is called. The check for reinitialization of dsp functions uses
bits_per_raw_sample. When called from update_thread_context it will be
already at the current value and the dsp functions aren't updated if
only the bit depth changes.
2013-03-20 13:12:10 +01:00
Bojan Zivkovic
7d29c6eebc
mips: Optimization of IIR filter function
...
Signed-off-by: Bojan Zivkovic <bojan@mips.com >
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 12:44:32 +01:00
Bojan Zivkovic
26f3924d78
mips: Optimization of AAC coefficients encoder functions
...
Signed-off-by: Bojan Zivkovic <bojan@mips.com >
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 12:34:37 +01:00
Michael Niedermayer
e7dd0365f2
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
rtmp: Pass the parameters to do_adobe_auth in the right order
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 12:03:53 +01:00
Michael Niedermayer
f7fee8f700
Merge commit 'c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352'
...
* commit 'c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352':
mpegvideo: allocate hwaccel privdata after the frame buffer
h264: allocate hwaccel privdata after the frame buffer
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 11:57:28 +01:00
Michael Niedermayer
084510d12a
Merge commit 'c71c80f53b6a63fd6360d9de5a262f9e7c85681f'
...
* commit 'c71c80f53b6a63fd6360d9de5a262f9e7c85681f':
pthread: unref already decoded frames when flushing the decoder
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 11:50:33 +01:00
Michael Niedermayer
54b0bef390
Merge commit '4e70d66ded537cadd32dbd02a38c3d86a203c812'
...
* commit '4e70d66ded537cadd32dbd02a38c3d86a203c812':
mpegvideo: fix allocation of the hwaccel_picture_private data
lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 11:43:29 +01:00
Michael Niedermayer
df804041bd
Merge commit '6599b087de62a5f9f2a8d61a1952d777d1bff804'
...
* commit '6599b087de62a5f9f2a8d61a1952d777d1bff804':
buffersrc: fix a typo.
lavc, lavfi: fix counting number of planes in AVBufferRef wrappers
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 11:30:56 +01:00
Michael Niedermayer
17ebef2fc8
Merge commit '2c328a907978b61949fd20f7c991803174337855'
...
* commit '2c328a907978b61949fd20f7c991803174337855':
pixdesc: add a function for counting planes in a pixel format.
avplay: remove the -debug option.
Revert "asfenc: return error on negative timestamp"
Conflicts:
doc/APIchanges
doc/ffplay.texi
ffplay.c
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 11:24:11 +01:00
Martin Storsjö
a5e6080a8d
rtmp: Pass the parameters to do_adobe_auth in the right order
...
do_adobe_auth takes the parameters in the order "opaque, challenge".
Due to the way they are treated, this didn't matter in the tested
setups though - if both are set, we only use one. In the tested
setups (Wowza and Akamai) either one of them were null or they
were both set to the same value, which is why this worked before.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-20 12:00:28 +02:00
Sebastian Sandberg
db8403d04a
vc1dec: interlaced B-frames
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 03:37:48 +01:00
Michael Niedermayer
d244a615f6
er: set error_occured on missing slices
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-20 00:52:46 +01:00
Clément Bœsch
17e1b3cd14
fate: make metadata fate tests only output ts and metadata.
...
The other information are just cluttering the output. The command line
is also simplified in the process.
2013-03-20 00:09:44 +01:00
Stefano Sabatini
33b0549867
lavc/utils: add VP6F hack for setting correct video size in stream
...
For some obscure reasons avcodec_set_dimensions() resets the width/height
so that the resulting value set in the stream is equal to the
corresponding coded_width/height, which is not the same as the correct
width/height in case of the H.264 and VP6F codecs.
This adds a codec-specific hack for VP6F which disables the call to
avcodec_set_dimensions() in avcodec_open2(), like it is done with H264. A
proper fix needs to be found yet.
Fix trac ticket #1386 .
Based on a patch by Michael Niedermayer.
Trolled-By: Daemon404
See thread:
Subject: [FFmpeg-devel] [PATCH] ffprobe: Stash and use width and height before opening the codec
Date: Fri, 1 Mar 2013 10:41:34 -0500
2013-03-19 23:28:08 +01:00
Clément Bœsch
d4982b115d
lavd/dshow: fix style and typo recently introduced.
2013-03-19 21:26:24 +01:00
Paul B Mahol
17c1881d58
lavfi: remove harddup libmpcodecs wrapper
...
It is supposed to be used with mencoder only and does
nothing when used with ffmpeg.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-19 17:15:53 +00:00
Compn
b964b0fc5c
changelog: 10% faster aac encoding on x86 and MIPS
2013-03-19 13:23:05 -04:00
Stefano Sabatini
e292d75113
ffprobe: set writer context to 0 after allocation
...
Avoid access to uninitialized values, which may result in a crash.
This happens for example in case of option parsing failure, since in that
case the internal AVBprint buffers are not initialized.
2013-03-19 18:00:34 +01:00
Clément Bœsch
1c3b428114
doc/developer: fix typo in regression tests ref.
2013-03-19 17:45:53 +01:00
Clément Bœsch
879ca313c0
fate: add missing filter dep in metadata tests.
2013-03-19 17:39:08 +01:00
Stefano Sabatini
18f43de964
doc/ffmpeg,ffmpeg-formats: avoid to mention ffmpeg options from formats.texi
...
Also extends documentation for timestamp related ffmpeg options, in order
to make more apparent the fact that muxer processing may change the
timestamps values.
2013-03-19 17:31:16 +01:00
Stefano Sabatini
2bac6b6f5e
doc/ffmpeg-formats: reword and extend documentation for avoid_negative_ts option
...
Hopefully increase readability.
2013-03-19 17:31:16 +01:00
Stefano Sabatini
608bccf470
lavf/avformat.h: fix a few typos in AVFormatContext:avoid_negative_ts doxy
2013-03-19 17:31:16 +01:00
Nedeljko Babic
d23aefa498
mips: inline assembly clobber list polishing
...
List of clobbered registers fixed and added where it is lacking.
Signed-off-by: Nedeljko Babic <nbabic@mips.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 16:51:35 +01:00
Michael Niedermayer
4ce03a95e2
lmlm4: check packet_size against lower limit too
...
Fixes CID732224
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 16:30:44 +01:00
Michael Niedermayer
d275f6eda8
doc: update release_notes by taking the ones from release/1.2
2013-03-19 16:21:26 +01:00
Clément Bœsch
bf0e44fa67
fate: add curves filter test.
2013-03-19 16:20:22 +01:00
Michael Niedermayer
feeb8ca56d
vp56: Check av_frame_ref() return code
...
Fixes CID991837
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 15:26:23 +01:00
Michael Niedermayer
5f476cfe6e
avformat/tee: add forgotten ret assignment
...
Fixes CID991840
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 15:09:10 +01:00
Michael Niedermayer
1e41b8cd07
hpeldsp: Increase put_no_rnd_pixels_tab[][] size
...
Fixes CID991852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 14:47:04 +01:00
Clément Bœsch
21aa4fafcd
fate: add ebur128 metadata test.
2013-03-19 14:37:59 +01:00
Michael Niedermayer
2c993fece2
audio_get_buffer: add assert to ensure nb_extended_buf has a safe value
...
May silence CID991853
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 14:33:47 +01:00
Michael Niedermayer
fdda9b440c
matroska_parse_frame: fix memleak
...
Fixes CID991856
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 14:33:47 +01:00
Clément Bœsch
dec9800c9d
lavf: do not make a hard dep on internal subtitles helpers.
2013-03-19 14:10:24 +01:00
Michael Niedermayer
ad98567198
mpegvideo_enc: remove stray semicolon
...
Fixes CID991857
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 13:47:04 +01:00
Michael Niedermayer
f1c3d8b344
avutil/add_to_pool: remove unused assgnment
...
Fixed CID991859
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 13:35:10 +01:00
chinshou
b619a54853
alac: Fix order of values in comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 13:28:29 +01:00
Michael Niedermayer
8d0da20ca6
avidec: fix duration and bitrate of truncated files
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 13:09:52 +01:00
Hendrik Leppkes
c3ebfcd6e1
mpegvideo: allocate hwaccel privdata after the frame buffer
...
This ensures the hwaccel privdata does not leak when a frame buffer could
not be allocated (and toggle the assert when the frame is re-used).
Having no frame buffer available is quite common when using the DXVA2
hwaccel in situations where the DXVA2 renderer is being re-allocated, for
example when moving between displays.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-19 11:20:22 +01:00
Hendrik Leppkes
9c9ede44f3
h264: allocate hwaccel privdata after the frame buffer
...
This ensures the hwaccel privdata does not leak when a frame buffer could
not be allocated (and toggle the assert when the frame is re-used).
Having no frame buffer available is quite common when using the DXVA2
hwaccel in situations where the DXVA2 renderer is being re-allocated, for
example when moving between displays.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-19 11:20:00 +01:00
Hendrik Leppkes
c71c80f53b
pthread: unref already decoded frames when flushing the decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-19 11:19:08 +01:00
Hendrik Leppkes
4e70d66ded
mpegvideo: fix allocation of the hwaccel_picture_private data
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-19 11:18:42 +01:00
Anton Khirnov
6599b087de
buffersrc: fix a typo.
...
Vertical shift is log2_chroma_h, not log2_chroma_w.
2013-03-19 11:12:17 +01:00
Anton Khirnov
2c328a9079
pixdesc: add a function for counting planes in a pixel format.
2013-03-19 11:12:17 +01:00
Anton Khirnov
1516bf7af1
lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.
2013-03-19 11:12:17 +01:00
Anton Khirnov
c977039e58
lavc, lavfi: fix counting number of planes in AVBufferRef wrappers
...
Number of planes is not always equal to the number of components even
for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components
in two planes.
2013-03-19 11:12:17 +01:00
Anton Khirnov
e5c32d6da7
avplay: remove the -debug option.
...
It just shadows the corresponding AVOption and prevents using named
constants.
2013-03-19 11:12:13 +01:00
Anton Khirnov
3cd93cc7b8
Revert "asfenc: return error on negative timestamp"
...
This reverts commit d1bec33b46 , it breaks
FATE.
2013-03-19 11:04:55 +01:00
Paul B Mahol
4d16ba2dd8
ffplay: silence warning of mixed enumeration types
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-19 09:39:28 +00:00
Matthieu Bouron
69e93792d6
lavf/mxfdec: read field dominance flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 03:01:51 +01:00
Hendrik Leppkes
97f8c6e147
pthread: update all get_buffer checks for get_buffer2
...
This restores the performance of simple frame-threaded codecs back to
their pre-merge levels.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 02:25:46 +01:00
Carl Eugen Hoyos
55bb8f4589
Fix Makefile dependency for the dvd_nav parser.
...
Fixes compilation for --disable-everything --enable-parser=dvd_nav
2013-03-19 02:11:39 +01:00
Carl Eugen Hoyos
e4f5aa5e8d
Inform the user if a pix_fmt != yuv420p was chosen for x264 encoding.
2013-03-19 01:16:37 +01:00
Michael Niedermayer
6128d33946
AVFrame.pkt_dts: improve docs
...
Related to Ticket2375
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-19 00:47:00 +01:00
Michael Niedermayer
0e02a5193f
segment: copy metadata
...
Fixes Ticket2230
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 23:57:44 +01:00
Thierry Foucu
823efd9286
Fix termination of mov_ch_layouts_wav array lookup
...
Problem found using ASAN.
In some case, the ff_mov_get_channel_layout_tag function will not find 0
as termination for lookup in the array mov_ch_layouts_wav.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 23:50:35 +01:00
Michael Niedermayer
9c22039c15
doc: Document the order in which avoid_negative_ts is applied compared to other timestamp options
...
Also try to document the rational behind it.
This might fix Ticket2376
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 23:19:54 +01:00
Michael Niedermayer
aafbfb1c2e
doc: try to improve avoid_negative_ts documentation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 23:09:26 +01:00
Clément Bœsch
4b35be3251
lavc: fix avpacket memleak with subtitles recoding.
2013-03-18 22:04:29 +01:00
dronus
fdca977a22
libavdevice sdl: added window_fullscreen option to switch SDL output into fullscreen mode
2013-03-18 20:44:21 +01:00
Elvis Presley
58bc65952b
libavcodec/proresdec.h: fix license header
...
This was somehow missed when relicensing the decoder to LGPL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 19:34:41 +01:00
Michael Niedermayer
cea3a63ba3
avutil/buffer: Fix race in pool.
...
This race will always happen sooner or later in a multi-threaded
environment and it will over time lead to OOM.
This fix works by spinning, there are other ways by which this
can be fixed, like simply detecting the issue after it happened
and freeing the over-allocated memory or simply using a mutex.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 19:19:22 +01:00
Michael Niedermayer
73ef12757b
append_packet_chunked: remove outcommented code
...
our variant works fine and should be better
also remove related unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 17:54:01 +01:00
Michael Niedermayer
0163ad66e1
mpeg2: 12LSB w/h of 0 is not allowed in compliant videos thus this also needs AV_EF_COMPLIANT
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 17:48:52 +01:00
Michael Niedermayer
330e440706
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
print_options: do not generate docs for options without enc or dec flags
mpeg12: do not fail on zero dimensions in the sequence header.
Conflicts:
libavcodec/mpeg12.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 17:43:43 +01:00
Michael Niedermayer
523c8e0503
Merge commit '50c449ac24fbb4c03c15d2e2026cef2204b80385'
...
* commit '50c449ac24fbb4c03c15d2e2026cef2204b80385':
iff: validate CMAP palette size
asfenc: return error on negative timestamp
Conflicts:
libavformat/iff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 17:30:53 +01:00
Anton Khirnov
358628074c
print_options: do not generate docs for options without enc or dec flags
...
Those are not usable from the avtools, so mentioning them in the
manpages just confuses the reader.
2013-03-18 15:36:25 +01:00
Anton Khirnov
ce0124acac
mpeg12: do not fail on zero dimensions in the sequence header.
...
The total frame size is a combination of the 12 bits in the sequence
header and 2 more bits in the the sequence extension. While the
specification explicitly forbids the dimensions from the sequence header
from being 0 (thus ruling out multiples of 4096), such videos
apparrently exist in the wild so we should attempt to decode them.
Based on a patch by Michael Niedermayer <michaelni@gmx.at >
Fixes Bug 416.
2013-03-18 15:36:10 +01:00
Kostya Shishkov
50c449ac24
iff: validate CMAP palette size
...
Fixes CVE-2013-2495
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
CC: libav-stable@libav.org
2013-03-18 10:48:29 +01:00
Luca Barbato
d1bec33b46
asfenc: return error on negative timestamp
...
According to the specification the timestamp is represented by a 32bit
unsigned.
CC: libav-stable@libav.org
2013-03-18 10:48:23 +01:00
Clément Bœsch
6abb554fd6
lavc,lavu: fix two doxy mixup between h/v chroma shift.
2013-03-18 09:04:11 +01:00
Clément Bœsch
c10b57973d
lavfi/pad: fix horizontal/vertical shift confusion.
2013-03-18 08:51:55 +01:00
Michael Niedermayer
fbd3ee91a5
avutil/frame: typo
...
found by ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 04:47:27 +01:00
Michael Niedermayer
3dc25c3ab2
avutil/frame: document alignment and padding requirements
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 04:13:21 +01:00
Clément Bœsch
76d1c07c89
lavfi/ebur128: add metadata injection.
2013-03-18 03:21:08 +01:00
Michael Niedermayer
29e0357a11
aasc: fix pointer vs value error
...
Fixes Ticket2365
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 02:10:10 +01:00
Michael Niedermayer
8152451b56
buffersrc: fix w/h error
...
Found-by: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 02:00:57 +01:00
Michael Niedermayer
519ebb5ee5
rmdec: flush audio packet on seeking
...
Fixes Ticket1605
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-18 00:08:59 +01:00
Michael Niedermayer
ef3c88838e
doc/developer: Add "security fixes" to the release process steps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 22:53:28 +01:00
Michael Niedermayer
36258f9829
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
fate: add a test for -filter_complex / -lavfi without input.
ffmpeg: make -lavfi an alias for -filter_complex.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 21:55:27 +01:00
Michael Niedermayer
c603f22683
avutil/get_pool: remove dead operations whichs result is never used.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 18:40:15 +01:00
Michael Niedermayer
e3be7b1159
avutil/get_pool: Remove redundant initial atomic operation
...
602->442 dezicycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 18:40:15 +01:00
Nicolas George
ec7fc7b7d1
fate: add a test for -filter_complex / -lavfi without input.
2013-03-17 16:24:43 +01:00
Nicolas George
40ea006b76
ffmpeg: make -lavfi an alias for -filter_complex.
2013-03-17 16:24:43 +01:00
Richard
9cde9f70ab
mpeg: Add passing DVD navigation packets (startcode 0x1bf) to caller to allow better playback handling of DVDs.
...
The two types of packets (PCI and DSI) are passed untouched but combined by the new codec ID AV_CODEC_ID_DVD_NAV.
The first 980 bytes in the packet contain the PCI data. The next 1018 are the DSI data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 16:24:34 +01:00
Michael Niedermayer
975fbd43ad
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi/buffersink: fix header.
lavfi/buffersrc: disable deprecated warnings.
lavfi/buffersrc: check channel count changes.
lavfi/buffersrc: set channel layout if it is known.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 14:30:33 +01:00
Michael Niedermayer
fa7031ad37
h264_refs: fix typo in refs fallback check
...
Fixes regression since 01a0283
Fixes Ticket2371
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 14:21:46 +01:00
Stefano Sabatini
5787a71637
lavfi/swapuv: remove deprecated base field use
2013-03-17 13:06:01 +01:00
Stefano Sabatini
5fe542d7e1
ffplay: remove options skiploop, skipidct, skipframe
...
The corresponding codec options (skip_loop, skip_idct, skip_frame) can be
set in a more flexible way.
This technically causes a user interface break, but since the options
were not even documented and we just released a major version that should
not be a serious issue.
2013-03-17 13:05:44 +01:00
Stefano Sabatini
f7d1a18c90
ffplay: remove unused variable "codec"
...
Fix warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable]
2013-03-17 13:05:44 +01:00
Michael Niedermayer
171bd38eda
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 12:59:04 +01:00
Michael Niedermayer
ac1cea55ad
Merge commit '23f4c5acc438366d84cacf49e33b0bcd72f04937'
...
* commit '23f4c5acc438366d84cacf49e33b0bcd72f04937':
document the release process
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 12:58:44 +01:00
Nicolas George
7e6c67dd24
lavfi/buffersink: fix header.
...
Move non-obsolete functions, structures and constants outside
the scope of "#if FF_API_AVFILTERBUFFER".
Add attribute_deprecated to av_buffersink_get_buffer_ref()
and av_buffersink_poll_frame().
Add doxygen for av_buffersink_get_frame_flags().
2013-03-17 12:31:25 +01:00
Nicolas George
a5149607df
lavfi/buffersrc: disable deprecated warnings.
2013-03-17 12:31:24 +01:00
Nicolas George
f29c28a884
lavfi/buffersrc: check channel count changes.
2013-03-17 12:31:24 +01:00
Paul B Mahol
79b1835726
sndio_dec: add missing #include for av_gettime()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-17 11:10:26 +00:00
Nicolas George
3cd342636f
lavfi/buffersrc: set channel layout if it is known.
...
Introduced in 01649c7 , lost in the API change.
2013-03-17 11:59:51 +01:00
Anton Khirnov
6552808014
lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers
...
It is supposed to be height * linesize, not width * linesize.
Thanks to Hendrik Leppkes for pointing out the bug.
2013-03-17 09:10:04 +01:00
Michael Niedermayer
9f95e355be
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: add -af option
ffplay: use refcounted frames for audio
ffplay: use frame->pts if available for setting the audio clock
ffplay: restructure audio stream opening code
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 05:24:41 +01:00
Michael Niedermayer
0f95534669
h264_qpel: fix another forgotten int stride
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 05:20:35 +01:00
Clément Bœsch
3313b9cc2d
lavc: remove unecessary a64enc include.
2013-03-17 04:38:28 +01:00
Marton Balint
e96175ad7b
ffplay: add -af option
...
Based on a patch by Stefano Sabatini <stefasab@gmail.com >:
http://ffmpeg.org/pipermail/ffmpeg-devel/2013-February/138452.html
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-03-17 03:43:36 +01:00
Marton Balint
738487f8db
ffplay: use refcounted frames for audio
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-03-17 03:31:37 +01:00
Marton Balint
9eafdd518c
ffplay: use frame->pts if available for setting the audio clock
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-03-17 03:31:37 +01:00
Marton Balint
1822519d2a
ffplay: restructure audio stream opening code
...
Preparation for -af support.
Signed-off-by: Marton Balint <cus@passwd.hu >
2013-03-17 03:31:37 +01:00
Clément Bœsch
286153ea48
lavfi/alphaextract: fix frame memleak.
2013-03-17 03:12:44 +01:00
Michael Niedermayer
f566ac48ce
avutil/frame: fix video buffer allocation
...
The padding was lost during porting from avcodec
Should fix out of array accesses
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-17 02:19:25 +01:00
Stefano Sabatini
be5c5c399b
tests/filter-metadata-scenedetect: update reference
...
Fix reference after f7ab23b0d0 .
+10l to me, this time aliens are not involved.
2013-03-17 02:04:45 +01:00
Stefano Sabatini
72a1257b5b
tests/eval: fix reference after b2098d2417
...
+10l to me, I blame the aliens.
2013-03-17 02:04:45 +01:00
Clément Bœsch
2b27f7fb04
lavfi/thumbnail: replace frame unref with free.
...
Fixes memleak spotted by FATE.
2013-03-17 01:46:22 +01:00
Stefano Sabatini
f7ab23b0d0
ffprobe: remove deprecated frame "reference" field
2013-03-17 00:27:48 +01:00
Stefano Sabatini
db36ea5b5e
lavfi/settb: add support for named options
2013-03-17 00:27:33 +01:00
Stefano Sabatini
0407a79e41
lavfi/blackframe: add support for named options
2013-03-17 00:27:08 +01:00
Stefano Sabatini
356922e237
doc/filters: add bit-slicing example in lutyuv docs
2013-03-17 00:26:31 +01:00
Stefano Sabatini
b2098d2417
lavu/eval: add bitor and bitand functions
...
Warning note suggested by Reimar.
2013-03-17 00:22:47 +01:00
Hendrik Leppkes
d8dccf69ff
lavfi: let gcc realign the stack on public graph driving functions
...
The functions which actually drive the filter graph by pushing
frames through it need to ensure an aligned stack for SIMD functions.
This fixes a crash in YADIF filter when using a mingw build in a MSVC application.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 23:52:35 +01:00
Clément Bœsch
8d84e90c9b
lavfi/delogo: 10l forgotten trailing NULL in shorthand.
...
Regression since de3e0ab3 .
2013-03-16 23:37:58 +01:00
James Darnley
c9a51c29fc
yadif: remove an 'm' from the LOAD macro definition
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 22:33:49 +01:00
James Darnley
1d3b14cac2
yadif: remove repeated check on width
...
The filter already checks that width (and height) are greater than 3.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 22:33:30 +01:00
James Darnley
7976d92dac
yadif: cosmetic indentation from previous commits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 22:33:06 +01:00
James Darnley
0a5814c9ba
yadif: x86 assembly for 9 to 14-bit samples
...
These smaller samples do not need to be unpacked to double words
allowing the code to process more pixels every iteration (still 2 in MMX
but 6 in SSE2). It also avoids emulating the missing double word
instructions on older instruction sets.
Like with the previous code for 16-bit samples this has been tested on
an Athlon64 and a Core2Quad.
Athlon64:
1809275 decicycles in C, 32718 runs, 50 skips
911675 decicycles in mmx, 32727 runs, 41 skips, 2.0x faster
495284 decicycles in sse2, 32747 runs, 21 skips, 3.7x faster
Core2Quad:
921363 decicycles in C, 32756 runs, 12 skips
486537 decicycles in mmx, 32764 runs, 4 skips, 1.9x faster
293296 decicycles in sse2, 32759 runs, 9 skips, 3.1x faster
284910 decicycles in ssse3, 32759 runs, 9 skips, 3.2x faster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 22:32:54 +01:00
James Darnley
17e7b49501
yadif: x86 assembly for 16-bit samples
...
This is a fairly dumb copy of the assembly for 8-bit samples but it
works and produces identical output to the C version. The options have
been tested on an Athlon64 and a Core2Quad.
Athlon64:
1810385 decicycles in C, 32726 runs, 42 skips
1080744 decicycles in mmx, 32744 runs, 24 skips, 1.7x faster
818315 decicycles in sse2, 32735 runs, 33 skips, 2.2x faster
Core2Quad:
924025 decicycles in C, 32750 runs, 18 skips
623995 decicycles in mmx, 32767 runs, 1 skips, 1.5x faster
406223 decicycles in sse2, 32764 runs, 4 skips, 2.3x faster
387842 decicycles in ssse3, 32767 runs, 1 skips, 2.4x faster
307726 decicycles in sse4, 32763 runs, 5 skips, 3.0x faster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 22:32:34 +01:00
Carl Eugen Hoyos
75c7e4583f
Do not (re-)set libx264 parameter b_tff if interlaced encoding was not requested.
...
Reconfiguring can break x264 lossless encoding.
Fixes ticket #2165 .
2013-03-16 20:13:44 +01:00
Reinhard Tartler
23f4c5acc4
document the release process
2013-03-16 18:00:54 +01:00
Nicolas George
639a9e21a6
ffmpeg_opt: add OPT_INPUT to -fix_sub_duration and -canvas_size.
2013-03-16 17:20:19 +01:00
Hendrik Leppkes
a77f453703
lavfi/avcodec: deprecate remainders of the avcodec glue code
...
Since lavfi works natively with AVFrame now, these functions are no longer
necessary and can be removed in a future bump.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 17:04:36 +01:00
Michael Niedermayer
07d4f557e5
append_packet_chunked: Remove unused initialization.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 17:03:41 +01:00
Michael Niedermayer
946cbf04ee
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
af_join: do not leak input frames.
asrc_anullsrc: return EOF, not -1
Conflicts:
libavfilter/asrc_anullsrc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 16:58:41 +01:00
Michael Niedermayer
afb3fb3352
Merge commit 'f4281f457194a6a4489fbd7423e2ab2e13c6d4d9'
...
* commit 'f4281f457194a6a4489fbd7423e2ab2e13c6d4d9':
asrc_anullsrc: do not set samplerate and channel layout explicitly
Conflicts:
libavfilter/asrc_anullsrc.c
No change to FFmpeg due to semantic difference between the filter sources
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 16:56:30 +01:00
Michael Niedermayer
7fff5781b6
Merge commit 'e4a7b2177d14678ae240edcabaacfe2b14619b7b'
...
* commit 'e4a7b2177d14678ae240edcabaacfe2b14619b7b':
vf_showinfo: remove its useless init function
AVOptions: fix using named constants with child contexts.
Conflicts:
libavutil/opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 16:38:11 +01:00
Michael Niedermayer
b64077bebe
Merge commit '9676b9a2cdc4a90611188fc48d8d388e427997c5'
...
* commit '9676b9a2cdc4a90611188fc48d8d388e427997c5':
AVOption: remove an unused function parameter.
filters.texi: restore mistakenly removed section name for noformat
avfiltergraph: use sizeof(var) instead of sizeof(type)
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 16:28:27 +01:00
Clément Bœsch
e1b1092755
fate: test both direct and indirect paths in delogo filter.
2013-03-16 16:22:56 +01:00
Clément Bœsch
9f1667ab64
fate: test both direct and indirect paths in hue filter.
2013-03-16 16:17:44 +01:00
Michael Niedermayer
ecade984ac
Merge commit '42c7c61ab25809620b8c8809b3da73e25f5bbaaf'
...
* commit '42c7c61ab25809620b8c8809b3da73e25f5bbaaf':
avfiltergraph: replace AVFilterGraph.filter_count with nb_filters
Conflicts:
doc/APIchanges
libavfilter/avfiltergraph.c
libavfilter/avfiltergraph.h
libavfilter/graphparser.c
libavfilter/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 16:09:37 +01:00
Clément Bœsch
8a0187e43d
fate: test both direct and indirect paths in hqdn3d and gradfun.
2013-03-16 16:04:59 +01:00
Clément Bœsch
3b2b636a2a
lavfi: add perms and aperms filters.
2013-03-16 16:04:59 +01:00
Michael Niedermayer
18369967a5
Merge commit '556aab8f11b045a21182eee32413aa78d5c8539b'
...
* commit '556aab8f11b045a21182eee32413aa78d5c8539b':
lavfi: use designated initializers in avfilter_class
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 15:50:43 +01:00
Michael Niedermayer
e066fb54cb
Merge commit 'aa3c77998404cc32233cb76e961ca27db8565459'
...
* commit 'aa3c77998404cc32233cb76e961ca27db8565459':
lavf: sanity check size in av_get/append_packet().
Conflicts:
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 15:38:13 +01:00
Michael Niedermayer
aef816f957
Merge commit 'ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6'
...
* commit 'ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6':
lzo: fix overflow checking in copy_backptr()
flacdec: simplify bounds checking in flac_probe()
atrac3: avoid oversized shifting in decode_bytes()
Conflicts:
libavformat/flacdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 14:10:09 +01:00
Reimar Döffinger
e4e4add0e3
Add raw VC-1 muxer to match demuxer.
...
This is admittedly kind of pointless since usually -f image2pipe
can be used for the purpose, but this is more user-friendly.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-03-16 13:42:53 +01:00
Reimar Döffinger
5301aed9ae
vc1testenc: give muxer same name as demuxer
...
Otherwise ffmpeg -formats claims that we only support demuxing
of that format.
To keep compatibility the struct could be duplicated instead,
but this seems almost like overkill for such a rare format.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-03-16 13:42:16 +01:00
Reimar Döffinger
c3c3bc7ff6
Make ff_win32_open more robust.
...
- Make MultiByteToWideChar fail when it encounters invalid encoding.
Without this, invalid characters might just be skipped
- When MultiByteToWideChar fails, assume the file name is in CP_ACP
and open it via normal open function, even when the file will be
written
- When malloc fails return error instead of crashing
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-03-16 13:40:36 +01:00
Reimar Döffinger
23426987fa
mpeg12: reduce hwaccel-related code duplication.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2013-03-16 13:40:36 +01:00
Anton Khirnov
4750b05d67
af_join: do not leak input frames.
2013-03-16 05:37:01 +01:00
Anton Khirnov
c2b9bd97f5
asrc_anullsrc: return EOF, not -1
2013-03-16 05:36:46 +01:00
Anton Khirnov
f4281f4571
asrc_anullsrc: do not set samplerate and channel layout explicitly
...
They are auto-negotiated.
2013-03-16 05:36:35 +01:00
Anton Khirnov
e4a7b2177d
vf_showinfo: remove its useless init function
...
Filter private data is memset to 0 so there is no point in explicitly
initing anything to 0.
2013-03-16 05:36:14 +01:00
Anton Khirnov
4d67ff8e8e
AVOptions: fix using named constants with child contexts.
...
The named constant needs to be searched for in the same object on which
the option is set, i.e. target_obj.
2013-03-16 05:35:33 +01:00
Anton Khirnov
9676b9a2cd
AVOption: remove an unused function parameter.
2013-03-16 05:35:20 +01:00
Anton Khirnov
ef4d34aa7e
filters.texi: restore mistakenly removed section name for noformat
2013-03-16 05:35:02 +01:00
Anton Khirnov
dd74e3ef33
avfiltergraph: use sizeof(var) instead of sizeof(type)
2013-03-16 05:34:20 +01:00
Anton Khirnov
42c7c61ab2
avfiltergraph: replace AVFilterGraph.filter_count with nb_filters
...
This is more consistent with the naming in the rest of Libav.
2013-03-16 05:33:23 +01:00
Anton Khirnov
556aab8f11
lavfi: use designated initializers in avfilter_class
2013-03-16 05:33:06 +01:00
Compn
7d15cd4f4a
changelog: add support for Monkey's Audio versions from 3.93
2013-03-15 23:41:03 -04:00
Giorgio Vazzana
bcd3eb3e7a
lavd/v4l2: silence libv4l2 logging
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-16 02:44:36 +01:00
ArnoB
361319d0f4
dpxenc: fix data offset
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 21:09:36 +01:00
Nicolas George
b90912be68
lavd/lavfi: upgrade to AVFrame.
...
Fix a memory leak because the compat implementation of
AV_BUFFERSINK_FLAG_PEEK is not identical to the previous one.
2013-03-15 20:46:27 +01:00
Anton Khirnov
aa3c779984
lavf: sanity check size in av_get/append_packet().
...
To avoid allocating ridiculous amounts of memory for corrupted files,
read the input in chunks limited to filesize or an arbitrary large
amount when that is not known (chosen to be 50M).
2013-03-15 20:05:04 +01:00
Paul B Mahol
a9b424879f
lavc & lavf: replace deprecated av_log* functions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-15 18:10:28 +00:00
James Darnley
3d751b1ef6
yadif: correct strides in filter_edges_16bit
...
The C code treats the data as arrays of uint16_t so strides must not
be in bytes but in pixels.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 19:10:55 +01:00
Michael Niedermayer
cd5f50a255
avfilter: avoid direct access to AVFrame.channels
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 16:13:53 +01:00
Michael Niedermayer
64308941d4
mpegvideo: Fix exported qp table offest
...
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 14:38:09 +01:00
Michael Niedermayer
70c0ae915d
matroskadec: avoid integer overflow
...
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 13:48:04 +01:00
Michael Niedermayer
2265bb93ff
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
add support for Monkey's Audio versions from 3.93
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 13:43:01 +01:00
Michael Niedermayer
5be70f5826
Merge commit '9652d4fcfc9c07a726b35efc4ac644d9751b36d7'
...
* commit '9652d4fcfc9c07a726b35efc4ac644d9751b36d7':
ape: provide two additional bytes in buffer for old MAC versions
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 13:34:20 +01:00
Michael Niedermayer
231795270b
Merge commit 'b164d66e35d349de414e2f0d7365a147aba8a620'
...
* commit 'b164d66e35d349de414e2f0d7365a147aba8a620':
ape: make version-dependent decoding functions called via pointers
mpegts: add support for stream_type 0x42, which is CAVS
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 13:28:38 +01:00
Michael Niedermayer
9df00574fc
Merge commit '3e175a2a550f5c2f788e8cd969052e10a5025a27'
...
* commit '3e175a2a550f5c2f788e8cd969052e10a5025a27':
avconv: mark attachment streams as immediately finished
vaapi: fix argument for ff_vaapi_common_end_frame call
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 12:54:05 +01:00
Xi Wang
ca6c3f2c53
lzo: fix overflow checking in copy_backptr()
...
The check `src > dst' in the form `&c->out[-back] > c->out' invokes
pointer overflow, which is undefined behavior in C.
Remove the check. Also replace `&c->out[-back] < c->out_start' with
a safe form `c->out - c->out_start < back' to avoid overflow.
CC: libav-stable@libav.org
Signed-off-by: Xi Wang <xi.wang@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-15 12:52:31 +01:00
Xi Wang
8425d693ee
flacdec: simplify bounds checking in flac_probe()
...
Simplify `p->buf > p->buf + p->buf_size - 4' as `p->buf_size < 4'.
Avoid a possible out-of-bounds pointer, which is undefined behavior
in C.
CC: libav-stable@libav.org
Signed-off-by: Xi Wang <xi.wang@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-15 12:51:57 +01:00
Xi Wang
eba1ff3130
atrac3: avoid oversized shifting in decode_bytes()
...
When `off' is 0, `0x537F6103 << 32' in the following expression invokes
undefined behavior, the result of which is not necessarily 0.
(0x537F6103 >> (off * 8)) | (0x537F6103 << (32 - (off * 8)))
Avoid oversized shifting.
CC: libav-stable@libav.org
Signed-off-by: Xi Wang <xi.wang@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-15 12:51:10 +01:00
Kostya Shishkov
c42e262513
add support for Monkey's Audio versions from 3.93
2013-03-15 09:50:42 +01:00
Kostya Shishkov
9652d4fcfc
ape: provide two additional bytes in buffer for old MAC versions
...
Range coder in 3.90-3.95 overread two bytes in the final normalize.
2013-03-15 09:50:42 +01:00
Kostya Shishkov
b164d66e35
ape: make version-dependent decoding functions called via pointers
...
This will help in supporting old versions, e.g. version 3.93 uses the same
range coder but different predictor and version 3.82 uses different range
coder and predictor. Also this should not make decoding newer versions slower
by introducing additional checks on versions.
2013-03-15 09:50:42 +01:00
Can Wu
81cf53e133
mpegts: add support for stream_type 0x42, which is CAVS
...
This allows demuxing and muxing of CAVS TS streams.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-15 09:33:24 +01:00
Anton Khirnov
3e175a2a55
avconv: mark attachment streams as immediately finished
...
There are never any packets for those streams.
Fixes an infinite loop with -attach.
2013-03-15 08:59:27 +01:00
Ronald S. Bultje
8a523cfa8b
dsputil: remove non-8bpp draw_edge.
...
It is never used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 04:39:41 +01:00
Michael Niedermayer
46728338b0
rv34: export qp table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 03:19:54 +01:00
Michael Niedermayer
feac79ce53
rv10: export qp table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 03:16:23 +01:00
Michael Niedermayer
0bcea7b575
vf_pp: use new API to access qp table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 03:02:27 +01:00
Michael Niedermayer
fa80967a73
mpeg1/2: export qp table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 03:02:27 +01:00
Michael Niedermayer
ff9adf5725
mjpegdec: export qp table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 03:02:27 +01:00
Michael Niedermayer
a0813e7f00
h263dec: export qp_table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 03:02:27 +01:00
Michael Niedermayer
caff888183
avutil/frame: add AVBufferRef for qp table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-15 03:02:27 +01:00
Clément Bœsch
1edbeb3532
lavfi/ebur128: check histogram allocations.
2013-03-15 02:58:29 +01:00
Clément Bœsch
db670e5366
lavfi/ebur128: add framelog option.
2013-03-15 02:35:26 +01:00
Clément Bœsch
1f68bac50b
lavf/avio: fix two extreemly unreasonble typos.
2013-03-14 23:36:30 +01:00
Stefano Sabatini
9bb25dbd13
examples/filtering_*: constify AVFrame * for print_frame() and display_frame() functions
2013-03-14 21:39:15 +01:00
Stefano Sabatini
9076a6a943
examples/filtering_audio: update to new API
...
In particular, fix crash.
2013-03-14 21:39:09 +01:00
Stefano Sabatini
f0da370a52
examples/filtering_video: update to new API
...
In particular, fix crash.
2013-03-14 21:39:01 +01:00
Nicolas George
7a71544f9d
lavfi/graphdump: fix output for unknown layouts.
2013-03-14 20:52:50 +01:00
Nicolas George
0eb56a085d
ffmpeg: add OPT_INPUT to -guess_layout_max.
2013-03-14 19:32:22 +01:00
Nicolas George
da397173df
ffmpeg: add OPT_OUTPUT to -to option.
...
Fix trac ticket #2355 .
2013-03-14 19:32:22 +01:00
Clément Bœsch
9ace0dbe41
lavfi/ebur128: use same ref for inputs and outputs.
...
Fixes Ticket2342.
2013-03-14 18:43:53 +01:00
Michael Niedermayer
870e625108
mjpegdec: fix indention
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 17:31:14 +01:00
Michael Niedermayer
3c24fbbf65
jpegdec: be less picky on padding
...
Fixes Ticket2353
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 17:20:44 +01:00
Janne Grunau
b066d90211
vaapi: fix argument for ff_vaapi_common_end_frame call
2013-03-14 15:16:08 +01:00
Ronald S. Bultje
b76d853697
lavc: make compilation of frame_thread_encoder.o optional.
...
Only compile if CONFIG_ENCODERS is enabled, i.e. if at least one
encoder is to be compiled. This prevents it from being includes in
a decoder-only build.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 15:04:17 +01:00
Ronald S. Bultje
4a88d81c9e
dsputil: remove duplicate or unused functions.
...
dct_bits is never set except in h264, where it is never used, thus
remove it. Then, remove all functions that were set based on non-zero
(32) values for dct_bits. Lastly, merge 9-14 bpp functions for get_pixels
and draw_edge, which only care about pixel storage unit size, not actual
bits used (i.e. they don't clip).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 14:56:48 +01:00
Hendrik Leppkes
49a514c13e
dsputil: unbreak compilation on sparc after 6802c70
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 14:53:39 +01:00
Michael Niedermayer
7e1efeb570
MAINTAINERS: mention that people are welcome to pick up and maintain older releases
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 14:50:42 +01:00
Michael Niedermayer
2ffa9e611e
avdevice: bump major
...
Our previous release (1.1) contained a version 54 libavdevice
and this version here is not ABI compatible thus a bump is
needed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 13:53:41 +01:00
Michael Niedermayer
cacbf64a76
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()
Conflicts:
libavcodec/aacsbr.c
libavcodec/amrnbdec.c
libavcodec/takdec.c
libavcodec/tta.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 13:07:25 +01:00
Michael Niedermayer
13795dbb64
Merge commit '6d97484d72e33f7dde9493a9ead1a72e2f029605'
...
* commit '6d97484d72e33f7dde9493a9ead1a72e2f029605':
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
rsodec: Use avpriv_report_missing_feature() where appropriate
Conflicts:
libavcodec/anm.c
libavcodec/mlpdec.c
libavcodec/pictordec.c
libavcodec/sunrast.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 12:52:12 +01:00
Michael Niedermayer
a9ddb62489
Merge commit '1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e'
...
* commit '1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e':
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Conflicts:
libavformat/mxfdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 12:41:34 +01:00
Michael Niedermayer
fa92ee821b
Merge commit '63d744e2be39466e3a734c2987cd713e0bac101e'
...
* commit '63d744e2be39466e3a734c2987cd713e0bac101e':
av_log_missing_feature() ---> avpriv_report_missing_feature()
Conflicts:
libavcodec/aacdec.c
libavcodec/tta.c
libavformat/mpegts.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 12:30:19 +01:00
Michael Niedermayer
905e7eb413
Merge commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8'
...
* commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8':
Add av_log_{ask_for_sample|missing_feature} replacements to libavutil
ismindex: Check the return value of allocations
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 12:15:02 +01:00
Michael Niedermayer
360d71707f
Merge commit '7c147900b86c0f1cf030b7b844c670649c80c191'
...
* commit '7c147900b86c0f1cf030b7b844c670649c80c191':
ismindex: Factorize code for printing chunk duration lists
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 11:58:17 +01:00
Michael Niedermayer
33ecf7ab59
Merge commit 'f05e9beb4ab5fb8b9d5ba81405e9fca901832591'
...
* commit 'f05e9beb4ab5fb8b9d5ba81405e9fca901832591':
ismindex: Rename structs and fields from "file" to "track"
avpacket: copy side data type and size in av_dup_packet
Conflicts:
libavcodec/avpacket.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-14 11:48:42 +01:00
Paul B Mahol
4853b5538f
lavc: do not set coded_frame->reference
...
That field is deprecated.
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-14 09:47:47 +00:00
Clément Bœsch
fe898a037d
Revert "lavfi/ebur128: fix format negociation for output."
...
This reverts commit 9efcfbed9d .
All the shame on me; this commit is actually causing more problems
(broken outputs but also crashes) than it was solving.
2013-03-14 06:25:20 +01:00
Clément Bœsch
9efcfbed9d
lavfi/ebur128: fix format negociation for output.
...
Before this change, the audio input and output formats are set
independently, so the lavfi negociation could pick different settings
for the input and output. This is particularly true for the channel
layout settings, where multiple choices were available.
Fixes Ticket2342.
2013-03-14 01:24:42 +01:00
Clément Bœsch
a95a38793c
lavfi/thumbnail: support flushing.
...
This makes possible the raise of one picture if the input has less than
the number of frames to analyze.
Fixes Ticket1992.
2013-03-14 00:14:19 +01:00
Hendrik Leppkes
ed69c69a01
lavfi/avcodec: fix API version checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 22:18:02 +01:00
Hendrik Leppkes
3c7f669972
lavfi/avcodec: cleanup includes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 22:14:58 +01:00
Hendrik Leppkes
edcc51fb8e
tiff: fix handling of metadata with refcounted frames
...
Since the conversion to refcounted frames, the tiff decoder
only wrote the metadata into its internal "picture" in its own context,
never exposing the metadata to the user, and eventually leaking the
metadata.
Instead, properly store the metadata directly into the frame being decoded into.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 22:13:59 +01:00
James Darnley
0735b50880
yadif: restore speed of the C filtering code
...
Always use the special filter for the first and last 3 columns (only).
Changes made in 64ed397 slowed the filter to just under 3/4 of what it
was. This commit restores the speed while maintaining identical output.
For reference, on my Athlon64:
1733222 decicycles in old
2358563 decicycles in new
1727558 decicycles in this
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 22:07:25 +01:00
Diego Biurrun
12e25ed284
avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()
2013-03-13 21:20:12 +01:00
Diego Biurrun
6d97484d72
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
2013-03-13 21:20:12 +01:00
Diego Biurrun
1ae07959ab
rsodec: Use avpriv_report_missing_feature() where appropriate
2013-03-13 21:20:12 +01:00
Diego Biurrun
1ecdf8912b
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
2013-03-13 20:42:21 +01:00
Diego Biurrun
63d744e2be
av_log_missing_feature() ---> avpriv_report_missing_feature()
2013-03-13 20:42:21 +01:00
Diego Biurrun
f099d3d1d5
Add av_log_{ask_for_sample|missing_feature} replacements to libavutil
...
This allows reporting missing features and requesting samples from
all libraries in a standard way; with a simplified API.
2013-03-13 20:42:06 +01:00
Stefano Sabatini
ae732640ab
lavfi/cropdetect: add support for named options
2013-03-13 20:38:54 +01:00
Hendrik Leppkes
febd78e904
lavu/frame: free frame metadata when unrefing a frame.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 20:16:49 +01:00
Hendrik Leppkes
84bf1cbef9
avcodec: remove AVCodecContext->metadata
...
This field was only ever set and freed from avcodec, and not otherwise
used. However, because frames are refcounted now, avcodec cannot make any
assumptions about the lifetime of the frame metadata, which can result in
double-frees or leaked memory.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 20:16:48 +01:00
Martin Storsjö
4abf6fa095
ismindex: Check the return value of allocations
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-13 20:41:25 +02:00
Martin Storsjö
7c147900b8
ismindex: Factorize code for printing chunk duration lists
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-13 20:41:19 +02:00
Martin Storsjö
f05e9beb4a
ismindex: Rename structs and fields from "file" to "track"
...
The tool nowadays supports more than one track per file,
this makes reading the code slightly less confusing.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-13 20:41:11 +02:00
Clément Bœsch
de3e0ab35f
lavfi/delogo: remove sscanf and rely on av_opt_set_from_string() only.
2013-03-13 19:00:10 +01:00
Clément Bœsch
20dab078e6
lavc/crystalhd: remove now unecessary buffer_hints.
2013-03-13 19:00:10 +01:00
Clément Bœsch
1ec94b0f06
lavc: factorize ff_{thread_,re,}get_buffer error messages.
...
Coccinelle profile used:
@@
expression r, ctx, f, loglevel, str, flags;
@@
-if ((r = ff_get_buffer(ctx, f, flags)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_get_buffer(ctx, f, flags)) < 0)
+ return r;
@@
expression r, ctx, f, loglevel, str;
@@
-if ((r = ff_reget_buffer(ctx, f)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_reget_buffer(ctx, f)) < 0)
+ return r;
@@
expression r, ctx, f, loglevel, str, flags;
@@
-if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0)
+ return r;
...along with some manual patches for the remaining ones.
2013-03-13 19:00:10 +01:00
Clément Bœsch
e7279638e8
lavfi/thumbnail: remove unecessary poll_frame() callback.
2013-03-13 19:00:10 +01:00
Clément Bœsch
bce2e97a16
lavfi/mptestsrc: raise filter_frame() error.
2013-03-13 19:00:10 +01:00
Clément Bœsch
afa0b90803
lavfi/mandelbrot: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
227a4b63f5
lavfi/life: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
fe6077d902
lavfi/cellauto: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
f32fee570a
lavfi/alphamerge: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
05854f5505
lavfi/movie: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
bdbdadbaff
lavfi/buffersrc: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
27ce858c98
lavfi/showspectrum: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
df5be5e275
lavfi/avfilter: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
60bd8c11b6
lavfi/concat: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
00a13a9cdb
lavfi/anullsrc: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
44f3d21799
lavfi/aevalsrc: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
1b0d0e6b72
lavfi/atempo: raise filter_frame() error.
2013-03-13 19:00:09 +01:00
Clément Bœsch
dda59d9adc
lavfi/asetnsamples: raise filter_frame() error.
2013-03-13 19:00:08 +01:00
Clément Bœsch
c82bb2815b
lavfi/aresample: raise filter_frame() error.
2013-03-13 19:00:08 +01:00
Hendrik Leppkes
e4c5e08f60
lavu/frame: av_frame_make_writable: set the channels on the new frame.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 16:00:43 +01:00
Hendrik Leppkes
2035cc3595
lavu/frame: copy all frame properties in av_frame_copy_props
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 16:00:28 +01:00
Hendrik Leppkes
9ae6ba2883
dsputil: remove deprecated dsp_mask usage
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 15:59:35 +01:00
Michael Niedermayer
c3bb2f7296
dsputil_mmx: remove unused variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 15:07:46 +01:00
Michael Niedermayer
7ff3bfd584
exr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 15:05:40 +01:00
Michael Niedermayer
c31f07574d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
hqdn3d: Fix out of array read in LOWPASS
cabac: remove unused argument of ff_init_cabac_states()
rawdec: fix a typo -- || instead of |
Conflicts:
libavcodec/cabac.c
libavcodec/h264.c
libavfilter/vf_hqdn3d.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 14:49:00 +01:00
Michael Niedermayer
11d62fc9be
Merge commit '37cb3b180a1dc3d6f123f68e0806585ebc2578b6'
...
* commit '37cb3b180a1dc3d6f123f68e0806585ebc2578b6':
matroskadec: request a read buffer for the wav header
See: d0b450457b
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 14:44:14 +01:00
Michael Niedermayer
019b378d90
vc1: fix int/ptrdiff_t mismatches
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 14:35:48 +01:00
Michael Niedermayer
db4e4f766c
Merge commit 'a8b6015823e628047a45916404c00044c5e80415'
...
* commit 'a8b6015823e628047a45916404c00044c5e80415':
dsputil: convert remaining functions to use ptrdiff_t strides
Conflicts:
libavcodec/dsputil.h
libavcodec/dsputil_template.c
libavcodec/h264qpel_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 14:18:53 +01:00
Michael Niedermayer
849f015406
Merge commit 'a4472ac01e86f9fae5adb9034f2777b86a9c5480'
...
* commit 'a4472ac01e86f9fae5adb9034f2777b86a9c5480':
Add informative messages to av_log_ask_for_sample calls lacking them
anm: Get rid of some very silly goto statements
Conflicts:
libavformat/anm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 14:03:22 +01:00
Michael Niedermayer
a62fced394
Merge commit '202c2acc40a6de8758b44ab3f5c85ab250079734'
...
* commit '202c2acc40a6de8758b44ab3f5c85ab250079734':
vda: remove async decoder leftovers
Conflicts:
libavcodec/vda_h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:53:02 +01:00
Michael Niedermayer
bb3823d457
Merge commit 'a2816230c5c0a8fc72bc0163b7d21a96b194d87a'
...
* commit 'a2816230c5c0a8fc72bc0163b7d21a96b194d87a':
avframe: call release_buffer only if it is set
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:45:50 +01:00
Michael Niedermayer
8ded1718bd
Merge commit 'fce68c93554803801c32c1b20509bfa8d496b02a'
...
* commit 'fce68c93554803801c32c1b20509bfa8d496b02a':
pthread: unref the decoded but not returned frames on close.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:39:44 +01:00
Michael Niedermayer
8bcebf9e4a
Merge commit '555000c7d5c1e13043a948ebc48d2939b0ba6536'
...
* commit '555000c7d5c1e13043a948ebc48d2939b0ba6536':
h264: check that DPB is allocated before accessing it in flush_dpb()
vf_hqdn3d: fix uninitialized variable use
vf_gradfun: fix uninitialized variable use
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:34:06 +01:00
Michael Niedermayer
87d263a122
Merge commit 'c2597c5a0a08526493abb9bc9544b61a290fe20f'
...
* commit 'c2597c5a0a08526493abb9bc9544b61a290fe20f':
h264_refs: cosmetics, reformat
Conflicts:
libavcodec/h264_refs.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:28:29 +01:00
Michael Niedermayer
6c3e4e391d
Merge commit 'f08fefc4d099f2a1f2e3a6db3d340537e601f762'
...
* commit 'f08fefc4d099f2a1f2e3a6db3d340537e601f762':
h264: remove a useless svq3 condition
mpegvideo: remove FMT_H264
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:17:49 +01:00
Michael Niedermayer
72ad824a86
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
avframe: Copy buffer type in copy_props.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:12:11 +01:00
Michael Niedermayer
df4517106a
Merge commit 'ee8704916de79158da8a48a9ea5be819e83d23ba'
...
* commit 'ee8704916de79158da8a48a9ea5be819e83d23ba':
mpegvideo: reindent
Conflicts:
libavcodec/mpegvideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 13:08:04 +01:00
Carl Eugen Hoyos
f1b716c79b
avframe: Copy buffer type in copy_props.
...
Fixes VDPAU decoding with MPlayer.
2013-03-13 13:05:42 +01:00
Michael Niedermayer
f45fdb123f
Merge commit '19cac8e301419dcde31526d15196a952ddf2c4c7'
...
* commit '19cac8e301419dcde31526d15196a952ddf2c4c7':
mpegvideo: remove useless references to h264 and svq3
Conflicts:
libavcodec/mpegvideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:56:43 +01:00
Michael Niedermayer
b2e0c9dd34
Merge commit '85a5bc054c1290699ccbf5799ba6c4e2fbcc3530'
...
* commit '85a5bc054c1290699ccbf5799ba6c4e2fbcc3530':
lavf: remove disabled FF_API_R_FRAME_RATE cruft
Conflicts:
libavformat/avformat.h
libavformat/electronicarts.c
libavformat/rawdec.c
libavformat/utils.c
libavformat/version.h
The field is in use and no semantically equivalent field is available,
thus not removed
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:55:00 +01:00
Michael Niedermayer
acbd14bc7e
avformat: postpone API removials where the functions are trivial wrapers
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:43:02 +01:00
Michael Niedermayer
06a8350599
Merge commit '7b486ab13bfcfa88a7cd92586de50e49966ec292'
...
* commit '7b486ab13bfcfa88a7cd92586de50e49966ec292':
lavf: remove disabled FF_API_AV_GETTIME cruft
lavf: remove disabled FF_API_INTERLEAVE_PACKET cruft
Conflicts:
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:37:03 +01:00
Michael Niedermayer
256e1f7bdf
Merge commit '435c2a31ad5eead20eda1152097f60c3bfa22847'
...
* commit '435c2a31ad5eead20eda1152097f60c3bfa22847':
lavf: remove disabled FF_API_READ_PACKET cruft
Conflicts:
libavformat/version.h
Removial postponed as wraper is trivial
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:34:06 +01:00
Michael Niedermayer
1c60956c80
Merge commit 'c7e044c61bb08b3a6e1e8063e8f4449c88b01201'
...
* commit 'c7e044c61bb08b3a6e1e8063e8f4449c88b01201':
lavf: remove disabled FF_API_APPLEHTTP_PROTO cruft
Conflicts:
libavformat/allformats.c
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:21:43 +01:00
Paul B Mahol
ac45921a6b
lavc: remove disabled 8SVX_RAW cruft
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-13 11:17:09 +00:00
Michael Niedermayer
ed80427e0e
Merge commit '0a7c4daf469d4ac447fb822fe78337f62f4c04e6'
...
* commit '0a7c4daf469d4ac447fb822fe78337f62f4c04e6':
lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruft
Conflicts:
libavformat/version.h
removial postponed as the wraper code is trivial
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:18:06 +01:00
Michael Niedermayer
b13cd2d867
Merge commit 'd6ed604cf4ca86ed345125b26eb5bdeea6d6bf68'
...
* commit 'd6ed604cf4ca86ed345125b26eb5bdeea6d6bf68':
lavc: remove disabled FF_API_IDCT cruft
Conflicts:
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 12:03:22 +01:00
Michael Niedermayer
feccf2f6b7
Merge commit '3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00'
...
* commit '3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00':
lavc: remove disabled FF_API_SNOW cruft
Conflicts:
libavcodec/avcodec.h
libavcodec/options_table.h
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 11:53:57 +01:00
Paul B Mahol
b3b46cd74e
bktr: add missing #include for av_gettime()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2013-03-13 10:48:09 +00:00
Janne Grunau
91d4823f70
avpacket: copy side data type and size in av_dup_packet
2013-03-13 11:34:47 +01:00
Michael Niedermayer
5753e34906
Merge commit 'fcb07e8b332bbd6f9558bff98ff5102c5f2d8252'
...
* commit 'fcb07e8b332bbd6f9558bff98ff5102c5f2d8252':
lavc: remove disabled FF_API_MMI cruft
Conflicts:
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 11:29:04 +01:00
Michael Niedermayer
a8c0777325
Revert "Merge commit '0517c9e098092709397cc522c59fa63c83cc81be'" bring the old audio resampling API back
...
This reverts commit d3edc65dd1 , reversing
changes made to 150de78d7c .
Conflicts:
libavcodec/version.h
It seems there are several applications still using it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 10:57:00 +01:00
Michael Niedermayer
bbaa4432e2
vc1dec: remove unused variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 10:51:53 +01:00
Philip Langdale
21dc9b194f
CrystalHD: Port to ref-counted frame API.
...
Signed-off-by: Philip Langdale <philipl@overt.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 10:42:34 +01:00
Loren Merritt
5b3c1aecb2
hqdn3d: Fix out of array read in LOWPASS
...
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-13 09:14:59 +01:00
Michael Niedermayer
0fe4b48540
cabac: remove unused argument of ff_init_cabac_states()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-13 09:14:05 +01:00
Nicolas George
be40d6cc2b
rawdec: fix a typo -- || instead of |
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-13 09:13:54 +01:00
Clément Bœsch
19c41c6d8e
opt: re-enable memleak fix for duplicated options.
...
The memleak fix in a1bcc76e was causing problems when the original
string wasn't NULL or av_malloc'ed, thus was disabled. It seems the only
OPT_STRING occurence where it needed to be fixed is in ffserver. This
commit fixes that specific problem and so re-enable the original code.
2013-03-13 07:25:16 +01:00
Michael Niedermayer
12fe78a77b
vp56: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 04:12:14 +01:00
Ronald S. Bultje
f536df99fe
dsputil: remove hpel functions (moved to hpeldsp).
2013-03-13 04:11:41 +01:00
Ronald S. Bultje
94b77678dc
Move alpha half-pel assembly from dsputil to hpeldsp.
2013-03-13 04:11:27 +01:00
Ronald S. Bultje
6802c70106
Move sparc/vis half-pel assembly from dsputil to hpeldsp.
2013-03-13 04:09:43 +01:00
Michael Niedermayer
a0565a2b65
Move sh4 half-pel assembly from dsputil to hpeldsp.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 04:07:41 +01:00
Ronald S. Bultje
e9e608ad58
Move bfin half-pel assembly from dsputil to hpeldsp.
2013-03-13 04:06:10 +01:00
Ronald S. Bultje
de99545f46
Move arm half-pel assembly from dsputil to hpeldsp.
2013-03-13 04:04:13 +01:00
Ronald S. Bultje
89f16ded9b
Move ppc half-pel assembly from dsputil to hpeldsp.
2013-03-13 04:02:30 +01:00
Ronald S. Bultje
3ced55d51c
Move x86 half-pel assembly from dsputil to hpeldsp.
2013-03-13 03:59:23 +01:00
Ronald S. Bultje
e0a8f31591
mjpeg: use hpeldsp instead of dsputil for half-pel functions.
2013-03-13 03:59:10 +01:00
Ronald S. Bultje
b42d594c85
svq1enc: use hpeldsp instead of dsputil for half-pel functions.
2013-03-13 03:59:00 +01:00
Ronald S. Bultje
771ba8f206
snow: use hpeldsp instead of dsputil for half-pel functions.
2013-03-13 03:58:49 +01:00
Ronald S. Bultje
05dd583426
svq3: use hpeldsp instead of dsputil for half-pel functions.
2013-03-13 03:58:31 +01:00
Ronald S. Bultje
4ba5dbc0e4
mpegvideo: use hpeldsp instead of dsputil for half-pel functions.
...
This also converts vc1, since that is mpegvideo-based.
2013-03-13 03:58:00 +01:00
Ronald S. Bultje
4652389777
svq1: use hpeldsp instead of dsputil for half-pel functions.
...
This makes svq1 independent of dsputil.
2013-03-13 03:57:45 +01:00
Ronald S. Bultje
cc5d17e026
mimic: use hpeldsp instead of dsputil for half-pel functions.
2013-03-13 03:57:33 +01:00
Ronald S. Bultje
04a75bb74f
interplayvideo: use hpeldsp instead of dsputil for half-pel functions.
...
This makes interplayvideo independent of dsputil.
2013-03-13 03:57:21 +01:00
Ronald S. Bultje
af1e3dfb9e
bink: use hpeldsp instead of dsputil for half-pel functions.
2013-03-13 03:56:09 +01:00
Ronald S. Bultje
4b642ab19b
indeo3: use hpeldsp instead of dsputil for half-pel functions.
...
This makes indeo3 independent of dsputil.
2013-03-13 03:56:09 +01:00
Ronald S. Bultje
704c9874a3
vp56: use hpeldsp instead of dsputil for half-pel functions.
...
This makes vp5 and vp6 independent of dsputil.
2013-03-13 03:56:07 +01:00
Ronald S. Bultje
d1293512cf
vp3: use hpeldsp instead of dsputil for half-pel functions.
...
This makes vp3 independent of dsputil.
2013-03-13 03:55:33 +01:00
Ronald S. Bultje
9628e5a4ac
hpeldsp: add half-pel functions (currently copies of dsputil).
2013-03-13 03:54:47 +01:00
Michael Niedermayer
1f27053b91
Merge commit 'de27d2b92fa97deb2856d18e9f5f19586ce45a0f'
...
* commit 'de27d2b92fa97deb2856d18e9f5f19586ce45a0f':
lavc: remove disabled FF_API_LIBMPEG2 cruft
Conflicts:
libavcodec/avcodec.h
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 02:56:33 +01:00
Michael Niedermayer
d3edc65dd1
Merge commit '0517c9e098092709397cc522c59fa63c83cc81be'
...
* commit '0517c9e098092709397cc522c59fa63c83cc81be':
lavc: remove disabled FF_API_AVCODEC_RESAMPLE cruft
Conflicts:
libavcodec/Makefile
libavcodec/avcodec.h
libavcodec/resample.c
libavcodec/resample2.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 02:41:18 +01:00
Michael Niedermayer
150de78d7c
Merge commit 'd6d369bf1370999896500ae7eb5b9447ab635a3d'
...
* commit 'd6d369bf1370999896500ae7eb5b9447ab635a3d':
atomic: prefer gcc builtins over win32 atomics, if available.
avframe: copy reordered_opaque in copy_props
Conflicts:
libavutil/frame.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 02:08:41 +01:00
Michael Niedermayer
e5949cc12a
Merge commit '684e3d2e1ce96625eeef63f2564aab66f6715d05'
...
* commit '684e3d2e1ce96625eeef63f2564aab66f6715d05':
ra144: check buffer size before requesting a buffer
wmapro: unref skipped frames
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 02:02:06 +01:00
Michael Niedermayer
ff3e8564c4
Merge commit 'e3232f34312f8187094c875445683277ed0c209d'
...
* commit 'e3232f34312f8187094c875445683277ed0c209d':
svq1: use av_frame_free to free refcounted frame
lavc: fix get_buffer() compatibility layer for audio.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 01:56:41 +01:00
Michael Niedermayer
047c5e177a
Merge commit '98cec5c84feff34e04428de4a86836a83657ae5e'
...
* commit '98cec5c84feff34e04428de4a86836a83657ae5e':
ratecontrol: remove an unused variable
vorbisdec: do not leak the first frame.
vf_pad: fix a & instead of && typo
Conflicts:
libavfilter/vf_pad.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 01:47:39 +01:00
Clément Bœsch
02a6b06d9e
avpacket: do not copy data when buf ref is available.
...
This at least fixes issues with lavf/subtitles. The behaviour of
av_dup_packet() is unchanged, only av_copy_packet() is affected.
2013-03-13 01:30:20 +01:00
Michael Niedermayer
b94df21a51
Merge commit '2eaa3663fda750dac66d41fe8541a8744d5563a4'
...
* commit '2eaa3663fda750dac66d41fe8541a8744d5563a4':
avplay: enable only when SDL 1.2 is found
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 01:31:46 +01:00
Michael Niedermayer
d469fa1923
Merge commit 'adfa53d67c7a3318157ea9d95e8bdcfb77139452'
...
* commit 'adfa53d67c7a3318157ea9d95e8bdcfb77139452':
lavc: remove disabled FF_API_VDA_ASYNC cruft
Conflicts:
libavcodec/vda.h
libavcodec/vda_h264.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 01:14:09 +01:00
Michael Niedermayer
cfc1efc77c
avcodec: assert that old codec ids match new
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 00:50:48 +01:00
Michael Niedermayer
e664f48b97
Merge commit 'bdd1567c355a8092e7746ef99e831d579e34fa6a'
...
* commit 'bdd1567c355a8092e7746ef99e831d579e34fa6a':
lavc: remove disabled FF_API_CODEC_ID cruft
Conflicts:
libavcodec/old_codec_ids.h
libavcodec/version.h
Only the #define is removed
The CODEC_IDs itself are left until theres some reason to remove
them.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-13 00:49:25 +01:00
Stefano Sabatini
aeac1dae29
lavfi/fieldorder: add support to named options
2013-03-13 00:37:13 +01:00
Stefano Sabatini
a3233e9d7a
lavfi/fieldorder: remove unused headers and commented define
2013-03-13 00:34:51 +01:00
Stefano Sabatini
92ca292766
lavc: extend documentation for skip_idct, skip_loop_filter, skip_frame options
2013-03-13 00:34:42 +01:00
Stefano Sabatini
1019cef329
ffprobe: support codec options
...
Make ffprobe honour codec options, and support stream specifiers like it
is done in ffplay.
In particular, address Trac ticket #1859 .
2013-03-13 00:34:36 +01:00
Stefano Sabatini
8bb5680d90
cmdutils: improve feedback in case of not found option
2013-03-13 00:34:29 +01:00
Nicolas George
684a264638
configure: remove selection of ff(a)buffersink.
...
buffersink is enabled unconditionally.
2013-03-12 23:31:07 +01:00
Nicolas George
c14a8c834c
lavfi/buffersink: schedule removing the "ff" variants.
...
They are no longer needed since there is no incompatible
ABI version.
2013-03-12 23:31:07 +01:00
Nicolas George
ceac5c54dd
Remove references to the "ff" variant of buffersink.
2013-03-12 23:31:07 +01:00
Nicolas George
9a2688826d
lavfi/buffersink: rename filter structures.
...
Reduce the diff with the fork.
2013-03-12 23:31:07 +01:00
Michael Niedermayer
f7b041b11b
Merge commit '7d42fd6bb9df99a20cf2d0d0e3b166a83a649d08'
...
* commit '7d42fd6bb9df99a20cf2d0d0e3b166a83a649d08':
lavc: remove disabled FF_API_FIND_BEST_PIX_FMT cruft
Conflicts:
libavcodec/avcodec.h
libavcodec/imgconvert.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 23:08:08 +01:00
Ronald S. Bultje
d85c9b036e
vp3/x86: use full transpose for all IDCTs.
...
This way, the special IDCT permutations are no longer needed. Bfin code
is disabled until someone updates it. This is similar to how H264 does
it, and removes the dsputil dependency imposed by the scantable code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 22:54:10 +01:00
Michael Niedermayer
db594f65ec
Merge commit '845017105f240ac5348aad1f8a5256b86d49db76'
...
* commit '845017105f240ac5348aad1f8a5256b86d49db76':
lavc: remove disabled FF_API_DSP_MASK cruft
lavc: remove disabled FF_API_SUB_ID cruft
Conflicts:
libavcodec/options_table.h
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 22:38:55 +01:00
Michael Niedermayer
5beddbc4cf
Merge commit '2a113695238e7675ab75c5fb9a5f59fc92f2ddd9'
...
* commit '2a113695238e7675ab75c5fb9a5f59fc92f2ddd9':
lavc: remove disabled FF_API_INTER_THRESHOLD cruft
lavc: remove disabled FF_API_COLOR_TABLE_ID cruft
lavc: remove disabled FF_API_MPV_GLOBAL_OPTS cruft
Conflicts:
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 22:18:08 +01:00
Michael Niedermayer
e052f06531
Merge commit '0f24a3ca999a702f83af9307f9f47b6fdeb546a5'
...
* commit '0f24a3ca999a702f83af9307f9f47b6fdeb546a5':
lavc: remove disabled FF_API_OLD_ENCODE_VIDEO cruft
lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruft
lavc: remove disabled FF_API_OLD_DECODE_AUDIO cruft
Conflicts:
libavcodec/flacenc.c
libavcodec/libgsm.c
libavcodec/utils.c
libavcodec/version.h
The compatibility wrapers are left as they likely sre still
in wide use. They will be removed when they break or otherwise
cause work without an volunteer being available.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 22:04:16 +01:00
Michael Niedermayer
eba6a04e1c
vp6: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 21:46:38 +01:00
Michael Niedermayer
2ec30267fe
Changelog: fix project name
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 21:45:51 +01:00
Michael Niedermayer
0d0f76ea56
Merge commit '6327c10702922eabcb1c6170abd3f03d23ce4c51'
...
* commit '6327c10702922eabcb1c6170abd3f03d23ce4c51':
atomic: fix CAS with armcc.
png: use av_mallocz_array() for the zlib zalloc function
libmp3lame: use the correct remaining buffer size when flushing
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 21:39:38 +01:00
Michael Niedermayer
d64b854075
Merge commit '666fe5da47d127074be7f0e2bac93db6af8b4a30'
...
* commit '666fe5da47d127074be7f0e2bac93db6af8b4a30':
atomic: Exclude the unsupported implementation headers from checkheaders
avconv: do not silently ignore unused codec AVOptions.
Conflicts:
ffmpeg_opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 21:34:24 +01:00
Michael Niedermayer
212b89f8b4
avfilter: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 21:23:54 +01:00
Michael Niedermayer
c51fcdf0f6
Merge commit 'db2d65ce1ed13ea9a530b1934963a16c3e8fa460'
...
* commit 'db2d65ce1ed13ea9a530b1934963a16c3e8fa460':
avconv: fix a typo
FATE: replace -vb with -b:v
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 21:15:21 +01:00
Michael Niedermayer
771919e11f
Merge commit '6deae8e0530a885b76f149841ed4899cb438ec23'
...
* commit '6deae8e0530a885b76f149841ed4899cb438ec23':
FATE: remove the -dct option from some decoding tests.
avconv: use a local variable for InputFile in open_input_file().
Conflicts:
tests/fate/microsoft.mak
tests/fate/real.mak
tests/fate/video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 21:06:30 +01:00
Michael Niedermayer
49e87819d0
Merge commit '1da54e908eba73eb86f5d614c51f06811c85c3ea'
...
* commit '1da54e908eba73eb86f5d614c51f06811c85c3ea':
avconv: use a local variable for OutputFile in open_output_file().
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 20:58:56 +01:00
Hendrik Leppkes
cde1e7db3e
vorbis: unref the skipped first frame.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 20:46:55 +01:00
Hendrik Leppkes
713ac21097
avutil/os_support: use 64-bit fstat/lseek variants for MSVC as well
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 20:06:31 +01:00
Ronald S. Bultje
6a701306db
dsputil: make selectable.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 19:56:58 +01:00
Michael Niedermayer
b1a9a2c4ff
ffmpeg: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 18:58:10 +01:00
Luca Barbato
37cb3b180a
matroskadec: request a read buffer for the wav header
...
Solve an infiniloop.
CC: libav-stable@libav.org
2013-03-12 18:58:06 +01:00
Michael Niedermayer
19688e87e5
h264: show recovery SEIs in debug output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 18:43:17 +01:00
Michael Niedermayer
dc7ba0c1f4
j2kdec: remove unused variable and empty function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 18:30:59 +01:00
Luca Barbato
a8b6015823
dsputil: convert remaining functions to use ptrdiff_t strides
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-12 18:26:42 +01:00
Hendrik Leppkes
f91730a16b
jv: initialize AVFrame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 18:24:49 +01:00
Michael Niedermayer
bd93f3c5bd
ffmpeg: fix reinit_filter type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 18:24:48 +01:00
Michael Niedermayer
5743095ca9
Merge commit '9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38'
...
* commit '9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38':
avconv: print an error on applying options of the wrong type.
atomic: Check for __sync_val_compare_and_swap instead of __sync_synchronize
output-example: Update to use encode_video2 instead of the now dropped encode_video
Conflicts:
doc/examples/muxing.c
ffmpeg_opt.c
libavutil/atomic.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 18:10:35 +01:00
Michael Niedermayer
6b6b0e9dae
pthread: fix unused variable warning
2013-03-12 18:10:09 +01:00
Giorgio Vazzana
ee4a658695
lavd/v4l2: fix bug in init_convert_timestamp()
...
The current code returned a period=0, resulting in identical pts for all frames
after time-filtering. This is because AV_TIME_BASE_Q={1, AV_TIME_BASE} and
not {AV_TIME_BASE, 1}. With this patch the correct period in microseconds is computed.
2013-03-12 17:14:47 +01:00
Michael Niedermayer
7093b7534f
Merge commit '2240e92f052960693de55cf4924e80426dfaa965'
...
* commit '2240e92f052960693de55cf4924e80426dfaa965':
atomic: Add include guards to the implementation headers
lavc: update the fallback versions of ff_thread_*
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 16:36:21 +01:00
Michael Niedermayer
bf780b7ea8
Merge commit '19dd4017ab6dac11c77d797acebee4f60ad63a6f'
...
* commit '19dd4017ab6dac11c77d797acebee4f60ad63a6f':
libopencore-amr: Add the missing 3rd argument of ff_get_buffer()
vmdaudio: fix invalid reads when packet size is not a multiple of chunk size
wmaprodec: return an error, not 0, when the input is too small.
Conflicts:
libavcodec/vmdav.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 16:31:21 +01:00
Nicolas George
b52421940f
lavf: add AV_ to two remaining CODEC_ID_*.
2013-03-12 16:21:22 +01:00
Michael Niedermayer
7787a6c7ca
Merge commit 'cacad1c058f66558ec727faac3b277d2dee264d4'
...
* commit 'cacad1c058f66558ec727faac3b277d2dee264d4':
wmaprodec: require block_align to be set.
wmadec: require block_align to be set.
ivi_common: do not call MC for intra frames when dc_transform is unset
Conflicts:
libavcodec/ivi_common.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 16:15:08 +01:00
Michael Niedermayer
6ec0447d3d
xface: remove unused stuff, fix related warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 16:04:46 +01:00
Michael Niedermayer
b36095ea0f
Merge commit '3e2f200237af977b9253b0aff121eee27bcedb44'
...
* commit '3e2f200237af977b9253b0aff121eee27bcedb44':
roqvideodec: fix a potential infinite loop in roqvideo_decode_frame().
xxan: fix invalid memory access in xan_decode_frame_type0()
tty: set avg_frame_rate.
FATE: enable multiple slices in the ffv1 vsynth test
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 15:57:28 +01:00
Michael Niedermayer
f506ae19ff
Merge commit 'd243896987b8b2062d1faba4d8d6f0c62d2dbee9'
...
* commit 'd243896987b8b2062d1faba4d8d6f0c62d2dbee9':
ffv1: fix calculating slice dimensions for version 2
Conflicts:
libavcodec/ffv1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 15:56:43 +01:00
Michael Niedermayer
0cfbfaaa12
Merge commit '7b89cd20d844cbe763ca34e63e99d110043cf241'
...
* commit '7b89cd20d844cbe763ca34e63e99d110043cf241':
eamad: allocate a dummy reference frame when the real one is missing
Replace remaining includes of audioconvert.h with channel_layout.h
Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.
Conflicts:
libavcodec/h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 15:44:15 +01:00
Michael Niedermayer
a75f01d7e0
Merge commit 'd8b31be6caebd8d1321ecb754b6e7daaf81dc111'
...
* commit 'd8b31be6caebd8d1321ecb754b6e7daaf81dc111':
Add the bumps and APIchanges entries for reference counted buffers changes.
Conflicts:
Changelog
doc/APIchanges
libavcodec/version.h
libavdevice/version.h
libavfilter/version.h
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 15:35:39 +01:00
Michael Niedermayer
c292e340ed
avformat: keep r_frame_rate
...
This field is used and nothing equivalent exists
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 15:28:23 +01:00
Michael Niedermayer
9cf788eca8
avformat/avdevice: add missing time.h includes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 15:28:22 +01:00
Michael Niedermayer
ad78b9ed70
avcodec: postpone removial of parts still used
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 15:28:21 +01:00
Michael Niedermayer
b2cd0d709a
Merge commit '8df23e938b4022d6e6e9e1180ea6418abae74fda'
...
* commit '8df23e938b4022d6e6e9e1180ea6418abae74fda':
lavc: postpone the removal of request_channels API.
AVFrame: deprecate all now unused fields
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 14:46:41 +01:00
Michael Niedermayer
dac8799529
Merge commit 'ddcca4ba074aa537c3059c76d69eb4ad6316bfe9'
...
* commit 'ddcca4ba074aa537c3059c76d69eb4ad6316bfe9':
lavc: stop setting AVFrame.motion_subsample_log2
avserver: don't set deprecated options.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 14:27:54 +01:00
Michael Niedermayer
32fdfdfbda
Merge commit '354468fc12dcf93e7fb4af552e18906771913273'
...
* commit '354468fc12dcf93e7fb4af552e18906771913273':
avplay: switch to new refcounted frames API
avconv: convert to new refcounted AVFrame API
Conflicts:
cmdutils.c
ffmpeg.c
ffmpeg.h
ffplay.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 14:16:02 +01:00
Michael Niedermayer
3c1326411d
Merge commit '37045e422903695e610cca6ecb753df643ab9380'
...
* commit '37045e422903695e610cca6ecb753df643ab9380':
mpegvideo: drop vismv code
Conflicts:
libavcodec/mpegvideo.c
vismv code works fine, and thus only the unused fields are droped
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 12:57:54 +01:00
Michael Niedermayer
a303dce28c
utils: Dont sent fake channel layouts, 0 layout is better when its not known
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 12:50:07 +01:00
Michael Niedermayer
f9fd6f983b
Merge commit '2eba9087f3031c6050f8dcd996225490be6c2410'
...
* commit '2eba9087f3031c6050f8dcd996225490be6c2410':
lavc: make up a fake frame channel layout when there is no real one.
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 12:49:59 +01:00
Michael Niedermayer
a7f9d92a6d
Merge commit '192f1984b1a93aa08af053b8f9ab4950f307bd5d'
...
* commit '192f1984b1a93aa08af053b8f9ab4950f307bd5d':
lavc: limit maximum number of channels to 63
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 12:23:12 +01:00
Michael Niedermayer
36685c3c4b
Merge commit '15ec0450b4ae891f3e6ababa03c777a4443b94ca'
...
* commit '15ec0450b4ae891f3e6ababa03c777a4443b94ca':
lavc: allow decoders to override frame parameters.
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 12:18:31 +01:00
Michael Niedermayer
64d11cb615
mss1: set frame defaults
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 12:17:58 +01:00
Clément Bœsch
80661e0f55
buffer: use the atomic get instead of the add and fetch variant.
2013-03-12 12:12:49 +01:00
Michael Niedermayer
1ad542f11f
get_video_buffer: add vertical padding
...
Fix memory corruption
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 11:33:43 +01:00
Michael Niedermayer
53fd4f5594
avcodec: fix motion vector vissualization
...
was broken by the buffer ref stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 11:23:07 +01:00
Diego Biurrun
a4472ac01e
Add informative messages to av_log_ask_for_sample calls lacking them
2013-03-12 11:09:45 +01:00
Michael Niedermayer
6ae4372532
h264/mpegvideo: fix ff_print_debug_info2 arguments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 11:06:35 +01:00
Diego Biurrun
8f10f1a6dc
anm: Get rid of some very silly goto statements
2013-03-12 11:05:28 +01:00
Michael Niedermayer
a76ef998eb
mpegvideo: move ff_print_debug_info2 to where ff_print_debug_info is
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 10:51:03 +01:00
Hendrik Leppkes
b91459e565
atomic: prefer gcc builtins over win32 atomics, if available.
...
The mingw win32 atomics appear to be faulty, so they should not be used
if the gcc ones are available.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-12 10:41:09 +01:00
Martin Storsjö
c48828f763
atomic: Check for __sync_val_compare_and_swap instead of __sync_synchronize
...
Not all gcc configurations have an implementation of all the atomic
operations, and some gcc configurations have some atomic builtins
implemented but not all.
Thus check for the most essential function, whose presence should
indicate that all others are present as well, since it can be used
to implement all the other ones.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-12 10:41:02 +01:00
Michael Niedermayer
c536253854
snow: set frame defaults
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 10:35:51 +01:00
Michael Niedermayer
b5e5ed8ea7
Merge commit '3b199d29cd597a3518136d78860e172060b9e83d'
...
* commit '3b199d29cd597a3518136d78860e172060b9e83d':
lavc decoders: properly initialize AVFrame.
Conflicts:
libavcodec/avs.c
libavcodec/c93.c
libavcodec/cinepak.c
libavcodec/flashsv.c
libavcodec/flicvideo.c
libavcodec/iff.c
libavcodec/mmvideo.c
libavcodec/msrle.c
libavcodec/msvideo1.c
libavcodec/qtrle.c
libavcodec/rpza.c
libavcodec/smacker.c
libavcodec/smc.c
libavcodec/tiertexseqv.c
libavcodec/truemotion1.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 03:54:40 +01:00
Michael Niedermayer
01a0283c92
h264: disallow single unpaired fields as references of frames
...
Fixes deadlock
2013-03-12 03:23:58 +01:00
Hendrik Leppkes
c69acbf881
lavfi/moviesrc: use refcounted frames
2013-03-12 03:23:57 +01:00
Michael Niedermayer
0fc01ae33c
h264: fix null pointer dereference and assertion failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 03:23:56 +01:00
Michael Niedermayer
ee3c3dd523
ff_alloc_picture: free tables in case of dimension mismatches
...
Fixes memory corruption
In theory this should not be needed but its better to check at
one place than to hope 50 other places set the flags correctly
2013-03-12 03:23:55 +01:00
Michael Niedermayer
9e73f6d1f9
mpegvideo: dont allow last == current
...
this fixes deadlocks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 03:23:53 +01:00
Michael Niedermayer
9dd0b7ad82
update_frame_pool: use channel field
...
Fix memory corruption
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 03:23:51 +01:00
Michael Niedermayer
80e9e63c94
Merge commit '759001c534287a96dc96d1e274665feb7059145d'
...
* commit '759001c534287a96dc96d1e274665feb7059145d':
lavc decoders: work with refcounted frames.
Anton Khirnov (1):
lavc decoders: work with refcounted frames.
Clément Bœsch (47):
lavc/ansi: reset file
lavc/ansi: re-do refcounted frame changes from Anton
fraps: reset file
lavc/fraps: switch to refcounted frames
gifdec: reset file
lavc/gifdec: switch to refcounted frames
dsicinav: resolve conflicts
smc: resolve conflicts
zmbv: resolve conflicts
rpza: resolve conflicts
vble: resolve conflicts
xxan: resolve conflicts
targa: resolve conflicts
vmnc: resolve conflicts
utvideodec: resolve conflicts
tscc: resolve conflicts
ulti: resolve conflicts
ffv1dec: resolve conflicts
dnxhddec: resolve conflicts
v210dec: resolve conflicts
vp3: resolve conflicts
vcr1: resolve conflicts
v210x: resolve conflicts
wavpack: resolve conflicts
pngdec: fix compilation
roqvideodec: resolve conflicts
pictordec: resolve conflicts
mdec: resolve conflicts
tiertexseqv: resolve conflicts
smacker: resolve conflicts
vb: resolve conflicts
vqavideo: resolve conflicts
xl: resolve conflicts
tmv: resolve conflicts
vmdav: resolve conflicts
truemotion1: resolve conflicts
truemotion2: resolve conflicts
lcldec: fix compilation
libcelt_dec: fix compilation
qdrw: fix compilation
r210dec: fix compilation
rl2: fix compilation
wnv1: fix compilation
yop: fix compilation
tiff: resolve conflicts
interplayvideo: fix compilation
qpeg: resolve conflicts (FIXME/TESTME).
Hendrik Leppkes (33):
012v: convert to refcounted frames
8bps: fix compilation
8svx: resolve conflicts
4xm: resolve conflicts
aasc: resolve conflicts
bfi: fix compilation
aura: fix compilation
alsdec: resolve conflicts
avrndec: convert to refcounted frames
avuidec: convert to refcounted frames
bintext: convert to refcounted frames
cavsdec: resolve conflicts
brender_pix: convert to refcounted frames
cinepak: resolve conflicts
cinepak: avoid using AVFrame struct directly in private context
cljr: fix compilation
cpia: convert to refcounted frames
cscd: resolve conflicts
iff: resolve conflicts and do proper conversion to refcounted frames
4xm: fix reference frame handling
cyuv: fix compilation
dxa: fix compilation
eacmv: fix compilation
eamad: fix compilation
eatgv: fix compilation
escape124: remove unused variable.
escape130: convert to refcounted frames
evrcdec: convert to refcounted frames
exr: convert to refcounted frames
mvcdec: convert to refcounted frames
paf: properly free the frame data on decode close
sgirle: convert to refcounted frames
lavfi/moviesrc: use refcounted frames
Michael Niedermayer (56):
Merge commit '759001c534287a96dc96d1e274665feb7059145d'
resolve conflicts in headers
motion_est: resolve conflict
mpeg4videodec: fix conflicts
dpcm conflict fix
dpx: fix conflicts
indeo3: resolve confilcts
kmvc: resolve conflicts
kmvc: resolve conflicts
h264: resolve conflicts
utils: resolve conflicts
rawdec: resolve conflcits
mpegvideo: resolve conflicts
svq1enc: resolve conflicts
mpegvideo: dont clear data, fix assertion failure on fate vsynth1 with threads
pthreads: resolve conflicts
frame_thread_encoder: simple compilefix not yet tested
snow: update to buffer refs
crytsalhd: fix compile
dirac: switch to new API
sonic: update to new API
svq1: resolve conflict, update to new API
ffwavesynth: update to new buffer API
g729: update to new API
indeo5: fix compile
j2kdec: update to new buffer API
linopencore-amr: fix compile
libvorbisdec: update to new API
loco: fix compile
paf: update to new API
proresdec: update to new API
vp56: update to new api / resolve conflicts
xface: convert to refcounted frames
xan: fix compile&fate
v408: update to ref counted buffers
v308: update to ref counted buffers
yuv4dec: update to ref counted buffers
y41p: update to ref counted frames
xbm: update to refcounted frames
targa_y216: update to refcounted buffers
qpeg: fix fate/crash
cdxl: fix fate
tscc: fix reget buffer useage
targa_y216dec: fix style
msmpeg4: fix fate
h264: ref_picture() copy fields that have been lost too
update_frame_pool: use channel field
h264: Put code that prevents deadlocks back
mpegvideo: dont allow last == current
wmalossless: fix buffer ref messup
ff_alloc_picture: free tables in case of dimension mismatches
h264: fix null pointer dereference and assertion failure
frame_thread_encoder: update to bufrefs
ec: fix used arrays
snowdec: fix off by 1 error in dimensions check
h264: disallow single unpaired fields as references of frames
Paul B Mahol (2):
lavc/vima: convert to refcounted frames
sanm: convert to refcounted frames
Conflicts:
libavcodec/4xm.c
libavcodec/8bps.c
libavcodec/8svx.c
libavcodec/aasc.c
libavcodec/alsdec.c
libavcodec/anm.c
libavcodec/ansi.c
libavcodec/avs.c
libavcodec/bethsoftvideo.c
libavcodec/bfi.c
libavcodec/c93.c
libavcodec/cavsdec.c
libavcodec/cdgraphics.c
libavcodec/cinepak.c
libavcodec/cljr.c
libavcodec/cscd.c
libavcodec/dnxhddec.c
libavcodec/dpcm.c
libavcodec/dpx.c
libavcodec/dsicinav.c
libavcodec/dvdec.c
libavcodec/dxa.c
libavcodec/eacmv.c
libavcodec/eamad.c
libavcodec/eatgq.c
libavcodec/eatgv.c
libavcodec/eatqi.c
libavcodec/error_resilience.c
libavcodec/escape124.c
libavcodec/ffv1.h
libavcodec/ffv1dec.c
libavcodec/flicvideo.c
libavcodec/fraps.c
libavcodec/frwu.c
libavcodec/g723_1.c
libavcodec/gifdec.c
libavcodec/h264.c
libavcodec/h264.h
libavcodec/h264_direct.c
libavcodec/h264_loopfilter.c
libavcodec/h264_refs.c
libavcodec/huffyuvdec.c
libavcodec/idcinvideo.c
libavcodec/iff.c
libavcodec/indeo2.c
libavcodec/indeo3.c
libavcodec/internal.h
libavcodec/interplayvideo.c
libavcodec/ivi_common.c
libavcodec/jvdec.c
libavcodec/kgv1dec.c
libavcodec/kmvc.c
libavcodec/lagarith.c
libavcodec/libopenjpegdec.c
libavcodec/mdec.c
libavcodec/mimic.c
libavcodec/mjpegbdec.c
libavcodec/mjpegdec.c
libavcodec/mmvideo.c
libavcodec/motion_est.c
libavcodec/motionpixels.c
libavcodec/mpc7.c
libavcodec/mpeg12.c
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
libavcodec/msrle.c
libavcodec/msvideo1.c
libavcodec/nuv.c
libavcodec/options_table.h
libavcodec/pcx.c
libavcodec/pictordec.c
libavcodec/pngdec.c
libavcodec/pnmdec.c
libavcodec/pthread.c
libavcodec/qpeg.c
libavcodec/qtrle.c
libavcodec/r210dec.c
libavcodec/rawdec.c
libavcodec/roqvideodec.c
libavcodec/rpza.c
libavcodec/smacker.c
libavcodec/smc.c
libavcodec/svq1dec.c
libavcodec/svq1enc.c
libavcodec/targa.c
libavcodec/tiertexseqv.c
libavcodec/tiff.c
libavcodec/tmv.c
libavcodec/truemotion1.c
libavcodec/truemotion2.c
libavcodec/tscc.c
libavcodec/ulti.c
libavcodec/utils.c
libavcodec/utvideodec.c
libavcodec/v210dec.c
libavcodec/v210x.c
libavcodec/vb.c
libavcodec/vble.c
libavcodec/vcr1.c
libavcodec/vmdav.c
libavcodec/vmnc.c
libavcodec/vp3.c
libavcodec/vp56.c
libavcodec/vp56.h
libavcodec/vp6.c
libavcodec/vqavideo.c
libavcodec/wavpack.c
libavcodec/xl.c
libavcodec/xxan.c
libavcodec/zmbv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 03:23:28 +01:00
Michael Niedermayer
2e7bc9c2a1
snowdec: fix off by 1 error in dimensions check
...
fixes infinite loop
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-12 02:42:50 +01:00
Luca Barbato
202c2acc40
vda: remove async decoder leftovers
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-12 01:05:48 +01:00
Nicolas George
73b40e2eb6
lavfi/buffersink: move the filter structures at the end.
...
Also apply a few cosmetic fixes (spaces, trailing comma) to
help match them with the fork's implementation.
2013-03-11 19:00:49 +01:00
Janne Grunau
a2816230c5
avframe: call release_buffer only if it is set
...
AVCodecContext release_buffer() shall be NULL for audio codecs using
get_buffer. The backward compatibility code hence have to check before
calling it.
2013-03-11 18:58:47 +01:00
Anton Khirnov
fce68c9355
pthread: unref the decoded but not returned frames on close.
...
Fixes memleaks when frame mt is used and the decoder is not flushed at
the end.
2013-03-11 18:30:35 +01:00
Anton Khirnov
555000c7d5
h264: check that DPB is allocated before accessing it in flush_dpb()
2013-03-11 18:30:31 +01:00
Anton Khirnov
d0a863ac89
vf_hqdn3d: fix uninitialized variable use
...
CC:libav-stable@libav.org
2013-03-11 18:28:35 +01:00
Anton Khirnov
887d31d455
vf_gradfun: fix uninitialized variable use
...
CC:libav-stable@libav.org
2013-03-11 18:28:34 +01:00
Anton Khirnov
c2597c5a0a
h264_refs: cosmetics, reformat
2013-03-11 18:24:56 +01:00
Anton Khirnov
f08fefc4d0
h264: remove a useless svq3 condition
...
The svq3 decoder does not call ff_h264_frame_start() anymore.
2013-03-11 18:24:36 +01:00
Anton Khirnov
07054015cf
mpegvideo: remove FMT_H264
2013-03-11 18:24:25 +01:00
Anton Khirnov
ee8704916d
mpegvideo: reindent
2013-03-11 18:24:16 +01:00
Anton Khirnov
19cac8e301
mpegvideo: remove useless references to h264 and svq3
...
The h264 decoder does not use mpegvideo anymore. The svq3 decoder only
uses ff_draw_horiz_band().
2013-03-11 18:24:06 +01:00
Anton Khirnov
85a5bc054c
lavf: remove disabled FF_API_R_FRAME_RATE cruft
2013-03-11 18:23:50 +01:00
Anton Khirnov
7b486ab13b
lavf: remove disabled FF_API_AV_GETTIME cruft
2013-03-11 18:23:18 +01:00
Anton Khirnov
32e5194969
lavf: remove disabled FF_API_INTERLEAVE_PACKET cruft
2013-03-11 18:23:10 +01:00
Anton Khirnov
435c2a31ad
lavf: remove disabled FF_API_READ_PACKET cruft
2013-03-11 18:23:02 +01:00
Anton Khirnov
c7e044c61b
lavf: remove disabled FF_API_APPLEHTTP_PROTO cruft
2013-03-11 18:22:54 +01:00
Anton Khirnov
0a7c4daf46
lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruft
2013-03-11 18:22:45 +01:00
Anton Khirnov
d6ed604cf4
lavc: remove disabled FF_API_IDCT cruft
2013-03-11 18:22:37 +01:00
Anton Khirnov
3bcdf8dcb9
lavc: remove disabled FF_API_SNOW cruft
2013-03-11 18:22:26 +01:00
Anton Khirnov
fcb07e8b33
lavc: remove disabled FF_API_MMI cruft
2013-03-11 18:22:18 +01:00
Anton Khirnov
de27d2b92f
lavc: remove disabled FF_API_LIBMPEG2 cruft
2013-03-11 18:21:54 +01:00
Anton Khirnov
0517c9e098
lavc: remove disabled FF_API_AVCODEC_RESAMPLE cruft
2013-03-11 18:21:32 +01:00
Hendrik Leppkes
d6d369bf13
atomic: prefer gcc builtins over win32 atomics, if available.
...
The mingw win32 atomics appear to be faulty, so they should not be used
if the gcc ones are available.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-11 16:57:25 +02:00
Janne Grunau
fc8406d01e
avframe: copy reordered_opaque in copy_props
...
Fixes video playback in applications still using reordered_opaque.
2013-03-11 13:29:39 +01:00
Clément Bœsch
1123080d2e
cmdutils: remove conditionnal pp include.
...
The definition of the include are needed for builds even without pp.
This should fix FATE with --disable-gpl after 63edd2f9 .
2013-03-11 03:55:23 +01:00
Janne Grunau
684e3d2e1c
ra144: check buffer size before requesting a buffer
...
Return an error on incomplete frames.
2013-03-10 22:34:43 +01:00
Janne Grunau
08149b2b39
wmapro: unref skipped frames
2013-03-10 22:34:43 +01:00
Janne Grunau
e3232f3431
svq1: use av_frame_free to free refcounted frame
...
Fixes a memleak due to avcodec_free_frame not freeing the frame data.
2013-03-10 22:28:18 +01:00
Anton Khirnov
98cec5c84f
ratecontrol: remove an unused variable
2013-03-10 22:19:52 +01:00
Anton Khirnov
669cc0f364
lavc: fix get_buffer() compatibility layer for audio.
...
planes - FF_ARRAY_ELEMS would be evaluated as unsigned and underflow
instead of being negative as was intended.
2013-03-10 22:19:52 +01:00
Anton Khirnov
e2c2974120
vorbisdec: do not leak the first frame.
2013-03-10 22:16:26 +01:00
Nicolas George
de54a96aa8
lavfi/buffersink: implement av_buffersink_get_samples().
...
Note: the implementation could be more efficient, but at
the cost of more diff.
Most of the code from the following commit:
commit a2cd9be212
Author: Anton Khirnov <anton@khirnov.net >
Date: Fri May 4 19:22:38 2012 +0200
lavfi: add an audio buffer sink.
Adapted to call av_buffersink_get_frame_flags() instead of
accessing the frame directly.
2013-03-10 19:39:25 +01:00
Nicolas George
b71db3f38e
lavfi/buffersrc: do not dereference NULL frame.
...
frame = NULL is used to indicate EOF.
2013-03-10 17:05:55 +01:00
Nicolas George
03b87fe5e3
lavfi: rename sink_buffer.c into buffersink.c.
2013-03-10 17:05:55 +01:00
Nicolas George
3add5dc88e
lavfi: remove buffersink.c.
...
It only contains merge conflicts leftovers.
The real code is in sink_buffer.c.
2013-03-10 17:05:55 +01:00
Nicolas George
fa41f7ecd6
lavfi/sink_buffer: move stuff to reduce the diff.
...
Note: av_buffersink_get_samples() is not yet implemented,
abuffersink is not yet a drop-in replacement of the fork's
abuffersink.
2013-03-10 17:05:46 +01:00
Stefano Sabatini
35135a3989
lavfi/smartblur: add support to named options
2013-03-10 16:38:45 +01:00
Nicolas George
fb14e37dd0
ffmpeg: re-enable use of buffersrc flags.
...
AV_BUFFERSRC_FLAG_PUSH is necessary to detect closed streams.
2013-03-10 14:07:29 +01:00
Nicolas George
b0012de420
lavfi/buffersrc: implement flags.
...
The PUSH flags is necessary for efficient scheduling;
otherwise there is no feedback when adding frames to
closed paths.
The NO_CHECK_FORMAT is a small optimization that does
not cost much to implement.
The KEEP_REF flag maps to the add/write distinction in
the fork's API.
2013-03-10 13:56:17 +01:00
Nicolas George
cb2bd91413
ffmpeg: add the -canvas_size option.
...
Allows, amongst other things, to override the size guessed
by the sub2video hack.
Note: the -s option could have more or less the same semantic,
but it receives a special treatment by the options system.
2013-03-10 13:48:49 +01:00
Nicolas George
f9b34b8bf9
ffmpeg: port sub2video to AVFrame.
...
And re-enable the FATE test.
2013-03-10 13:45:15 +01:00
Stefano Sabatini
f185a040b0
doc/ffplay,ffmpeg: mention the corresponding negated option for -stats
...
This helps lazy users who didn't read the part about boolean options, in
case they grep for "-nostats".
-stdin and -stats are the only booleans option enabled by default. This
is a partial fix for Trac ticket #2332 , a complete overhaul of boolean
options documentation is probably overkill.
2013-03-10 13:22:59 +01:00
Stefano Sabatini
a2a848406f
cmdutils: clarify log message, in case of option routed to both codec and mux/demux layer
2013-03-10 13:22:59 +01:00
Stefano Sabatini
63edd2f989
cmdutils: remove duplicated check on CONFIG_POSTPROC
...
The check is already performed by the PRINT_LIB_INFO macro.
2013-03-10 13:22:59 +01:00
Stefano Sabatini
475c090af2
cmdutils: make print_all_libs_info() show libavresample version
...
Even if not directly supported by FFmpeg, it is still useful to see the
linked version of libavresample.
2013-03-10 13:22:59 +01:00
Stefano Sabatini
daf6ea5d4e
cmdutils: fix stylenits
2013-03-10 13:22:59 +01:00
Stefano Sabatini
606efe18be
lavfi/unsharp: add missing option flags
2013-03-10 13:22:58 +01:00
Stefano Sabatini
dae76e8c47
lavc/utils: fix typo and reword message in case of too low bitrate
2013-03-10 13:22:58 +01:00
Michael Niedermayer
f963c77856
avfilter: avoid direct access to "frame"->channels
...
This avoids ABI issues
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 11:25:54 +01:00
Xi Wang
5d639b2b4a
vf_pad: fix a & instead of && typo
...
Avoid buffer overflow in buffer_needs_copy()
Signed-off-by: Xi Wang <xi.wang@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-10 11:16:10 +01:00
Fabrizio Gennari
91b747ac78
mem: Fix usage of memalign() on DJGPP.
...
Credits to Khusraw of bttr-software.de forum.
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at >
2013-03-10 11:12:56 +01:00
Xi Wang
969e8d35b5
lavfi/pad: avoid buffer overflow in buffer_needs_copy()
...
Replace & with short-circuit &&.
Signed-off-by: Xi Wang <xi.wang@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-03-10 10:38:42 +01:00
Clément Bœsch
65fc80f012
lavfi: add curves filter.
2013-03-10 03:00:10 +01:00
Clément Bœsch
3d813e7ec3
lavfi: bump minor version after the first round of evil changes.
2013-03-10 02:59:43 +01:00
Michael Niedermayer
108434a30c
sink_buffer: remove unused variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 02:52:15 +01:00
Ronald S. Bultje
d5efa84f13
vp3: embed idct_permutation array directly in VP3DecoderContext.
...
This makes the vp3 decoder less dependent on dsputil, and will aid
in making it (eventually) dsputil-independent.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 02:51:05 +01:00
Clément Bœsch
96e4b00d62
lavfi: remove remaining forgotten min/rej perms.
2013-03-10 02:38:21 +01:00
Michael Niedermayer
806a66fd08
mpegts: clear avprograms only for removed programs
...
Fixes Ticket2186
Requested-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 02:28:05 +01:00
Michael Niedermayer
07ab8d3369
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Revert "build: disable iconv by default."
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 02:21:04 +01:00
Clément Bœsch
f0a5f71074
lavfi/hue: reindent.
2013-03-10 02:13:02 +01:00
Clément Bœsch
3da54858d3
lavfi/hue: add an optimized direct path.
2013-03-10 02:13:02 +01:00
Michael Niedermayer
4a62f477ea
Merge commit '6e7b50b4270116ded8b874d76cb7c5b1a0341827'
...
* commit '6e7b50b4270116ded8b874d76cb7c5b1a0341827':
mpegvideo_enc: drop support for reusing the input motion vectors.
Conflicts:
libavcodec/motion_est.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 02:10:43 +01:00
Clément Bœsch
e53061154f
lavu/frame: fix not/note typo in doxy.
2013-03-10 02:07:34 +01:00
Clément Bœsch
5e4bc96415
doc: fix examples.
2013-03-10 01:41:53 +01:00
Michael Niedermayer
b1b506bc56
fate: disable sub2video
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 01:41:52 +01:00
Nicolas George
4e7c61b7a7
ffmpeg: do not give away our reference to the frame.
...
Note: the logic here is temporary until the updates to
ffmpeg.c are merged.
2013-03-10 01:41:50 +01:00
Nicolas George
9cc02101ff
lavc/rawdec: set field order on decoded frame.
2013-03-10 01:41:49 +01:00
Nicolas George
6184fa2067
rawdec: work with refcounted frames.
...
Adapted from commit 759001c534
by Anton Khirnov.
Also, fix the use of || instead of | in a flags check.
2013-03-10 01:41:48 +01:00
Michael Niedermayer
a05a44e205
Merge commit '7e350379f87e7f74420b4813170fe808e2313911'
...
* commit '7e350379f87e7f74420b4813170fe808e2313911':
lavfi: switch to AVFrame.
Conflicts:
doc/filters.texi
libavfilter/af_ashowinfo.c
libavfilter/audio.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/buffersink.c
libavfilter/buffersrc.c
libavfilter/buffersrc.h
libavfilter/f_select.c
libavfilter/f_setpts.c
libavfilter/fifo.c
libavfilter/split.c
libavfilter/src_movie.c
libavfilter/version.h
libavfilter/vf_aspect.c
libavfilter/vf_bbox.c
libavfilter/vf_blackframe.c
libavfilter/vf_delogo.c
libavfilter/vf_drawbox.c
libavfilter/vf_drawtext.c
libavfilter/vf_fade.c
libavfilter/vf_fieldorder.c
libavfilter/vf_fps.c
libavfilter/vf_frei0r.c
libavfilter/vf_gradfun.c
libavfilter/vf_hqdn3d.c
libavfilter/vf_lut.c
libavfilter/vf_overlay.c
libavfilter/vf_pad.c
libavfilter/vf_scale.c
libavfilter/vf_showinfo.c
libavfilter/vf_transpose.c
libavfilter/vf_vflip.c
libavfilter/vf_yadif.c
libavfilter/video.c
libavfilter/vsrc_testsrc.c
libavfilter/yadif.h
Following are notes about the merge authorship and various technical details.
Michael Niedermayer:
* Main merge operation, notably avfilter.c and video.c
* Switch to AVFrame:
- afade
- anullsrc
- apad
- aresample
- blackframe
- deshake
- idet
- il
- mandelbrot
- mptestsrc
- noise
- setfield
- smartblur
- tinterlace
* various merge changes and fixes in:
- ashowinfo
- blackdetect
- field
- fps
- select
- testsrc
- yadif
Nicolas George:
* Switch to AVFrame:
- make rawdec work with refcounted frames. Adapted from commit
759001c534 by Anton Khirnov.
Also, fix the use of || instead of | in a flags check.
- make buffer sink and src, audio and video work all together
Clément Bœsch:
* Switch to AVFrame:
- aevalsrc
- alphaextract
- blend
- cellauto
- colormatrix
- concat
- earwax
- ebur128
- edgedetect
- geq
- histeq
- histogram
- hue
- kerndeint
- life
- movie
- mp (with the help of Michael)
- overlay
- pad
- pan
- pp
- pp
- removelogo
- sendcmd
- showspectrum
- showwaves
- silencedetect
- stereo3d
- subtitles
- super2xsai
- swapuv
- thumbnail
- tile
Hendrik Leppkes:
* Switch to AVFrame:
- aconvert
- amerge
- asetnsamples
- atempo
- biquads
Matthieu Bouron:
* Switch to AVFrame
- alphamerge
- decimate
- volumedetect
Stefano Sabatini:
* Switch to AVFrame:
- astreamsync
- flite
- framestep
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Clément Bœsch <ubitux@gmail.com >
Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-10 01:40:35 +01:00
Carl Eugen Hoyos
3f78f0904b
Revert "build: disable iconv by default."
...
This reverts commit 9ad3cd5b5f .
The misdetection on OS X should be fixed, we will only get
problem reports if auto-detection is enabled.
2013-03-10 01:28:16 +01:00
Clément Bœsch
586ae70ba7
port FFmpeg lavc frame specificities to lavu functions.
2013-03-10 01:25:02 +01:00
Nicolas George
d1b456b0a8
lavu/frame: copy the channels field.
2013-03-10 01:25:02 +01:00
Clément Bœsch
ee0a8bcba1
lavfi/showspectrum: fix outpicref initialization.
...
In 81f2549 , output pixel format was changed from rgb24 to planar yuv,
but the initialization was left unchanged. As a result, the chroma
planes were left uninitalized. This was not noticed since the current
ff_get_video_buffer() seems to be initializing the buffer. This won't be
the case anymore after the Evil Plan.
2013-03-09 23:52:33 +01:00
Ronald S. Bultje
22cc8a103c
x86/qpel: move fullpel and l2 functions to separate file.
...
This way, they can be shared between mpeg4qpel and h264qpel without
requiring either one to be compiled unconditionally.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-09 17:25:30 +01:00
Ronald S. Bultje
9d40f7106d
dsputil: make square put/avg_pixels functions local to h264qpel.
...
Put a copy of the 8bit functions only in dsputil, where they are used
for some other things (e.g. mpeg4qpel, mspel, cavsqpel). We could perhaps
also try to share specifically the 8bit functions from h264qpel between
it and the others, but that will be slightly more complicated. H264qpel
already had these functions, so we can simply remove the duplicates.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-09 17:16:55 +01:00
Giorgio Vazzana
9222978aed
lavd/v4l2: simplify code
...
struct buff_data contains a pointer to struct video_data, so passing the
file descriptor again is redundant.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-09 16:59:13 +01:00
Giorgio Vazzana
0286b42540
lavd/v4l2: correctly handle error conditions in mmap_read_frame()
...
In particular:
1) save errno before it (possibly) gets overwritten by other calls
2) do not forget to enqueue the buffer again in case of error
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-09 16:58:53 +01:00
Carl Eugen Hoyos
982070c113
Add some fate dependencies to fix make fate with --disable-everything.
2013-03-09 15:46:46 +01:00
Carl Eugen Hoyos
881684e27c
Add some fate dependencies to fix make fate with --disable-avdevice.
2013-03-09 14:39:13 +01:00
Vittorio Giovara
2eaa3663fd
avplay: enable only when SDL 1.2 is found
...
SDL 2 is API incompatible.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-03-09 14:33:54 +01:00
Anton Khirnov
adfa53d67c
lavc: remove disabled FF_API_VDA_ASYNC cruft
2013-03-09 08:37:11 +01:00
Anton Khirnov
bdd1567c35
lavc: remove disabled FF_API_CODEC_ID cruft
2013-03-09 08:37:08 +01:00
Anton Khirnov
7d42fd6bb9
lavc: remove disabled FF_API_FIND_BEST_PIX_FMT cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
845017105f
lavc: remove disabled FF_API_DSP_MASK cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
2a11369523
lavc: remove disabled FF_API_INTER_THRESHOLD cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
0f24a3ca99
lavc: remove disabled FF_API_OLD_ENCODE_VIDEO cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
6327c10702
atomic: fix CAS with armcc.
...
On the current code, armcc will fail with:
"libavutil/atomic_gcc.h", line 52: Error: #2771 : first argument must be
a pointer to integer or enumeration type
2013-03-09 08:36:40 +01:00
Anton Khirnov
d03a94e2b7
lavc: remove disabled FF_API_SUB_ID cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
9d6cf81f02
lavc: remove disabled FF_API_COLOR_TABLE_ID cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
f073b1500e
lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
3b0f586f07
lavc: remove disabled FF_API_MPV_GLOBAL_OPTS cruft
2013-03-09 08:36:40 +01:00
Anton Khirnov
5d606863c3
lavc: remove disabled FF_API_OLD_DECODE_AUDIO cruft
2013-03-09 08:36:40 +01:00
Stephen Hutchinson
98c4268eca
libutvideo: Prioritize compatibility with new versions
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2013-03-08 20:45:49 -05:00
Martin Storsjö
309d6f5077
atomic: Add include guards to the implementation headers
...
This makes them pass standalone compilation tests. Previously,
they included atomic.h which included themselves again, leading to
double definitions.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-08 20:54:40 +01:00
Justin Ruggles
486f0b0cfc
png: use av_mallocz_array() for the zlib zalloc function
...
Fixes valgrind uninitialized memory errors when decoding png.
CC:libav-stable@libav.org
2013-03-08 14:52:21 -05:00
Justin Ruggles
e984f47873
libmp3lame: use the correct remaining buffer size when flushing
...
CC:libav-stable@libav.org
2013-03-08 14:52:05 -05:00
Clément Bœsch
160979f4b4
lavc/utils: make sure the iconv descriptor can be opened only once.
...
This prevents trying to do some subtitles conversion for each event when
the character encoding is not found. It now aborts early instead of
flooding stderr.
2013-03-08 20:51:57 +01:00
Michael Niedermayer
307dc32a1a
Merge commit '77b2cd7b41d7ec8008b6fac753c04f77824c514c'
...
* commit '77b2cd7b41d7ec8008b6fac753c04f77824c514c':
AVFrame: add side data.
Conflicts:
libavutil/frame.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 20:41:41 +01:00
Michael Niedermayer
c4e8821732
Merge commit '7ecc2d403ce5c7b6ea3b1f368dccefd105209c7e'
...
* commit '7ecc2d403ce5c7b6ea3b1f368dccefd105209c7e':
Move AVFrame from lavc to lavu.
Conflicts:
libavcodec/avcodec.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 20:33:26 +01:00
Michael Niedermayer
fee484edaf
Merge commit 'ad0c9f2d5d81e22207c6ccecc426bf7306acc327'
...
* commit 'ad0c9f2d5d81e22207c6ccecc426bf7306acc327':
lavc: move AVFrame.hwaccel_picture_private to Picture.
Conflicts:
libavcodec/avcodec.h
libavcodec/mpegvideo.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 19:35:37 +01:00
Martin Storsjö
666fe5da47
atomic: Exclude the unsupported implementation headers from checkheaders
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-08 20:34:27 +02:00
Michael Niedermayer
d9d97f9b33
Merge commit '1a5e9130162b8adc898e5f6aea82b6372d1e4e6c'
...
* commit '1a5e9130162b8adc898e5f6aea82b6372d1e4e6c':
pthread: avoid copying input packets when possible.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 19:17:38 +01:00
Michael Niedermayer
2653e12520
Merge commit '1afddbe59e96af75f1c07605afc95615569f388f'
...
* commit '1afddbe59e96af75f1c07605afc95615569f388f':
avpacket: use AVBuffer to allow refcounting the packets.
Conflicts:
libavcodec/avpacket.c
libavcodec/utils.c
libavdevice/v4l2.c
libavformat/avidec.c
libavformat/flacdec.c
libavformat/id3v2.c
libavformat/matroskaenc.c
libavformat/mux.c
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 19:12:03 +01:00
Michael Niedermayer
532f31a695
Merge commit '1cec0624d0e6f48590283a57169b58b9fe8449d3'
...
* commit '1cec0624d0e6f48590283a57169b58b9fe8449d3':
AVBuffer: add a new API for buffer pools
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 16:06:20 +01:00
Michael Niedermayer
36099df521
Merge commit '8e401dbe90cc77b1f3067a917d9fa48cefa3fcdb'
...
* commit '8e401dbe90cc77b1f3067a917d9fa48cefa3fcdb':
lavu: add a new API for reference-counted data buffers.
Conflicts:
libavutil/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 16:01:00 +01:00
Michael Niedermayer
e92ba51fd7
Merge commit '65f1d45dcc71186ede72fff950996099d23359bd'
...
* commit '65f1d45dcc71186ede72fff950996099d23359bd':
lavu: add support for atomic operations.
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 15:48:27 +01:00
Michael Niedermayer
23eed00925
Merge commit 'eae0879d961b78717dd2a0899809ad22819ae9e3'
...
* commit 'eae0879d961b78717dd2a0899809ad22819ae9e3':
mp3dec: Fix VBR bit rate parsing
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 15:42:37 +01:00
Michael Niedermayer
1f3a577353
Merge commit '4be368b504c6f4a03051448728fc62cd0ed506b2'
...
* commit '4be368b504c6f4a03051448728fc62cd0ed506b2':
avstring: Fix isxdigit to not accept non-hex characters
configure: Add missing videodsp dependencies to some decoders
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 15:37:21 +01:00
Michael Niedermayer
e9fbb9783c
Merge commit 'dbd2a34ba5e5e46b6835e4425c360723c643b7a8'
...
* commit 'dbd2a34ba5e5e46b6835e4425c360723c643b7a8':
build: cosmetics: Group hw accelerator Makefile entries together
Conflicts:
libavcodec/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 15:32:39 +01:00
Michael Niedermayer
c32cc7e3a4
Merge commit 'bcd0a7137e4aca0f6f598593b90ca8f338444c51'
...
* commit 'bcd0a7137e4aca0f6f598593b90ca8f338444c51':
configure: Add missing h264chroma dependencies to vp5, vp6
Add missing error_resilience includes to files that use ER
Conflicts:
configure
libavcodec/mpeg12.c
libavcodec/mpeg4videodec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 15:23:56 +01:00
Michael Niedermayer
43c6c18690
Merge commit 'd88738e4038b162708dc2f5342e10c1694edfd89'
...
* commit 'd88738e4038b162708dc2f5342e10c1694edfd89':
mpegvideo: Conditionally build error_resilience bits
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 15:17:25 +01:00
Michael Niedermayer
b094931ab9
Merge commit '06b54e84254e4834b4978ff5b27cc2b7ee8d7a98'
...
* commit '06b54e84254e4834b4978ff5b27cc2b7ee8d7a98':
build: Fix error_resilience code dependencies
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 15:05:18 +01:00
Michael Niedermayer
6c17ff84ad
Merge commit 'efa7f4202088c70caba11d7834641bc6eaf41830'
...
* commit 'efa7f4202088c70caba11d7834641bc6eaf41830':
Use the avstring.h locale-independent character type functions
avstring: Add locale independent versions of some ctype.h functions
Conflicts:
avprobe.c
doc/APIchanges
libavcodec/dvdsubdec.c
libavcodec/utils.c
libavutil/avstring.c
libavutil/avstring.h
libavutil/eval.c
libavutil/parseutils.c
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-08 14:57:41 +01:00
Anton Khirnov
e7553f4c78
avconv: do not silently ignore unused codec AVOptions.
...
Print an error and abort when the option is of the wrong type (decoding
for output file or vice versa), since this could never be correct for
any input or output configuration.
Print a warning and continue when the option is of the correct type,
just unused, so same commandlines can be reused for different kinds of
input or output files.
2013-03-08 14:15:51 +01:00
Anton Khirnov
db2d65ce1e
avconv: fix a typo
2013-03-08 14:14:25 +01:00
Anton Khirnov
64bfc3e205
FATE: replace -vb with -b:v
...
The -{vas}<option> syntax is now obsolete and deprecated, and has never
been documented or encouraged.
2013-03-08 14:14:17 +01:00
Anton Khirnov
6deae8e053
FATE: remove the -dct option from some decoding tests.
...
It is an encoding option, it has no effect when applied to decoding.
2013-03-08 14:14:05 +01:00
Anton Khirnov
41d2008b15
avconv: use a local variable for InputFile in open_input_file().
...
This is shorter and more readable.
2013-03-08 14:13:46 +01:00
Anton Khirnov
1da54e908e
avconv: use a local variable for OutputFile in open_output_file().
...
This is shorter and more readable.
2013-03-08 14:13:39 +01:00
Anton Khirnov
9d3009c6c4
avconv: print an error on applying options of the wrong type.
...
I.e. input options to output files or vice versa.
2013-03-08 14:12:43 +01:00
Martin Storsjö
e460aa3282
atomic: Check for __sync_val_compare_and_swap instead of __sync_synchronize
...
Not all gcc configurations have an implementation of all the atomic
operations, and some gcc configurations have some atomic builtins
implemented but not all.
Thus check for the most essential function, whose presence should
indicate that all others are present as well, since it can be used
to implement all the other ones.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-08 14:55:08 +02:00
Martin Storsjö
f1af3d19a7
output-example: Update to use encode_video2 instead of the now dropped encode_video
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-08 13:42:45 +01:00
Martin Storsjö
2240e92f05
atomic: Add include guards to the implementation headers
...
This makes them pass standalone compilation tests. Previously,
they included atomic.h which included themselves again, leading to
double definitions.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-08 12:00:06 +02:00
Anton Khirnov
7c45087b84
lavc: update the fallback versions of ff_thread_*
...
Fixes build without threads after
759001c534 .
2013-03-08 10:22:10 +01:00
Yusuke Nakamura
19dd4017ab
libopencore-amr: Add the missing 3rd argument of ff_get_buffer()
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-08 11:09:31 +02:00
Anton Khirnov
f86d66bcfa
vmdaudio: fix invalid reads when packet size is not a multiple of chunk size
...
CC:libav-stable@libav.org
2013-03-08 08:12:41 +01:00
Anton Khirnov
4c0080b7e7
wmaprodec: return an error, not 0, when the input is too small.
...
Returning 0 may result in an infinite loop in valid calling programs. A
decoder should never return 0 without producing any output.
CC:libav-stable@libav.org
2013-03-08 08:12:26 +01:00
Anton Khirnov
cacad1c058
wmaprodec: require block_align to be set.
...
Avoids an infinite loop in the calling programs with decoder not
consuming any input and not returning output.
CC:libav-stable@libav.org
2013-03-08 08:12:16 +01:00
Anton Khirnov
ea1136baaf
wmadec: require block_align to be set.
...
Avoids an infinite loop in the calling programs with decoder not
consuming any input and not returning output.
CC:libav-stable@libav.org
2013-03-08 08:12:03 +01:00
Anton Khirnov
3ba40ebb6c
ivi_common: do not call MC for intra frames when dc_transform is unset
...
CC:libav-stable@libav.org
2013-03-08 08:11:46 +01:00
Anton Khirnov
3e2f200237
roqvideodec: fix a potential infinite loop in roqvideo_decode_frame().
...
When there is just 1 byte remanining in the buffer, nothing will be read
and the loop will continue forever. Check that there are at least 8
bytes, which are always read at the beginning.
CC:libav-stable@libav.org
2013-03-08 08:11:35 +01:00
Anton Khirnov
8a49d2bcbe
xxan: fix invalid memory access in xan_decode_frame_type0()
...
The loop a few lines below the xan_unpack() call accesses up to
dec_size * 2 bytes into y_buffer, so dec_size must be limited to
buffer_size / 2.
CC:libav-stable@libav.org
2013-03-08 08:11:22 +01:00
Anton Khirnov
6c7d339afc
tty: set avg_frame_rate.
...
The container does not store any timestamps and is CFR-only.
2013-03-08 08:11:05 +01:00
Anton Khirnov
bde48aa92d
FATE: enable multiple slices in the ffv1 vsynth test
...
This allows us to test the slice threading code.
2013-03-08 08:10:52 +01:00
Anton Khirnov
d243896987
ffv1: fix calculating slice dimensions for version 2
...
It got broken in 0f13cd3187 .
CC:libav-stable@libav.org
2013-03-08 08:10:02 +01:00
Anton Khirnov
7b89cd20d8
eamad: allocate a dummy reference frame when the real one is missing
...
CC:libav-stable@libav.org
2013-03-08 08:09:51 +01:00
Anton Khirnov
0651e892e1
Replace remaining includes of audioconvert.h with channel_layout.h
2013-03-08 07:42:13 +01:00
Anton Khirnov
542b83fc90
Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.
2013-03-08 07:42:09 +01:00
Anton Khirnov
d8b31be6ca
Add the bumps and APIchanges entries for reference counted buffers changes.
2013-03-08 07:41:49 +01:00
Anton Khirnov
8df23e938b
lavc: postpone the removal of request_channels API.
...
Its replacement is still not ready.
2013-03-08 07:41:42 +01:00
Anton Khirnov
1296b1f6c0
AVFrame: deprecate all now unused fields
2013-03-08 07:41:21 +01:00
Anton Khirnov
ddcca4ba07
lavc: stop setting AVFrame.motion_subsample_log2
...
It is not used inside lavc anywhere and now it makes no sense to export
it.
2013-03-08 07:41:14 +01:00
Anton Khirnov
e7bbfc4242
avserver: don't set deprecated options.
2013-03-08 07:41:07 +01:00
Anton Khirnov
354468fc12
avplay: switch to new refcounted frames API
...
Remove now unused cmdutils get_buffer() implementation.
2013-03-08 07:40:59 +01:00
Anton Khirnov
9b2dc29534
avconv: convert to new refcounted AVFrame API
2013-03-08 07:40:50 +01:00
Anton Khirnov
37045e4229
mpegvideo: drop vismv code
...
It has been broken for over a year without anyone complaining or
noticing, thus proving that nobody ever uses it.
2013-03-08 07:40:41 +01:00
Anton Khirnov
2eba9087f3
lavc: make up a fake frame channel layout when there is no real one.
...
This should ensure that a valid channel layout is always set on a frame,
until a better solution is implemented.
2013-03-08 07:40:06 +01:00
Anton Khirnov
192f1984b1
lavc: limit maximum number of channels to 63
...
This is the most that can be represented with the current channel layout
system. This limit should be raised/removed when a better system is
implemented.
2013-03-08 07:39:53 +01:00
Anton Khirnov
15ec0450b4
lavc: allow decoders to override frame parameters.
2013-03-08 07:39:44 +01:00
Anton Khirnov
3b199d29cd
lavc decoders: properly initialize AVFrame.
2013-03-08 07:39:37 +01:00
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
2013-03-08 07:38:30 +01:00
Anton Khirnov
6e7b50b427
mpegvideo_enc: drop support for reusing the input motion vectors.
...
This misfeature is most likely completely useless and conflicts with
removing the mpegvideo-specific fields from AVFrame. In the improbable
case it is actually useful, it should be reimplemented in a better way.
2013-03-08 07:37:45 +01:00
Anton Khirnov
7e350379f8
lavfi: switch to AVFrame.
...
Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead.
2013-03-08 07:37:18 +01:00
Anton Khirnov
77b2cd7b41
AVFrame: add side data.
2013-03-08 07:37:01 +01:00
Anton Khirnov
7ecc2d403c
Move AVFrame from lavc to lavu.
...
Add AVBuffer-based reference counting API to it.
2013-03-08 07:36:15 +01:00
Anton Khirnov
ad0c9f2d5d
lavc: move AVFrame.hwaccel_picture_private to Picture.
...
This field is private and should not be present in a public struct. It
is only used in DXVA with mpegvideo-based decoders currently.
2013-03-08 07:36:01 +01:00
Anton Khirnov
1a5e913016
pthread: avoid copying input packets when possible.
2013-03-08 07:35:14 +01:00
Anton Khirnov
1afddbe59e
avpacket: use AVBuffer to allow refcounting the packets.
...
This will allow us to avoid copying the packets in many cases.
This breaks ABI.
2013-03-08 07:33:45 +01:00
Anton Khirnov
1cec0624d0
AVBuffer: add a new API for buffer pools
2013-03-08 07:33:28 +01:00
Anton Khirnov
8e401dbe90
lavu: add a new API for reference-counted data buffers.
2013-03-08 07:33:03 +01:00
Ronald S. Bultje
65f1d45dcc
lavu: add support for atomic operations.
...
These could be used for reference counting, or for keeping track of
decoding progress in references in multithreaded decoders.
Support is provided by gcc/msvc/suncc intrinsics, with a fallback using
pthread mutexes.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-08 07:32:36 +01:00
Alexander Kojevnikov
eae0879d96
mp3dec: Fix VBR bit rate parsing
...
When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag.
When parsing the stream, don't override the bit rate if it's already set,
otherwise calculate the mean bit rate from parsed frames. This way, the bit
rate will be set correctly both for CBR and VBR streams.
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-08 07:32:11 +01:00
Martin Storsjö
4be368b504
avstring: Fix isxdigit to not accept non-hex characters
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-07 16:46:46 +02:00
Diego Biurrun
870add0de9
configure: Add missing videodsp dependencies to some decoders
2013-03-07 15:36:56 +01:00
Diego Biurrun
dbd2a34ba5
build: cosmetics: Group hw accelerator Makefile entries together
2013-03-07 15:36:21 +01:00
Diego Biurrun
bcd0a7137e
configure: Add missing h264chroma dependencies to vp5, vp6
2013-03-07 15:33:41 +01:00
Martin Storsjö
d88738e403
mpegvideo: Conditionally build error_resilience bits
...
This breaks the dependency of mpegvideo on error_resilience allowing
compilation of components that depend on the former w/o the latter.
2013-03-07 15:04:49 +01:00
Diego Biurrun
06b54e8425
build: Fix error_resilience code dependencies
2013-03-07 15:04:49 +01:00
Diego Biurrun
5f401b7b71
Add missing error_resilience includes to files that use ER
2013-03-07 15:04:49 +01:00
Reimar Döffinger
efa7f42020
Use the avstring.h locale-independent character type functions
...
Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-07 15:16:36 +02:00
Reimar Döffinger
12c5c1d3e3
avstring: Add locale independent versions of some ctype.h functions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-07 15:16:26 +02:00