# A masked YUV image over a translucent backdrop cannot become an underlay: # the cutout would show the (unknown) content behind the slice. It falls back # to being drawn as a regular primitive. # Reference image is public-domain - https://en.wikipedia.org/wiki/File:Barn-yuv.png --- root: items: - type: rect bounds: [0, 0, 500, 500] color: [0, 128, 0, 0.5] - type: clip id: 3 complex: - rect: [150, 150, 199, 199] radius: 32 - type: yuv-image format: planar src-y: barn-y.png src-u: barn-u.png src-v: barn-v.png bounds: [100, 100, 299, 299] prefer-compositor-surface: true clip-chain: [3]