mirror of
https://github.com/mpv-player/mpv
synced 2025-04-09 11:11:52 +00:00
filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now
This mapping isn't actually relevant until we have the Vulkan interop merged, and it requires a newer version of libavutil than our minimum requirement. So I'm going to remove it from master and put it in the interop PR. Fixes #10813
This commit is contained in:
parent
f594482451
commit
48bb17549c
@ -50,10 +50,6 @@ struct hwmap_pairs {
|
|||||||
// We cannot discover which pairs of hardware formats need to use hwmap to
|
// We cannot discover which pairs of hardware formats need to use hwmap to
|
||||||
// convert between the formats, so we need a lookup table.
|
// convert between the formats, so we need a lookup table.
|
||||||
static const struct hwmap_pairs hwmap_pairs[] = {
|
static const struct hwmap_pairs hwmap_pairs[] = {
|
||||||
{
|
|
||||||
.first_fmt = IMGFMT_VAAPI,
|
|
||||||
.second_fmt = IMGFMT_VULKAN,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.first_fmt = IMGFMT_DRMPRIME,
|
.first_fmt = IMGFMT_DRMPRIME,
|
||||||
.second_fmt = IMGFMT_VAAPI,
|
.second_fmt = IMGFMT_VAAPI,
|
||||||
|
@ -67,7 +67,6 @@ static const struct {
|
|||||||
{IMGFMT_CUDA, AV_PIX_FMT_CUDA},
|
{IMGFMT_CUDA, AV_PIX_FMT_CUDA},
|
||||||
{IMGFMT_P010, AV_PIX_FMT_P010},
|
{IMGFMT_P010, AV_PIX_FMT_P010},
|
||||||
{IMGFMT_DRMPRIME, AV_PIX_FMT_DRM_PRIME},
|
{IMGFMT_DRMPRIME, AV_PIX_FMT_DRM_PRIME},
|
||||||
{IMGFMT_VULKAN, AV_PIX_FMT_VULKAN},
|
|
||||||
|
|
||||||
{0, AV_PIX_FMT_NONE}
|
{0, AV_PIX_FMT_NONE}
|
||||||
};
|
};
|
||||||
|
@ -318,7 +318,6 @@ enum mp_imgfmt {
|
|||||||
IMGFMT_VDPAU_OUTPUT, // VdpOutputSurface
|
IMGFMT_VDPAU_OUTPUT, // VdpOutputSurface
|
||||||
IMGFMT_VAAPI,
|
IMGFMT_VAAPI,
|
||||||
IMGFMT_VIDEOTOOLBOX, // CVPixelBufferRef
|
IMGFMT_VIDEOTOOLBOX, // CVPixelBufferRef
|
||||||
IMGFMT_VULKAN, // VKImage
|
|
||||||
IMGFMT_DRMPRIME, // AVDRMFrameDescriptor
|
IMGFMT_DRMPRIME, // AVDRMFrameDescriptor
|
||||||
|
|
||||||
// Generic pass-through of AV_PIX_FMT_*. Used for formats which don't have
|
// Generic pass-through of AV_PIX_FMT_*. Used for formats which don't have
|
||||||
|
Loading…
Reference in New Issue
Block a user