[libav-commits] lavc: Delete all fake hwaccels

2017-12-19 Thread Mark Thompson
Module: libav Branch: master Commit: 2a4d34d462d60799e045c370dc9b2505f18365e7 Author:Mark Thompson Committer: Mark Thompson Date: Thu Oct 26 00:18:46 2017 +0100 lavc: Delete all fake hwaccels They are now unused. --- configure | 18 +- libavcodec

[libav-commits] lavc: Deprecate av_hwaccel_next() and av_register_hwaccel()

2017-12-19 Thread Mark Thompson
Module: libav Branch: master Commit: e2d575543c72f12ac911e72f802bc6cba32e Author:Mark Thompson Committer: Mark Thompson Date: Thu Oct 26 00:18:44 2017 +0100 lavc: Deprecate av_hwaccel_next() and av_register_hwaccel() --- doc/APIchanges | 4 libavcodec/avcodec.h | 13

[libav-commits] hwcontext: Fix memory leak on derived frame allocation failure

2018-02-04 Thread Mark Thompson
Module: libav Branch: master Commit: 2eb396b175e55e515aa6a13c5b1789a2a18d3935 Author:Mark Thompson Committer: Mark Thompson Date: Fri Jan 26 23:12:18 2018 + hwcontext: Fix memory leak on derived frame allocation failure --- libavutil/hwcontext.c | 4 +++- 1 file changed, 3

[libav-commits] lavc: Add support for increasing hardware frame pool sizes

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: 5b145290df2998a9836a93eb925289c6c8b63af0 Author:Mark Thompson Committer: Mark Thompson Date: Mon Jan 29 22:18:00 2018 + lavc: Add support for increasing hardware frame pool sizes AVCodecContext.extra_hw_frames is added to the size of hardware

[libav-commits] lavfi: Add support for increasing hardware frame pool sizes

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: 6d86cef06ba36c0ed591e14a2382e9630059fc5d Author:Mark Thompson Committer: Mark Thompson Date: Mon Mar 27 21:10:53 2017 +0100 lavfi: Add support for increasing hardware frame pool sizes AVFilterContext.extra_hw_frames functions identically to the

[libav-commits] hwcontext: Perform usual uninitialisation on derived frames contexts

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: e412d683fe0349bb8450645813a23158bb4ebd66 Author:Mark Thompson Committer: Mark Thompson Date: Mon Jun 26 20:28:07 2017 +0100 hwcontext: Perform usual uninitialisation on derived frames contexts --- libavutil/hwcontext.c | 17 +++-- 1

[libav-commits] vf_*_vaapi: Support increasing hardware frame pool size

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: b128be1748f3920a14a98307265df5f2d3433e1d Author:Mark Thompson Committer: Mark Thompson Date: Mon Mar 27 21:10:10 2017 +0100 vf_*_vaapi: Support increasing hardware frame pool size Defaults to 10 frames to preserve compatibility, but can allocate

[libav-commits] vf_hwupload/hwmap: Support setting a fixed pool size

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: c6bc18bc121ea66df715123c59f7ef9542c0914a Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 5 22:10:46 2017 +0100 vf_hwupload/hwmap: Support setting a fixed pool size These filters do not directly know whether the API they are using will

[libav-commits] vf_scale_qsv: Support increasing hardware frame pool size

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: e4cdef00263dc8b3c8de9d34ceacd00dc68979c0 Author:Mark Thompson Committer: Mark Thompson Date: Mon Mar 27 21:10:23 2017 +0100 vf_scale_qsv: Support increasing hardware frame pool size The deinterlacer does not change, because it does not allocate

[libav-commits] hwcontext: Perform usual initialisation on derived device contexts

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: caecb85014fc81f8734560a150073627eedab78c Author:Mark Thompson Committer: Mark Thompson Date: Sun Oct 8 15:19:17 2017 +0100 hwcontext: Perform usual initialisation on derived device contexts The initialisation should be common. For libmfx, it was

[libav-commits] lavc: Add per-thread surfaces in get_hw_frame_parameters()

2018-02-11 Thread Mark Thompson
Module: libav Branch: master Commit: cad739dace55e3446ef7180de688173cd19fb000 Author:Mark Thompson Committer: Mark Thompson Date: Mon Jan 29 22:55:11 2018 + lavc: Add per-thread surfaces in get_hw_frame_parameters() This number is definitely required when frame threading is

[libav-commits] vaapi_h265: Mark unused entries in RefPicList[01] as explicitly invalid

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 67eb2b16daa77f6ba3e04a28ca18e53193723b7f Author:Mark Thompson Committer: Mark Thompson Date: Sun Dec 17 19:50:29 2017 + vaapi_h265: Mark unused entries in RefPicList[01] as explicitly invalid The iHD driver looks at entries beyond

[libav-commits] cbs: Demote the "decomposition unimplemented" warning

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: a3daecd6375279d9fdb863ac9db3545a33e97651 Author:Mark Thompson Committer: Mark Thompson Date: Mon Dec 11 00:28:40 2017 + cbs: Demote the "decomposition unimplemented" warning This is harmless and should not be a warning - unknown

[libav-commits] h264_metadata: Use common SEI addition function

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 69062d0f9b6aef5d9d9b8c9c9b5cfb23037caddb Author:Mark Thompson Committer: Mark Thompson Date: Sun Feb 11 15:38:02 2018 + h264_metadata: Use common SEI addition function --- libavcodec/h264_metadata_bsf.c | 72

