diff options
author | Jun Zhao <[email protected]> | 2017-03-29 17:18:59 +0800 |
---|---|---|
committer | Mark Thompson <[email protected]> | 2017-04-02 23:28:54 +0100 |
commit | 08087f54626780b6955e470d59b1c7eff6c57f72 (patch) | |
tree | 38353b4e37da282639f5a5ffd0f41eec81e35a79 /doc/examples/encode_video.c | |
parent | 3cbf717425b68ef1a731147748edd5c087af15a1 (diff) |
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 <[email protected]>
Signed-off-by: Leilei <[email protected]>
Signed-off-by: Mark Thompson <[email protected]>
Diffstat (limited to 'doc/examples/encode_video.c')
0 files changed, 0 insertions, 0 deletions