Michael Niedermayer
8106479503
avcodec/bitstream_filter: Fix initializing options from the argument string
...
Fixes ffmpeg ... -vbsf noise=234 ...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
76d0209db4
avcodec/intrax8: Remove duplicated chunk from ba5bcf9612
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
db7d0d6e7c
lavc/fic: Cosmetics, fix a typo.
...
Found by Moritz Barsnick
9 years ago
Carl Eugen Hoyos
1106a2c5dd
lavc/webp: Print a warning for unsupported chunks.
9 years ago
Ronald S. Bultje
ee729cc0ed
vp9: ignore frame_context_index field in key-/intraonly-frames.
...
Reproduces a bug to remain consistent with libvpx' behaviour.
9 years ago
Paul B Mahol
7a0aee1688
avcodec/takdec: fix decoding of some sample rates with multichannel coder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ivan
3a727606c4
avcodec/h264: Fix for H.264 configuration parsing
...
Sometimes video fails to decode if H.264 configuration changes mid stream.
The reason is that configuration parser assumes that nal_ref_idc is equal to 11b
while actually some codecs but 01b there. The H.264 spec is somewhat
vague about this but it looks like it allows any non-zero nal_ref_idc for sps/pps.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
487c346d98
avcodec/exr: Fix "libavcodec/exr.c:1494:13: warning: ISO C90 forbids mixed declarations and code"
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Rostislav Pehlivanov
9e138c4813
vc2enc: use 32x16 slices by default
...
Approximately 1.25 times faster than 64x32, visually and
statistically improves quality.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Rostislav Pehlivanov
77fb7177af
vc2enc: don't require interlacing for 1080p50/60 base video formats
...
Typo
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Carl Eugen Hoyos
139cbeb75e
lavc/dds: Fix GRAY8A decoding.
...
Fixes ticket #4667 .
9 years ago
Michael Niedermayer
f07923253a
avcodec/avcodec: Document signed/unsignedness of sample formats in relation to bits_per_raw_sample
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
bcf936eaea
avcodec/utils: Add braces to framecount computation
...
Suggestes-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
a7fa1e38ca
avcodec/utils: Fix duration of ATRAC3 packets
...
Fixes ticket1680
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Anton Khirnov
5e1a3ea3ba
lavc: move the vaapi encoders further down in the list of codecs
...
Right now they are the first encoders for those codecs in the list, so
they are selected when the caller requests a codec by id.
Since they require special treatment, they should not be selected by
default if there are other encoders (e.g. libx264/5) available.
9 years ago
Mark Thompson
92fdea3747
vaapi_h265: Add -qp option, use it to replace use of -global_quality
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
f70e462793
vaapi_h265: Add constant-bitrate encode support
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
fcf536b130
vaapi_h264: Add encode quality option (for quality-speed tradeoff)
...
Only supported on VAAPI 0.36 and higher.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
9629701ce9
vaapi_h264: Add -qp option, use it to replace use of -global_quality
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
69b06ed428
vaapi_encode: Add support for codec-local options
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
6e8f66fc93
vaapi_h264: Add constant-bitrate encode support
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
f6b8552369
vaapi_encode: Refactor slightly to allow easier setting of global options
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Michael Niedermayer
21acc4db5f
avcodec: Add bits_per_raw_sample to AVCodecParameters
...
The bits_per_raw_sample represents the number of bits of precision per sample.
The field is added at the logical place, not at the end as the code was just
recently added
This fixes the regression about losing the audio sample precision information
The change in the fate test checksum un-does the change from the merge
Previous version reviewed by: wm4 <nfxjfg@googlemail.com>
Previous version reviewed by: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
9cd2ca9966
avcodec/ralf: add support for mono
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
c9fb81ff41
avcodec/atrac3: pass AVCodecContext to av_log if available
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
8e26bdd59b
avcodec/bmp_parser: Ensure remaining_size is not too small in startcode packet crossing corner case
...
Fixes Ticket 5438
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
56759f69a6
avcodec/wmalosslessdec: improve 24bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
5ac71e9db8
avcodec/wmalosslessdec: improve >2 channel support
...
Before it worked for stereo files only.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Rodger Combs
c890bcbacf
lavf/audiotoolboxdec: only provide block alignment for ILBC
...
Fixes decode errors for some AVI files
9 years ago
Rodger Combs
c11157c09a
lavf/audiotoolboxdec: only send extradata for formats that use it
...
Fixes initialization errors for some AVI files
9 years ago
Rodger Combs
acd5910e39
lavc/audiotoolboxdec: reindent
9 years ago
Rodger Combs
b20d3bf4a4
lavc/audiotoolboxdec: avoid relying on consumer-provided params when possible
9 years ago
Martin Vignali
ac07e57c39
avcodec/exr: fix huf_decode
9 years ago
Paul B Mahol
392b0a25c2
avcodec/exr: fix clearing end of bitmap
...
Inspired by patch from Martin Vignali.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
James Almer
d7815df402
arm/rdft_init: fix license header
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Martin Storsjö
9d4d9be538
libavcodec: Document that encoders may use the framerate field in AVCodecContext
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
1bb56abb9b
omx: Add support for zerocopy input of frames
...
This can only be used if the input data happens to be laid out
exactly correctly.
This might not be supported on all encoders, so only enable it
with an option, but enable it automatically on raspberry pi,
where it is known to be supported.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
f1cd9b03f3
omx: Add support for broadcom OMX on raspberry pi
...
The raspberry pi uses the alternative API/ABI for OMX; this makes
such builds incompatible with all the normal OpenMAX implementations.
Since this can't easily be detected at configure time (one can
build for raspberry pi's OMX just fine using the generic, pristine
Khronos OpenMAX IL headers, no need for their own extensions),
require a separate configure switch for it instead.
The broadcom host library can't be unloaded once loaded and started;
the deinit function that it provides is a no-op, and after started,
it has got background threads running, so dlclosing it makes it
crash.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
e8919ec486
libavcodec: Add H264/MPEG4 encoders based on OpenMAX IL
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
b8e899f4bf
mmaldec: Use imgutils.h for copying frames
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Paul B Mahol
9149e9c0ba
avcodec/apedec: fix decoding of stereo files with one channel full of silence
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Martin Storsjö
798845ce7e
testprogs: Add missing libm.h includes
...
This fixes building on MSVC 2010 and 2012 after d12b5b2f13
.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Paul B Mahol
b62ed56e25
avcodec/shorten: properly handle bitshift > 31
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Jakub Stachowski
60b75186b2
avcodec/wmalosslessdec: do not discard last frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
571aa7d25e
avcodec/shorten: mark as AV_CODEC_CAP_SUBFRAMES
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Martin Vignali
2dd7b46132
avcodec/exr: fix channel detection
9 years ago
Paul B Mahol
0c90b2e013
avcodec/shorten: add support for AIFF packing, not bitexact
...
Also report unsupported packing.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
82ee37f1f3
avcodec/shorten: fix decoding of very large (>2048) block sizes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
d433623fba
avcodec/pngdec: Fix alpha detection with skip_frame
...
Fixes Ticket4816
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
dee138624f
avcodec/shorten: fix decoding of files with number of samples lower than max_frame_size
...
Note that support of very big block sizes is not currently supported at all due
too flawed logic in decoder.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago