aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorManisha Jajoo <manisha.jajoo@ittiam.com>2020-08-13 11:20:23 +0530
committerManisha Jajoo <manisha.jajoo@ittiam.com>2020-08-31 22:00:10 +0530
commitc57a80373afc33537619d5097dd8b75634467c0c (patch)
tree546d759dc2c9c952dfa1d3b5b1177587debbd099 /Android.bp
parent44df5e300556d80b2bd32aefc7b54fc43222f9bb (diff)
downloadlibhevc-c57a80373afc33537619d5097dd8b75634467c0c.tar.gz
Decoder: add support for KEEP_THREADS_ACTIVE
Current design of HEVC Decoder creates new threads to process each frame. This CL adds support to reuse the threads across frames. Test: manual Bug: 167126301 Change-Id: Ic57133b25203dae9ed5d3d974e6137a733531da7
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c177cfd..7ad4216 100644
--- a/Android.bp
+++ b/Android.bp
@@ -15,6 +15,8 @@ cc_library_static {
// common/x86/ihevc_sao_ssse3_intr.c: implicit conversion from
// 'int' to 'char' changes value from 128 to -128
"-Wno-error=constant-conversion",
+ // #KEEP_THREAD_ACTIVE is experimental
+ "-UKEEP_THREADS_ACTIVE",
],
export_include_dirs: [