• Haihao Xiang's avatar
    msdkenc: allow encode element requires extra frames · 12218984
    Haihao Xiang authored
    The call of MFXVideoENCODE_EncodeFrameAsync may not generate output and
    the function returns MFX_ERR_MORE_DATA with NULL sync point, the input
    frame is cached in this case, so it is possible that all allocated
    frames go into the surfaces_used list after calling
    MFXVideoENCODE_EncodeFrameAsync a few times, then the encoder will fail
    to get an available surface before releasing used frames
    
    This patch adds a new field of num_extra_frames to GstMsdkEnc and allows
    encode element requires extra frames, the default value is 0.
    
    This patch is the preparation for msdkvp9enc element.
    12218984
Name
Last commit
Last update
..
Makefile.am Loading commit data...
gstmsdk.c Loading commit data...
gstmsdkallocator.h Loading commit data...
gstmsdkallocator_d3d.c Loading commit data...
gstmsdkallocator_libva.c Loading commit data...
gstmsdkallocator_libva.h Loading commit data...
gstmsdkbufferpool.c Loading commit data...
gstmsdkbufferpool.h Loading commit data...
gstmsdkcontext.c Loading commit data...
gstmsdkcontext.h Loading commit data...
gstmsdkcontextutil.c Loading commit data...
gstmsdkcontextutil.h Loading commit data...
gstmsdkdec.c Loading commit data...
gstmsdkdec.h Loading commit data...
gstmsdkdecproputil.c Loading commit data...
gstmsdkdecproputil.h Loading commit data...
gstmsdkenc.c Loading commit data...
gstmsdkenc.h Loading commit data...
gstmsdkh264dec.c Loading commit data...
gstmsdkh264dec.h Loading commit data...
gstmsdkh264enc.c Loading commit data...
gstmsdkh264enc.h Loading commit data...
gstmsdkh265dec.c Loading commit data...
gstmsdkh265dec.h Loading commit data...
gstmsdkh265enc.c Loading commit data...
gstmsdkh265enc.h Loading commit data...
gstmsdkmjpegdec.c Loading commit data...
gstmsdkmjpegdec.h Loading commit data...
gstmsdkmjpegenc.c Loading commit data...
gstmsdkmjpegenc.h Loading commit data...
gstmsdkmpeg2dec.c Loading commit data...
gstmsdkmpeg2dec.h Loading commit data...
gstmsdkmpeg2enc.c Loading commit data...
gstmsdkmpeg2enc.h Loading commit data...
gstmsdksystemmemory.c Loading commit data...
gstmsdksystemmemory.h Loading commit data...
gstmsdkvc1dec.c Loading commit data...
gstmsdkvc1dec.h Loading commit data...
gstmsdkvideomemory.c Loading commit data...
gstmsdkvideomemory.h Loading commit data...
gstmsdkvp8dec.c Loading commit data...
gstmsdkvp8dec.h Loading commit data...
gstmsdkvp8enc.c Loading commit data...
gstmsdkvp8enc.h Loading commit data...
gstmsdkvp9dec.c Loading commit data...
gstmsdkvp9dec.h Loading commit data...
gstmsdkvpp.c Loading commit data...
gstmsdkvpp.h Loading commit data...
gstmsdkvpputil.c Loading commit data...
gstmsdkvpputil.h Loading commit data...
meson.build Loading commit data...
msdk-enums.c Loading commit data...
msdk-enums.h Loading commit data...
msdk.c Loading commit data...
msdk.h Loading commit data...
msdk_d3d.c Loading commit data...
msdk_libva.c Loading commit data...
msdk_libva.h Loading commit data...