[vlc-devel] [PATCH 2/6] nvdec: Add NVDEC decoder
Steve Lhomme
robux4 at ycbcr.xyz
Thu Sep 12 14:51:00 CEST 2019
On 2019-09-12 14:44, Steve Lhomme wrote:
> +vlc_module_begin ()
> + set_description(N_("NVDEC video decoder"))
> + set_shortname("nvdec")
> + set_capability("video decoder", 1000)
For now it's high priority. If the hardware doesn't support it it won't
use the module and another one will be used. This is probably the
behaviour we want in the end, but it may be added to master with a
priority of 0 and enabled manually.
On Windows we may want a lower priority than lavc+dxva since it's less
efficient and doesn't have direct rendering to D3D11 (it's technically
impossible without copying via the CPU).
> + set_category(CAT_INPUT)
> + set_subcategory(SUBCAT_INPUT_VCODEC)
> + add_integer( "nvdec-deint", cudaVideoDeinterlaceMode_Bob,
> + DEINTERLACE_MODULE_TEXT, DEINTERLACE_MODULE_LONGTEXT, true )
> + change_integer_list( ppsi_deinterlace_type, ppsz_deinterlace_type )
> + set_callbacks(OpenDecoder, CloseDecoder)
> +vlc_module_end ()
More information about the vlc-devel
mailing list