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
$ cat test.c | |
static int __thread x = 0; | |
int main(void) { | |
x++; | |
} | |
$ riscv64-linux-gnu-objdump -dr test.o | |
test.o: file format elf64-littleriscv |
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
#set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
set(CXX_EXTENSIONS OFF) | |
if(NOT CMAKE_CXX_STANDARD) | |
if("cxx_std_20" IN_LIST CMAKE_CXX_COMPILE_FEATURES) | |
set(CMAKE_CXX_STANDARD 20) | |
message(STATUS "C++20: OK") | |
elseif("cxx_std_17" IN_LIST CMAKE_CXX_COMPILE_FEATURES) | |
set(CMAKE_CXX_STANDARD 17) | |
message(STATUS "C++17: OK") |
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
#pragma region Memory usage tracer | |
// tracing new/delete | |
static size_t max_align = __alignof(std::max_align_t); | |
#ifdef TRACE_MEMUSAGE | |
static size_t memusage = 0; | |
void* operator new (std::size_t count) | |
{ | |
memusage += count; | |
void* result = malloc(count + max_align); | |
*(size_t*)result = count; |
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
diff --git a/libavcodec/internal.h b/libavcodec/internal.h | |
index be54471..000fe26 100644 | |
--- a/libavcodec/internal.h | |
+++ b/libavcodec/internal.h | |
@@ -345,4 +345,19 @@ AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx); | |
int ff_side_data_set_encoder_stats(AVPacket *pkt, int quality, int64_t *error, int error_count, int pict_type); | |
+/** | |
+ * Check AVFrame for A53 side data and allocate and fill SEI message with A53 info |
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
//////////////////////////////////////////////////////////////////////////// | |
// | |
// Copyright 1993-2014 NVIDIA Corporation. All rights reserved. | |
// | |
// Please refer to the NVIDIA end user license agreement (EULA) associated | |
// with this source code for terms and conditions that govern your use of | |
// this software. Any use, reproduction, disclosure, or distribution of | |
// this software and related documentation outside the terms of the EULA | |
// is strictly prohibited. | |
// |
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
13656 2015-8-4 15:58:12 function: DLLMain() DLL_PROCESS_ATTACH + | |
13656 2015-8-4 15:58:12 mfx_tracer: lib=none | |
13656 2015-8-4 15:58:12 function: DLLMain() DLL_PROCESS_ATTACH - | |
13656 2015-8-4 15:58:12 function: MFXInit(mfxIMPL impl=MFX_IMPL_HARDWARE|MFX_IMPL_VIA_D3D9, mfxVersion *ver=0028E478, mfxSession *session=0209EBC0) + | |
13656 2015-8-4 15:58:12 LoadLibrary: none | |
13656 2015-8-4 15:58:12 MFXInitEx (impl=MFX_IMPL_HARDWARE|MFX_IMPL_VIA_D3D9, pVer=1.9, ExternalThreads=0 session=0x0209EBC0 | |
13656 2015-8-4 15:58:12 Required API version is 1.9 | |
13656 2015-8-4 15:58:12 [WINREG]: Opening key "HKEY_CURRENT_USER\Software\Intel\MediaSDK\Dispatch" : RegOpenKeyExW()==0x2 |
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
5848 2015-7-16 15:49:14 function: DLLMain() DLL_PROCESS_ATTACH + | |
5848 2015-7-16 15:49:14 mfx_tracer: lib=none | |
5848 2015-7-16 15:49:14 function: DLLMain() DLL_PROCESS_ATTACH - | |
5848 2015-7-16 15:49:14 function: MFXInit(mfxIMPL impl=MFX_IMPL_HARDWARE|MFX_IMPL_VIA_D3D9, mfxVersion *ver=0028A348, mfxSession *session=022A8480) + | |
5848 2015-7-16 15:49:14 LoadLibrary: none | |
5848 2015-7-16 15:49:14 MFXInitEx (impl=MFX_IMPL_HARDWARE|MFX_IMPL_VIA_D3D9, pVer=1.1, ExternalThreads=0 session=0x022A8480 | |
5848 2015-7-16 15:49:14 Required API version is 1.1 | |
5848 2015-7-16 15:49:14 [WINREG]: Opening key "HKEY_CURRENT_USER\Software\Intel\MediaSDK\Dispatch" : RegOpenKeyExW()==0x2 |