[vlc-devel] [PATCH] d3d11va: remove unused function

Jean-Baptiste Kempf jb at videolan.org
Wed Mar 25 16:17:57 CET 2020


That feels wrong.

On Wed, Mar 25, 2020, at 16:09, Alexandre Janniaux wrote:
> Usage of CanUseDecoderPadding was removed with pull model in commit
> 851a4d09d06ff0f6944142ca8d9e318c03c2da47.
> ---
>  modules/codec/avcodec/d3d11va.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/modules/codec/avcodec/d3d11va.c 
> b/modules/codec/avcodec/d3d11va.c
> index 9dc2e4bea3..dd34c58bfd 100644
> --- a/modules/codec/avcodec/d3d11va.c
> +++ b/modules/codec/avcodec/d3d11va.c
> @@ -508,13 +508,6 @@ static int DxSetupOutput(vlc_va_t *va, const 
> directx_va_mode_t *mode, const vide
>      return VLC_EGENERIC;
>  }
>  
> -static bool CanUseDecoderPadding(const vlc_va_sys_t *sys)
> -{
> -    /* Qualcomm hardware has issues with textures and pixels that should not be
> -    * part of the decoded area */
> -    return sys->d3d_dev->adapterDesc.VendorId != GPU_MANUFACTURER_QUALCOMM;
> -}
> -
>  /**
>   * It creates a Direct3D11 decoder using the given video format
>   */
> -- 
> 2.26.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list