exynos_omx: multi_thread: Modified the scheme of reference count inc/dec.
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Fri, 13 Dec 2013 02:11:19 +0000 (11:11 +0900)
committerLajos Molnar <lajos@google.com>
Wed, 4 Jun 2014 01:05:50 +0000 (18:05 -0700)
commite260e4e60e5eeea869b690224848fe4cbb6b2e8a
tree54ccd48cc580567de2d14597dca544ace7e38712
parentc2eff709449b17a1bab5fc8c32f3f1408592c0b2
exynos_omx: multi_thread: Modified the scheme of reference count inc/dec.

<Old>
    - Call the hw_get_module for reference count processing when receives a buffer of each.
    - Call the hw_get_module every frame, an increase in power consumption.
<New>
    - Call the hw_get_module once on init time.
    - It is a small amount, but the reduction of power consumption.

Change-Id: I8489144ef57a46637c32c869c23032d353830c70
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
exynos_omx/openmax/exynos_omx/osal/Exynos_OSAL_Android.cpp
exynos_omx/openmax/exynos_omx/osal/Exynos_OSAL_Android.h