Skip to content

Instantly share code, notes, and snippets.

Andrey Turkin tea

Block or report user

Report or block tea

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:6e4d9e53c4f8a5a8c2e4c758367f2822
#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;
View a53.patch
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
View NvEncoderPerf.cpp
////////////////////////////////////////////////////////////////////////////
//
// 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.
//
View tracer.log
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
View gist:40b720a8868ee0601acd
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
You can’t perform that action at this time.