new_codec: changed a way to use device memory effectively.
authorKitae Kim <kt920.kim@samsung.com>
Sun, 1 Sep 2013 13:00:33 +0000 (22:00 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Wed, 11 Sep 2013 05:19:48 +0000 (14:19 +0900)
commit0523d5b87e9263a7ab95a889cc038824208bc729
treed78121132f35f2553acf7d40faddf5dc3f3cdb7b
parent338baf5da4b009c53edcb8f806e2569c8ca01331
new_codec: changed a way to use device memory effectively.

Divide device memory into small, medium and large size of buffer
to use the memory effectively when decoding many contexts.

In case of meta data such as width, height, framerate and etc,
each context uses 256byte memory region and utilizes the large size of memory
when copying video and audio buffer,

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