Changed a way to use device memory effectively.
authorKitae Kim <kt920.kim@samsung.com>
Wed, 11 Sep 2013 12:30:57 +0000 (21:30 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Fri, 13 Sep 2013 06:42:40 +0000 (15:42 +0900)
commitd4248ea69608ec04a23326823728f81e31f636cf
tree754a19ee30ba1dd320981820e237ce8d410b3f6b
parentc2408a7368f350469b67422a975c142cf196da1e
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: I37e111ec1540694d32380906132d79cd90a658ef
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
16 files changed:
configure.ac
packaging/gst-plugins-emulator.changes
packaging/gst-plugins-emulator.spec
src/Makefile.am
src/gstmaru.c [moved from src/gstemul.c with 82% similarity]
src/gstmaru.h [moved from src/gstemulcommon.h with 85% similarity]
src/gstmarudec.c [moved from src/gstemuldec.c with 56% similarity]
src/gstmarudevice.c [moved from src/gstemuldev.c with 88% similarity]
src/gstmarudevice.h [moved from src/gstemuldev.h with 95% similarity]
src/gstmaruenc.c [moved from src/gstemulenc.c with 54% similarity]
src/gstmaruinterface.c [moved from src/gstemulapi.c with 89% similarity]
src/gstmaruinterface.h [moved from src/gstemulapi.h with 96% similarity]
src/gstmarumem.c [moved from src/gstemulapi2.c with 95% similarity]
src/gstmarumem.h [moved from src/gstemulapi2.h with 96% similarity]
src/gstmaruutils.c [moved from src/gstemulutils.c with 86% similarity]
src/gstmaruutils.h [moved from src/gstemulutils.h with 80% similarity]