- 15 May, 2018 3 commits
-
-
Mark Thompson authored
-
Mark Thompson authored
The change in 309d6607 to call device_init when doing derivation missed this case - we should only call it if we actually made a new device.
-
Marton Balint authored
Regression since ece068a7. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 10 May, 2018 1 commit
-
-
Haihao Xiang authored
Every fourcc in vaapi_drm_format_map should be in vaapi_format_map, so add an assert to ensure we have the right maps. Signed-off-by:
Haihao Xiang <haihao.xiang@intel.com>
-
- 09 May, 2018 4 commits
-
-
Timo Rothenpieler authored
-
Timo Rothenpieler authored
-
Timo Rothenpieler authored
-
Timo Rothenpieler authored
-
- 05 May, 2018 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 03 May, 2018 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 30 Apr, 2018 2 commits
-
-
Marton Balint authored
Temporarily keep the old method for ffmpeg_filters.c choose_pix_fmt and avfiltergraph.c pick_format() until a paletted pixel format without alpha is introduced. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 27 Apr, 2018 1 commit
-
-
Mark Thompson authored
The BufferHandle API was added in libva 1.4.0 / VAAPI 0.36.0.
-
- 26 Apr, 2018 2 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 19 Apr, 2018 1 commit
-
-
Jacob Trimble authored
- Parse schm atom to get different encryption schemes. - Allow senc atom to appear in track fragments. - Allow 16-byte IVs. - Allow constant IVs (specified in tenc). - Allow only tenc to specify encryption (i.e. no senc/saiz/saio). - Use sample descriptor to detect clear fragments. This doesn't support: - Different sample descriptor holding different encryption info. - Only first sample descriptor can be encrypted. - Encrypted sample groups (i.e. seig). - Non-'cenc' encryption scheme when using -decryption_key. Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 16 Apr, 2018 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Apr, 2018 1 commit
-
-
Steve Lhomme authored
Remove the wincrypt API calls since we don't support XP anymore and bcrypt is available since Vista, even on Windows Store builds. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 09 Apr, 2018 1 commit
-
-
Diego Biurrun authored
-
- 08 Apr, 2018 1 commit
-
-
Maxym Dmytrychenko authored
Starting from API 1.25 helps to improve performance of the simultaneous encode, 1:N scenario, like: ./avconv -y -hwaccel qsv -c:v h264_qsv -r 30000/1001 -i ~/bbb_sunflower_1080p_60fps_normal.mp4 -vframes 600 -an \ -filter_complex "split=2[s1][s2]; [s1]scale_qsv=1280:720[o1]; [s2]scale_qsv=960:540[o2]" \ -map [o1] -c:v h264_qsv -b:v 3200k -minrate 3200k -maxrate 3200k -f rawvideo /tmp/3200a.264 \ -map [o2] -c:v h264_qsv -b:v 1750k -minrate 1750k -maxrate 1750k -f rawvideo /tmp/1750a.264 Signed-off-by:
Maxym Dmytrychenko <maxim.d33@gmail.com>
-
- 03 Apr, 2018 1 commit
-
-
wm4 authored
PSEUDOPAL pixel formats are not paletted, but carried a palette with the intention of allowing code to treat unpaletted formats as paletted. The palette simply mapped the byte values to the resulting RGB values, making it some sort of LUT for RGB conversion. It was used for 1 byte formats only: RGB4_BYTE, BGR4_BYTE, RGB8, BGR8, GRAY8. The first 4 are awfully obscure, used only by some ancient bitmap formats. The last one, GRAY8, is more common, but its treatment is grossly incorrect. It considers full range GRAY8 only, so GRAY8 coming from typical Y video planes was not mapped to the correct RGB values. This cannot be fixed, because AVFrame.color_range can be freely changed at runtime, and there is nothing to ensure the pseudo palette is updated. Also, nothing actually used the PSEUDOPAL palette data, except xwdenc (trivially changed in the previous commit). All other code had to treat it as a special case, just to ignore or to propagate palette data. In conclusion, this was just a very strange old mechnaism that has no real justification to exist anymore (although it may have been nice and useful in the past). Now it's an artifact that makes the API harder to use: API users who allocate their own pixel data have to be aware that they need to allocate the palette, or FFmpeg will crash on them in _some_ situations. On top of this, there was no API to allocate the pseuo palette outside of av_frame_get_buffer(). This patch not only deprecates AV_PIX_FMT_FLAG_PSEUDOPAL, but also makes the pseudo palette optional. Nothing accesses it anymore, though if it's set, it's propagated. It's still allocated and initialized for compatibility with API users that rely on this feature. But new API users do not need to allocate it. This was an explicit goal of this patch. Most changes replace AV_PIX_FMT_FLAG_PSEUDOPAL with FF_PSEUDOPAL. I first tried #ifdefing all code, but it was a mess. The FF_PSEUDOPAL macro reduces the mess, and still allows defining FF_API_PSEUDOPAL to 0. Passes FATE with FF_API_PSEUDOPAL enabled and disabled. In addition, FATE passes with FF_API_PSEUDOPAL set to 1, but with allocation functions manually changed to not allocating a palette.
-
- 30 Mar, 2018 1 commit
-
-
Martin Storsjö authored
This is the same combination of .section directives as used in aarch64/asm.S. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 27 Mar, 2018 1 commit
-
-
Mark Thompson authored
This crash was introduced by 8bbf2dac, which could incorrectly overwrite the failure result from creating the device. Fixes ticket #7108. Reviewed-by:
wm4 <nfxjfg@googlemail.com>
-
- 24 Mar, 2018 1 commit
-
-
Jacob Trimble authored
This new side-data will contain info on how a packet is encrypted. This allows the app to handle packet decryption. Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 22 Mar, 2018 5 commits
-
-
Mark Thompson authored
Also use that to support mapping VAAPI to Beignet.
-
Mark Thompson authored
-
Mark Thompson authored
The old vaAcquireBufferHandle() API works in fewer cases and provides less information than the current vaExportSurfaceHandle(), but it exists on older versions and is already used by the OpenCL code.
-
Mark Thompson authored
-
Mark Thompson authored
Matching the previous commit. This is not applied to the installed header because it could incorrectly suppress the warning inside user programs.
-
- 21 Mar, 2018 2 commits
-
-
Ruiling Song authored
Per MediaSDK documentation, it requires width/height to 16 alignment. Without this patch, hwupload pipeline may fail if 16 alignment is not met. Although this patch also apply 16 alignment to qsv encoder/decoder, it will not bring any side-effect to them as they are already aligned. Signed-off-by:
Ruiling Song <ruiling.song@intel.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
James Almer authored
And actually enable it. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 18 Mar, 2018 4 commits
-
-
Mark Thompson authored
Fixes building with VAAPI but not libdrm, which was broken by 389f4c3e. Just unconditionally include the header, since it doesn't depend on libdrm being present.
-
Mark Thompson authored
vaGetDisplayDRM() is required for this code to work, libdrm is not.
-
wm4 authored
This adds a way for an API user to transfer QP data and metadata without having to keep the reference to AVFrame, and without having to explicitly care about QP APIs. It might also provide a way to finally remove the deprecated QP related fields. In the end, the QP table should be handled in a very similar way to e.g. AV_FRAME_DATA_MOTION_VECTORS. There are two side data types, because I didn't care about having to repack the QP data so the table and the metadata are in a single AVBufferRef. Otherwise it would have either required a copy on decoding (extra slowdown for something as obscure as the QP data), or would have required making intrusive changes to the codecs which support export of this data. The new side data types are added under deprecation guards, because I don't intend to change the status of the QP export as being deprecated (as it was before this patch too).
-
wm4 authored
Everything related to the QP data is deprecated, with qp_table_buf being an inconsistent exception. Some parts were under the deprecation guards, some not. It probably didn't even compile.
-
- 16 Mar, 2018 4 commits
-
-
Tobias Rapp authored
Adds the level prefix to all log messages, except those with level <= AV_LOG_QUIET as they seem to be used for flushing the log buffer. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Tobias Rapp <t.rapp@noa-archive.com>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
Jun Zhao authored
enable dump bit stream filter and update opt fate test ref. Signed-off-by:
Jun Zhao <mypopydev@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Jun Zhao authored
add AV_OPT_FLAG_BSF_PARAM for bit stream filter options. Signed-off-by:
Jun Zhao <mypopydev@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-