• Martin Storsjö's avatar
    libx264: Pass the reordered_opaque field through the encoder · 80f85a95
    Martin Storsjö authored
    libx264 does have a field for opaque data to pass along with frames
    through the encoder, but it is a pointer, while the libavcodec
    reordered_opaque field is an int64_t. Therefore, allocate an array
    within the libx264 wrapper, where reordered_opaque values in flight
    are stored, and pass a pointer to this array to libx264.
    
    Update the public libavcodec documentation for the AVCodecContext
    field to explain this usage, and add a codec capability that allows
    detecting whether an encoder handles this field.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    80f85a95
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc 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...
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...
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 Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...