• Mark Thompson's avatar
    lavc: Use hardware config information in ff_get_format() · 67e81d79
    Mark Thompson authored
    This removes the dependency that hardware pixel formats previously had on
    AVHWAccel instances, meaning only those which actually do something need
    exist after this patch.
    
    Also updates avcodec_default_get_format() to be able to choose hardware
    formats if either a matching device has been supplied or no additional
    external configuration is required, and avcodec_get_hw_frames_parameters()
    to use the hardware config rather than searching the old hwaccel list.
    
    The FF_CODEC_CAP_HWACCEL_REQUIRE_CLASS mechanism is deleted because it
    no longer does anything (the codec already contains the pointers to the
    matching hwaccels).
    67e81d79
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...
libavresample 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...
.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...