diff options
author | Srujan Vandrangi <srujan.vandrangi@ittiam.com> | 2023-07-28 11:46:33 +0530 |
---|---|---|
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2023-07-29 16:40:46 -0700 |
commit | 33fc15e160d7447217861c4bfc0064100b3b982c (patch) | |
tree | 703d69e29c82b37584ebb5e5eeccd182211d4943 | |
parent | 72558e3be0acb59d4358a62a1ad4bcc61cc38352 (diff) | |
download | libhevc-33fc15e160d7447217861c4bfc0064100b3b982c.tar.gz |
decoder: set keep_threads_active to 1 in the testbench and fuzzer
Bug: 289097296
Test: Build
Change-Id: I76fa9341aac5ef5fca3923424e0010cf2f13db4f
-rw-r--r-- | fuzzer/hevc_dec_fuzzer.cpp | 2 | ||||
-rw-r--r-- | test/decoder/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fuzzer/hevc_dec_fuzzer.cpp b/fuzzer/hevc_dec_fuzzer.cpp index c202148..0249cf1 100644 --- a/fuzzer/hevc_dec_fuzzer.cpp +++ b/fuzzer/hevc_dec_fuzzer.cpp @@ -118,7 +118,7 @@ void Codec::createCodec() { create_ip.s_ivd_create_ip_t.e_cmd = IVD_CMD_CREATE; create_ip.s_ivd_create_ip_t.u4_share_disp_buf = 0; create_ip.s_ivd_create_ip_t.e_output_format = mColorFormat; - create_ip.u4_keep_threads_active = 0; + create_ip.u4_keep_threads_active = 1; create_ip.s_ivd_create_ip_t.pf_aligned_alloc = iv_aligned_malloc; create_ip.s_ivd_create_ip_t.pf_aligned_free = iv_aligned_free; create_ip.s_ivd_create_ip_t.pv_mem_ctxt = NULL; diff --git a/test/decoder/main.c b/test/decoder/main.c index 8afe409..f287a0b 100644 --- a/test/decoder/main.c +++ b/test/decoder/main.c @@ -1890,7 +1890,7 @@ int main(WORD32 argc, CHAR *argv[]) s_app_ctx.full_screen = 0; s_app_ctx.u4_piclen_flag = 0; s_app_ctx.u4_frame_info_enable = 0; - s_app_ctx.i4_active_threads = 0; + s_app_ctx.i4_active_threads = 1; s_app_ctx.fps = DEFAULT_FPS; file_pos = 0; total_bytes_comsumed = 0; |