1. 05 May, 2023 7 commits
  2. 04 May, 2023 14 commits
  3. 03 May, 2023 4 commits
    • Niklas Haas's avatar
      doc/filters/libplacebo: fix outdated/wrong note · ad417eb5
      Niklas Haas authored
      This has not been the case since c0b93c4f+48c385fb.
      ad417eb5
    • Niklas Haas's avatar
      avfilter/vf_libplacebo: add flexible crop exprs · b80e43bf
      Niklas Haas authored
      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).
      b80e43bf
    • Niklas Haas's avatar
      avfilter/vf_libplacebo: add fillcolor option · 4b11a075
      Niklas Haas authored
      In some circumstances, libplacebo will clear the background as a result
      of cropping/padding. Currently, this uses the hard-coded default fill
      color of black. This option makes this behavior configurable.
      4b11a075
    • Paul B Mahol's avatar
      d94c6df9
  4. 02 May, 2023 15 commits