Opengl implementation - codec common code
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
This commit is contained in:
14
tools/emulator/opengl/system/OpenglCodecCommon/ErrorLog.h
Normal file
14
tools/emulator/opengl/system/OpenglCodecCommon/ErrorLog.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user