diff options
author | Cheng Chen <chengchen@google.com> | 2021-05-24 15:53:06 -0700 |
---|---|---|
committer | Cheng Chen <chengchen@google.com> | 2021-05-26 15:17:18 -0700 |
commit | b8273e8ae5c14bccefde96170507336a4f15c98c (patch) | |
tree | 034313c283fc62578c74d1c242b3b7211d1984db /vp9/encoder/vp9_firstpass.h | |
parent | d42b93a15f182b0cd2bcc639e6951c40da6da8ce (diff) | |
download | libvpx-b8273e8ae5c14bccefde96170507336a4f15c98c.tar libvpx-b8273e8ae5c14bccefde96170507336a4f15c98c.tar.gz libvpx-b8273e8ae5c14bccefde96170507336a4f15c98c.tar.bz2 libvpx-b8273e8ae5c14bccefde96170507336a4f15c98c.zip |
Fix simple encode
Properly init and delete cpi struct in simple encode functions.
Change-Id: I6e66bcac852cbb3dec9b754ba3fb01a348ac98b8
Diffstat (limited to 'vp9/encoder/vp9_firstpass.h')
-rw-r--r-- | vp9/encoder/vp9_firstpass.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_firstpass.h b/vp9/encoder/vp9_firstpass.h index cdbcb5241..e504528f1 100644 --- a/vp9/encoder/vp9_firstpass.h +++ b/vp9/encoder/vp9_firstpass.h @@ -305,9 +305,8 @@ int vp9_get_gop_coding_frame_count(const struct VP9EncoderConfig *oxcf, int vp9_get_coding_frame_num(const struct VP9EncoderConfig *oxcf, const TWO_PASS *const twopass, - const FRAME_INFO *frame_info, - const FIRST_PASS_INFO *first_pass_info, - int multi_layer_arf, int allow_alt_ref); + const FRAME_INFO *frame_info, int multi_layer_arf, + int allow_alt_ref); /*!\brief Compute a key frame binary map indicates whether key frames appear * in the corresponding positions. The passed in key_frame_map must point to an |