brillcodec: fixed sync problem when processing multi-contexts 31/11731/1
authorKitae Kim <kt920.kim@samsung.com>
Mon, 4 Nov 2013 06:09:40 +0000 (15:09 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Mon, 4 Nov 2013 06:09:40 +0000 (15:09 +0900)
commitaa29c5fc58c06fb104b2f3fa31faba6bdca51a0b
tree7f1b88d8fcbaf50bb36c369e122cef4e17e3979a
parent0f7fffa063a89e63afc147b3c6794db735875329
brillcodec: fixed sync problem when processing multi-contexts

meta_data queue such as context index, api index and etc.
and codec_data queue which include audio or video input buffer were separated.
In case, video buffer can be deliveried to decode_audio function
because get an element from the meta queue and input queue might be not predictable in the multi-threads.
Two data have to be managed by one queue.

Change-Id: I9a140e2c333042786d10530210b0028823a74c2c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
tizen/src/hw/maru_brill_codec.c