diff options
author | Jun Zhao <jun.zhao@intel.com> | 2017-03-29 17:18:59 +0800 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-04-02 23:28:54 +0100 |
commit | 08087f54626780b6955e470d59b1c7eff6c57f72 (patch) | |
tree | 38353b4e37da282639f5a5ffd0f41eec81e35a79 /libavcodec/x86/mpegvideoencdsp.asm | |
parent | 3cbf717425b68ef1a731147748edd5c087af15a1 (diff) | |
download | ffmpeg-08087f54626780b6955e470d59b1c7eff6c57f72.tar.gz |
lavc/vaapi_encode: fix p_per_i calculate issue.
now gop_size <= (max_b_frames + 1) * p_per_i + 1 (IDR frame),
so celing p_per_i = (gop_size - 1 + max_b_frames) / (max_b_frames + 1)
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Leilei <leilei.shang@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavcodec/x86/mpegvideoencdsp.asm')
0 files changed, 0 insertions, 0 deletions