summaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* msdk: fix the build error with libva 2.4.0Haihao Xiang2019-04-173-3/+18
| | | | This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/949
* msdkdec: fix error handling in case of unsupported hardwarePeter Seiderer2019-04-101-2/+3
| | | | | | | Check the return value of gst_msdk_context_ensure_context and abort in case of failure. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/945
* msdkenc: fix error handling in case of unsupported hardwarePeter Seiderer2019-04-101-3/+3
| | | | | | | Check the return value of gst_msdk_context_ensure_context and abort in case of failure. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/945
* msdk: fix error handling in case of unsupported hardwarePeter Seiderer2019-04-101-1/+0
| | | | | | Fix double gst_object_unref for GstMsdkContext. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/945
* msdkvpp: add BGR10A2_LE format in the src padHaihao Xiang2019-04-091-2/+2
| | | | | | example pipeline: gst-launch-1.0 videotestsrc ! video/x-raw,format=P010_10LE ! msdkvpp ! \ video/x-raw,format=BGR10A2_LE ! fakesink
* msdk: set some parameters in mfxFrameData for a MFX_FOURCC_A2RGB10 frameHaihao Xiang2019-04-092-2/+14
|
* msdk: map MFX_FOURCC_A2RGB10 to VA_FOURCC_A2R10G10B10Haihao Xiang2019-04-092-0/+4
|
* msdk: map GST_VIDEO_FORMAT_BGR10A2_LE to VA_FOURCC_A2R10G10B10Haihao Xiang2019-04-091-1/+4
|
* msdk: map GST_VIDEO_FORMAT_BGR10A2_LE to MFX_FOURCC_A2RGB10Haihao Xiang2019-04-091-0/+1
|
* decklinkvideosrc: add missing break in set_property-codePeter Körner2019-04-092-1/+4
|
* Increase nvenc's encoding height to 4096Shi Yan2019-04-042-6/+6
| | | | | According to https://developer.nvidia.com/nvidia-video-codec-sdk the minimum resolution nvenc supports should be 4096x4096
* msdkdec: add postinit_decoderHaihao Xiang2019-03-293-6/+26
| | | | | | | | | | | | The workaround for https://github.com/Intel-Media-SDK/MediaSDK/issues/1139 is required for vp8 only, so move this workaround to the corresponding postinit_decoder function The pipeline below works with this change gst-launch-1.0 filesrc location=SA10104.vc1 ! \ 'video/x-wmv,profile=(string)advanced',width=720,height=480,framerate=14/1 ! \ msdkvc1dec ! fakesink
* msdkdec: don't set unknown picture struct to progressive for vc1Haihao Xiang2019-03-294-5/+13
| | | | | | | MFXVideoDECODE_DecodeHeader only parses the sequence layer for VC1, so the structure is unknown for a stream with interlace flag set in the sequence layer. If forcing the struct to progressive in this plugin, MediaSDK will fail to decode such streams.
* msdkvc1dec: add the preinit_decoder functionHaihao Xiang2019-03-291-0/+13
|
* nvenc: Don't leak CUDA device memorySeungha Yang2019-03-261-0/+6
| | | | Allocated device memory should be freed with cuMemFree
* nvenc: Ensure unmap resources before finalizing themSeungha Yang2019-03-261-0/+22
| | | | | Mapped resource via NvEncMapInputResource() will result to unregister fail. It can happen when paused to ready state change without EOS event.
* nvenc: Don't release stream lock on GstVideoEncoder::stop()Seungha Yang2019-03-251-3/+8
| | | | | | | baseclass didn't take the stream lock during stop. It's valid only for GstVideoEncoder::finish() Closes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/912
* msdkvpp: add VUYA format in the src and sink padsHaihao Xiang2019-03-251-6/+7
|
* msdk: return the right pointer for GST_VIDEO_FORMAT_VUYA frameHaihao Xiang2019-03-251-1/+5
| | | | The first component for GST_VIDEO_FORMAT_VUYA in memory is V.
* msdk: set some parameters in mfxFrameData for a MFX_FOURCC_AYUV frameHaihao Xiang2019-03-252-0/+20
|
* msdk: map MFX_FOURCC_AYUV to VA_FOURCC_AYUVHaihao Xiang2019-03-251-0/+1
|
* msdk: map GST_VIDEO_FORMAT_VUYA to VA_FOURCC_AYUVHaihao Xiang2019-03-251-0/+5
|
* msdk: map GST_VIDEO_FORMAT_VUYA to MFX_FOURCC_AYUVHaihao Xiang2019-03-251-0/+1
|
* msdkdec: avoid infinite loopHaihao Xiang2019-03-251-2/+5
| | | | | | | | It is possible MFXVideoDECODE_DecodeFrameAsync returns MFX_ERR_INCOMPATIBLE_VIDEO_PARAM and this error can't be recovered by retrying MFXVideoDECODE_DecodeFrameAsync in some cases, so we need to limit the number of retries to avoid infinite loop. This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/909
* msdk: relicense the plugin to LGPLHaihao Xiang2019-03-172-35/+1
| | | | | | | | Some files licensed under LGPL were included, so relicense the plugin from BSD to LPGL. In addition, this patch removes the README per the discussion in https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/853 Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/853
* nvenc: Fix build when cuda is found but nvenc is disabledNirbheek Chauhan2019-03-112-5/+6
| | | | | | | tests\check\meson.build:21:5: ERROR: Unknown variable "use_nvenc_gl". Also do the same change in nvdec, just to be defensive about future issues.
* nvenc: More clean up on stop for encoder to be reusableSeungha Yang2019-03-101-0/+5
| | | | | | Encoder will not configure internal pool again if input_state exist Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/912
* nvenc: Ensure drain all frames on finishSeungha Yang2019-03-101-18/+20
| | | | | | To drain all queued encoding items, encoder should gracefully wait the encoding thread without stealing queued items. Otherwise, some input frames can be dropped.
* nvenc: Fix GValue leaksYeongjin Jeong2019-03-093-14/+31
| | | | GValue should be freed with g_value_unset()
* nvdec/nvenc: Add CUDA Toolkit 10.1 supportSeungha Yang2019-03-071-0/+1
| | | | Update to support the latest CUDA Toolkit version 10.1
* decklink: document duplex and keyer behaviourPeter Körner2019-03-044-0/+258
|
* decklink: implement duplex-mode propertyPeter Körner2019-03-046-0/+278
|
* build: Don't forget to dist applemedia/avfdeviceprovider.hNirbheek Chauhan2019-03-011-0/+1
| | | | Closes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/908
* mskd: Don't use MFX_FOURCC_RGB565 if it's undefinedSeungha Yang2019-03-015-3/+24
| | | | | | ../subprojects/gst-plugins-bad/sys/msdk/msdk.c(61): error C2065: 'MFX_FOURCC_RGB565' The minimum required version for the format seems to MFX_VERSION >= 1028
* msdkdec: fix for small resolutionHaihao Xiang2019-02-283-3/+3
|
* msdkdec: fix for resolution changeHaihao Xiang2019-02-281-3/+15
| | | | | | | Returning MFX_ERR_INCOMPATIBLE_VIDEO_PARAM from MFXVideoDECODE_DecodeFrameAsync means the allocated mfx surface is not suitable for the current frame, we need a new mfx surface and try MFXVideoDECODE_DecodeFrameAsync again.
* msdkdec: force the alignment of width/height to 16 for vp8/vp9Haihao Xiang2019-02-274-7/+46
| | | | | | | | | | | | | MSDK library requires 16 alignment for vp8/vp9, otherwise a pipeline for vp8/vp9 decoding might fail. example pipeline: gst-launch-1.0 filesrc location=vp8_1280x720.webm ! matroskademux ! \ msdkvp8dec ! fakesink 0:00:00.150565444 10657 0x55c8484036d0 ERROR msdkdec gstmsdkdec.c:1056:gst_msdkdec_handle_frame:<msdkvp8dec0> DecodeFrameAsync failed (invalid video parameters)
* msdkvpp: add RGB16 format in the sink padHaihao Xiang2019-02-271-2/+2
| | | | | Note: MSDK doesn't support RGB16 output, hence don't add RGB16 format in the src pad
* msdk: set some parameters in mfxFrameData for a RGB16 frameHaihao Xiang2019-02-272-0/+12
|
* msdk: map MFX_FOURCC_RGB565 to VA_FOURCC_RGB565Haihao Xiang2019-02-271-0/+1
|
* msdk: map GST_VIDEO_FORMAT_RGB16 to VA_FOURCC_RGB565Haihao Xiang2019-02-271-0/+4
|
* msdk: map GST_VIDEO_FORMAT_RGB16 to MFX_FOURCC_RGB565Haihao Xiang2019-02-271-0/+1
|
* msdkdec: release the occupied surface for MFX_WRN_DEVICE_BUSYHaihao Xiang2019-02-241-0/+6
| | | | | | | | | When MFXVideoDECODE_DecodeFrameAsync () returns MFX_WRN_DEVICE_BUSY with an output surface, a new input surface is required when retrying MFXVideoDECODE_DecodeFrameAsync (). This fixes the out-of-surface issue mentioned in https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/890
* msdk: don't destroy an image twiceHaihao Xiang2019-02-241-2/+19
| | | | | | | | | | | This gets rid of annoying message in the log, e.g. run the pipeline below: gst-launch-1.0 videotestsrc num-buffers=100 ! \ video/x-raw,format=NV12,width=352,height=288 ! msdkh264enc ! filesink \ location=test.h264 [LIBVA]:CRITICAL - DdiMedia_DestroyImage:4357: Invalid image
* msdk: move the comment to the correct placeHaihao Xiang2019-02-241-5/+6
|
* decklink: add Hardware tag to element metadataTim-Philipp Müller2019-02-194-4/+8
|
* wasapi: add Hardware tag to element metadataTim-Philipp Müller2019-02-192-2/+2
|
* winks: add Hardware tag to element metadataTim-Philipp Müller2019-02-191-1/+1
|
* androidmedia: add Hardware tag to element metadataTim-Philipp Müller2019-02-193-3/+3
|
* applemedia: add Hardware tag to element metadataTim-Philipp Müller2019-02-194-5/+5
|