diff options
author | Niklas Haas <git@haasn.dev> | 2024-07-04 13:44:05 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-08-16 11:43:37 +0200 |
commit | 15a67c0947d6fa8ff50607ef26185986813a6fd6 (patch) | |
tree | 3f6e81f452c56941cdeea837562c189c0b972f6c /doc/filters.texi | |
parent | 18b9687308202ea05044cb9b723e72b67be62bc6 (diff) | |
download | ffmpeg-15a67c0947d6fa8ff50607ef26185986813a6fd6.tar.gz |
avfilter/vf_scale: add in/out_chroma_loc
Currently, this just functions as a more principled and user-friendly
replacement for the (undocumented and hard to use) *_chr_pos fields.
However, the goal is to automatically infer these values from the input
frames' chroma location, and deprecate the manual use of *_chr_pos
altogether. (Indeed, my plans for an swscale replacement will most
likely also end up limiting the set of legal chroma locations to those
permissible by AVFrame properties)
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 3dbd7ac628..2eb4a380fb 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -21137,6 +21137,21 @@ Set full range (0-255 in case of 8-bit luma). Set "MPEG" range (16-235 in case of 8-bit luma). @end table +@item in_chroma_loc +@item out_chroma_loc +Set in/output chroma sample location. If not specified, center-sited chroma +is used by default. Possible values: + +@table @samp +@item auto, unknown +@item left +@item center +@item topleft +@item top +@item bottomleft +@item bottom +@end table + @item force_original_aspect_ratio Enable decreasing or increasing output video width or height if necessary to keep the original aspect ratio. Possible values: |