mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
vc1dec: improve hwaccel #ifdefs
This commit is contained in:
parent
3325911815
commit
654c7446a8
@ -6122,13 +6122,13 @@ static const AVProfile profiles[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const enum AVPixelFormat vc1_hwaccel_pixfmt_list_420[] = {
|
static const enum AVPixelFormat vc1_hwaccel_pixfmt_list_420[] = {
|
||||||
#if CONFIG_DXVA2
|
#if CONFIG_VC1_DXVA2_HWACCEL
|
||||||
AV_PIX_FMT_DXVA2_VLD,
|
AV_PIX_FMT_DXVA2_VLD,
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_VAAPI
|
#if CONFIG_VC1_VAAPI_HWACCEL
|
||||||
AV_PIX_FMT_VAAPI_VLD,
|
AV_PIX_FMT_VAAPI_VLD,
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_VDPAU
|
#if CONFIG_VC1_VDPAU_HWACCEL
|
||||||
AV_PIX_FMT_VDPAU,
|
AV_PIX_FMT_VDPAU,
|
||||||
#endif
|
#endif
|
||||||
AV_PIX_FMT_YUV420P,
|
AV_PIX_FMT_YUV420P,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user