James Almer
203bbaccfa
Merge commit ' ffb9b7a6ba'
...
* commit 'ffb9b7a6ba ':
libfdk-aac: Consistently use a proper version check macro for detecting features
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:11:39 -03:00
James Almer
ee96ab2db5
Merge commit ' 141c960e21'
...
* commit '141c960e21 ':
libfdk-aacenc: Fix building with libfdk-aac v2
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:02:58 -03:00
James Almer
a12063b118
Merge commit ' c8bca9fe46'
...
* commit 'c8bca9fe46 ':
lavc/qsvenc: dump BufferSizeInKB message
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 14:01:47 -03:00
James Almer
27e30c73d7
Merge commit ' e16b20782a'
...
* commit 'e16b20782a ':
lavc/qsvenc: allow to set qp range for h264 BRC
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:57:49 -03:00
James Almer
ff44c2d4f4
Merge commit ' 83678dbbae'
...
* commit '83678dbbae ':
libopenh264dec: Export the decoded profile and level in AVCodecContext
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:57:23 -03:00
James Almer
23ce57af3a
Merge commit ' 69caad8959'
...
* commit '69caad8959 ':
qsvdec: Release packet on decoding failure for mpeg2/vp8/vc1
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:42:09 -03:00
James Almer
50ae1f7e0f
Merge commit ' 76eef04f30'
...
* commit '76eef04f30 ':
qsvenc: Fix a misleading log message
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:41:46 -03:00
James Almer
14fe81b3a8
Merge commit ' 325aa63dd1'
...
* commit '325aa63dd1 ':
qsv: enforcing continuous memory layout
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:11:22 -03:00
Paul B Mahol
7115ad53b4
avcodec/loco: rotate other planes too for non-power of 2 widths
...
This was forgotten in df05fd3131 .
2018-09-11 10:15:59 +02:00
Jason Stevens
69f1853a28
libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_
...
refactor ff_dnxhd_get_hr_frame_size to avpriv_dnxhd_get_hr_frame_size,
to allow cross library usage in libavformat/mxfenc this change makes
this function no longer be always inlined.
Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
2018-09-10 23:15:42 +02:00
Paul B Mahol
df05fd3131
avcodec/loco: switch to planar rgb format
...
Remove now unused step variable.
2018-09-10 15:16:07 +02:00
Paul B Mahol
29a24e5f79
avcodec/lagarith: set pict_type too
2018-09-09 22:58:26 +02:00
Paul B Mahol
b2ffecbd0c
avcodec/lagarith: switch to planar rgb
...
Speed goes from 363 fps to 428 fps for 640x480 video.
2018-09-09 22:58:26 +02:00
Devin Heitmueller
fb9d4f5c3e
avcodec/v210enc: Pass through Active Format Description (AFD) data
...
When encoding to V210, make sure the AFD side data makes it through
in the resulting AVPacket. This is needed so the decklink output
module can put out AFD when in 10-bit mode.
Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-09 22:42:26 +02:00
Devin Heitmueller
35498c124a
avcodec: add AV_PKT_DATA_AFD to allow AFD data to be embedded in AVPacket
...
Create a new AVPacket side data type for Active Format Description,
which mirrors the side data type found in AVFrame. The primary
use case for this is ensuring AFD gets preserved in the V210
encoder, so that the decklink libavdevice can output AFD.
Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-09 22:42:26 +02:00
Devin Heitmueller
6a9abe9ec3
avcodec/v210enc: Pass through A53 CC data
...
When encoding to V210, make sure the CC side data makes it through
in the resulting AVPacket. This is needed so the decklink output
module can put out captions when in 10-bit mode.
Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-09 22:42:26 +02:00
Paul B Mahol
4b1b47e81b
avcodec/scpr: stop checking for overread twice
2018-09-09 14:06:57 +02:00
Shiyou Yin
5161f7bcfd
avutil/mips: [loongson] simplify macro TRANSPOSE_4H and TRANSPOSE_8B
...
Simplify macro TRANSPOSE_4H in mmiutils.h and add TRANSPOSE_8B as a common macro.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-09 12:01:07 +02:00
gxw
090647da84
avcodec/mips: [loongson] optimize vp8 decoding in vp8dsp.
...
Optimize vp8 loop filter with mmi, four functions optimized:
1. ff_vp8_h_loop_filter8uv_mmi.
2. ff_vp8_v_loop_filter8uv_mmi.
3. ff_vp8_h_loop_filter16_mmi.
4. ff_vp8_v_loop_filter16_mmi.
Vp8 decoding speed improved about 50%(from 73fps to 110fps, Tested on loongson 3A3000).
Signed-off-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-09 12:01:07 +02:00
Moritz Barsnick
1693a68187
avcodec/aacenc: report channel layout by name
...
Possibly useful in the error case.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-09 12:01:07 +02:00
Paul B Mahol
05df39cf3f
avcodec/tiff: check ff_lzw_decode_open() for failure
2018-09-09 11:38:33 +02:00
Paul B Mahol
39cfb722ee
avcodec/gifdec: set .caps_internal
2018-09-09 11:35:14 +02:00
Paul B Mahol
158043bae8
avcodec/gifdec: check ff_lzw_decode_open() for failure
2018-09-09 11:33:17 +02:00
Paul B Mahol
6e15495bcb
avcodec/zmbv: decoder supports init_cleanup capability
2018-09-08 21:31:32 +02:00
Paul B Mahol
337b9e190b
avcodec/ulti: fix minor style issue
2018-09-08 21:21:50 +02:00
Paul B Mahol
51a087771b
avcodec/tscc: decoder supports init_cleanup capability
2018-09-08 21:18:47 +02:00
Paul B Mahol
86e7e7816b
avcodec/tscc: check av_frame_alloc() for failure
2018-09-08 21:17:26 +02:00
Paul B Mahol
1e09dd96fe
avcodec/on2avc: decoder supports init_cleanup capability
2018-09-08 21:01:28 +02:00
Paul B Mahol
e8b27b82d0
avcodec/mscc: decoders supports init_cleanup capability
2018-09-08 20:55:59 +02:00
Paul B Mahol
0d37823c83
avcodec/interplayacm: decoder supports init_cleanup capability
2018-09-08 20:44:22 +02:00
Paul B Mahol
1f71f0a312
avcodec/fmvc: use correct pixel format on big-endian for 16 bpp
2018-09-08 20:33:15 +02:00
Paul B Mahol
15a5f49c0b
avcodec/flashsv: check return value of flashsv_decode_init()
2018-09-08 20:29:34 +02:00
Paul B Mahol
ae227fa1f2
avcodec/fic: change class name to more correct one
2018-09-08 20:25:47 +02:00
Paul B Mahol
ea6f61025e
avcodec/dsicinvideo: decoder supports init_cleanup capability
2018-09-08 20:14:58 +02:00
Paul B Mahol
94437e4409
avcodecc/cscd: fix some obvious style issues
2018-09-08 20:09:27 +02:00
Paul B Mahol
aa76bdea1f
avcodec/cscd: decoder supports init_cleanup capability
2018-09-08 20:06:19 +02:00
Paul B Mahol
aaa3f115d8
avcodec/cook: decoder supports init_cleanup capability
2018-09-08 20:02:41 +02:00
Paul B Mahol
068412f2e8
avcodec/rscc: fix decoding of some iscc files
2018-09-08 17:27:40 +02:00
Paul B Mahol
a5278b672a
avcodec: add RemotelyAnywhere Screen Capture decoder
2018-09-08 15:59:10 +02:00
Paul B Mahol
af71a3ff3e
avcodec/wcmv: fix output on big-endian with rgb565 format
2018-09-08 15:51:00 +02:00
Paul B Mahol
d8ad8fd8bd
avcodec/qdmc: check return code of ff_fft_init()
2018-09-08 15:43:46 +02:00
Zhao Zhili
037b3bd14a
avcodec/h264dec: remove unnecessary checks in h264_decode_frame
...
These conditions are checked again in is_extra(). This patch makes no
functional changes.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-07 20:35:54 +02:00
Zhao Zhili
b9d1f5bf68
avcodec/h264dec: check number of SPS in is_extra
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-07 20:35:54 +02:00
Shiyou Yin
9f60c58586
avcodec/mips: [loongson] fix improper use of register constraints.
...
Constraint "g" means compiler can store variable in memory or register.
When we use constraint "g" for a variable and this variable was operated by
instruction which only support register operands may lead "invalid operands" error.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-07 20:35:54 +02:00
Paul B Mahol
cc24665f44
avcodec/scpr: make sure count and min are valid
2018-09-07 15:09:40 +02:00
Paul B Mahol
a77c2df5cc
avcodec/dnxhdenc: interlaced is not supported in DNxHR
...
Fixes #7263 .
2018-09-06 13:47:48 +02:00
Paul B Mahol
237bbf6678
avcodec/dnxhddec: ask for samples with alpha
2018-09-06 13:47:48 +02:00
Shiyou Yin
776909e42e
avcodec/mips: [loongson] reoptimize put and add pixels clamped functions.
...
Simplify the usage of intermediate variable addr and remove unused variable all64
in following functions:
1. ff_put_pixels_clamped_mmi
2. ff_put_signed_pixels_clamped_mmi
3. ff_add_pixels_clamped_mmi
This optimization speed up mpeg4 decode about 2% on loongson platform(tested with 3A3000).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-05 21:45:52 +02:00
Martin Storsjö
ffb9b7a6ba
libfdk-aac: Consistently use a proper version check macro for detecting features
...
The previous version checks checked explicitly for the version
where the version define was added to the installed headers,
making an "#ifdef AACDECODER_LIB_VL0" enough. Now that we have
a need for more diverse version checks than this, convert all checks
to such checks.
Signed-off-by: Martin Storsjö <martin@martin.st>
2018-09-05 22:40:46 +03:00
Shiyou Yin
17c635e605
avcodec/mips: [loongson] simplify the usage of intermediate variable addr.
...
Simplify the usage of intermediate variable addr in following functions:
1. ff_put_pixels4_8_mmi
2. ff_put_pixels8_8_mmi
3. ff_put_pixels16_8_mmi
4. ff_avg_pixels16_8_mmi.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-04 21:47:56 +02:00