aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vulkan_decode.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2025-08-07 22:04:27 +0200
committerNiklas Haas <ffmpeg@haasn.dev>2025-08-08 11:29:27 +0000
commit3091bca3edb339a4d2ec8c64e52fa7e67a7d5005 (patch)
tree904ddb6a682110544a36349235cd3086fd8c862e /libavcodec/vulkan_decode.c
parent6627c8ea4b4e4e0f9312d3243c099eb5df1a89e7 (diff)
downloadffmpeg-3091bca3edb339a4d2ec8c64e52fa7e67a7d5005.tar.gz
avfilter/vf_libplacebo: skip rendering fully invisible planes
Sometimes, one input fully obscures another. In this case, we can skip actually rendering any input below the obscuring one. The reason I don't simply start the main render loop at `idx_start` will become apparent in the following commit. We can't use pl_frame_is_cropped() on this dummy frame, but we need to determine the reference frame before we can map the real output, so to resolve this conflict, we just reimplement the crop detection logic using the output link dimensions.
Diffstat (limited to 'libavcodec/vulkan_decode.c')
0 files changed, 0 insertions, 0 deletions