• Zhong Li's avatar
    lavc/qsvenc_jpeg: add async_depth support · 0e3d7d84
    Zhong Li authored
    Currently qsv (m)jpeg encoding is broken.
    Regression introducing by the commit(id: c1bcd3): fix async support,
    which requires the minimum async_depth to be 1, instead previous zero.
    But the default async_depth of qsv (m)jpeg encoding is still initialized
    (mostly) as zero.
    
    This patch also abviously improves qsv (m)jpeg encoding performance
    due to the default async_depth is changed to 4.
    Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    0e3d7d84
qsvenc_jpeg.c 2.88 KB