This file contains hidden or 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
--- emacs-24.5/src/w32fns.c.old 2015-04-02 16:23:06.000000000 +0900 | |
+++ emacs-24.5/src/w32fns.c 2015-10-14 18:26:23.060851900 +0900 | |
@@ -2002,6 +2002,40 @@ | |
f->left_pos = rect.left; | |
f->top_pos = rect.top; | |
} | |
+ | |
+ if (hwnd) | |
+ { | |
+ /* |
This file contains hidden or 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
--- emacs-24.5/src/w32fns.c.old 2015-04-02 16:23:06.000000000 +0900 | |
+++ emacs-24.5/src/w32fns.c 2015-10-14 18:26:23.060851900 +0900 | |
@@ -2002,6 +2002,40 @@ | |
f->left_pos = rect.left; | |
f->top_pos = rect.top; | |
} | |
+ | |
+ if (hwnd) | |
+ { | |
+ /* |
This file contains hidden or 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
// -*- compile-command: "cl /EHsc /MD arch.cpp"; -*- | |
#include <iostream> | |
#include <array> | |
#include <type_traits> | |
#include <cassert> | |
#include <Windows.h> | |
#pragma comment( lib , "User32.lib" ) | |
#pragma comment( lib , "GDI32.lib" ) |
This file contains hidden or 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
/* | |
デバッグ出力用 テンプレートベースのルーチン群 プロトタイプ | |
*/ | |
#include <Windows.h> | |
#include <iostream> | |
#include <algorithm> | |
#include <string> | |
#include <sstream> |
This file contains hidden or 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
{ | |
AVFormatContext* pFormatContext = formatContext.release(); | |
if (avformat_open_input(&pFormatContext, argv[1], NULL, NULL) != 0) { | |
logging("ERROR could not open the file"); | |
return -1; | |
}else{ | |
formatContext.reset( pFormatContext ); | |
} | |
} |
This file contains hidden or 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
// 二つのマクロ L から u8 へ変更 | |
#define WIDE_STR_EXPRESSION(exp) u8 ## exp | |
#define WIDE_STR( exp ) WIDE_STR_EXPRESSION(exp) | |
// | |
#define JUCE_LOG_CURRENT_ASSERTION juce::logAssetion( CharPointer_UTF8(WIDE_STR( __FILE__ )) , __LINE__ ) | |
String str(CharPointer_UTF8(u8"....")) // これか | |
String str(L"...." ); // wide文字で |
This file contains hidden or 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
#!/bin/bash | |
SOURCE_BASE="/c/Users/mit/Downloads/ffmpeg-4.0.2" | |
# gnu find path | |
FIND=/usr/bin/find | |
CP=/bin/cp | |
function copy_headers() { # ヘッダファイルの収穫 | |
if [ ! -d include ] ; then | |
mkdir include | |
fi |
This file contains hidden or 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 once | |
#if !defined( PRODUCER_CONSUMER_QUEUE_H_HEADER_GUARD ) | |
#define PRODUCER_CONSUMER_QUEUE_H_HEADER_GUARD 1 | |
#if defined( __cplusplus ) | |
#include <ostream> | |
#include <mutex> | |
#include <condition_variable> | |
#include <deque> |
This file contains hidden or 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
#include <tchar.h> | |
#include <Windows.h> | |
#include "producer_consumer_queue.h" | |
#include <iostream> | |
#include <sstream> | |
#include <iomanip> | |
#include <thread> | |
#include <memory> |
This file contains hidden or 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
#include <TCHAR.h> | |
#include <Windows.h> | |
#include <iostream> | |
#include <deque> | |
#include <thread> | |
#include <mutex> | |
#include <condition_variable> | |
#include <utility> |
OlderNewer