Paul B Mahol
6098d4b8a8
avcodec/sheervideo: check build_vlc for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Carl Eugen Hoyos
aec96e233f
lavc/dpx: Support decoding 12 bit colourspace with transparency information.
9 years ago
Matthieu Bouron
346b3c5c41
lavc/mediacodec: re-indent after previous commit
9 years ago
Matthieu Bouron
e452abc5c2
lavc/mediacodec: refactor ff_AMediaCodecList_getCodecByType
...
Allows to select a codec (encoder or decoder) only if it supports a
specific profile.
Adds ff_AMediaCodecProfile_getProfileFromAVCodecContext to convert an
AVCodecContext profile to a MediaCodec profile. It only supports H264
for now.
The codepath using MediaCodecList.findDecoderForFormat() (Android >= 5.0)
has been dropped as this method does not allow to select a decoder
compatible with a specific profile.
9 years ago
James Almer
ede4ec1f8f
x86/aacpsdsp: optimize add_squares loop
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Carl Eugen Hoyos
d5ded429f2
lavc/dpx: Support decoding 10 bit colourspace with transparency information.
...
Fixes one sample from ticket #5639 .
9 years ago
Clément Bœsch
7dd8cd1933
lavc/h264_sei: fix broken style around green metadata code
9 years ago
Clément Bœsch
5342bb624d
lavc/h264: rename GreenMetaData to H264SEIGreenMetaData
...
Reduces diff for the next merge with Libav.
9 years ago
Clément Bœsch
b0ec36c9b1
lavc/h264_sei: reduce scope of parameters for green meta decode
...
This is again will help the merge as ff_h264_decode_sei will not have
access to H264Context anymore.
9 years ago
Clément Bœsch
fef89aae98
lavc/h264: move green meta logging out of the sei decoding
...
This will simplify the next Libav merge where SEI decoding doesn't have
access to the debug level anymore.
9 years ago
Clément Bœsch
7a2a8b541a
lavc/h264_sei: fix green metadata typo
9 years ago
Jérôme Martinez
878c3a3645
avcodec/ffv1dec: fix some unsupported pix_fmt
...
When checking pix_fmt mapping, some bitstreams are mapped to an
incorrect pix_fmt instead of being rejected (ENOSYS).
Actually, such bitstreams are not supported (FFmpeg encoder does not
produce such bitstream, such bitstream may come only from another
encoder for the moment).
- JPEG 2000 RCT 11/13/15/16 bit depths are mapped to a 8-bit FFmpeg
pix_fmt (e.g. bgr0), which is not expected.
- JPEG 2000 RCT 9/10/12/14 bit depths with alpha are mapped to a
FFmpeg pix_fmt without alpha (e.g. AV_PIX_FMT_GBRP9 for 9-bit with
alpha), which is not expected.
The order for choosing the pix_fmt is changed to the one used by YCbCr
selection (<=8 bit first).
" && !f->transparency" is added to the other lines.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4a8ed314fb
avcodec/h264_slice: Add casts to suppress warnings
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
aafdad1b45
lavc/videotoolbox: fix sps/pps mistake introduced in 1534ef87
9 years ago
Clément Bœsch
4df944920c
lavc/videotoolbox: fixes compilation after 1534ef87
9 years ago
Clément Bœsch
82d79970ed
lavc/vda_h264: fixes compilation after 1534ef87
9 years ago
Michael Niedermayer
c3ad63c6a3
avcodec/iff: Fix bytestream advance
...
Fixes Ticket5585
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
83163577e2
lavc/h264: remove unused ff_h264_init_dequant_tables prototype
...
Unused since 1534ef87
/ 3176217c
.
9 years ago
Paul B Mahol
1a57b464cf
avcodec/sheervideo: add 10-bit interlaced RGB(A) support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
84efdabc94
avcodec/utvideodec: add support for UQRG and UQRA formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Carl Eugen Hoyos
3da860fbcf
lavc/libutvideodec: Do not set bits_per_raw_sample.
...
It is not always 8 but never different from the pix_fmt property.
9 years ago
Paul B Mahol
3ecc59bc35
avcodec/utvideodec: fix multiple slices for UQY2 and other issues
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
115e63c8d6
avcodec/utvideo: add support for UQY2
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
b21f674876
avcodec/mpc8: Correct end truncation
...
Fixes Ticket5478
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Rick Kern
98a3355c6a
lavc/videotoolboxenc: set extradata when opening codec
...
VideoToolbox doesn't supply parameter sets until the first frame is done
encoding. This spins up a temporary encoder and encodes a single frame to
get this data.
Signed-off-by: Rick Kern <kernrj@gmail.com>
9 years ago
Rick Kern
c5a5ca754b
lavc/videotoolboxenc: fix allocated buffer size
...
Allocates a buffer with padding, and with enough room for start codes when
length codes are smaller.
Signed-off-by: Rick Kern <kernrj@gmail.com>
9 years ago
Mark Thompson
d4cd8e7f6a
vaapi_encode_h26[45]: Reject bitrate targets higher than 2^31
9 years ago
Michael Niedermayer
056a4ae771
avcodec/cfhd: Set dimensions unconditionally
...
Fixes Ticket5215
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
9e9286e9ed
avcodec/sheervideo: add support for 10-bit interlaced YCbCr(A) 4:2:2
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
f0e7b06453
avcodec/sheervideo: fix argx format support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timo Rothenpieler
88e8aef9e9
avcodec/cuvid: add cuvid decoder
9 years ago
Michael Niedermayer
24f5136196
avcodec/mpegvideo: Do not clear the parse context during init
...
It is allocated before, this cannot work
Fixes Ticket5613
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
2ed8baa614
avcodec/sheervideo: add support for 10-bit interlaced YCbCr(A) 4:4:4(:4)
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
c156420bce
avcodec/sheervideo: fix prediction for ybyr format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0a9e781b88
avcodec/sheervideo: fix predictions for c82p format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0c7fa152b9
avcodec/sheervideo: supports some other 8bit formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
e826ceeb55
avcodec/sheervideo: add interlaced YCbCr(A) 4:2:2:4 8-bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
131cb675cf
avcodec/sheervideo: add interlaced YCbCr(A) 4:4:4:4 8-bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Rostislav Pehlivanov
a04ae469e7
aacsbr: reduce element type mismatch warning severity
...
All HE-AAC samples with an LFE channel make this warning get spammed on
every frame. Turning off SBR for LFE channels makes sense (since it has
much less coefficients than normal channels do), so this error print is
of no value in this case.
It makes sense to keep the error in other cases, hence why it's still
around, degraded to warning severity since the decoder will still
attempt to decode without SBR.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
James Almer
82dbfccaf0
x86/aacdec: use HADDPS macro
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
f883f0b0bd
avcodec/h264: Put context_count check back
...
Fixes assertion failure
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
27c1eae55f
avcodec/h264: Fix off by 1 context count
...
Fixes fate-h264-xavc-4389 with slice threads
9 years ago
Paul B Mahol
c206a32435
avcodec/sheervideo: fix order of operations for raw lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
60bac785c3
avcodec/sheervideo: add support for 8-bit interlaced (A)RGB
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
fdf832a986
avcodec: add BitJazz SheerVideo decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
c36fc857b5
avcodec/alsdec: Check r to prevent out of array read
...
No testcase known
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Matthieu Bouron
1729387c7a
lavc/mediacodec: improve error messages
9 years ago
Matthieu Bouron
93f4d1646e
lavc/mediacodec: bypass width/height restrictions when looking for a decoder
...
Codec width/height restrictions seem hardcoded at the OMX level and
seem arbitrary. Bypassing those restrictions allows a device to decode
streams at higher resolutions.
For example it allows a Nexus 5 to decode h264 streams with a resolution
higher than 1920x1080.
9 years ago
Matthieu Bouron
cb89fd2334
lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for consistency
9 years ago
Matthieu Bouron
56ef387e21
lavc/mediacodec: move struct declarations at the begin
9 years ago