This change adds the libOpenglCodecCommon, which holds shared code between the encoder and the decoder parts of the opengl codec. The library is built as static with both a target version and a host version. Change-Id: I163eea8fdb635620e6cde9d1d75c3e7369953213
15 lines
335 B
C
15 lines
335 B
C
#ifndef _ERROR_LOG_H_
|
|
#define _ERROR_LOG_H_
|
|
|
|
#if (HAVE_ANDROID_OS == 1)
|
|
# include <cutils/log.h>
|
|
# define ERR(...) LOGE(__VA_ARGS__)
|
|
# define DBG(...) LOGD(__VA_ARGS__)
|
|
#else
|
|
# include <stdio.h>
|
|
# define ERR(...) fprintf(stderr, __VA_ARGS__)
|
|
# define DBG(...) fprintf(stderr, __VA_ARGS__)
|
|
#endif
|
|
|
|
#endif
|