summaryrefslogtreecommitdiffstats
path: root/libavcodec/qsv.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'ea25ccd1b2a980df8d43cc1f86a23e3c094090a6'James Almer2017-11-111-0/+5
|\ | | | | | | | | | | | | * commit 'ea25ccd1b2a980df8d43cc1f86a23e3c094090a6': qsv: Join the derived session to the parent Merged-by: James Almer <jamrial@gmail.com>
| * qsv: Join the derived session to the parentLuca Barbato2017-09-271-0/+5
| | | | | | | | | | Should improve the performance on multiple transcoding from a single source.
* | Merge commit '2fd6e7d077f590e4d7195356f9baeb271f8b9ae2'James Almer2017-11-081-0/+3
|\ \ | |/ | | | | | | | | | | * commit '2fd6e7d077f590e4d7195356f9baeb271f8b9ae2': libavcodec/mjpeg_qsv: Add QSV MJPEG encoder Merged-by: James Almer <jamrial@gmail.com>
| * libavcodec/mjpeg_qsv: Add QSV MJPEG encoderHuang, Zhengxu2017-07-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | usage: -hwaccel qsv -c:v h264_qsv -i in -c:v mjpeg_qsv -global_quality 80 -f mjpeg out Signed-off-by: ChaoX A Liu <chaox.a.liu@gmail.com> Signed-off-by: Zhengxu Huang <zhengxu.maxwell@gmail.com> Signed-off-by: Andrew Zhang <huazh407@gmail.com Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
| * qsv: Add ability to create a session from a deviceMark Thompson2017-04-021-15/+34
| |
* | Merge commit '984736dd9e5b50987a5910e22495304e4a6d975c'James Almer2017-10-031-3/+5
|\ \ | |/ | | | | | | | | | | * commit '984736dd9e5b50987a5910e22495304e4a6d975c': lavc: make sure not to return EAGAIN from codecs Merged-by: James Almer <jamrial@gmail.com>
| * lavc: make sure not to return EAGAIN from codecsAnton Khirnov2017-02-251-3/+5
| | | | | | | | | | | | This error is treated specially by the API. CC: libav-stable@libav.org
* | qsv: Add ability to create a session from a deviceMark Thompson2017-06-141-15/+34
| | | | | | | | (cherry picked from commit 4936a48b1e6fc2147599541f8b25f43a8a9d1f16)
* | Merge commit '715b8243460836fb7dd15bf7e41668e773beb276'Clément Bœsch2017-04-011-3/+0
|\ \ | |/ | | | | | | | | | | * commit '715b8243460836fb7dd15bf7e41668e773beb276': qsv: Drop some unused variables Merged-by: Clément Bœsch <u@pkh.me>
| * qsv: Drop some unused variablesDiego Biurrun2016-11-171-3/+0
| |
* | Merge commit 'e0b164576f7467b7b1127c18175e215dc1df011f'Clément Bœsch2017-04-011-0/+8
|\ \ | |/ | | | | | | | | | | * commit 'e0b164576f7467b7b1127c18175e215dc1df011f': qsv: Add VP8 decoder Merged-by: Clément Bœsch <u@pkh.me>
| * qsv: Add VP8 decoderMark Thompson2016-11-141-0/+8
| |
| * qsvdec: Pass the correct profile to libmfxMark Thompson2016-11-141-0/+16
| | | | | | | | | | | | | | | | | | This was correct for H.26[45], because libmfx uses the same values derived from profile_idc and the constraint_set flags, but it is wrong for other codecs. Also avoid passing FF_LEVEL_UNKNOWN (-99) as the level, as this is certainly invalid.
* | Merge commit '4ab61cd983b539749bd621ea271624ddb5196a8e'Mark Thompson2017-03-301-30/+238
|\ \ | |/ | | | | | | | | | | * commit '4ab61cd983b539749bd621ea271624ddb5196a8e': qsv{enc,dec}: extend the internal frame allocator Merged-by: Mark Thompson <sw@jkqxz.net>
| * qsv{enc,dec}: extend the internal frame allocatorAnton Khirnov2016-11-071-30/+238
| | | | | | | | | | | | | | Handle the internal frame requests, which is required by the HEVC encoding plugin. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* | Merge commit '00aeedd84105a17f414185bd33ecadebeddb3a27'Mark Thompson2017-03-301-3/+23
|\ \ | |/ | | | | | | | | | | * commit '00aeedd84105a17f414185bd33ecadebeddb3a27': qsv{dec,enc}: use a struct as a memory id with internal memory allocator Merged-by: Mark Thompson <sw@jkqxz.net>
| * qsv{dec,enc}: use a struct as a memory id with internal memory allocatorAnton Khirnov2016-11-071-3/+23
| | | | | | | | | | | | | | This will allow implementing the allocator more fully, which is needed by the HEVC encoder plugin with video memory input. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* | Merge commit '8e07c22e508b349d145b9f142aa3ee8b3ce1d3a4'Mark Thompson2017-03-121-0/+10
|\ \ | |/ | | | | | | | | | | * commit '8e07c22e508b349d145b9f142aa3ee8b3ce1d3a4': qsvenc: print warnings from encode/init Merged-by: Mark Thompson <sw@jkqxz.net>
| * qsvenc: print warnings from encode/initAnton Khirnov2016-07-221-0/+10
| |
* | Merge commit '95414eb2dc63a6f934275b4ed33dedd4369f2c49'Mark Thompson2017-03-121-55/+78
|\ \ | |/ | | | | | | | | | | * commit '95414eb2dc63a6f934275b4ed33dedd4369f2c49': qsv: print more complete error messages Merged-by: Mark Thompson <sw@jkqxz.net>
| * qsv: print more complete error messagesAnton Khirnov2016-07-221-55/+78
| | | | | | | | Include the libmfx error code and its description
* | Merge commit '21962261c74aed4df00ae8348a5e2d1ecb67c52d'Mark Thompson2017-03-121-0/+2
|\ \ | |/ | | | | | | | | | | * commit '21962261c74aed4df00ae8348a5e2d1ecb67c52d': qsv: handle the semi-packed formats in map_fourcc as well Merged-by: Mark Thompson <sw@jkqxz.net>
| * qsv: handle the semi-packed formats in map_fourcc as wellAnton Khirnov2016-07-221-0/+2
| | | | | | | | | | This will allow using this function for encoding as well, where the input format is already the semi-packed version.
* | Merge commit '92736c74fb1633e36f7134a880422a9b7db14d3f'Hendrik Leppkes2016-11-141-0/+3
|\ \ | |/ | | | | | | | | | | * commit '92736c74fb1633e36f7134a880422a9b7db14d3f': qsvdec: add support for P010 (10-bit 420) decoding Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * qsvdec: add support for P010 (10-bit 420) decodingAnton Khirnov2016-07-031-0/+3
| |
* | Merge commit '536bb17e9659c5ed7576a218d4085cdd6d5742fa'Hendrik Leppkes2016-11-141-0/+12
|\ \ | |/ | | | | | | | | | | * commit '536bb17e9659c5ed7576a218d4085cdd6d5742fa': qsvdec: make ff_qsv_map_pixfmt() return a MFX fourcc as well Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * qsvdec: make ff_qsv_map_pixfmt() return a MFX fourcc as wellAnton Khirnov2016-07-031-0/+12
| | | | | | | | | | | | | | Stop hardcoding NV12. Also, move this function to the shared code, it will be used by the encoder as well.
| * qsvenc: support getting the session from an AVHWFramesContextAnton Khirnov2016-06-211-1/+1
| |
| * qsvdec: support getting the session from an AVHWFramesContextAnton Khirnov2016-06-211-39/+201
| |
* | qsv: Merge libav implementationMark Thompson2016-10-311-130/+203
| | | | | | | | | | | | | | Merged as-at libav 398f015, and therefore includes outstanding skipped merges 04b17ff and 130e1f1. All features not in libav are preserved, and no options change.
* | Merge commit '92c1a83ee9394b39d68f6affd9104752a03714f8'Derek Buitenhuis2016-04-131-0/+2
|\ \ | |/ | | | | | | | | | | * commit '92c1a83ee9394b39d68f6affd9104752a03714f8': qsv: Fix loading multiple plugins Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * qsv: Fix loading multiple pluginsLuca Barbato2016-03-151-0/+2
| | | | | | | | av_get_token does not strip the trailing separator.
* | Merge commit 'ce9d7da7650473f580dcce8c9f8550ea532aa6bd'Derek Buitenhuis2016-04-121-16/+16
|\ \ | |/ | | | | | | | | | | * commit 'ce9d7da7650473f580dcce8c9f8550ea532aa6bd': qsv: Move down the implementation query Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * qsv: Move down the implementation queryLuca Barbato2016-02-261-16/+16
| | | | | | | | | | The plugin loaded may not match the general implementation capability wise.
* | libavcodec/qsv.c: Issue fixed: QSV engine does not release display handler ↵Ivan Uskov2015-07-141-7/+31
| | | | | | | | | | | | | | under linux platform. Reviewed-by: Gwenole Beauchesne <gb.devel@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '66acb76bb0492b263215ca9b4d927a7be39ace02'Michael Niedermayer2015-07-091-1/+50
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '66acb76bb0492b263215ca9b4d927a7be39ace02': lavc: add Intel libmfx-based HEVC encoder Conflicts: Changelog configure libavcodec/Makefile libavcodec/allcodecs.c libavcodec/qsv.c libavcodec/qsvenc.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: add Intel libmfx-based HEVC encoderAnton Khirnov2015-07-081-1/+50
| |
* | libavcodec/qsv.c: Linux-only code part has been moved to separate function ↵Ivan Uskov2015-07-071-32/+43
| | | | | | | | | | | | in order to avoid the "ISO C90 forbids mixed declarations and code" compiler warning. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/qsv: Extending QSV/MFX session initialization for the linux platform ↵Ivan Uskov2015-07-021-0/+70
| | | | | | | | | | | | | | | | | | where a display handle is required. Now ff_qsv_init_internal_session() is able to find appropriate display handle under linux using VAAPI. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd0a63d8b989647ffdb5f40da8e1feaffe1a8e791'Michael Niedermayer2015-03-281-0/+115
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'd0a63d8b989647ffdb5f40da8e1feaffe1a8e791': qsvdec: split off some code that will be shared with the encoder Conflicts: libavcodec/Makefile libavcodec/qsvdec.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * qsvdec: split off some code that will be shared with the encoderAnton Khirnov2015-03-271-0/+115
|/
* qsv: rename to qsvdecAnton Khirnov2015-03-271-369/+0
| | | | This is to avoid conflicts with the upcoming QSV encoding support.
* qsv: Improve the log message of when initializing MFX_IMPL_HARDWARE{2, 3, 4}Yukinori Yamazoe2015-03-111-3/+10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add an Intel libmfx-based H.264 decoderAnton Khirnov2015-02-191-0/+362
Based on the code by Luca Barbato <lu_zero@gentoo.org> and Yukinori Yamazoe <drocon11@gmail.com>.
OpenPOWER on IntegriCloud