James Almer
0b79fdeb9a
Merge commit ' cbebc3251b'
...
* commit 'cbebc3251b ':
lavc: Drop deprecated public symbols
Merged-by: James Almer <jamrial@gmail.com>
2017-10-23 15:56:29 -03:00
James Almer
400ecd8e40
Merge commit ' 72dc7ddd18'
...
* commit '72dc7ddd18 ':
lavc: Drop deprecated error rate option
Merged-by: James Almer <jamrial@gmail.com>
2017-10-23 15:50:46 -03:00
James Almer
b46613dd9b
Merge commit ' dcc39ee10e'
...
* commit 'dcc39ee10e ':
lavc: Remove deprecated XvMC support hacks
Merged-by: James Almer <jamrial@gmail.com>
2017-10-23 15:20:49 -03:00
James Almer
c381f6a483
Merge commit ' 0871e23377'
...
* commit '0871e23377 ':
lavc: Drop deprecated architectures symbols
Merged-by: James Almer <jamrial@gmail.com>
2017-10-23 15:05:12 -03:00
James Almer
b13e61d629
Merge commit ' c06e739291'
...
* commit 'c06e739291 ':
lavc: Drop deprecated extended aspect ratio symbol
Merged-by: James Almer <jamrial@gmail.com>
2017-10-23 15:02:25 -03:00
James Almer
51b88c3d4e
Merge commit ' 0c7986df44'
...
* commit '0c7986df44 ':
lavc: Drop deprecated workaround bugs options
Merged-by: James Almer <jamrial@gmail.com>
2017-10-23 14:59:23 -03:00
James Almer
90000f15ec
Merge commit ' 6dca24cd1d'
...
* commit '6dca24cd1d ':
lavc: Drop deprecated way of setting codec dimensions
Merged-by: James Almer <jamrial@gmail.com>
2017-10-21 23:59:53 -03:00
James Almer
898349d702
Merge commit ' 1146bb3bab'
...
* commit '1146bb3bab ':
lavc: Drop deprecated voxware codec entry
Merged-by: James Almer <jamrial@gmail.com>
2017-10-21 23:56:51 -03:00
James Almer
5ad1a989b6
avcodec: Drop deprecated VIMA codecid
...
Deprecated in 02/2015.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-21 23:55:48 -03:00
James Almer
c68a3ab96e
Merge commit ' 7b91704118'
...
* commit '7b91704118 ':
lavc: Drop deprecated VDPAU codec capability
Merged-by: James Almer <jamrial@gmail.com>
2017-10-21 23:40:03 -03:00
James Almer
8f483108b5
avcodec: Drop deprecated audio resample API
...
Deprecated in 03/2013.
2017-10-21 23:15:19 -03:00
James Almer
24a8603a8e
Merge commit ' 0337adfab5'
...
* commit '0337adfab5 ':
lavc: Drop deprecated missing sample log function
Merged-by: James Almer <jamrial@gmail.com>
2017-10-21 22:53:41 -03:00
wm4
b46a77f19d
lavc: external hardware frame pool initialization
...
This adds a new API, which allows the API user to query the required
AVHWFramesContext parameters. This also reduces code duplication across
the hwaccels by introducing ff_decode_get_hw_frames_ctx(), which uses
the new API function. It takes care of initializing the hw_frames_ctx
if needed, and does additional error handling and API usage checking.
Support for VDA and Cuvid missing.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2017-10-19 17:10:59 +02:00
Ivan Kalvachev
9054439bad
Fix visual glitch with XvMC, caused by wrong idct permutation.
...
In the past XvMC forced simple_idct since
it was using FF_IDCT_PERM_NONE.
However now we have SIMD variants of simple_idct that
are using FF_IDCT_PERM_TRANSPOSE and if they are selected
XvMC would get coefficients in the wrong order.
The patch creates new FF_IDCT_NONE that
is used only for this kind of hardware decoding
and that fallbacks to the old C only simple idct.
Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-12 01:27:52 +02:00
James Almer
cf3d2d52b5
avcodec/avpacket: deprecate av_copy_packet_side_data()
...
It leaks memory and destroys the dst packet in case of failure, and it
ultimately duplicates functionality already existing in the saner
av_packet_copy_props().
Reviewed-by: wm4
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-01 19:19:22 -03:00
Karthick J
b6cf66ae1c
avdevice/decklink_dec: Added Closed caption decode from VANC
...
Signed-off-by: Karthick J <kjeyapal@akamai.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-09-28 21:06:12 +02:00
James Almer
b1cf151c4d
Merge commit ' 577326d430'
...
* commit '577326d430 ':
lavc: deprecate refcounted_frames field
Merged-by: James Almer <jamrial@gmail.com>
2017-09-26 16:42:18 -03:00
James Almer
ecb9741ba2
avcodec/avpacket: deprecate av_copy_packet()
...
It does the same thing as av_packet_ref().
Signed-off-by: James Almer <jamrial@gmail.com>
2017-09-25 21:22:06 -03:00
James Almer
6561cdd70c
avcodec.h: fix doxygen comment
2017-09-14 01:43:52 -03:00
Mark Thompson
82342cead1
lavc: Add flag to mark packets containing trusted input
2017-09-13 22:25:29 +01:00
James Almer
6cadbb16e9
avcodec: add AV_HWACCEL_CODEC_CAP_EXPERIMENTAL flag
...
This flag replaces the deprecated, non-prefixed HWACCEL_CODEC_CAP_EXPERIMENTAL
one.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-09-04 17:48:41 -03:00
Paras Chadha
61e4db4bb7
Add FITS Decoder
...
Signed-off-by: Paras Chadha <paraschadha18@gmail.com>
2017-08-30 12:13:01 +02:00
James Almer
2c800eb737
avcodec: make the avcodec_get_chroma_sub_sample deprecation effective
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
2017-08-25 12:19:41 -03:00
foo86
930fe4b1f7
avcodec: add Dolby E decoder
2017-07-19 12:27:32 +02:00
Michael Niedermayer
f670c13f13
avcodec: Rename ff_mpv_decode_mb() to ff_mpv_reconstruct_mb
...
The new name more accuratly describes what the function does
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-19 17:54:40 +02:00
Mark Thompson
49ae8a5e87
lavc: Add flag to allow profile mismatch with hardware decoding
...
(cherry picked from commit 64a5260c69 )
2017-06-14 22:27:04 +01:00
Paul B Mahol
d1c08027d8
avcodec: add Gremlin Digital Video decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-06-11 10:00:39 +02:00
Paul B Mahol
29bdcf588f
avcodec: add Gremlin DPCM decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-06-11 10:00:16 +02:00
Rostislav Pehlivanov
a13eac5a99
lavc: add codec ID and description for SVG
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-05-16 11:26:50 +01:00
Michael Niedermayer
d5711cb891
avcodec/avcodec: Limit the number of side data elements per packet
...
Fixes: 1293/clusterfuzz-testcase-minimized-6054752074858496
See: [FFmpeg-devel] [PATCH] avcodec/avcodec: Limit the number of side data elements per packet
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-12 14:19:52 +02:00
James Almer
f089e02fa2
Merge commit ' 019ab88a95'
...
* commit '019ab88a95 ':
lavc: add an option for exporting cropping information to the caller
Merged-by: James Almer <jamrial@gmail.com>
2017-05-08 14:22:43 -03:00
Mark Thompson
64a5260c69
lavc: Add flag to allow profile mismatch with hardware decoding
2017-04-26 22:57:57 +01:00
Kostya Shishkov
189157c3fc
Add ClearVideo decoder
...
Only I-frames are decoded for now.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-04-25 15:39:10 +02:00
James Almer
79778bb9b0
Merge commit ' 972c71e9cb'
...
* commit '972c71e9cb ':
lavc: add support for filtering packets before decoding
Merged-by: James Almer <jamrial@gmail.com>
2017-04-22 22:35:27 -03:00
James Almer
844a115cd3
Revert "avcodec/bsf: Forbid packet without payload in av_bsf_send_packet"
...
This reverts commit bfdca87ab5 .
Packets with no data or side data will be valid EOF signal in an
upcoming merge.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-04-22 21:52:06 -03:00
James Almer
bddb2343b6
Merge commit ' 061a0c14bb'
...
* commit '061a0c14bb ':
decode: restructure the core decoding code
CUVID decoder adapted by wm4.
Merged-by: James Almer <jamrial@gmail.com>
2017-04-22 20:08:42 -03:00
Paul B Mahol
61088051bd
avcodec: add Screen Recorder Gold Codec decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-04-18 15:04:12 +02:00
Paul B Mahol
a96db6be06
avcodec: add Mandsoft Screen Capture Codec decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-04-18 15:03:12 +02:00
Paul B Mahol
95a8a03a19
Add FM Screen Capture Codec decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-04-13 12:35:35 +02:00
James Almer
e5c11ab9ce
avcodec: fix containts typo
2017-04-06 11:45:58 -03:00
Steve Lhomme
157e57a181
lavc: Add Content Light Level side metadata found in HEVC
...
These data are necessary when transmitting HDR over HDMI.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-04-06 11:38:15 -03:00
Damien Riegel
549acc9995
codec: bitpacked: add decoder
...
Add a codec capable of decoding some formats of the RFC4175. For now
it's only capable of handling YCbCr-4:2:2 with 8-bit or 10-bit depth.
For 8-bit it's a simple pass-through, for 10-bit it depacks the stream
in the AV_PIX_FMT_YUV422P10 pixel format.
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-04-05 17:02:20 +01:00
Clément Bœsch
8c5c6871ba
lavc: add AV_ prefix to CODEC_CAP_DELAY in doxy
2017-04-04 09:58:29 +02:00
Clément Bœsch
47d8410dac
Merge commit ' a1d9de304f'
...
* commit 'a1d9de304f ':
Fix some mismatches between function parameter and doxygen parameter names.
Merged-by: Clément Bœsch <u@pkh.me>
2017-04-03 20:41:16 +02:00
Ronald S. Bultje
467a053810
codec_desc: mark some lossless audio codecs as intraonly.
...
Fixes tsan warnings in several audio codecs (flac, alac, wavpack, tta
and tak) that look like this:
WARNING: ThreadSanitizer: data race (pid=14340)
Read of size 4 at 0x7d64000169d8 by main thread (mutexes: write M1335):
#0 update_context_from_thread src/libavcodec/pthread_frame.c:284 (ffmpeg+0x000000dc795f)
[..]
Previous write of size 4 at 0x7d64000169d8 by thread T1 (mutexes: write M1333):
#0 wavpack_decode_block src/libavcodec/wavpack.c:1012 (ffmpeg+0x00000112b175)
2017-04-03 09:36:32 -04:00
Clément Bœsch
507a85b93c
Merge commit ' adb0e941c3'
...
* commit 'adb0e941c3 ':
avpacket: Mark src pointer as constant
See 5bb3f88255
Merged-by: Clément Bœsch <u@pkh.me>
2017-04-01 18:23:21 +02:00
Clément Bœsch
f156d35321
lavc: deprecate av_get_codec_tag_string()
2017-03-29 14:49:29 +02:00
Michael Niedermayer
d65b59550b
avcodec/avcodec: Correct and make consistent AVERROR() in comments
...
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-27 01:48:39 +02:00
Clément Bœsch
cc012c46e8
Merge commit ' 14e7e19a90'
...
* commit '14e7e19a90 ':
lavc: bsf: Document input/output codecparam alloc/init process
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-23 16:03:43 +01:00
Clément Bœsch
7b3a3e6276
Merge commit ' b8d5070db6'
...
* commit 'b8d5070db6 ':
avcodec: Document AV_PKT_DATA_PALETTE side data type
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-23 11:27:41 +01:00