-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat #23: add desktop capturer files
- Loading branch information
Showing
206 changed files
with
17,745 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,5 @@ CMakeCache.txt | |
*.jpg | ||
*.ppm | ||
*.yuv | ||
|
||
*.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# toolchain for aarch64-linux-gnu from obs | ||
|
||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(CMAKE_SYSTEM_PROCESSOR arm64) | ||
|
||
set(CMAKE_C_COMPILER clang) | ||
set(CMAKE_C_COMPILER_TARGET aarch64-linux-gnu) | ||
|
||
set(CMAKE_CXX_COMPILER clang++) | ||
set(CMAKE_CXX_COMPILER_TARGET aarch64-linux-gnu) | ||
|
||
set(CMAKE_ASM_COMPILER clang) | ||
set(CMAKE_ASM_COMPILER_TARGET aarch64-linux-gnu) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# toolchain for aarch64-linux-gnu from obs | ||
|
||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(CMAKE_SYSTEM_PROCESSOR arm64) | ||
|
||
if(CROSS STREQUAL "") | ||
set(CROSS aarch64-linux-gnu-) | ||
endif() | ||
|
||
if(NOT CMAKE_C_COMPILER) | ||
set(CMAKE_C_COMPILER ${CROSS}gcc) | ||
endif() | ||
|
||
if(NOT CMAKE_CXX_COMPILER) | ||
set(CMAKE_CXX_COMPILER ${CROSS}g++) | ||
endif() | ||
|
||
if(NOT CMAKE_ASM_COMPILER) | ||
set(CMAKE_ASM_COMPILER ${CROSS}as) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# toolchain for x86_64-linux-gnu from obs | ||
|
||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(CMAKE_SYSTEM_PROCESSOR x86_64) | ||
|
||
if(CROSS STREQUAL "") | ||
set(CROSS x86_64-linux-gnu-) | ||
endif() | ||
|
||
if(NOT CMAKE_C_COMPILER) | ||
set(CMAKE_C_COMPILER ${CROSS}gcc) | ||
endif() | ||
|
||
if(NOT CMAKE_CXX_COMPILER) | ||
set(CMAKE_CXX_COMPILER ${CROSS}g++) | ||
endif() | ||
|
||
if(NOT CMAKE_ASM_COMPILER) | ||
set(CMAKE_ASM_COMPILER ${CROSS}as) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by a BSD-style license | ||
* that can be found in the LICENSE file in the root of the source | ||
* tree. An additional intellectual property rights grant can be found | ||
* in the file PATENTS. All contributing project authors may | ||
* be found in the AUTHORS file in the root of the source tree. | ||
*/ | ||
|
||
#ifndef TRAA_BASE_ARRAYSIZE_H_ | ||
#define TRAA_BASE_ARRAYSIZE_H_ | ||
|
||
#include <stddef.h> | ||
|
||
// This file defines the arraysize() macro and is derived from Chromium's | ||
// base/macros.h. | ||
|
||
// The arraysize(arr) macro returns the # of elements in an array arr. | ||
// The expression is a compile-time constant, and therefore can be | ||
// used in defining new arrays, for example. If you use arraysize on | ||
// a pointer by mistake, you will get a compile-time error. | ||
|
||
// This template function declaration is used in defining arraysize. | ||
// Note that the function doesn't need an implementation, as we only | ||
// use its type. | ||
template <typename T, size_t N> char (&array_size_helper(T (&array)[N]))[N]; | ||
|
||
#define arraysize(array) (sizeof(array_size_helper(array))) | ||
|
||
#endif // TRAA_BASE_ARRAYSIZE_H_ |
Oops, something went wrong.