[libav-commits] cbs: Refcount all the things!

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: ce5870a3a8f2b10668ee4f04c2ae0287f66f31b2 Author:Mark Thompson Committer: Mark Thompson Date: Sun Feb 11 00:51:33 2018 + cbs: Refcount all the things! This makes it easier for users of the CBS API to get alloc/free right - all subelements use

[libav-commits] vaapi_encode: Destroy output buffer pool before VA context

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 216c44dfc17252ec0681dcb0bbeeb45a9d14eca7 Author:Mark Thompson Committer: Mark Thompson Date: Sun Dec 17 19:48:35 2017 + vaapi_encode: Destroy output buffer pool before VA context The buffers are created associated with the context, so they

[libav-commits] h264_metadata: Add option to delete filler data

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 6d5a6dde5301c81e221a37b3f39bb03149492b98 Author:Mark Thompson Committer: Mark Thompson Date: Mon Dec 11 00:30:54 2017 + h264_metadata: Add option to delete filler data Deletes both filler NAL units and filler SEI messages. (Annex B zero_bytes

[libav-commits] cbs_h264: Add support for filler NAL units

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: eccc03c8fbc603a0a3257df66f0705f74fe2581a Author:Mark Thompson Committer: Mark Thompson Date: Sun Feb 11 17:33:15 2018 + cbs_h264: Add support for filler NAL units --- libavcodec/cbs_h264.h | 6 ++ libavcodec/cbs_h2645.c

[libav-commits] cbs_h2645: Remove active ps references when it is replaced

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 0e4c166cdd6446522a085dd9731967d09ac71f72 Author:Mark Thompson Committer: Mark Thompson Date: Mon Dec 11 00:38:57 2017 + cbs_h2645: Remove active ps references when it is replaced --- libavcodec/cbs_h2645.c | 2 ++ 1 file changed, 2

[libav-commits] cbs: Add an explicit type for coded bitstream unit types

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 1d12a545ce828eaf4fb3729548ea37635ab8 Author:Mark Thompson Committer: Mark Thompson Date: Thu Nov 9 01:04:02 2017 + cbs: Add an explicit type for coded bitstream unit types Also fix conversion specifiers used for the unit type

[libav-commits] cbs: Allocate the context inside the init function

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 2651352988212531038326c44754ece1728c4a3b Author:Mark Thompson Committer: Mark Thompson Date: Thu Nov 9 01:03:57 2017 + cbs: Allocate the context inside the init function ... instead of making callers allocate it themselves. This is more

[libav-commits] cbs_h264: Add utility functions to insert/delete SEI messages

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: a2ca8ed903b435446031a8a0792ca535e6ee2913 Author:Mark Thompson Committer: Mark Thompson Date: Sun Feb 11 15:37:34 2018 + cbs_h264: Add utility functions to insert/delete SEI messages --- libavcodec/cbs_h264.h | 19 ++ libavcodec

[libav-commits] h264_metadata: Always add the SEI user data to the first access unit

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 78fa0b9033c0834c049e2aedf71a8c613fed87ab Author:Mark Thompson Committer: Mark Thompson Date: Sun Feb 11 15:41:07 2018 + h264_metadata: Always add the SEI user data to the first access unit This should be added even if the first access unit

[libav-commits] cbs_h264: Add hack for pic_timing with no active SPS

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 13ca5d34ba5c473211daaae0a101123bcaada3e6 Author:Mark Thompson Committer: Mark Thompson Date: Mon Dec 11 00:22:42 2017 + cbs_h264: Add hack for pic_timing with no active SPS If there is exactly one possible SPS but it is not yet active then

[libav-commits] cbs_h264: Move slice_group_id array out of PPS structure

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 7157d959264f3729da463725c6faa580d9394d19 Author:Mark Thompson Committer: Mark Thompson Date: Sun Feb 11 00:57:46 2018 + cbs_h264: Move slice_group_id array out of PPS structure It's very large, and is only used in some FMO st

[libav-commits] cbs: Minor comment fixes / cosmetics

2018-02-20 Thread Mark Thompson
Module: libav Branch: master Commit: 254e728d207c173a3714e6a01c9d68fcb3af8b73 Author:Mark Thompson Committer: Mark Thompson Date: Thu Nov 9 01:04:15 2017 + cbs: Minor comment fixes / cosmetics --- libavcodec/cbs.h | 35 +++ libavcodec

[libav-commits] lavfi: generic hardware surface upload and download filters

2016-03-19 Thread Mark Thompson
Module: libav Branch: master Commit: 07a844f32ebb78503981df017fa3ebfedb75fe1c Author:Mark Thompson Committer: Anton Khirnov Date: Thu Feb 25 00:21:40 2016 + lavfi: generic hardware surface upload and download filters Signed-off-by: Anton Khirnov --- doc/APIchanges

[libav-commits] lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPI

2016-03-19 Thread Mark Thompson
Module: libav Branch: master Commit: d264c720f7b74286840719e506daba39f83b438b Author:Mark Thompson Committer: Anton Khirnov Date: Mon Mar 7 22:34:59 2016 + lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPI Signed-off-by: Anton Khirnov --- doc/APIchanges

[libav-commits] lavu: add a way to query hwcontext frame constraints

2016-03-19 Thread Mark Thompson
Module: libav Branch: master Commit: b1f01e85a92d401a9b29c79f23db36b7685e8c09 Author:Mark Thompson Committer: Anton Khirnov Date: Thu Feb 18 23:25:52 2016 + lavu: add a way to query hwcontext frame constraints Signed-off-by: Anton Khirnov --- doc/APIchanges

[libav-commits] lavu: VAAPI hwcontext implementation

2016-03-19 Thread Mark Thompson
Module: libav Branch: master Commit: 551c6775abb5e0ad34c26d7e23bc6fbbe8ccc9d4 Author:Mark Thompson Committer: Anton Khirnov Date: Mon Feb 15 19:32:45 2016 + lavu: VAAPI hwcontext implementation Signed-off-by: Anton Khirnov --- configure |4 + doc

[libav-commits] lavf: VAAPI scale filter

2016-03-23 Thread Mark Thompson
Module: libav Branch: master Commit: 98114d70e48caf871b0fe9b8e5bf8ebd989b845d Author:Mark Thompson Committer: Anton Khirnov Date: Mon Mar 21 00:03:16 2016 + lavf: VAAPI scale filter Signed-off-by: Anton Khirnov --- Changelog|1 + configure

[libav-commits] avconv: VAAPI hwcontext initialisation and hwaccel helper

2016-03-30 Thread Mark Thompson
Module: libav Branch: master Commit: 5d273d3efac340ef8de445c955ff44c7abed4e8f Author:Mark Thompson Committer: Anton Khirnov Date: Wed Mar 23 23:48:13 2016 + avconv: VAAPI hwcontext initialisation and hwaccel helper Signed-off-by: Anton Khirnov --- Makefile|1

[libav-commits] lavc: VAAPI H.265 encoder

2016-03-30 Thread Mark Thompson
Module: libav Branch: master Commit: 31fe1f2577f8208f79a4b3ab59465e78dd497555 Author:Mark Thompson Committer: Anton Khirnov Date: Wed Mar 23 23:50:04 2016 + lavc: VAAPI H.265 encoder Signed-off-by: Anton Khirnov --- Changelog |2 +- configure

[libav-commits] lavc: VAAPI encode common infrastructure

2016-03-30 Thread Mark Thompson
Module: libav Branch: master Commit: 104c804bcaac24b52eb51ed17df2fb311e6ae73e Author:Mark Thompson Committer: Anton Khirnov Date: Wed Mar 23 23:49:02 2016 + lavc: VAAPI encode common infrastructure Signed-off-by: Anton Khirnov --- configure |2

[libav-commits] lavc: VAAPI H.264 encoder

2016-03-30 Thread Mark Thompson
Module: libav Branch: master Commit: 2c62fcdf5d617791a653d7957d449f75569eede0 Author:Mark Thompson Committer: Anton Khirnov Date: Wed Mar 23 23:49:35 2016 + lavc: VAAPI H.264 encoder Signed-off-by: Anton Khirnov --- Changelog |1 + configure

[libav-commits] lavc: VAAPI MJPEG encoder

2016-03-30 Thread Mark Thompson
Module: libav Branch: master Commit: 83f230c2445a94fdd94c66504482217fcece5909 Author:Mark Thompson Committer: Anton Khirnov Date: Wed Mar 23 23:50:47 2016 + lavc: VAAPI MJPEG encoder Signed-off-by: Anton Khirnov --- Changelog |2 +- configure

[libav-commits] vaapi_h264: Fix bit offset of slice data.

2016-04-02 Thread Mark Thompson
Module: libav Branch: master Commit: b3051a460cf02a5b86ff0d1e14abba23ea55ff6d Author:Mark Thompson Committer: Luca Barbato Date: Sat Apr 2 16:48:53 2016 +0100 vaapi_h264: Fix bit offset of slice data. Commit ca2f19b9cc37be509d85f05c8f902860475905f8 modified the meaning of

[libav-commits] vaapi_h264: Add encode quality option (for quality-speed tradeoff)

2016-04-15 Thread Mark Thompson
Module: libav Branch: master Commit: fcf536b1301475c57a7f94d00b1aebf5d20fe9d3 Author:Mark Thompson Committer: Anton Khirnov Date: Tue Apr 12 23:16:30 2016 +0100 vaapi_h264: Add encode quality option (for quality-speed tradeoff) Only supported on VAAPI 0.36 and higher. Signed-off-by

[libav-commits] vaapi_encode: Add support for codec-local options

2016-04-15 Thread Mark Thompson
Module: libav Branch: master Commit: 69b06ed42809432b5892e29cfc496a77e60b7765 Author:Mark Thompson Committer: Anton Khirnov Date: Tue Apr 12 23:15:03 2016 +0100 vaapi_encode: Add support for codec-local options Signed-off-by: Anton Khirnov --- libavcodec/vaapi_encode.c |1

[libav-commits] vaapi_h265: Add constant-bitrate encode support

2016-04-15 Thread Mark Thompson
Module: libav Branch: master Commit: f70e4627933b8f38a964657aff26ef2d590877b4 Author:Mark Thompson Committer: Anton Khirnov Date: Tue Apr 12 23:18:13 2016 +0100 vaapi_h265: Add constant-bitrate encode support Signed-off-by: Anton Khirnov --- libavcodec/vaapi_encode_h265.c | 132

[libav-commits] vaapi_h264: Add constant-bitrate encode support

2016-04-15 Thread Mark Thompson
Module: libav Branch: master Commit: 6e8f66fc932b9351055ff44ecb2bb328197099c1 Author:Mark Thompson Committer: Anton Khirnov Date: Tue Apr 12 23:14:23 2016 +0100 vaapi_h264: Add constant-bitrate encode support Signed-off-by: Anton Khirnov --- libavcodec/vaapi_encode_h264.c | 135

[libav-commits] vaapi_h264: Add -qp option, use it to replace use of -global_quality

2016-04-15 Thread Mark Thompson
Module: libav Branch: master Commit: 9629701ce9debe295da09bb0e117ee9392ef1fe3 Author:Mark Thompson Committer: Anton Khirnov Date: Tue Apr 12 23:15:40 2016 +0100 vaapi_h264: Add -qp option, use it to replace use of -global_quality Signed-off-by: Anton Khirnov --- libavcodec

[libav-commits] vaapi_encode: Refactor slightly to allow easier setting of global options

2016-04-15 Thread Mark Thompson
Module: libav Branch: master Commit: f6b85523692b0e7d4c4efb8449fa201d313424fe Author:Mark Thompson Committer: Anton Khirnov Date: Tue Apr 12 23:13:31 2016 +0100 vaapi_encode: Refactor slightly to allow easier setting of global options Signed-off-by: Anton Khirnov --- libavcodec

[libav-commits] vaapi_h265: Add -qp option, use it to replace use of -global_quality

2016-04-15 Thread Mark Thompson
Module: libav Branch: master Commit: 92fdea37477b5a2d1329e5ef0773e24473fa8f12 Author:Mark Thompson Committer: Anton Khirnov Date: Tue Apr 12 23:18:53 2016 +0100 vaapi_h265: Add -qp option, use it to replace use of -global_quality Signed-off-by: Anton Khirnov --- libavcodec

[libav-commits] avconv_vaapi: fix double-free with some unsupported streams

2016-05-10 Thread Mark Thompson
Module: libav Branch: master Commit: 0c1d66a07917602303f129f5a5651faeec2415d5 Author:Mark Thompson Committer: Luca Barbato Date: Mon May 9 18:53:48 2016 +0100 avconv_vaapi: fix double-free with some unsupported streams Signed-off-by: Luca Barbato --- avconv_vaapi.c |4

[libav-commits] vaapi_encode: Check config attributes before creating config

2016-05-27 Thread Mark Thompson
Module: libav Branch: master Commit: 2bfa067d0b636e7b2004fb0ad5a53d0d48c6de32 Author:Mark Thompson Committer: Mark Thompson Date: Wed May 18 10:58:56 2016 +0100 vaapi_encode: Check config attributes before creating config This prevents attempts to use unsupported modes, such as low

[libav-commits] vaapi_h264: Fix frame_num after non-reference frames

2016-05-27 Thread Mark Thompson
Module: libav Branch: master Commit: b51c7c6b8a5b35cfd06cb9655f9ec4c9f0ddd81b Author:Mark Thompson Committer: Mark Thompson Date: Mon May 16 14:01:31 2016 +0100 vaapi_h264: Fix frame_num after non-reference frames Non-reference frames (nal_ref_idc == 0) should be discardable, so

[libav-commits] vaapi_h264: Add trivial support for low-power encoding

2016-05-27 Thread Mark Thompson
Module: libav Branch: master Commit: a86aa16088ad7f22a8918d71adb8c040d6033d84 Author:Mark Thompson Committer: Mark Thompson Date: Tue May 17 23:08:57 2016 +0100 vaapi_h264: Add trivial support for low-power encoding Experimental; requires Skylake and VAAPI 0.39.1 (not yet released

[libav-commits] vaapi_h264: Add support for VUI parameters

2016-06-09 Thread Mark Thompson
Module: libav Branch: master Commit: 081961f819c0b16c7a860d7da7d39f1fd91bd2f0 Author:Mark Thompson Committer: Mark Thompson Date: Tue May 17 15:14:57 2016 +0100 vaapi_h264: Add support for VUI parameters Supports aspect ratio, colour format and timing information. --- libavcodec

[libav-commits] vaapi_encode: Add support for writing arbitrary additional packed headers

2016-06-09 Thread Mark Thompson
Module: libav Branch: master Commit: 19d7667a81499d4357ec8e0851701e17c238e584 Author:Mark Thompson Committer: Mark Thompson Date: Sat Apr 9 16:48:27 2016 +0100 vaapi_encode: Add support for writing arbitrary additional packed headers --- libavcodec/vaapi_encode.c | 21

[libav-commits] vaapi_h265: cu_qp_delta should not be used in constant-QP mode

2016-06-09 Thread Mark Thompson
Module: libav Branch: master Commit: 2940e196c5e439d9869f8c02a49a318d0847453c Author:Mark Thompson Committer: Mark Thompson Date: Tue May 31 10:21:19 2016 +0100 vaapi_h265: cu_qp_delta should not be used in constant-QP mode --- libavcodec/vaapi_encode_h265.c |5 - 1 file

[libav-commits] vaapi_h264: Add support for SEI messages

2016-06-09 Thread Mark Thompson
Module: libav Branch: master Commit: 48e2967cd50c2e1a2a539fd697d20ead2c5c4cc8 Author:Mark Thompson Committer: Mark Thompson Date: Tue May 17 15:52:58 2016 +0100 vaapi_h264: Add support for SEI messages Send buffering_period and pic_timing messages when in modes targetting bitrate

[libav-commits] vaapi_h264: Add source version identifier as unregistered SEI

2016-06-09 Thread Mark Thompson
Module: libav Branch: master Commit: 02fa1ad9266f9b1ea11565ac2f93f45853e351e8 Author:Mark Thompson Committer: Mark Thompson Date: Wed May 18 10:19:07 2016 +0100 vaapi_h264: Add source version identifier as unregistered SEI Contains the libavcodec version, the VAAPI version and the

[libav-commits] hwcontext_vaapi: Return all formats for constraints without config

2016-06-21 Thread Mark Thompson
Module: libav Branch: master Commit: fe498ef5144d3712b887f44a0c5e654add99ead7 Author:Mark Thompson Committer: Mark Thompson Date: Sat Jun 18 14:10:13 2016 +0100 hwcontext_vaapi: Return all formats for constraints without config No longer make a dummy device configuration to query

[libav-commits] vaapi_encode: Fix fallback when input does not match any format

2016-06-21 Thread Mark Thompson
Module: libav Branch: master Commit: 11b8030309ee93d79b3a6cd4b83bf00757db1598 Author:Mark Thompson Committer: Mark Thompson Date: Sat Jun 18 13:05:23 2016 +0100 vaapi_encode: Fix fallback when input does not match any format Just a typo. Add a comment to make it clearer what it&#

[libav-commits] vaapi_encode: Maintain a pool of bitstream output buffers

2016-06-26 Thread Mark Thompson
Module: libav Branch: master Commit: 8a62d2c28fbacd1ae20c35887a1eecba2be14371 Author:Mark Thompson Committer: Mark Thompson Date: Sun Jun 5 17:18:04 2016 +0100 vaapi_encode: Maintain a pool of bitstream output buffers Previously we would allocate a new one for every frame. This

[libav-commits] avconv: Remove hw_device_ctx output filter reinit hack

2016-06-26 Thread Mark Thompson
Module: libav Branch: master Commit: bd31c61cf94d01dbe1051cf65874e7b2c0ac5454 Author:Mark Thompson Committer: Mark Thompson Date: Thu Jun 23 01:40:04 2016 +0100 avconv: Remove hw_device_ctx output filter reinit hack Not needed any more because we no longer have any useful case which

[libav-commits] hwcontext_vaapi: allow transfers to/from any size of sw frame

2016-06-27 Thread Mark Thompson
Module: libav Branch: master Commit: f62bb216ac4cfbbff16108c6bac35a0282532972 Author:Mark Thompson Committer: Anton Khirnov Date: Fri Apr 15 10:58:51 2016 +0100 hwcontext_vaapi: allow transfers to/from any size of sw frame The hw frame used as reference has an attached size but it

[libav-commits] hwcontext_vaapi: Add driver quirks to the hwdevice

2016-07-02 Thread Mark Thompson
Module: libav Branch: master Commit: 4926fa9a4aa03f3b751f52e900b9efb87fea0591 Author:Mark Thompson Committer: Mark Thompson Date: Sun Jun 12 17:20:25 2016 +0100 hwcontext_vaapi: Add driver quirks to the hwdevice The driver being used is detected inside av_hwdevice_ctx_init() and the

[libav-commits] vaapi_encode: Respect driver quirks around buffer destruction

2016-07-02 Thread Mark Thompson
Module: libav Branch: master Commit: 221ffca6314ed3ba9d38464ea50cd85251c04e74 Author:Mark Thompson Committer: Mark Thompson Date: Sun Jun 12 17:28:28 2016 +0100 vaapi_encode: Respect driver quirks around buffer destruction No longer leaks memory when used with a driver with the

[libav-commits] vf_scale_vaapi: Respect driver quirks around buffer destruction

2016-07-02 Thread Mark Thompson
Module: libav Branch: master Commit: 582d4211e00015b68626f77ce4af53161e2b1713 Author:Mark Thompson Committer: Mark Thompson Date: Sun Jun 26 22:35:49 2016 +0100 vf_scale_vaapi: Respect driver quirks around buffer destruction --- libavfilter/vf_scale_vaapi.c | 15

[libav-commits] vaapi_mpeg2: Constify pointers

2016-08-14 Thread Mark Thompson
Module: libav Branch: master Commit: ee9061293e925916fe2e0b7c08fbbd1f981b1d29 Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 16:40:14 2016 +0100 vaapi_mpeg2: Constify pointers --- libavcodec/vaapi_mpeg2.c |8 1 file changed, 4 insertions(+), 4 deletions

[libav-commits] vaapi_h264: Constify pointers

2016-08-14 Thread Mark Thompson
Module: libav Branch: master Commit: 03adfe913062c6995136eb1ca51152b6d596c0f4 Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 16:39:57 2016 +0100 vaapi_h264: Constify pointers --- libavcodec/vaapi_h264.c | 24 1 file changed, 12 insertions

[libav-commits] vaapi_vc1: Remove redundant version check

2016-08-14 Thread Mark Thompson
Module: libav Branch: master Commit: 5a667322f5cb0e77c15891fc06725c19d8f3314f Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 21:35:13 2016 +0100 vaapi_vc1: Remove redundant version check The lowest supported VAAPI version is 0.34 (checked at configure time), so this

[libav-commits] hwcontext_vaapi: Try the first render node as the default DRM device

2016-08-14 Thread Mark Thompson
Module: libav Branch: master Commit: 121f34d5f0c8d7d376829a467590fbbe4c228f4f Author:Mark Thompson Committer: Mark Thompson Date: Thu Jul 28 23:28:30 2016 +0100 hwcontext_vaapi: Try the first render node as the default DRM device If no string argument is supplied when

[libav-commits] vaapi_vc1: Constify pointers

2016-08-14 Thread Mark Thompson
Module: libav Branch: master Commit: 01d6f84f49a55fd591aa120960fce2b9dba92d0d Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 21:34:04 2016 +0100 vaapi_vc1: Constify pointers --- libavcodec/vaapi_vc1.c | 28 ++-- 1 file changed, 14

[libav-commits] vaapi_mpeg2: Constify pointers

2016-08-29 Thread Mark Thompson
Module: libav Branch: release/12 Commit: 034b69f455dd15a9b233dd149a4edf52c444af60 Author:Mark Thompson Committer: Sean McGovern Date: Sat Aug 6 16:40:14 2016 +0100 vaapi_mpeg2: Constify pointers --- libavcodec/vaapi_mpeg2.c |8 1 file changed, 4 insertions(+), 4

[libav-commits] vaapi_h264: Constify pointers

2016-08-29 Thread Mark Thompson
Module: libav Branch: release/12 Commit: 13bdff607f9e45dd886017306eb6ad1836cf2cad Author:Mark Thompson Committer: Sean McGovern Date: Sat Aug 6 16:39:57 2016 +0100 vaapi_h264: Constify pointers --- libavcodec/vaapi_h264.c | 24 1 file changed, 12

[libav-commits] vaapi_vc1: Remove redundant version check

2016-08-29 Thread Mark Thompson
Module: libav Branch: release/12 Commit: 970ee29e3a8862c8c9cfedb8b0647ad4d185dc4f Author:Mark Thompson Committer: Sean McGovern Date: Sat Aug 6 21:35:13 2016 +0100 vaapi_vc1: Remove redundant version check The lowest supported VAAPI version is 0.34 (checked at configure time), so

[libav-commits] vaapi_vc1: Constify pointers

2016-08-29 Thread Mark Thompson
Module: libav Branch: release/12 Commit: e43bba607039bddeafe2358bb3719e837b307228 Author:Mark Thompson Committer: Sean McGovern Date: Sat Aug 6 21:34:04 2016 +0100 vaapi_vc1: Constify pointers --- libavcodec/vaapi_vc1.c | 28 ++-- 1 file changed, 14

[libav-commits] hwcontext_vaapi: Try the first render node as the default DRM device

2016-08-29 Thread Mark Thompson
Module: libav Branch: release/12 Commit: b64073864226346565cb11fd821ae7faa12992aa Author:Mark Thompson Committer: Sean McGovern Date: Thu Jul 28 23:28:30 2016 +0100 hwcontext_vaapi: Try the first render node as the default DRM device If no string argument is supplied when

[libav-commits] vaapi_mpeg2: Convert to use the new VAAPI hwaccel code

2016-08-30 Thread Mark Thompson
Module: libav Branch: master Commit: 102e13c353de43aa0cb1aa1843804d195c2a9164 Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 18:37:47 2016 +0100 vaapi_mpeg2: Convert to use the new VAAPI hwaccel code --- libavcodec/vaapi_mpeg2.c | 167

[libav-commits] vaapi_h264: Convert to use the new VAAPI hwaccel code

2016-08-30 Thread Mark Thompson
Module: libav Branch: master Commit: 2fe93244ab9465ef19c756a41524cbbf0580ee48 Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 18:19:32 2016 +0100 vaapi_h264: Convert to use the new VAAPI hwaccel code --- libavcodec/vaapi_h264.c | 235

[libav-commits] vaapi_mpeg4: Convert to use the new VAAPI hwaccel code

2016-08-30 Thread Mark Thompson
Module: libav Branch: master Commit: ccd0316f7cab760a93052206e8150f6b178c1e39 Author:Mark Thompson Committer: Mark Thompson Date: Sun Aug 7 13:45:41 2016 +0100 vaapi_mpeg4: Convert to use the new VAAPI hwaccel code --- libavcodec/vaapi_mpeg4.c | 215

[libav-commits] avconv_vaapi: Convert to use hw_frames_ctx only

2016-08-30 Thread Mark Thompson
Module: libav Branch: master Commit: 3e8651a7ccd8e89cc2f162cf614a3c9f7f4d9fcf Author:Mark Thompson Committer: Mark Thompson Date: Sun Jul 31 22:51:45 2016 +0100 avconv_vaapi: Convert to use hw_frames_ctx only Most of the functionality here has moved into lavc. --- avconv_vaapi.c

[libav-commits] vaapi_vc1: Convert to use the new VAAPI hwaccel code

2016-08-30 Thread Mark Thompson
Module: libav Branch: master Commit: 520fb77285ff0e7da1449d2b60742865b0b43ae8 Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 22:12:50 2016 +0100 vaapi_vc1: Convert to use the new VAAPI hwaccel code --- libavcodec/vaapi_vc1.c | 346

[libav-commits] lavc: Rewrite VAAPI decode infrastructure

2016-08-30 Thread Mark Thompson
Module: libav Branch: master Commit: 123ccd07c55ccf075cc5daf5581237fbccb86bdb Author:Mark Thompson Committer: Mark Thompson Date: Sat Aug 6 18:18:40 2016 +0100 lavc: Rewrite VAAPI decode infrastructure Moves much of the setup logic for VAAPI decoding into lavc; the user now need

[libav-commits] lavc: Remove old vaapi decode infrastructure

2016-08-30 Thread Mark Thompson
Module: libav Branch: master Commit: 851960f6f8cf1f946fe42fa36cf6598fac68072c Author:Mark Thompson Committer: Mark Thompson Date: Wed Aug 24 23:30:29 2016 +0100 lavc: Remove old vaapi decode infrastructure Deprecates struct vaapi_context and the installed header vaapi.h, to be

[libav-commits] lavc/vaapi: Add VP8 decode hwaccel

2016-09-08 Thread Mark Thompson
Module: libav Branch: master Commit: a9fb134730da1f9642eb5a2baa50943b8a4aa245 Author:Mark Thompson Committer: Mark Thompson Date: Sun Sep 4 13:28:10 2016 +0100 lavc/vaapi: Add VP8 decode hwaccel --- configure |3 + libavcodec/Makefile|1 + libavcodec

[libav-commits] vp8: Add hwaccel hooks

2016-09-08 Thread Mark Thompson
Module: libav Branch: master Commit: 4e528206bc4d968706401206cf54471739250ec7 Author:Mark Thompson Committer: Mark Thompson Date: Sun Sep 4 13:26:37 2016 +0100 vp8: Add hwaccel hooks Also adds some extra fields to the main context structure that may be needed by a hwaccel decoder

[libav-commits] vaapi_decode: Ignore the profile when not useful

2016-09-08 Thread Mark Thompson
Module: libav Branch: master Commit: 11c191b52ce0768370e38a2726132f9223e701f6 Author:Mark Thompson Committer: Mark Thompson Date: Sun Sep 4 13:33:15 2016 +0100 vaapi_decode: Ignore the profile when not useful Enables VP8 decoding - the decoder places the the bitstream version in the

[libav-commits] vaapi_vp8: Explicitly include libva vp8 decode header

2016-09-09 Thread Mark Thompson
Module: libav Branch: master Commit: 75d642a944d5579e4ef20ff3701422a64692afcf Author:Mark Thompson Committer: Mark Thompson Date: Fri Sep 9 15:59:13 2016 +0100 vaapi_vp8: Explicitly include libva vp8 decode header With some old libva versions does not automatically include the per

[libav-commits] hwcontext_vdpau: Remove duplicate definition of GET_CALLBACK

2016-09-14 Thread Mark Thompson
Module: libav Branch: master Commit: 09a145b3c837273b1379321e44386a3233156e75 Author:Mark Thompson Committer: Mark Thompson Date: Mon Sep 12 22:37:20 2016 +0100 hwcontext_vdpau: Remove duplicate definition of GET_CALLBACK --- libavutil/hwcontext_vdpau.c | 37

[libav-commits] vaapi_h264: Fix HRD bit_rate/cpb_size scaling

2016-09-14 Thread Mark Thompson
Module: libav Branch: master Commit: 3a9662af6c741f8354b1ca97642f78f5c02e2e8f Author:Mark Thompson Committer: Mark Thompson Date: Tue Sep 13 00:25:07 2016 +0100 vaapi_h264: Fix HRD bit_rate/cpb_size scaling There should be an extra offset of 6 on bit_rate_scale and of 4 on

[libav-commits] hwcontext_vdpau: Fix missing subscripts

2016-09-14 Thread Mark Thompson
Module: libav Branch: master Commit: 7081620aca36e616ea96f71fd71d2703e3abae09 Author:Mark Thompson Committer: Mark Thompson Date: Tue Sep 13 20:45:55 2016 +0100 hwcontext_vdpau: Fix missing subscripts Also remove the redundant casts which were hiding the error here. --- libavutil

[libav-commits] vf_scale_vaapi: Crop input surface to active region

2016-09-14 Thread Mark Thompson
Module: libav Branch: master Commit: bdf7610eb266fd3de650040c97328791868abd82 Author:Mark Thompson Committer: Mark Thompson Date: Tue Sep 13 20:50:57 2016 +0100 vf_scale_vaapi: Crop input surface to active region If the input has been decoded from a stream which uses edge cropping

[libav-commits] vaapi_h264: Set max_num_ref_frames to 1 when not using B frames

2016-09-28 Thread Mark Thompson
Module: libav Branch: master Commit: 956a54129db522998a5abae869568dae2c9774cb Author:Mark Thompson Committer: Mark Thompson Date: Tue Sep 27 19:08:42 2016 +0100 vaapi_h264: Set max_num_ref_frames to 1 when not using B frames --- libavcodec/vaapi_encode_h264.c |2 +- 1 file

[libav-commits] vaapi_encode: Refactor initialisation

2016-09-28 Thread Mark Thompson
Module: libav Branch: master Commit: 80a5d05108cb218e8cd2e25c6621a3bfef0a832e Author:Mark Thompson Committer: Mark Thompson Date: Sun Sep 18 14:55:26 2016 +0100 vaapi_encode: Refactor initialisation This allows better checking of capabilities and will make it easier to add more

[libav-commits] vaapi_encode: Sync to input surface rather than output

2016-09-28 Thread Mark Thompson
Module: libav Branch: master Commit: 086e4b58b59ea3993107aa24d92bb962ec69667c Author:Mark Thompson Committer: Mark Thompson Date: Sun Sep 18 16:06:55 2016 +0100 vaapi_encode: Sync to input surface rather than output While outwardly bizarre, this change makes the behaviour consistent

[libav-commits] vaapi_encode: Check packed header capabilities

2016-09-28 Thread Mark Thompson
Module: libav Branch: master Commit: 892bbbcdc171ff0d08d69636a240ffb95f54243c Author:Mark Thompson Committer: Mark Thompson Date: Sun Sep 18 14:59:59 2016 +0100 vaapi_encode: Check packed header capabilities This improves behaviour with drivers which do not support packed headers

[libav-commits] vaapi_h264: Fix CFR mode with frame_rate set in AVCodecContext

2016-10-02 Thread Mark Thompson
Module: libav Branch: master Commit: 17a0f9481cf07af0feb3838ca315b970117e8000 Author:Mark Thompson Committer: Mark Thompson Date: Sat Oct 1 10:48:44 2016 +0200 vaapi_h264: Fix CFR mode with frame_rate set in AVCodecContext --- libavcodec/vaapi_encode_h264.c |4 ++-- 1 file

[libav-commits] vaapi_encode: Decide on GOP setup before initialising sequence parameters

2016-10-02 Thread Mark Thompson
Module: libav Branch: master Commit: 314b421dd8910ebed7a8d419a0dbea239a00044e Author:Mark Thompson Committer: Mark Thompson Date: Fri Sep 30 17:27:58 2016 +0200 vaapi_encode: Decide on GOP setup before initialising sequence parameters This was always too late; several fields related

[libav-commits] vaapi_h265: Add main 10 encode support

2016-10-02 Thread Mark Thompson
Module: libav Branch: master Commit: 5a5df90d9c05d86d9b0564b8b40b6d64a324df5e Author:Mark Thompson Committer: Mark Thompson Date: Fri Sep 30 11:48:43 2016 +0100 vaapi_h265: Add main 10 encode support --- libavcodec/vaapi_encode_h265.c | 16 1 file changed, 8

[libav-commits] vaapi_h265: Fix slice header writing

2016-10-02 Thread Mark Thompson
Module: libav Branch: master Commit: fc30a90898e419cee7c7cb496976da6337d0bf3e Author:Mark Thompson Committer: Mark Thompson Date: Fri Sep 30 17:31:49 2016 +0200 vaapi_h265: Fix slice header writing This was not observed earlier because the only syntax element which it normally misses

[libav-commits] vaapi_h264: Write bitstream restriction fields

2016-10-02 Thread Mark Thompson
Module: libav Branch: master Commit: ec17ab381ede4f31c4bdd2767d8f62d24aaf430a Author:Mark Thompson Committer: Mark Thompson Date: Sat Oct 1 11:01:08 2016 +0100 vaapi_h264: Write bitstream restriction fields --- libavcodec/vaapi_encode_h264.c | 25 +++-- 1

[libav-commits] hwcontext_vaapi: Enable P010 support

2016-10-02 Thread Mark Thompson
Module: libav Branch: master Commit: ebf6c93321cdb78bf61dc383cf515ec12e07 Author:Mark Thompson Committer: Mark Thompson Date: Fri Sep 30 17:27:09 2016 +0200 hwcontext_vaapi: Enable P010 support This is required for 10-bit surfaces. --- libavutil/hwcontext_vaapi.c |2 +- 1

[libav-commits] vaapi_h265: Fix buffering parameters

2016-10-02 Thread Mark Thompson
Module: libav Branch: master Commit: b8cac1e83066aa87e8402c146c81b77a11b5eec3 Author:Mark Thompson Committer: Mark Thompson Date: Fri Sep 30 17:47:19 2016 +0200 vaapi_h265: Fix buffering parameters A decoder may need this to be set correctly to output frames in the right order

[libav-commits] vaapi_encode: Write sequence header as extradata

2016-10-17 Thread Mark Thompson
Module: libav Branch: master Commit: 0cf86fabfa5820596cca2cfead63c6f8df76c3f2 Author:Mark Thompson Committer: Mark Thompson Date: Sun Oct 2 08:48:34 2016 +0100 vaapi_encode: Write sequence header as extradata Only works if packed headers are supported, where we can know the output

[libav-commits] vaapi_h265: Include header for slice types

2016-10-17 Thread Mark Thompson
Module: libav Branch: master Commit: f9bb356e0eb38ab4df32df8276b71a0b2626538f Author:Mark Thompson Committer: Mark Thompson Date: Sun Oct 16 23:55:24 2016 +0100 vaapi_h265: Include header for slice types The include was changed correctly in 4abe3b049d987420eb891f74a35af2cebbf52144

[libav-commits] vaapi_decode: Clear parameter buffers to fix picture reuse

2016-10-24 Thread Mark Thompson
Module: libav Branch: master Commit: 5e879b54a3a46817ea6c8a95a9aecab1176418b9 Author:Mark Thompson Committer: Mark Thompson Date: Wed Oct 19 23:45:46 2016 +0100 vaapi_decode: Clear parameter buffers to fix picture reuse When decoding interlaced pictures, the structure is reused to

  1   2   3   >