CoreSDK  v1.0.0.b1304
r5common.h
1 /*
2  * Copyright (c) 2022 Infrared5, Inc.
3  * License information: https://account.red5.net/assets/LICENSE.txt
4  *
5  */
6 
7 #pragma once
8 
9 #ifdef _WIN32
10 # if defined(R5_SDK_CORE_LIBRARY)
11 # define R5_SDK_CORE_EXPORT __declspec(dllexport)
12 # else
13 # define R5_SDK_CORE_EXPORT __declspec(dllimport)
14 # endif
15 #else
16 # define R5_SDK_CORE_EXPORT
17 #endif
18 
19 #include "r5data.h"
20 #include "r5logger.h"
21 
22 namespace r5::common {
35 int R5_SDK_CORE_EXPORT drawTextOnVideoFrame(uint8_t *buffer, int width, int height, const std::string &text, int posX, int posY);
36 }
Definition: r5codec.h:12