pepper: Output ID allocation.
authorTaekyun Kim <tkq.kim@samsung.com>
Wed, 8 Jul 2015 07:43:37 +0000 (16:43 +0900)
committerTaekyun Kim <tkq.kim@samsung.com>
Wed, 8 Jul 2015 09:49:40 +0000 (18:49 +0900)
commit1dbef95fd9245c7f066a80f1f60d8c412565c545
tree450c4d0bbaa48079cbef7e36cc1efa9e2b2b758d
parentc2c737e76cde1634ea739ceca777c9428f98bffb
pepper: Output ID allocation.

It is useful allocating an integer ID for an output. We allocate a bit in a
32-bits unsigned integer. In this way, we don't have to maintain a list of
outputs and checking whether an integer contains a certain output is much
easier.

Change-Id: I42a4b309b6b94b8a9ca20f4b6c526e23922b96a6
pepper/src/output.c
pepper/src/pepper-internal.h