Clément Bœsch
bec96a7286
lavf: use av_fourcc2str() where appropriate
2017-03-29 14:49:29 +02:00
Clément Bœsch
d3cedc54cc
lavf/ape: remove unused magic field
2017-03-29 14:49:29 +02:00
Clément Bœsch
656823220c
ffmpeg_videotoolbox: fix usage of av_get_codec_tag_string()
2017-03-29 14:49:29 +02:00
Clément Bœsch
fa0a8faaa4
ffprobe: fix usage of av_get_codec_tag_string()
2017-03-29 14:49:29 +02:00
Clément Bœsch
337c68d071
tools/fourcc2pixfmt: fix usages of av_get_codec_tag_string()
2017-03-29 14:49:29 +02:00
Clément Bœsch
cd4d6cba12
lavf: fix usages of av_get_codec_tag_string()
2017-03-29 14:49:29 +02:00
Clément Bœsch
67e370ee52
lavc: fix usages of av_get_codec_tag_string()
2017-03-29 14:49:29 +02:00
Clément Bœsch
f156d35321
lavc: deprecate av_get_codec_tag_string()
2017-03-29 14:49:29 +02:00
Clément Bœsch
bfdcdd6d82
lavu: add av_fourcc_make_string() and av_fourcc2str()
2017-03-29 14:49:29 +02:00
Clément Bœsch
c1d822c554
Merge commit ' 4cf2ffb7c4'
...
* commit '4cf2ffb7c4 ':
idct: Have function pointer prototype match implementation
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:37:35 +02:00
Clément Bœsch
35494441b5
Merge commit ' 39cea6570c'
...
* commit '39cea6570c ':
aactab: Move extern keyword to the front of array declarations
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:34:58 +02:00
Clément Bœsch
ca6f0f85bb
Merge commit ' 85baef4ff1'
...
* commit '85baef4ff1 ':
vf_drawtext: Move static keyword to beginning of variable declaration
This commit is mostly a noop, see:
d9e2aceb7f
6d7aa437e1
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:26:57 +02:00
Clément Bœsch
63c41c53f3
Merge commit ' 636515c324'
...
* commit '636515c324 ':
examples/decode_video: remove a stray unrelated comment
This commit is a noop, see 8c4753f7f5
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:24:20 +02:00
Clément Bœsch
fdbc29ca70
Merge commit ' 8191f960a6'
...
* commit '8191f960a6 ':
examples/decode_video: constify the AVCodec instance
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:22:32 +02:00
Clément Bœsch
58f24adc05
Merge commit ' 5b4d7ac7ae'
...
* commit '5b4d7ac7ae ':
examples/encode_video: use the AVFrame API for allocating the frame
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:21:52 +02:00
Clément Bœsch
944e5ce3ec
doc/examples/{de,en}code_audio: fix includes
...
Consistent with other examples.
2017-03-29 14:18:10 +02:00
Clément Bœsch
4726bbb471
Merge commit ' d0a603a534'
...
* commit 'd0a603a534 ':
examples/encode_video: set the framerate
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:16:33 +02:00
Clément Bœsch
e9bd457465
Merge commit ' e02524025b'
...
* commit 'e02524025b ':
examples/encode_video: constify the AVCodec instance
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:15:01 +02:00
Clément Bœsch
925ce244d8
Merge commit ' 7b1f03477f'
...
* commit '7b1f03477f ':
examples/avcodec: split the remaining two examples into separate files
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 14:09:09 +02:00
Clément Bœsch
dcdd52101f
Merge commit ' 90265814f9'
...
* commit '90265814f9 ':
examples/decode_audio: constify the AVCodec instance
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:45:51 +02:00
Clément Bœsch
9bed10afb8
doc/examples/encode_audio: add missing return
2017-03-29 13:45:09 +02:00
Clément Bœsch
878070cc56
Merge commit ' f5df897c4b'
...
* commit 'f5df897c4b ':
examples/avcodec: split audio decoding into a separate example
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:43:47 +02:00
Clément Bœsch
780cc080d8
Merge commit ' f76698e759'
...
* commit 'f76698e759 ':
examples/encode_audio: use the AVFrame API for allocating the data
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:31:44 +02:00
Clément Bœsch
f38e7566c6
Merge commit ' c00a11ab38'
...
* commit 'c00a11ab38 ':
examples/encode_audio: constify AVCodec instances
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:30:16 +02:00
Clément Bœsch
b785af4868
Merge commit ' 40aaa8dadf'
...
* commit '40aaa8dadf ':
examples/avcodec: split audio encoding into a separate example
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:29:22 +02:00
wm4
4cf1f68903
pthread_frame: minor simplification to error handling
...
Get rid of the "ret" variable, and always use err. Report the packet as
consumed if err is unset. This should be equivalent to the old code,
which obviously required err=0 for p->result>=0 (and otherwise,
p->result must have had the value err was last set to). The code block
added by commit 32a5b63126 is also not needed anymore, because the new
code strictly returns err if it's >=0.
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
2017-03-29 12:17:40 +02:00
James Almer
91ccd38c0b
avcodec/ac3dsp: add special-case handling for the C downmix_fixed function
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-03-28 23:09:17 -03:00
James Almer
53f1d6a8ee
fate: add tests for ac3_fixed 5.1 downmix
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-03-28 23:08:17 -03:00
James Almer
c31cbeef58
aarch64/vp9dsp: add missing header includes
2017-03-28 23:02:09 -03:00
Ronald S. Bultje
027ee9b3ed
pthread_frame: don't sync items between threads for intra-only codecs.
...
Intra-only codecs should either be able to read these items from the
bitstream, or they should be set upon codec initialization. In both
cases, syncing these items at runtime is unnecessary.
In practice, this fixes race conditions for decoders that read these
values from the bitstream.
2017-03-28 18:04:27 -04:00
Ronald S. Bultje
bddabfaab6
hevc: initialize no_rasl_output_flag in hevc_frame_start().
...
This prevents a race condition in files with multiple slices per frame.
2017-03-28 18:04:27 -04:00
Ronald S. Bultje
8c2aa45d4a
h264: revert 1189af4292.
...
The patch introduces race conditions.
2017-03-28 18:04:27 -04:00
Ronald S. Bultje
0c46641784
vp9: split out generic decoding skeleton interface API from VP9 types.
...
This allows vp9dsp.h to only include the VP9 types header, and not the
decoder skeleton interface which is for hardware decoders (dxva2/vaapi).
2017-03-28 18:04:27 -04:00
Ronald S. Bultje
6d0d1c4a43
vp9: split out reconstruction functions in their own source file.
2017-03-28 18:04:26 -04:00
Ronald S. Bultje
b823bbc10c
vp9: split out loopfilter functions in their own source file.
2017-03-28 18:04:26 -04:00
Ronald S. Bultje
f8c019944d
vp9: re-split the decoder/format/dsp interface header files.
...
The advantage here is that the internal software decoder interface is
not exposed to the DSP functions or the hardware accelerations.
2017-03-28 18:04:26 -04:00
Clément Bœsch
473f0f75a1
lavfi: fix race when func rets holder is NULL
...
If ret is NULL, a dummy common holder is created to hold *all* the
parallel function returns, which gets written concurrently. This commit
simplify the whole logic by simply not writing to that holder when not
set.
2017-03-28 23:47:24 +02:00
Marton Balint
77d2cb8874
avdevice/decklink: deprecate @mode syntax in device name to specify mode
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-03-28 22:00:16 +02:00
Marton Balint
c395d230b1
avdevice/decklink_enc: convert to std::atomic
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-03-28 22:00:15 +02:00
Marton Balint
7cfa98fd94
configure: use c++11 and fallback to c++0x for c++ files
...
Needed for the C+11 atomics. Also change add_cxxflags to check_cxxflags.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-03-28 21:57:54 +02:00
James Almer
3b80f73b18
doc/examples/transcoding: convert to codecpar
...
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-03-28 12:27:04 -03:00
Ronald S. Bultje
5ba8c3a0ed
dirac: make initialization of arithmetic coder tables threadsafe.
2017-03-28 11:21:27 -04:00
Matthieu Bouron
64b5539985
doc/examples/extract_mvs: switch to codecpar
2017-03-28 17:46:29 +02:00
Matthieu Bouron
4a946aca7c
doc/examples/remuxing: switch to codecpar
...
Also limits remuxing to audio, video and subtitle streams.
2017-03-28 17:46:23 +02:00
Matthieu Bouron
7e3e0f87e6
doc/examples/muxing: re-indent block
2017-03-28 12:41:46 +02:00
Clément Bœsch
c3706bc255
doc/examples/filtering_*: switch to codecpar
2017-03-28 11:40:57 +02:00
Steven Liu
c0628919b8
avformat/flvdec: check FLVHeader PreviousTagSize0
...
refer to SPEC:
Annex E. The FLV File Format said:
E.3 TheFLVFileBody have a table:
Field Type Comment
PreviousTagSize0 UI32 Always 0
Reviewed-by: Bela Bodecs <bodecsb@vivanet.hu>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2017-03-28 16:51:28 +08:00
James Almer
3fe7bb2bcf
avcodec/extract_extradata_bsf: add missing break statement to extract_extradata_vc1
2017-03-28 01:14:17 -03:00
James Almer
b613245c97
ffprobe: free log buffer's parent_name during cleanup
...
Fixes memleak.
2017-03-27 20:37:29 -03:00
Dave Rice
3e0474ff39
doc/ffprobe: add -show_log option
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-28 00:13:47 +02:00