• wm4's avatar
    lavu/frame: add QP side data · 4b86ac27
    wm4 authored
    This adds a way for an API user to transfer QP data and metadata without
    having to keep the reference to AVFrame, and without having to
    explicitly care about QP APIs. It might also provide a way to finally
    remove the deprecated QP related fields. In the end, the QP table should
    be handled in a very similar way to e.g. AV_FRAME_DATA_MOTION_VECTORS.
    
    There are two side data types, because I didn't care about having to
    repack the QP data so the table and the metadata are in a single
    AVBufferRef. Otherwise it would have either required a copy on decoding
    (extra slowdown for something as obscure as the QP data), or would have
    required making intrusive changes to the codecs which support export of
    this data.
    
    The new side data types are added under deprecation guards, because I
    don't intend to change the status of the QP export as being deprecated
    (as it was before this patch too).
    4b86ac27
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...