#include <limits>
#include <sstream>
#include <string>
#include "nacl_player/common.h"
#include "dash/media_stream.h"
#include "logger.h"
Go to the source code of this file.
|
#define | LOG_STATS __LINE__, __func__, __FILE__ |
|
#define | LOG(msg, ...) Logger::Log(LOG_STATS, msg, ##__VA_ARGS__) |
|
#define | LOG_ERROR(msg, ...) Logger::Error(LOG_STATS, msg, ##__VA_ARGS__) |
|
#define | LOG_DEBUG(msg, ...) Logger::Debug(LOG_STATS, msg, ##__VA_ARGS__) |
|
|
template<typename T , class... Args> |
std::unique_ptr< T > | MakeUnique (Args &&...args) |
|
template<typename T > |
std::unique_ptr< T > | AdoptUnique (T *ptr) |
|
std::string | ToHexString (uint32_t size, const uint8_t *data) |
|
#define LOG |
( |
|
msg, |
|
|
|
... |
|
) |
| Logger::Log(LOG_STATS, msg, ##__VA_ARGS__) |
#define LOG_DEBUG |
( |
|
msg, |
|
|
|
... |
|
) |
| Logger::Debug(LOG_STATS, msg, ##__VA_ARGS__) |
#define LOG_ERROR |
( |
|
msg, |
|
|
|
... |
|
) |
| Logger::Error(LOG_STATS, msg, ##__VA_ARGS__) |
#define LOG_STATS __LINE__, __func__, __FILE__ |
Enumerator |
---|
Video |
|
Audio |
|
MaxStreamTypes |
|
Definition at line 55 of file common.h.
template<typename T >
std::unique_ptr<T> AdoptUnique |
( |
T * |
ptr | ) |
|
template<typename T , class... Args>
std::unique_ptr<T> MakeUnique |
( |
Args &&... |
args | ) |
|
std::string ToHexString |
( |
uint32_t |
size, |
|
|
const uint8_t * |
data |
|
) |
| |
|
inline |
const Samsung::NaClPlayer::TimeTicks kEndOfStream |
Initial value:=
std::numeric_limits<Samsung::NaClPlayer::TimeTicks>::infinity()
Definition at line 61 of file common.h.