• Niklas Haas's avatar
    avfilter/vf_blackdetect: support full-range YUV · 8e2f61ef
    Niklas Haas authored
    This filter currently makes the distinction between limited and full
    range by testing for the deprecated YUVJ pixel formats at link setup
    time. This is deprecated and should be improved to perform the detection
    based on the per-frame metadata.
    
    Rewrite it to calculate the black pixel threshold at the time of
    filtering a frame, when metadata about the frame's color range is known.
    Doing it this way has the small side benefit of being able to handle
    streams with variable metadata, and is not a meaningful performance
    cost.
    Signed-off-by: 's avatarNiklas Haas <git@haasn.dev>
    8e2f61ef
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...