summaryrefslogtreecommitdiff
path: root/doc/libavdevice.texi
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-05-01 16:35:22 +0200
committerNiklas Haas <git@haasn.dev>2023-05-03 23:40:20 +0200
commitb80e43bf07ac890486e01a195abc9118ab403eb0 (patch)
treebb47cab1dc25438247e2e5d9a3c5a27108b4572b /doc/libavdevice.texi
parent4b11a07550363e1f1d6f8e43923d9b6b327737b0 (diff)
downloadffmpeg-b80e43bf07ac890486e01a195abc9118ab403eb0.tar.gz
avfilter/vf_libplacebo: add flexible crop exprs
Motivated by a desire to use vf_libplacebo as a GPU-accelerated cropping/padding/zooming filter. This commit adds support for setting the `input/target.crop` fields as dynamic expressions. Re-use the same generic variables available to other scale and crop type filters, and also add some more that we can afford as a result of being able to set these properties dynamically. It's worth pointing out that `out_t/ot` is currently redundant with `in_t/t` since it will always contain the same PTS values, but I plan on changing this in the near future. I decided to also expose `crop_w/crop_h` and `pos_w/pos_h` as variables in the expression parser itself, since this enables the fairly common use case of determining dimensions first and then placing the image appropriately, such as is done in the default behavior (which centers the cropped/placed region by default).
Diffstat (limited to 'doc/libavdevice.texi')
0 files changed, 0 insertions, 0 deletions