diff options
author | Niklas Haas <git@haasn.dev> | 2023-10-31 12:54:19 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-11-09 12:53:35 +0100 |
commit | 5d5bb77af11eb6e9bea8b5eb5f1ecba10c72dcfd (patch) | |
tree | e22f57e98a64c91541bb5378fcf93983b2445819 /libavcodec/h264idct_template.c | |
parent | ea9557043e9e23a0b7e9709fbb2b2668d00522ef (diff) | |
download | ffmpeg-5d5bb77af11eb6e9bea8b5eb5f1ecba10c72dcfd.tar.gz |
avfilter/vf_scale: simplify color matrix parsing logic
No need to write a custom string parser when we can just use an integer
option with preset values. The various bits of fallback logic are wholly
redundant with equivalent logic already inside sws_getCoefficients.
Note: I disallowed setting 'out_color_matrix=auto', because this does
not do anything meaningful in the current code (just hard-codes
AVCOL_SPC_BT470BG fallback).
Diffstat (limited to 'libavcodec/h264idct_template.c')
0 files changed, 0 insertions, 0 deletions